	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_emu10k1_fxrt
_update_emu10k1_fxrt:                   ## @update_emu10k1_fxrt
	.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	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	_A_FXRT1@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_snd_emu10k1_compose_audigy_fxrt1
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_snd_emu10k1_ptr_write
	movq	_A_FXRT2@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_snd_emu10k1_compose_audigy_fxrt2
	jmp	LBB0_3
LBB0_2:
	movq	_FXRT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_snd_emu10k1_compose_send_routing
LBB0_3:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r14d, %edx
	movl	%eax, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_snd_emu10k1_ptr_write          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_A_FXRT1,4,2                    ## @A_FXRT1
	.comm	_A_FXRT2,4,2                    ## @A_FXRT2
	.comm	_FXRT,4,2                       ## @FXRT
	.no_dead_strip	_update_emu10k1_fxrt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_emu10k1_fxrt
_update_emu10k1_fxrt:                   ; @update_emu10k1_fxrt
	.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, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _A_FXRT1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _A_FXRT1@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_snd_emu10k1_compose_audigy_fxrt1
	mov	x3, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_snd_emu10k1_ptr_write
Lloh3:
	adrp	x8, _A_FXRT2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _A_FXRT2@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_snd_emu10k1_compose_audigy_fxrt2
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _FXRT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FXRT@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_snd_emu10k1_compose_send_routing
LBB0_3:
	mov	x3, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	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_emu10k1_ptr_write
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_A_FXRT1,4,2                    ; @A_FXRT1
	.comm	_A_FXRT2,4,2                    ; @A_FXRT2
	.comm	_FXRT,4,2                       ; @FXRT
	.no_dead_strip	_update_emu10k1_fxrt
.subsections_via_symbols
