	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mixer_event
_mixer_event:                           ## @mixer_event
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_HPL_MIXER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ac97_read
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %edi
	movq	_HPR_MIXER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ac97_read
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %edi
	movq	_AC97_PC_BEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ac97_read
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %edi
	movq	_AC97_VIDEO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ac97_read
	movl	%eax, %r14d
	movl	(%rbx), %edi
	movq	_AC97_PHONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ac97_read
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %edi
	movq	_AC97_LINE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ac97_read
	movl	%eax, %r15d
	movl	(%rbx), %edi
	movq	_AC97_PCM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ac97_read
	movl	%eax, %r12d
	movl	(%rbx), %edi
	movq	_AC97_CD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ac97_read
	movl	%eax, %r13d
	movl	(%rbx), %edi
	movq	_AC97_VIDEO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %eax
	orl	$32768, %eax                    ## imm = 0x8000
	andl	$32767, %r14d                   ## imm = 0x7FFF
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	orl	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testb	$1, %cl
	cmovel	%eax, %r14d
	movl	%r14d, %edx
	callq	_ac97_write
	movl	(%rbx), %edi
	movq	_AC97_PCM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %eax
	orl	$32768, %eax                    ## imm = 0x8000
	andl	$32767, %r12d                   ## imm = 0x7FFF
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	testb	$2, %r14b
	cmovel	%eax, %r12d
	movl	%r12d, %edx
	callq	_ac97_write
	movl	(%rbx), %edi
	movq	_AC97_LINE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %eax
	orl	$32768, %eax                    ## imm = 0x8000
	andl	$32767, %r15d                   ## imm = 0x7FFF
	testb	$4, %r14b
	cmovel	%eax, %r15d
	movl	%r15d, %edx
	callq	_ac97_write
	movl	(%rbx), %edi
	movq	_AC97_PHONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %eax
	orl	$32768, %eax                    ## imm = 0x8000
	andl	$32767, %ecx                    ## imm = 0x7FFF
	testb	$8, %r14b
	cmovel	%eax, %ecx
	movl	%ecx, %edx
	callq	_ac97_write
	movl	(%rbx), %edi
	movq	_AC97_CD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %eax
	orl	$32768, %eax                    ## imm = 0x8000
	andl	$32767, %r13d                   ## imm = 0x7FFF
	testb	$16, %r14b
	cmovel	%eax, %r13d
	movl	%r13d, %edx
	callq	_ac97_write
	movl	(%rbx), %edi
	movq	_AC97_PC_BEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, %eax
	orl	$32768, %eax                    ## imm = 0x8000
	andl	$32767, %ecx                    ## imm = 0x7FFF
	testb	$32, %r14b
	cmovel	%eax, %ecx
	movl	%ecx, %edx
	callq	_ac97_write
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HPL_MIXER,4,2                  ## @HPL_MIXER
	.comm	_HPR_MIXER,4,2                  ## @HPR_MIXER
	.comm	_AC97_PC_BEEP,4,2               ## @AC97_PC_BEEP
	.comm	_AC97_VIDEO,4,2                 ## @AC97_VIDEO
	.comm	_AC97_PHONE,4,2                 ## @AC97_PHONE
	.comm	_AC97_LINE,4,2                  ## @AC97_LINE
	.comm	_AC97_PCM,4,2                   ## @AC97_PCM
	.comm	_AC97_CD,4,2                    ## @AC97_CD
	.no_dead_strip	_mixer_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mixer_event
_mixer_event:                           ; @mixer_event
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _HPL_MIXER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HPL_MIXER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ac97_read
	mov	x21, x0
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _HPR_MIXER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HPR_MIXER@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_ac97_read
	mov	x23, x0
	ldr	w0, [x19]
Lloh6:
	adrp	x8, _AC97_PC_BEEP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AC97_PC_BEEP@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_ac97_read
	mov	x20, x0
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _AC97_VIDEO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AC97_VIDEO@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_ac97_read
	mov	x24, x0
	ldr	w0, [x19]
Lloh12:
	adrp	x8, _AC97_PHONE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AC97_PHONE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_ac97_read
	mov	x22, x0
	ldr	w0, [x19]
Lloh15:
	adrp	x8, _AC97_LINE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AC97_LINE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_ac97_read
	mov	x25, x0
	ldr	w0, [x19]
Lloh18:
	adrp	x28, _AC97_PCM@GOTPAGE
Lloh19:
	ldr	x28, [x28, _AC97_PCM@GOTPAGEOFF]
	ldr	w1, [x28]
	bl	_ac97_read
	mov	x26, x0
	ldr	w0, [x19]
Lloh20:
	adrp	x8, _AC97_CD@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AC97_CD@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_ac97_read
	mov	x27, x0
	ldr	w0, [x19]
Lloh23:
	adrp	x8, _AC97_VIDEO@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AC97_VIDEO@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	orr	w8, w24, #0x8000
	and	w9, w24, #0x7fff
	orr	w21, w21, w23
	tst	w21, #0x1
	csel	w2, w8, w9, eq
	bl	_ac97_write
	ldr	w0, [x19]
	ldr	w1, [x28]
	orr	w8, w26, #0x8000
	and	w9, w26, #0x7fff
	tst	w21, #0x2
	csel	w2, w8, w9, eq
	bl	_ac97_write
	ldr	w0, [x19]
Lloh26:
	adrp	x8, _AC97_LINE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AC97_LINE@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	orr	w8, w25, #0x8000
	and	w9, w25, #0x7fff
	tst	w21, #0x4
	csel	w2, w8, w9, eq
	bl	_ac97_write
	ldr	w0, [x19]
Lloh29:
	adrp	x8, _AC97_PHONE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AC97_PHONE@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	orr	w8, w22, #0x8000
	and	w9, w22, #0x7fff
	tst	w21, #0x8
	csel	w2, w8, w9, eq
	bl	_ac97_write
	ldr	w0, [x19]
Lloh32:
	adrp	x8, _AC97_CD@GOTPAGE
Lloh33:
	ldr	x8, [x8, _AC97_CD@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	orr	w8, w27, #0x8000
	and	w9, w27, #0x7fff
	tst	w21, #0x10
	csel	w2, w8, w9, eq
	bl	_ac97_write
	ldr	w0, [x19]
Lloh35:
	adrp	x8, _AC97_PC_BEEP@GOTPAGE
Lloh36:
	ldr	x8, [x8, _AC97_PC_BEEP@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	orr	w8, w20, #0x8000
	and	w9, w20, #0x7fff
	tst	w21, #0x20
	csel	w2, w8, w9, eq
	bl	_ac97_write
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HPL_MIXER,4,2                  ; @HPL_MIXER
	.comm	_HPR_MIXER,4,2                  ; @HPR_MIXER
	.comm	_AC97_PC_BEEP,4,2               ; @AC97_PC_BEEP
	.comm	_AC97_VIDEO,4,2                 ; @AC97_VIDEO
	.comm	_AC97_PHONE,4,2                 ; @AC97_PHONE
	.comm	_AC97_LINE,4,2                  ; @AC97_LINE
	.comm	_AC97_PCM,4,2                   ; @AC97_PCM
	.comm	_AC97_CD,4,2                    ; @AC97_CD
	.no_dead_strip	_mixer_event
.subsections_via_symbols
