	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stac92hd71bxx_fixup_hp_m4
_stac92hd71bxx_fixup_hp_m4:             ## @stac92hd71bxx_fixup_hp_m4
	.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	_HDA_FIXUP_ACT_PRE_PROBE@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %r14
	movl	(%rdi), %esi
	movq	_AC_VERB_SET_GPIO_UNSOLICITED_RSP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	movl	$2, %r8d
	callq	_snd_hda_codec_write_cache
	movl	(%rbx), %esi
	movq	_STAC_VREF_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_stac_vref_event@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_snd_hda_jack_detect_enable_callback
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_snd_hda_jack_tbl_get
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	$2, (%rax)
LBB0_3:
	orb	$2, (%r14)
	movq	%rbx, %rdi
	movl	$14, %esi
	movl	$25243712, %edx                 ## imm = 0x1813040
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_snd_hda_codec_set_pincfg       ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDA_FIXUP_ACT_PRE_PROBE,4,2    ## @HDA_FIXUP_ACT_PRE_PROBE
	.comm	_AC_VERB_SET_GPIO_UNSOLICITED_RSP_MASK,4,2 ## @AC_VERB_SET_GPIO_UNSOLICITED_RSP_MASK
	.comm	_STAC_VREF_EVENT,4,2            ## @STAC_VREF_EVENT
	.comm	_stac_vref_event,4,2            ## @stac_vref_event
	.no_dead_strip	_stac92hd71bxx_fixup_hp_m4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stac92hd71bxx_fixup_hp_m4
_stac92hd71bxx_fixup_hp_m4:             ; @stac92hd71bxx_fixup_hp_m4
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _HDA_FIXUP_ACT_PRE_PROBE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDA_FIXUP_ACT_PRE_PROBE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x20, [x0, #8]
	ldr	w1, [x0]
Lloh3:
	adrp	x8, _AC_VERB_SET_GPIO_UNSOLICITED_RSP_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AC_VERB_SET_GPIO_UNSOLICITED_RSP_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	w21, #2
	mov	w2, #0
	mov	w4, #2
	bl	_snd_hda_codec_write_cache
	ldr	w1, [x19]
Lloh6:
	adrp	x8, _STAC_VREF_EVENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _STAC_VREF_EVENT@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _stac_vref_event@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stac_vref_event@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_snd_hda_jack_detect_enable_callback
	ldr	w1, [x19]
	mov	x0, x19
	bl	_snd_hda_jack_tbl_get
	cbz	x0, LBB0_3
; %bb.2:
	str	w21, [x0]
LBB0_3:
	ldr	w8, [x20]
	orr	w8, w8, #0x2
	str	w8, [x20]
	mov	x0, x19
	mov	w1, #14
	mov	w2, #12352
	movk	w2, #385, lsl #16
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_snd_hda_codec_set_pincfg
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HDA_FIXUP_ACT_PRE_PROBE,4,2    ; @HDA_FIXUP_ACT_PRE_PROBE
	.comm	_AC_VERB_SET_GPIO_UNSOLICITED_RSP_MASK,4,2 ; @AC_VERB_SET_GPIO_UNSOLICITED_RSP_MASK
	.comm	_STAC_VREF_EVENT,4,2            ; @STAC_VREF_EVENT
	.comm	_stac_vref_event,4,2            ; @stac_vref_event
	.no_dead_strip	_stac92hd71bxx_fixup_hp_m4
.subsections_via_symbols
