	.file	"extr_pinctrl-mvebu.c_mvebu_mmio_mpp_ctrl_set.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mvebu_mmio_mpp_ctrl_set
	.type	mvebu_mmio_mpp_ctrl_set, @function
mvebu_mmio_mpp_ctrl_set:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	eax, esi
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	xor	edx, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	ebx, DWORD PTR MVEBU_MPP_BITS[rip]
	mov	rdi, QWORD PTR [rdi]
	div	DWORD PTR MVEBU_MPPS_PER_REG[rip]
	imul	edx, ebx
	imul	ebx, eax
	mov	r12d, edx
	add	rdi, rbx
	call	readl@PLT
	mov	edi, DWORD PTR MVEBU_MPP_MASK[rip]
	mov	ecx, r12d
	mov	rsi, QWORD PTR 0[r13]
	sal	rbp, cl
	sal	edi, cl
	add	rsi, rbx
	not	edi
	and	edi, eax
	or	rdi, rbp
	call	writel@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mvebu_mmio_mpp_ctrl_set, .-mvebu_mmio_mpp_ctrl_set
	.comm	MVEBU_MPP_MASK,4,4
	.comm	MVEBU_MPP_BITS,4,4
	.comm	MVEBU_MPPS_PER_REG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_pinctrl-mvebu.c_mvebu_mmio_mpp_ctrl_set.c"
	.text
	.global	__aeabi_uidivmod
	.align	2
	.global	mvebu_mmio_mpp_ctrl_set
	.syntax unified
	.arm
	.fpu softvfp
	.type	mvebu_mmio_mpp_ctrl_set, %function
mvebu_mmio_mpp_ctrl_set:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L4
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r0, r1
	ldr	r1, [r3]
	mov	r7, r2
	bl	__aeabi_uidivmod
	ldr	r2, .L4+4
	ldr	r3, [r6]
	ldr	r4, [r2]
	mul	r5, r4, r0
	add	r0, r5, r3
	mul	r4, r1, r4
	bl	readl
	ldr	r3, .L4+8
	ldr	r1, [r6]
	ldr	r3, [r3]
	add	r1, r5, r1
	bic	r0, r0, r3, lsl r4
	orr	r0, r0, r7, lsl r4
	bl	writel
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	MVEBU_MPPS_PER_REG
	.word	MVEBU_MPP_BITS
	.word	MVEBU_MPP_MASK
	.size	mvebu_mmio_mpp_ctrl_set, .-mvebu_mmio_mpp_ctrl_set
	.comm	MVEBU_MPP_MASK,4,4
	.comm	MVEBU_MPP_BITS,4,4
	.comm	MVEBU_MPPS_PER_REG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
