	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_mixart_setup_firmware      ## -- Begin function snd_mixart_setup_firmware
	.p2align	4, 0x90
_snd_mixart_setup_firmware:             ## @snd_mixart_setup_firmware
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	_SND_MIXART_HWDEP_ID@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	leaq	-24(%rbp), %rcx
	xorl	%edx, %edx
	callq	_snd_hwdep_new
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	_SNDRV_HWDEP_IFACE_MIXART@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-24(%rbp), %rcx
	movl	%eax, 24(%rcx)
	movq	%rbx, 16(%rcx)
	movq	_mixart_hwdep_dsp_status@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rcx)
	movq	_mixart_hwdep_dsp_load@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rcx)
	movl	$1, (%rcx)
	movl	4(%rcx), %edi
	movq	(%r14), %rsi
	callq	_sprintf
	movq	$0, 8(%rbx)
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_snd_card_register
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SND_MIXART_HWDEP_ID,8,3        ## @SND_MIXART_HWDEP_ID
	.comm	_SNDRV_HWDEP_IFACE_MIXART,4,2   ## @SNDRV_HWDEP_IFACE_MIXART
	.comm	_mixart_hwdep_dsp_status,4,2    ## @mixart_hwdep_dsp_status
	.comm	_mixart_hwdep_dsp_load,4,2      ## @mixart_hwdep_dsp_load
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_mixart_setup_firmware      ; -- Begin function snd_mixart_setup_firmware
	.p2align	2
_snd_mixart_setup_firmware:             ; @snd_mixart_setup_firmware
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w0, [x8]
Lloh0:
	adrp	x20, _SND_MIXART_HWDEP_ID@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SND_MIXART_HWDEP_ID@GOTPAGEOFF]
	ldr	x1, [x20]
	add	x3, sp, #8
	mov	w2, #0
	bl	_snd_hwdep_new
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _SNDRV_HWDEP_IFACE_MIXART@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SNDRV_HWDEP_IFACE_MIXART@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	str	w8, [x9, #24]
	str	x19, [x9, #16]
Lloh5:
	adrp	x8, _mixart_hwdep_dsp_status@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mixart_hwdep_dsp_status@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x10, _mixart_hwdep_dsp_load@GOTPAGE
Lloh9:
	ldr	x10, [x10, _mixart_hwdep_dsp_load@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #8]
	mov	w8, #1
	str	w8, [x9]
	ldr	w0, [x9, #4]
	ldr	x1, [x20]
	bl	_sprintf
	str	xzr, [x19, #8]
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_snd_card_register
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SND_MIXART_HWDEP_ID,8,3        ; @SND_MIXART_HWDEP_ID
	.comm	_SNDRV_HWDEP_IFACE_MIXART,4,2   ; @SNDRV_HWDEP_IFACE_MIXART
	.comm	_mixart_hwdep_dsp_status,4,2    ; @mixart_hwdep_dsp_status
	.comm	_mixart_hwdep_dsp_load,4,2      ; @mixart_hwdep_dsp_load
.subsections_via_symbols
