	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ac97_change_volume_params2
_snd_ac97_change_volume_params2:        ## @snd_ac97_change_volume_params2
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %ecx
	movl	$32, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movb	$63, (%r14)
	orl	$-32640, %eax                   ## imm = 0x8080
	movzwl	%ax, %r12d
	movl	%r12d, %edx
	callq	_snd_ac97_write
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_snd_ac97_read
	cmpw	%ax, %r12w
	je	LBB0_2
## %bb.1:
	movb	$31, (%r14)
LBB0_2:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	$32896, %edx                    ## imm = 0x8080
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_ac97_write_cache           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_snd_ac97_change_volume_params2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ac97_change_volume_params2
_snd_ac97_change_volume_params2:        ; @snd_ac97_change_volume_params2
	.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
	mov	x21, x3
	mov	x19, x1
	mov	x20, x0
	mov	w8, #63
	strb	w8, [x3]
	mov	w8, #32
	lsl	w8, w8, w2
	orr	w8, w8, #0x80808080
	and	w22, w8, #0xffe0
	mov	x2, x22
	bl	_snd_ac97_write
	mov	x0, x20
	mov	x1, x19
	bl	_snd_ac97_read
	cmp	w22, w0
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #31
	strb	w8, [x21]
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #32896
	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_ac97_write_cache
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_snd_ac97_change_volume_params2
.subsections_via_symbols
