	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stac92hd71bxx_fixup_hp_dv5
_stac92hd71bxx_fixup_hp_dv5:            ## @stac92hd71bxx_fixup_hp_dv5
	.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
	movq	%rdi, %rbx
	cmpl	$128, %edx
	je	LBB0_3
## %bb.1:
	cmpl	$129, %edx
	jne	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	movl	$13, %esi
	movl	$-1877540848, %edx              ## imm = 0x90170010
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_snd_hda_codec_set_pincfg       ## TAILCALL
LBB0_3:
	movq	_AC_PAR_GPIO_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_snd_hda_param_read
	movq	_AC_GPIO_IO_COUNT@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	cmpl	$6, %eax
	jb	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_stac_add_hp_bass_switch        ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AC_PAR_GPIO_CAP,4,2            ## @AC_PAR_GPIO_CAP
	.comm	_AC_GPIO_IO_COUNT,4,2           ## @AC_GPIO_IO_COUNT
	.no_dead_strip	_stac92hd71bxx_fixup_hp_dv5
.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_dv5
_stac92hd71bxx_fixup_hp_dv5:            ; @stac92hd71bxx_fixup_hp_dv5
	.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
	cmp	w2, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w2, #129
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x19
	mov	w1, #13
	mov	w2, #16
	movk	w2, #36887, lsl #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_snd_hda_codec_set_pincfg
LBB0_3:
Lloh0:
	adrp	x8, _AC_PAR_GPIO_CAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC_PAR_GPIO_CAP@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #1
	bl	_snd_hda_param_read
Lloh3:
	adrp	x8, _AC_GPIO_IO_COUNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AC_GPIO_IO_COUNT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w0
	cmp	w8, #6
	b.lo	LBB0_5
; %bb.4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_stac_add_hp_bass_switch
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AC_PAR_GPIO_CAP,4,2            ; @AC_PAR_GPIO_CAP
	.comm	_AC_GPIO_IO_COUNT,4,2           ; @AC_GPIO_IO_COUNT
	.no_dead_strip	_stac92hd71bxx_fixup_hp_dv5
.subsections_via_symbols
