	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap3pandora_hp_event
_omap3pandora_hp_event:                 ## @omap3pandora_hp_event
	.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
	movl	%edx, %edi
	callq	_SND_SOC_DAPM_EVENT_ON
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_OMAP3_PANDORA_DAC_POWER_GPIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %ebx
	movl	$1, %esi
	callq	_gpio_set_value
	movq	_OMAP3_PANDORA_AMP_POWER_GPIO@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_OMAP3_PANDORA_AMP_POWER_GPIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_gpio_set_value
	movl	$1, %edi
	callq	_mdelay
	movq	_OMAP3_PANDORA_DAC_POWER_GPIO@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_gpio_set_value
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OMAP3_PANDORA_DAC_POWER_GPIO,4,2 ## @OMAP3_PANDORA_DAC_POWER_GPIO
	.comm	_OMAP3_PANDORA_AMP_POWER_GPIO,4,2 ## @OMAP3_PANDORA_AMP_POWER_GPIO
	.no_dead_strip	_omap3pandora_hp_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap3pandora_hp_event
_omap3pandora_hp_event:                 ; @omap3pandora_hp_event
	.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
	mov	x0, x2
	bl	_SND_SOC_DAPM_EVENT_ON
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _OMAP3_PANDORA_DAC_POWER_GPIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OMAP3_PANDORA_DAC_POWER_GPIO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w19, #1
	mov	w1, #1
	bl	_gpio_set_value
Lloh3:
	adrp	x8, _OMAP3_PANDORA_AMP_POWER_GPIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OMAP3_PANDORA_AMP_POWER_GPIO@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _OMAP3_PANDORA_AMP_POWER_GPIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OMAP3_PANDORA_AMP_POWER_GPIO@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_gpio_set_value
	mov	w0, #1
	bl	_mdelay
	mov	w19, #0
Lloh8:
	adrp	x8, _OMAP3_PANDORA_DAC_POWER_GPIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OMAP3_PANDORA_DAC_POWER_GPIO@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_gpio_set_value
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_OMAP3_PANDORA_DAC_POWER_GPIO,4,2 ; @OMAP3_PANDORA_DAC_POWER_GPIO
	.comm	_OMAP3_PANDORA_AMP_POWER_GPIO,4,2 ; @OMAP3_PANDORA_AMP_POWER_GPIO
	.no_dead_strip	_omap3pandora_hp_event
.subsections_via_symbols
