	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function armada_xp_pinctrl_suspend
_armada_xp_pinctrl_suspend:             ## @armada_xp_pinctrl_suspend
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_platform_get_drvdata
	movq	%rax, %r14
	movl	8(%rax), %edi
	movq	_MVEBU_MPPS_PER_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_DIV_ROUND_UP
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	movl	%eax, %r15d
	shlq	$2, %r15
	xorl	%ebx, %ebx
	movq	_mpp_saved_regs@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_readl
	movq	(%r12), %rcx
	movl	%eax, (%rcx,%rbx)
	addq	$4, %rbx
	cmpq	%rbx, %r15
	jne	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MVEBU_MPPS_PER_REG,4,2         ## @MVEBU_MPPS_PER_REG
	.comm	_mpp_saved_regs,8,3             ## @mpp_saved_regs
	.no_dead_strip	_armada_xp_pinctrl_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function armada_xp_pinctrl_suspend
_armada_xp_pinctrl_suspend:             ; @armada_xp_pinctrl_suspend
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_platform_get_drvdata
	mov	x19, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x8, _MVEBU_MPPS_PER_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MVEBU_MPPS_PER_REG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_DIV_ROUND_UP
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
	mov	w8, w0
	lsl	x21, x8, #2
Lloh3:
	adrp	x22, _mpp_saved_regs@GOTPAGE
Lloh4:
	ldr	x22, [x22, _mpp_saved_regs@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x0, x20, x8
	bl	_readl
	ldr	x8, [x22]
	str	w0, [x8, x20]
	add	x20, x20, #4
	cmp	x21, x20
	b.ne	LBB0_2
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MVEBU_MPPS_PER_REG,4,2         ; @MVEBU_MPPS_PER_REG
	.comm	_mpp_saved_regs,8,3             ; @mpp_saved_regs
	.no_dead_strip	_armada_xp_pinctrl_suspend
.subsections_via_symbols
