	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mvebu_mmio_mpp_ctrl_get        ## -- Begin function mvebu_mmio_mpp_ctrl_get
	.p2align	4, 0x90
_mvebu_mmio_mpp_ctrl_get:               ## @mvebu_mmio_mpp_ctrl_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movl	%esi, %eax
	movq	_MVEBU_MPPS_PER_REG@GOTPCREL(%rip), %rcx
	movq	_MVEBU_MPP_BITS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	xorl	%edx, %edx
	divl	(%rcx)
                                        ## kill: def $eax killed $eax def $rax
	imull	%ebx, %eax
	imull	%edx, %ebx
	addq	(%rdi), %rax
	movq	%rax, %rdi
	callq	_readl
	movl	%eax, %eax
	movl	%ebx, %ecx
	shrq	%cl, %rax
	movq	_MVEBU_MPP_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	%rax, (%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MVEBU_MPPS_PER_REG,4,2         ## @MVEBU_MPPS_PER_REG
	.comm	_MVEBU_MPP_BITS,4,2             ## @MVEBU_MPP_BITS
	.comm	_MVEBU_MPP_MASK,4,2             ## @MVEBU_MPP_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mvebu_mmio_mpp_ctrl_get        ; -- Begin function mvebu_mmio_mpp_ctrl_get
	.p2align	2
_mvebu_mmio_mpp_ctrl_get:               ; @mvebu_mmio_mpp_ctrl_get
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
Lloh0:
	adrp	x8, _MVEBU_MPPS_PER_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MVEBU_MPPS_PER_REG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	udiv	w9, w1, w8
Lloh3:
	adrp	x10, _MVEBU_MPP_BITS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MVEBU_MPP_BITS@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	mul	w11, w10, w9
	msub	w8, w9, w8, w1
	mul	w20, w8, w10
	ldr	x8, [x0]
	add	x0, x8, x11
	bl	_readl
	mov	w8, w0
	lsr	x8, x8, x20
Lloh6:
	adrp	x9, _MVEBU_MPP_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MVEBU_MPP_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	x8, x8, x9
	str	x8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MVEBU_MPPS_PER_REG,4,2         ; @MVEBU_MPPS_PER_REG
	.comm	_MVEBU_MPP_BITS,4,2             ; @MVEBU_MPP_BITS
	.comm	_MVEBU_MPP_MASK,4,2             ; @MVEBU_MPP_MASK
.subsections_via_symbols
