	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mute_ac97_ctl
_mute_ac97_ctl:                         ## @mute_ac97_ctl
	.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), %rax
	movl	%esi, %r15d
	movq	(%rax,%r15,8), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movzbl	(%rax), %r14d
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_oxygen_read_ac97
	testl	$32768, %eax                    ## imm = 0x8000
	jne	LBB0_5
## %bb.2:
	orl	$32768, %eax                    ## imm = 0x8000
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_oxygen_write_ac97
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$32768, %edx                    ## imm = 0x8000
	callq	*%rax
LBB0_4:
	movl	8(%rbx), %edi
	movq	_SNDRV_CTL_EVENT_MASK_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rax
	movq	(%rax,%r15,8), %rdx
	addq	$4, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_ctl_notify                 ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SNDRV_CTL_EVENT_MASK_VALUE,4,2 ## @SNDRV_CTL_EVENT_MASK_VALUE
	.no_dead_strip	_mute_ac97_ctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mute_ac97_ctl
_mute_ac97_ctl:                         ; @mute_ac97_ctl
	.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
	ldr	x8, [x0]
	ldr	x8, [x8, w1, uxtw #3]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x21, x1
	mov	x19, x0
	ldrb	w20, [x8]
	mov	w1, #0
	mov	x2, x20
	bl	_oxygen_read_ac97
	tbnz	w0, #15, LBB0_5
; %bb.2:
	mov	w21, w21
	orr	w3, w0, #0x8000
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_oxygen_write_ac97
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #32768
	blr	x8
LBB0_4:
	ldr	w0, [x19, #8]
Lloh0:
	adrp	x8, _SNDRV_CTL_EVENT_MASK_VALUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SNDRV_CTL_EVENT_MASK_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x8, [x19]
	ldr	x8, [x8, x21, lsl #3]
	add	x2, x8, #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
	b	_snd_ctl_notify
LBB0_5:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_CTL_EVENT_MASK_VALUE,4,2 ; @SNDRV_CTL_EVENT_MASK_VALUE
	.no_dead_strip	_mute_ac97_ctl
.subsections_via_symbols
