	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvebu_gpio_suspend
_mvebu_gpio_suspend:                    ## @mvebu_gpio_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	callq	_platform_get_drvdata
	movq	%rax, %rbx
	movl	16(%rax), %edi
	movq	_GPIO_OUT_OFF@GOTPCREL(%rip), %rax
	movq	32(%rbx), %rsi
	addq	(%rax), %rsi
	leaq	52(%rbx), %rdx
	callq	_regmap_read
	movl	16(%rbx), %edi
	movq	_GPIO_IO_CONF_OFF@GOTPCREL(%rip), %rax
	movq	32(%rbx), %rsi
	addq	(%rax), %rsi
	leaq	48(%rbx), %rdx
	callq	_regmap_read
	movl	16(%rbx), %edi
	movq	_GPIO_BLINK_EN_OFF@GOTPCREL(%rip), %rax
	movq	32(%rbx), %rsi
	addq	(%rax), %rsi
	leaq	44(%rbx), %rdx
	callq	_regmap_read
	movl	16(%rbx), %edi
	movq	_GPIO_IN_POL_OFF@GOTPCREL(%rip), %rax
	movq	32(%rbx), %rsi
	addq	(%rax), %rsi
	leaq	40(%rbx), %rdx
	callq	_regmap_read
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movl	16(%rbx), %edi
	movq	_GPIO_EDGE_MASK_OFF@GOTPCREL(%rip), %rax
	movq	32(%rbx), %rsi
	addq	(%rax), %rsi
	movq	24(%rbx), %rdx
	callq	_regmap_read
	movl	16(%rbx), %edi
	movq	_GPIO_LEVEL_MASK_OFF@GOTPCREL(%rip), %rax
	movq	32(%rbx), %rsi
	addq	(%rax), %rsi
	movq	8(%rbx), %rdx
	jmp	LBB0_7
LBB0_3:
	xorl	%eax, %eax
	callq	_BUG
	jmp	LBB0_8
LBB0_4:
	movl	16(%rbx), %r14d
	xorl	%edi, %edi
	callq	_GPIO_EDGE_MASK_MV78200_OFF
	movq	24(%rbx), %rdx
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_regmap_read
	movl	16(%rbx), %r14d
	xorl	%edi, %edi
	callq	_GPIO_LEVEL_MASK_MV78200_OFF
	movq	8(%rbx), %rdx
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_regmap_read
	movl	16(%rbx), %r14d
	movl	$1, %edi
	callq	_GPIO_EDGE_MASK_MV78200_OFF
	movq	24(%rbx), %rdx
	addq	$4, %rdx
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_regmap_read
	movl	16(%rbx), %r14d
	movl	$1, %edi
	callq	_GPIO_LEVEL_MASK_MV78200_OFF
	movq	8(%rbx), %rdx
	addq	$4, %rdx
	jmp	LBB0_6
LBB0_5:
	movl	16(%rbx), %r14d
	xorl	%edi, %edi
	callq	_GPIO_EDGE_MASK_ARMADAXP_OFF
	movq	24(%rbx), %rdx
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_regmap_read
	movl	16(%rbx), %r14d
	xorl	%edi, %edi
	callq	_GPIO_LEVEL_MASK_ARMADAXP_OFF
	movq	8(%rbx), %rdx
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_regmap_read
	movl	16(%rbx), %r14d
	movl	$1, %edi
	callq	_GPIO_EDGE_MASK_ARMADAXP_OFF
	movq	24(%rbx), %rdx
	addq	$4, %rdx
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_regmap_read
	movl	16(%rbx), %r14d
	movl	$1, %edi
	callq	_GPIO_LEVEL_MASK_ARMADAXP_OFF
	movq	8(%rbx), %rdx
	addq	$4, %rdx
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_regmap_read
	movl	16(%rbx), %r14d
	movl	$2, %edi
	callq	_GPIO_EDGE_MASK_ARMADAXP_OFF
	movq	24(%rbx), %rdx
	addq	$8, %rdx
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_regmap_read
	movl	16(%rbx), %r14d
	movl	$2, %edi
	callq	_GPIO_LEVEL_MASK_ARMADAXP_OFF
	movq	8(%rbx), %rdx
	addq	$8, %rdx
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_regmap_read
	movl	16(%rbx), %r14d
	movl	$3, %edi
	callq	_GPIO_EDGE_MASK_ARMADAXP_OFF
	movq	24(%rbx), %rdx
	addq	$12, %rdx
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_regmap_read
	movl	16(%rbx), %r14d
	movl	$3, %edi
	callq	_GPIO_LEVEL_MASK_ARMADAXP_OFF
	movq	8(%rbx), %rdx
	addq	$12, %rdx
