	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_vx_setup_firmware          ## -- Begin function snd_vx_setup_firmware
	.p2align	4, 0x90
_snd_vx_setup_firmware:                 ## @snd_vx_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	movq	_SND_VX_HWDEP_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rcx
	xorl	%edx, %edx
	callq	_snd_hwdep_new
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	_SNDRV_HWDEP_IFACE_VX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-16(%rbp), %rcx
	movl	%eax, 24(%rcx)
	movq	%rbx, 16(%rcx)
	movq	_vx_hwdep_dsp_status@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rcx)
	movq	_vx_hwdep_dsp_load@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rcx)
	movl	$1, (%rcx)
	movl	4(%rcx), %edi
	movq	(%rbx), %rax
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_sprintf
	movq	-16(%rbp), %rax
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rdi
	callq	_snd_card_register
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SND_VX_HWDEP_ID,4,2            ## @SND_VX_HWDEP_ID
	.comm	_SNDRV_HWDEP_IFACE_VX,4,2       ## @SNDRV_HWDEP_IFACE_VX
	.comm	_vx_hwdep_dsp_status,4,2        ## @vx_hwdep_dsp_status
	.comm	_vx_hwdep_dsp_load,4,2          ## @vx_hwdep_dsp_load
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VX Loader (%s)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_vx_setup_firmware          ; -- Begin function snd_vx_setup_firmware
	.p2align	2
_snd_vx_setup_firmware:                 ; @snd_vx_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	x0, [x0]
Lloh0:
	adrp	x8, _SND_VX_HWDEP_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SND_VX_HWDEP_ID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x3, sp, #8
	mov	w2, #0
	bl	_snd_hwdep_new
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SNDRV_HWDEP_IFACE_VX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SNDRV_HWDEP_IFACE_VX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	str	w8, [x9, #24]
Lloh6:
	adrp	x8, _vx_hwdep_dsp_status@GOTPAGE
Lloh7:
	ldr	x8, [x8, _vx_hwdep_dsp_status@GOTPAGEOFF]
	str	x19, [x9, #16]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x10, _vx_hwdep_dsp_load@GOTPAGE
Lloh10:
	ldr	x10, [x10, _vx_hwdep_dsp_load@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #8]
	mov	w8, #1
	str	w8, [x9]
	ldr	w0, [x9, #4]
	ldr	x8, [x19]
	ldr	x2, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
	ldr	x8, [sp, #8]
	str	x8, [x19, #8]
	ldr	x0, [x19]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SND_VX_HWDEP_ID,4,2            ; @SND_VX_HWDEP_ID
	.comm	_SNDRV_HWDEP_IFACE_VX,4,2       ; @SNDRV_HWDEP_IFACE_VX
	.comm	_vx_hwdep_dsp_status,4,2        ; @vx_hwdep_dsp_status
	.comm	_vx_hwdep_dsp_load,4,2          ; @vx_hwdep_dsp_load
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VX Loader (%s)"

.subsections_via_symbols
