	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emu8000_update_equalizer   ## -- Begin function snd_emu8000_update_equalizer
	.p2align	4, 0x90
_snd_emu8000_update_equalizer:          ## @snd_emu8000_update_equalizer
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %r14d
	cmpq	$11, %r14
	ja	LBB0_3
## %bb.1:
	movq	%rdi, %r12
	movl	4(%rdi), %r15d
	testl	%r15d, %r15d
	js	LBB0_3
## %bb.2:
	cmpl	$11, %r15d
	jg	LBB0_3
## %bb.4:
	movq	_bass_parm@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	(%rax,%r14,8), %rax
	movzwl	(%rax), %edx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_EMU8000_INIT4_WRITE
	movq	(%rbx), %rax
	movq	(%rax,%r14,8), %rax
	movzwl	2(%rax), %edx
	movq	%r12, %rdi
	movl	$17, %esi
	callq	_EMU8000_INIT4_WRITE
	movq	_treble_parm@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%rax,%r15,8), %rax
	movzwl	(%rax), %edx
	movq	%r12, %rdi
	movl	$17, %esi
	callq	_EMU8000_INIT3_WRITE
	movq	(%r13), %rax
	movq	(%rax,%r15,8), %rax
	movzwl	2(%rax), %edx
	movq	%r12, %rdi
	movl	$19, %esi
	callq	_EMU8000_INIT3_WRITE
	movq	(%r13), %rax
	movq	(%rax,%r15,8), %rax
	movzwl	4(%rax), %edx
	movq	%r12, %rdi
	movl	$27, %esi
	callq	_EMU8000_INIT3_WRITE
	movq	(%r13), %rax
	movq	(%rax,%r15,8), %rax
	movzwl	6(%rax), %edx
	movq	%r12, %rdi
	movl	$7, %esi
	callq	_EMU8000_INIT4_WRITE
	movq	(%r13), %rax
	movq	(%rax,%r15,8), %rax
	movzwl	8(%rax), %edx
	movq	%r12, %rdi
	movl	$11, %esi
	callq	_EMU8000_INIT4_WRITE
	movq	(%r13), %rax
	movq	(%rax,%r15,8), %rax
	movzwl	10(%rax), %edx
	movq	%r12, %rdi
	movl	$13, %esi
	callq	_EMU8000_INIT4_WRITE
	movq	(%r13), %rax
	movq	(%rax,%r15,8), %rax
	movzwl	12(%rax), %edx
	movq	%r12, %rdi
	movl	$23, %esi
	callq	_EMU8000_INIT4_WRITE
	movq	(%r13), %rax
	movq	(%rax,%r15,8), %rax
	movzwl	14(%rax), %edx
	movq	%r12, %rdi
	movl	$25, %esi
	callq	_EMU8000_INIT4_WRITE
	movq	(%rbx), %rax
	movq	(%rax,%r14,8), %rax
	movq	(%r13), %rcx
	movq	(%rcx,%r15,8), %rcx
	movzwl	16(%rcx), %ebx
	addw	4(%rax), %bx
	leal	610(%rbx), %eax
	movzwl	%ax, %edx
	movq	%r12, %rdi
	movl	$21, %esi
	callq	_EMU8000_INIT4_WRITE
	addl	$-31902, %ebx                   ## imm = 0x8362
	movzwl	%bx, %edx
	movq	%r12, %rdi
	movl	$29, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_EMU8000_INIT4_WRITE            ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bass_parm,8,3                  ## @bass_parm
	.comm	_treble_parm,8,3                ## @treble_parm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emu8000_update_equalizer   ; -- Begin function snd_emu8000_update_equalizer
	.p2align	2
_snd_emu8000_update_equalizer:          ; @snd_emu8000_update_equalizer
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x0]
	cmp	w8, #11
	b.hi	LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w23, [x0, #4]
	tbnz	w23, #31, LBB0_4
; %bb.2:
	cmp	w23, #11
	b.gt	LBB0_4
; %bb.3:
Lloh0:
	adrp	x20, _bass_parm@GOTPAGE
Lloh1:
	ldr	x20, [x20, _bass_parm@GOTPAGEOFF]
	ldr	x9, [x20]
	lsl	x21, x8, #3
	ldr	x8, [x9, x21]
	ldrh	w2, [x8]
	mov	x0, x19
	mov	w1, #1
	bl	_EMU8000_INIT4_WRITE
	ldr	x8, [x20]
	ldr	x8, [x8, x21]
	ldrh	w2, [x8, #2]
	mov	x0, x19
	mov	w1, #17
	bl	_EMU8000_INIT4_WRITE
Lloh2:
	adrp	x22, _treble_parm@GOTPAGE
Lloh3:
	ldr	x22, [x22, _treble_parm@GOTPAGEOFF]
	ldr	x8, [x22]
	lsl	x23, x23, #3
	ldr	x8, [x8, x23]
	ldrh	w2, [x8]
	mov	x0, x19
	mov	w1, #17
	bl	_EMU8000_INIT3_WRITE
	ldr	x8, [x22]
	ldr	x8, [x8, x23]
	ldrh	w2, [x8, #2]
	mov	x0, x19
	mov	w1, #19
	bl	_EMU8000_INIT3_WRITE
	ldr	x8, [x22]
	ldr	x8, [x8, x23]
	ldrh	w2, [x8, #4]
	mov	x0, x19
	mov	w1, #27
	bl	_EMU8000_INIT3_WRITE
	ldr	x8, [x22]
	ldr	x8, [x8, x23]
	ldrh	w2, [x8, #6]
	mov	x0, x19
	mov	w1, #7
	bl	_EMU8000_INIT4_WRITE
	ldr	x8, [x22]
	ldr	x8, [x8, x23]
	ldrh	w2, [x8, #8]
	mov	x0, x19
	mov	w1, #11
	bl	_EMU8000_INIT4_WRITE
	ldr	x8, [x22]
	ldr	x8, [x8, x23]
	ldrh	w2, [x8, #10]
	mov	x0, x19
	mov	w1, #13
	bl	_EMU8000_INIT4_WRITE
	ldr	x8, [x22]
	ldr	x8, [x8, x23]
	ldrh	w2, [x8, #12]
	mov	x0, x19
	mov	w1, #23
	bl	_EMU8000_INIT4_WRITE
	ldr	x8, [x22]
	ldr	x8, [x8, x23]
	ldrh	w2, [x8, #14]
	mov	x0, x19
	mov	w1, #25
	bl	_EMU8000_INIT4_WRITE
	ldr	x8, [x20]
	ldr	x8, [x8, x21]
	ldrh	w8, [x8, #4]
	ldr	x9, [x22]
	ldr	x9, [x9, x23]
	ldrh	w9, [x9, #16]
	add	w20, w9, w8
	add	w8, w20, #610
	and	w2, w8, #0xffff
	mov	x0, x19
	mov	w1, #21
	bl	_EMU8000_INIT4_WRITE
	mov	w8, #-31902
	add	w8, w20, w8
	and	w2, w8, #0xffff
	mov	x0, x19
	mov	w1, #29
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_EMU8000_INIT4_WRITE
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_bass_parm,8,3                  ; @bass_parm
	.comm	_treble_parm,8,3                ; @treble_parm
.subsections_via_symbols
