	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_ali_write_voice_regs
_snd_ali_write_voice_regs:              ## @snd_ali_write_voice_regs
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r14d
	movl	%ecx, %r13d
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	movl	%esi, %ebx
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	48(%rbp), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	40(%rbp), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	32(%rbp), %r12d
	movl	24(%rbp), %r15d
	movzwl	16(%rbp), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	andl	$31, %ebx
	movq	_ALI_GC_CIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ALI_REG
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_outb
	shll	$16, %r13d
	addl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	shll	$16, %r14d
	movzwl	-44(%rbp), %eax                 ## 2-byte Folded Reload
	orl	%r14d, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	shll	$31, %r15d
	andl	$127, %r12d
	shll	$24, %r12d
	orl	%r15d, %r12d
	movzbl	-52(%rbp), %eax                 ## 1-byte Folded Reload
	shll	$16, %eax
	orl	%r12d, %eax
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	shll	$12, %ecx
	movzwl	%cx, %ecx
	orl	%eax, %ecx
	movl	$4095, %r14d                    ## imm = 0xFFF
	andl	56(%rbp), %r14d
	orl	%ecx, %r14d
	movq	_ALI_GC_CIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_ALI_REG
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_outb
	movq	_ALI_CSO_ALPHA_FMS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ALI_REG
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_outl
	movq	_ALI_LBA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ALI_REG
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_outl
	movq	_ALI_ESO_DELTA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ALI_REG
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_outl
	movq	_ALI_GVSEL_PAN_VOC_CTRL_EC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ALI_REG
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_outl
	movq	_ALI_EBUF1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ALI_REG
	movl	$805306368, %edi                ## imm = 0x30000000
	movl	%eax, %esi
	callq	_outl
	movq	_ALI_EBUF2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ALI_REG
	movl	$805306368, %edi                ## imm = 0x30000000
	movl	%eax, %esi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_outl                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ALI_GC_CIR,4,2                 ## @ALI_GC_CIR
	.comm	_ALI_CSO_ALPHA_FMS,4,2          ## @ALI_CSO_ALPHA_FMS
	.comm	_ALI_LBA,4,2                    ## @ALI_LBA
	.comm	_ALI_ESO_DELTA,4,2              ## @ALI_ESO_DELTA
	.comm	_ALI_GVSEL_PAN_VOC_CTRL_EC,4,2  ## @ALI_GVSEL_PAN_VOC_CTRL_EC
	.comm	_ALI_EBUF1,4,2                  ## @ALI_EBUF1
	.comm	_ALI_EBUF2,4,2                  ## @ALI_EBUF2
	.no_dead_strip	_snd_ali_write_voice_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_ali_write_voice_regs
_snd_ali_write_voice_regs:              ; @snd_ali_write_voice_regs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	stp	w7, w2, [sp, #8]                ; 8-byte Folded Spill
	mov	x23, x6
	mov	x21, x5
	mov	x24, x4
	mov	x25, x3
	mov	x26, x1
	mov	x19, x0
	ldr	w8, [x29, #28]
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	ldp	w28, w22, [x29, #20]
	ldr	w20, [x29, #16]
	and	w27, w1, #0x1f
Lloh0:
	adrp	x8, _ALI_GC_CIR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALI_GC_CIR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ALI_REG
	mov	x1, x0
	mov	x0, x27
	bl	_outb
	bfi	w23, w25, #16, #16
	mov	x25, x21
	bfi	w25, w24, #16, #16
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	lsl	w21, w8, #31
	bfi	w21, w20, #24, #7
	bfi	w21, w28, #16, #8
	bfi	w21, w22, #12, #4
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	bfxil	w21, w8, #0, #12
Lloh3:
	adrp	x8, _ALI_GC_CIR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ALI_GC_CIR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ALI_REG
	mov	x1, x0
	mov	x0, x26
	bl	_outb
Lloh6:
	adrp	x8, _ALI_CSO_ALPHA_FMS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ALI_CSO_ALPHA_FMS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ALI_REG
	mov	x1, x0
	mov	x0, x23
	bl	_outl
Lloh9:
	adrp	x8, _ALI_LBA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ALI_LBA@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ALI_REG
	mov	x1, x0
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	bl	_outl
Lloh12:
	adrp	x8, _ALI_ESO_DELTA@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ALI_ESO_DELTA@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ALI_REG
	mov	x1, x0
	mov	x0, x25
	bl	_outl
Lloh15:
	adrp	x8, _ALI_GVSEL_PAN_VOC_CTRL_EC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ALI_GVSEL_PAN_VOC_CTRL_EC@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ALI_REG
	mov	x1, x0
	mov	x0, x21
	bl	_outl
Lloh18:
	adrp	x8, _ALI_EBUF1@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ALI_EBUF1@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ALI_REG
	mov	x1, x0
	mov	w0, #805306368
	bl	_outl
Lloh21:
	adrp	x8, _ALI_EBUF2@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ALI_EBUF2@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ALI_REG
	mov	x1, x0
	mov	w0, #805306368
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_outl
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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	_ALI_GC_CIR,4,2                 ; @ALI_GC_CIR
	.comm	_ALI_CSO_ALPHA_FMS,4,2          ; @ALI_CSO_ALPHA_FMS
	.comm	_ALI_LBA,4,2                    ; @ALI_LBA
	.comm	_ALI_ESO_DELTA,4,2              ; @ALI_ESO_DELTA
	.comm	_ALI_GVSEL_PAN_VOC_CTRL_EC,4,2  ; @ALI_GVSEL_PAN_VOC_CTRL_EC
	.comm	_ALI_EBUF1,4,2                  ; @ALI_EBUF1
	.comm	_ALI_EBUF2,4,2                  ; @ALI_EBUF2
	.no_dead_strip	_snd_ali_write_voice_regs
.subsections_via_symbols
