	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gpio_poweroff_do_poweroff
_gpio_poweroff_do_poweroff:             ## @gpio_poweroff_do_poweroff
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_reset_gpio@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	sete	%dil
	callq	_BUG_ON
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_gpiod_direction_output
	movq	_active_delay@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_mdelay
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_gpiod_set_value_cansleep
	movq	_inactive_delay@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_mdelay
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_gpiod_set_value_cansleep
	movq	_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_mdelay
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_WARN_ON                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_reset_gpio,4,2                 ## @reset_gpio
	.comm	_active_delay,4,2               ## @active_delay
	.comm	_inactive_delay,4,2             ## @inactive_delay
	.comm	_timeout,4,2                    ## @timeout
	.no_dead_strip	_gpio_poweroff_do_poweroff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gpio_poweroff_do_poweroff
_gpio_poweroff_do_poweroff:             ; @gpio_poweroff_do_poweroff
	.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
Lloh0:
	adrp	x19, _reset_gpio@GOTPAGE
Lloh1:
	ldr	x19, [x19, _reset_gpio@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	w0, [x19]
	mov	w1, #1
	bl	_gpiod_direction_output
Lloh2:
	adrp	x8, _active_delay@GOTPAGE
Lloh3:
	ldr	x8, [x8, _active_delay@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_mdelay
	ldr	w0, [x19]
	mov	w1, #0
	bl	_gpiod_set_value_cansleep
Lloh5:
	adrp	x8, _inactive_delay@GOTPAGE
Lloh6:
	ldr	x8, [x8, _inactive_delay@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_mdelay
	ldr	w0, [x19]
	mov	w1, #1
	bl	_gpiod_set_value_cansleep
Lloh8:
	adrp	x8, _timeout@GOTPAGE
Lloh9:
	ldr	x8, [x8, _timeout@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_mdelay
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WARN_ON
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_reset_gpio,4,2                 ; @reset_gpio
	.comm	_active_delay,4,2               ; @active_delay
	.comm	_inactive_delay,4,2             ; @inactive_delay
	.comm	_timeout,4,2                    ; @timeout
	.no_dead_strip	_gpio_poweroff_do_poweroff
.subsections_via_symbols
