	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxt5047_hp_automute
_cxt5047_hp_automute:                   ## @cxt5047_hp_automute
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movl	$19, %esi
	callq	_snd_hda_jack_detect
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_1
LBB0_3:
	movq	_HDA_AMP_MUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r8d, %r9d
	jmp	LBB0_4
LBB0_1:
	cmpl	$0, (%r14)
	je	LBB0_3
## %bb.2:
	movq	_HDA_AMP_MUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%r9d, %r9d
LBB0_4:
	movq	_HDA_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$29, %esi
	movl	$1, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_snd_hda_codec_amp_stereo       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HDA_AMP_MUTE,4,2               ## @HDA_AMP_MUTE
	.comm	_HDA_OUTPUT,4,2                 ## @HDA_OUTPUT
	.no_dead_strip	_cxt5047_hp_automute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxt5047_hp_automute
_cxt5047_hp_automute:                   ; @cxt5047_hp_automute
	.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	x19, x0
	ldr	x20, [x0]
	mov	w1, #19
	bl	_snd_hda_jack_detect
	str	x0, [x20, #8]
	cbz	x0, LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _HDA_AMP_MUTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDA_AMP_MUTE@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	x5, x4
	b	LBB0_4
LBB0_2:
	ldr	w8, [x20]
	cbz	w8, LBB0_1
; %bb.3:
	mov	w5, #0
Lloh3:
	adrp	x8, _HDA_AMP_MUTE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDA_AMP_MUTE@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
LBB0_4:
Lloh6:
	adrp	x8, _HDA_OUTPUT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HDA_OUTPUT@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #29
	mov	w3, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_snd_hda_codec_amp_stereo
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HDA_AMP_MUTE,4,2               ; @HDA_AMP_MUTE
	.comm	_HDA_OUTPUT,4,2                 ; @HDA_OUTPUT
	.no_dead_strip	_cxt5047_hp_automute
.subsections_via_symbols
