	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mvebu_regmap_mpp_ctrl_get      ## -- Begin function mvebu_regmap_mpp_ctrl_get
	.p2align	4, 0x90
_mvebu_regmap_mpp_ctrl_get:             ## @mvebu_regmap_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %eax
	movq	_MVEBU_MPPS_PER_REG@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	divl	(%rcx)
                                        ## kill: def $eax killed $eax def $rax
	movl	%edx, %r15d
	movq	_MVEBU_MPP_BITS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	imull	%ebx, %eax
	movl	8(%rdi), %ecx
	addq	(%rdi), %rax
	leaq	-28(%rbp), %rdx
	movl	%ecx, %edi
	movq	%rax, %rsi
	callq	_regmap_read
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	imull	%ebx, %r15d
	movl	-28(%rbp), %edx
	movl	%r15d, %ecx
	shrq	%cl, %rdx
	movq	_MVEBU_MPP_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	movq	%rdx, (%r14)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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_regmap_mpp_ctrl_get      ; -- Begin function mvebu_regmap_mpp_ctrl_get
	.p2align	2
_mvebu_regmap_mpp_ctrl_get:             ; @mvebu_regmap_mpp_ctrl_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _MVEBU_MPPS_PER_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MVEBU_MPPS_PER_REG@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _MVEBU_MPP_BITS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MVEBU_MPP_BITS@GOTPAGEOFF]
	udiv	w23, w1, w21
Lloh5:
	ldr	w22, [x8]
	mul	w9, w22, w23
	ldr	w8, [x0, #8]
	ldr	x10, [x0]
	add	x1, x10, x9
	add	x2, sp, #12
	mov	x0, x8
	bl	_regmap_read
	cbnz	w0, LBB0_2
; %bb.1:
	msub	w8, w23, w21, w20
	mul	w8, w8, w22
	ldr	w9, [sp, #12]
	lsr	x8, x9, x8
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]
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.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