LBB0_6:
	movl	%r14d, %edi
	movq	%rax, %rsi
LBB0_7:
	callq	_regmap_read
LBB0_8:
	movq	_CONFIG_PWM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_mvebu_pwm_suspend
LBB0_10:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_GPIO_OUT_OFF,8,3               ## @GPIO_OUT_OFF
	.comm	_GPIO_IO_CONF_OFF,8,3           ## @GPIO_IO_CONF_OFF
	.comm	_GPIO_BLINK_EN_OFF,8,3          ## @GPIO_BLINK_EN_OFF
	.comm	_GPIO_IN_POL_OFF,8,3            ## @GPIO_IN_POL_OFF
	.comm	_GPIO_EDGE_MASK_OFF,8,3         ## @GPIO_EDGE_MASK_OFF
	.comm	_GPIO_LEVEL_MASK_OFF,8,3        ## @GPIO_LEVEL_MASK_OFF
	.comm	_CONFIG_PWM,4,2                 ## @CONFIG_PWM
	.no_dead_strip	_mvebu_gpio_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvebu_gpio_suspend
_mvebu_gpio_suspend:                    ; @mvebu_gpio_suspend
	.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
	bl	_platform_get_drvdata
	mov	x19, x0
	ldr	w0, [x0, #16]
Lloh0:
	adrp	x8, _GPIO_OUT_OFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPIO_OUT_OFF@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x19, #32]
	add	x1, x9, x8
	add	x2, x19, #52
	bl	_regmap_read
	ldr	w0, [x19, #16]
Lloh3:
	adrp	x8, _GPIO_IO_CONF_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GPIO_IO_CONF_OFF@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x19, #32]
	add	x1, x9, x8
	add	x2, x19, #48
	bl	_regmap_read
	ldr	w0, [x19, #16]
Lloh6:
	adrp	x8, _GPIO_BLINK_EN_OFF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GPIO_BLINK_EN_OFF@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x9, [x19, #32]
	add	x1, x9, x8
	add	x2, x19, #44
	bl	_regmap_read
	ldr	w0, [x19, #16]
Lloh9:
	adrp	x8, _GPIO_IN_POL_OFF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GPIO_IN_POL_OFF@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x9, [x19, #32]
	add	x1, x9, x8
	add	x2, x19, #40
	bl	_regmap_read
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
Lloh12:
	adrp	x9, lJTI0_0@PAGE
Lloh13:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w0, [x19, #16]
Lloh14:
	adrp	x8, _GPIO_EDGE_MASK_OFF@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GPIO_EDGE_MASK_OFF@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldp	x2, x9, [x19, #24]
	add	x1, x9, x8
	bl	_regmap_read
	ldr	w0, [x19, #16]
Lloh17:
	adrp	x8, _GPIO_LEVEL_MASK_OFF@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GPIO_LEVEL_MASK_OFF@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x9, [x19, #32]
	add	x1, x9, x8
	ldr	x2, [x19, #8]
	b	LBB0_7
LBB0_3:
	bl	_BUG
	b	LBB0_8
LBB0_4:
	ldr	w20, [x19, #16]
	mov	w0, #0
	bl	_GPIO_EDGE_MASK_MV78200_OFF
	mov	x1, x0
	ldr	x2, [x19, #24]
	mov	x0, x20
	bl	_regmap_read
	ldr	w20, [x19, #16]
	mov	w0, #0
	bl	_GPIO_LEVEL_MASK_MV78200_OFF
	mov	x1, x0
	ldr	x2, [x19, #8]
	mov	x0, x20
	bl	_regmap_read
	ldr	w20, [x19, #16]
	mov	w0, #1
	bl	_GPIO_EDGE_MASK_MV78200_OFF
	mov	x1, x0
	ldr	x8, [x19, #24]
	add	x2, x8, #4
	mov	x0, x20
	bl	_regmap_read
	ldr	w20, [x19, #16]
	mov	w0, #1
	bl	_GPIO_LEVEL_MASK_MV78200_OFF
	mov	x1, x0
	ldr	x8, [x19, #8]
	add	x2, x8, #4
	b	LBB0_6
LBB0_5:
	ldr	w20, [x19, #16]
	mov	w0, #0
	bl	_GPIO_EDGE_MASK_ARMADAXP_OFF
	mov	x1, x0
	ldr	x2, [x19, #24]
	mov	x0, x20
	bl	_regmap_read
	ldr	w20, [x19, #16]
	mov	w0, #0
	bl	_GPIO_LEVEL_MASK_ARMADAXP_OFF
	mov	x1, x0
	ldr	x2, [x19, #8]
	mov	x0, x20
	bl	_regmap_read
	ldr	w20, [x19, #16]
	mov	w0, #1
	bl	_GPIO_EDGE_MASK_ARMADAXP_OFF
	mov	x1, x0
	ldr	x8, [x19, #24]
	add	x2, x8, #4
	mov	x0, x20
	bl	_regmap_read
	ldr	w20, [x19, #16]
	mov	w0, #1
	bl	_GPIO_LEVEL_MASK_ARMADAXP_OFF
	mov	x1, x0
	ldr	x8, [x19, #8]
	add	x2, x8, #4
	mov	x0, x20
	bl	_regmap_read
	ldr	w20, [x19, #16]
	mov	w0, #2
	bl	_GPIO_EDGE_MASK_ARMADAXP_OFF
	mov	x1, x0
	ldr	x8, [x19, #24]
	add	x2, x8, #8
	mov	x0, x20
	bl	_regmap_read
	ldr	w20, [x19, #16]
	mov	w0, #2
	bl	_GPIO_LEVEL_MASK_ARMADAXP_OFF
	mov	x1, x0
	ldr	x8, [x19, #8]
	add	x2, x8, #8
	mov	x0, x20
	bl	_regmap_read
	ldr	w20, [x19, #16]
	mov	w0, #3
	bl	_GPIO_EDGE_MASK_ARMADAXP_OFF
	mov	x1, x0
	ldr	x8, [x19, #24]
	add	x2, x8, #12
	mov	x0, x20
	bl	_regmap_read
	ldr	w20, [x19, #16]
	mov	w0, #3
	bl	_GPIO_LEVEL_MASK_ARMADAXP_OFF
	mov	x1, x0
	ldr	x8, [x19, #8]
	add	x2, x8, #12
LBB0_6:
	mov	x0, x20
LBB0_7:
	bl	_regmap_read
LBB0_8:
Lloh20:
	adrp	x8, _CONFIG_PWM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CONFIG_PWM@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_mvebu_pwm_suspend
LBB0_10:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_GPIO_OUT_OFF,8,3               ; @GPIO_OUT_OFF
	.comm	_GPIO_IO_CONF_OFF,8,3           ; @GPIO_IO_CONF_OFF
	.comm	_GPIO_BLINK_EN_OFF,8,3          ; @GPIO_BLINK_EN_OFF
	.comm	_GPIO_IN_POL_OFF,8,3            ; @GPIO_IN_POL_OFF
	.comm	_GPIO_EDGE_MASK_OFF,8,3         ; @GPIO_EDGE_MASK_OFF
	.comm	_GPIO_LEVEL_MASK_OFF,8,3        ; @GPIO_LEVEL_MASK_OFF
	.comm	_CONFIG_PWM,4,2                 ; @CONFIG_PWM
	.no_dead_strip	_mvebu_gpio_suspend
.subsections_via_symbols
