	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function patch_vt1616_specific
_patch_vt1616_specific:                 ## @patch_vt1616_specific
	.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, %r15
	movl	$90, %esi
	movl	$9, %edx
	callq	_snd_ac97_try_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_snd_ac97_controls_vt1616@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_patch_build_controls
	testl	%eax, %eax
	js	LBB0_7
LBB0_2:
	movq	_snd_ac97_controls_vt1616@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	4(%rdi), %rbx
	callq	_ARRAY_SIZE
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_patch_build_controls
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_snd_ac97_find_mixer_ctl
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	callq	_snd_ac97_rename_vol_ctl
	movq	(%r14), %rdx
	movq	_slave_vols_vt1616@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_snd_ac97_add_vmaster
	testl	%eax, %eax
	js	LBB0_7
## %bb.6:
	movq	_slave_sws_vt1616@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_snd_ac97_add_vmaster
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
	jmp	LBB0_7
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_snd_ac97_controls_vt1616,8,3   ## @snd_ac97_controls_vt1616
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Master Playback Volume"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Master Playback"

L_.str.2:                               ## @.str.2
	.asciz	"Front Playback"

	.comm	_slave_vols_vt1616,4,2          ## @slave_vols_vt1616
L_.str.3:                               ## @.str.3
	.asciz	"Master Playback Switch"

	.comm	_slave_sws_vt1616,4,2           ## @slave_sws_vt1616
	.no_dead_strip	_patch_vt1616_specific
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function patch_vt1616_specific
_patch_vt1616_specific:                 ; @patch_vt1616_specific
	.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
	mov	w1, #90
	mov	w2, #9
	bl	_snd_ac97_try_bit
Lloh0:
	adrp	x20, _snd_ac97_controls_vt1616@GOTPAGE
Lloh1:
	ldr	x20, [x20, _snd_ac97_controls_vt1616@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x1, [x20]
	mov	x0, x19
	mov	w2, #1
	bl	_patch_build_controls
	tbnz	w0, #31, LBB0_7
LBB0_2:
	ldr	x0, [x20]
	add	x20, x0, #4
	bl	_ARRAY_SIZE
	sub	w2, w0, #1
	mov	x0, x19
	mov	x1, x20
	bl	_patch_build_controls
	tbnz	w0, #31, LBB0_7
; %bb.3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_snd_ac97_find_mixer_ctl
	cbz	x0, LBB0_6
; %bb.4:
	mov	x20, x0
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_snd_ac97_rename_vol_ctl
	ldr	x2, [x20]
Lloh8:
	adrp	x8, _slave_vols_vt1616@GOTPAGE
Lloh9:
	ldr	x8, [x8, _slave_vols_vt1616@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_snd_ac97_add_vmaster
	tbnz	w0, #31, LBB0_7
; %bb.5:
Lloh13:
	adrp	x8, _slave_sws_vt1616@GOTPAGE
Lloh14:
	ldr	x8, [x8, _slave_sws_vt1616@GOTPAGEOFF]
Lloh15:
	ldr	w3, [x8]
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x2, #0
	bl	_snd_ac97_add_vmaster
	cmp	w0, #0
	csel	w0, w0, wzr, lt
	b	LBB0_7
LBB0_6:
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_snd_ac97_controls_vt1616,8,3   ; @snd_ac97_controls_vt1616
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Master Playback Volume"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Master Playback"

l_.str.2:                               ; @.str.2
	.asciz	"Front Playback"

	.comm	_slave_vols_vt1616,4,2          ; @slave_vols_vt1616
l_.str.3:                               ; @.str.3
	.asciz	"Master Playback Switch"

	.comm	_slave_sws_vt1616,4,2           ; @slave_sws_vt1616
	.no_dead_strip	_patch_vt1616_specific
.subsections_via_symbols
