	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tune_hp_only
_tune_hp_only:                          ## @tune_hp_only
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_ctl_find
	movq	%rax, %r15
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_ctl_find
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	_bind_hp_volsw_put@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%rdx, (%r15)
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	leaq	L_.str.2(%rip), %rbx
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_snd_ac97_remove_ctl
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_snd_ac97_remove_ctl
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_2:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Master Playback Switch"

L_.str.1:                               ## @.str.1
	.asciz	"Master Playback Volume"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_bind_hp_volsw_put,8,3          ## @bind_hp_volsw_put
L_.str.2:                               ## @.str.2
	.asciz	"Headphone Playback"

L_.str.3:                               ## @.str.3
	.asciz	"Switch"

L_.str.4:                               ## @.str.4
	.asciz	"Volume"

	.no_dead_strip	_tune_hp_only
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tune_hp_only
_tune_hp_only:                          ; @tune_hp_only
	.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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, #0
	bl	_ctl_find
	mov	x20, x0
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, #0
	bl	_ctl_find
	cmp	x20, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _ENOENT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
Lloh7:
	adrp	x8, _bind_hp_volsw_put@GOTPAGE
Lloh8:
	ldr	x8, [x8, _bind_hp_volsw_put@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x20]
	ldr	x8, [x8]
	str	x8, [x0]
Lloh9:
	adrp	x20, l_.str.2@PAGE
Lloh10:
	add	x20, x20, l_.str.2@PAGEOFF
Lloh11:
	adrp	x2, l_.str.3@PAGE
Lloh12:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_snd_ac97_remove_ctl
Lloh13:
	adrp	x2, l_.str.4@PAGE
Lloh14:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	bl	_snd_ac97_remove_ctl
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Master Playback Switch"

l_.str.1:                               ; @.str.1
	.asciz	"Master Playback Volume"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_bind_hp_volsw_put,8,3          ; @bind_hp_volsw_put
l_.str.2:                               ; @.str.2
	.asciz	"Headphone Playback"

l_.str.3:                               ; @.str.3
	.asciz	"Switch"

l_.str.4:                               ; @.str.4
	.asciz	"Volume"

	.no_dead_strip	_tune_hp_only
.subsections_via_symbols
