	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e800_hp_amp_event
_e800_hp_amp_event:                     ## @e800_hp_amp_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_SND_SOC_DAPM_PRE_PMU@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	testl	%edx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_SND_SOC_DAPM_POST_PMD@GOTPCREL(%rip), %rax
	movl	$1, %esi
	testl	%edx, (%rax)
	je	LBB0_3
LBB0_2:
	movq	_GPIO_E800_HP_AMP_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_gpio_set_value
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SND_SOC_DAPM_PRE_PMU,4,2       ## @SND_SOC_DAPM_PRE_PMU
	.comm	_GPIO_E800_HP_AMP_OFF,4,2       ## @GPIO_E800_HP_AMP_OFF
	.comm	_SND_SOC_DAPM_POST_PMD,4,2      ## @SND_SOC_DAPM_POST_PMD
	.no_dead_strip	_e800_hp_amp_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e800_hp_amp_event
_e800_hp_amp_event:                     ; @e800_hp_amp_event
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _SND_SOC_DAPM_PRE_PMU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SND_SOC_DAPM_PRE_PMU@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_2
; %bb.1:
	mov	w1, #0
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _SND_SOC_DAPM_POST_PMD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SND_SOC_DAPM_POST_PMD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_5
; %bb.3:
	mov	w1, #1
LBB0_4:
Lloh6:
	adrp	x8, _GPIO_E800_HP_AMP_OFF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GPIO_E800_HP_AMP_OFF@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_gpio_set_value
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SND_SOC_DAPM_PRE_PMU,4,2       ; @SND_SOC_DAPM_PRE_PMU
	.comm	_GPIO_E800_HP_AMP_OFF,4,2       ; @GPIO_E800_HP_AMP_OFF
	.comm	_SND_SOC_DAPM_POST_PMD,4,2      ; @SND_SOC_DAPM_POST_PMD
	.no_dead_strip	_e800_hp_amp_event
.subsections_via_symbols
