	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function td043mtea1_power_off
_td043mtea1_power_off:                  ## @td043mtea1_power_off
	.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
	cmpl	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movq	_TPO_R03_VAL_STANDBY@GOTPCREL(%rip), %r14
	movq	_TPO_R03_EN_PWM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r14), %edx
	movl	$3, %esi
	callq	_td043mtea1_write
	movl	8(%rbx), %edi
	movl	$1, %esi
	callq	_gpiod_set_value
	movl	$50, %edi
	callq	_msleep
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_td043mtea1_write
	movl	4(%rbx), %edi
	callq	_regulator_disable
	movl	$0, (%rbx)
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TPO_R03_VAL_STANDBY,4,2        ## @TPO_R03_VAL_STANDBY
	.comm	_TPO_R03_EN_PWM,4,2             ## @TPO_R03_EN_PWM
	.no_dead_strip	_td043mtea1_power_off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function td043mtea1_power_off
_td043mtea1_power_off:                  ; @td043mtea1_power_off
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x20, _TPO_R03_VAL_STANDBY@GOTPAGE
Lloh1:
	ldr	x20, [x20, _TPO_R03_VAL_STANDBY@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh2:
	adrp	x9, _TPO_R03_EN_PWM@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TPO_R03_EN_PWM@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w1, #3
	bl	_td043mtea1_write
	ldr	w0, [x19, #8]
	mov	w1, #1
	bl	_gpiod_set_value
	mov	w0, #50
	bl	_msleep
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #3
	bl	_td043mtea1_write
	ldr	w0, [x19, #4]
	bl	_regulator_disable
	str	wzr, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TPO_R03_VAL_STANDBY,4,2        ; @TPO_R03_VAL_STANDBY
	.comm	_TPO_R03_EN_PWM,4,2             ; @TPO_R03_EN_PWM
	.no_dead_strip	_td043mtea1_power_off
.subsections_via_symbols
