	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_sb_csp_firmware_load
_snd_sb_csp_firmware_load:              ## @snd_sb_csp_firmware_load
	.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	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %r13
	leaq	_snd_sb_csp_firmware_load.names(%rip), %r15
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	movq	_CSP_PROGRAM_COUNT@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	(%r13), %rax
	movslq	%r12d, %rbx
	movq	(%rax,%rbx,8), %rax
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movq	(%r15,%rbx,8), %rsi
	movq	8(%r13), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	callq	_request_firmware
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	movq	-48(%rbp), %rax
	movq	(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	-48(%rbp), %rax
LBB0_3:
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r13, %rdi
	movl	%r14d, %ecx
	callq	_snd_sb_csp_load
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__const
	.p2align	4                               ## @snd_sb_csp_firmware_load.names
_snd_sb_csp_firmware_load.names:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	L_.str.4

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sb16/mulaw_main.csp"

L_.str.1:                               ## @.str.1
	.asciz	"sb16/alaw_main.csp"

L_.str.2:                               ## @.str.2
	.asciz	"sb16/ima_adpcm_init.csp"

L_.str.3:                               ## @.str.3
	.asciz	"sb16/ima_adpcm_playback.csp"

L_.str.4:                               ## @.str.4
	.asciz	"sb16/ima_adpcm_capture.csp"

	.comm	_CSP_PROGRAM_COUNT,8,3          ## @CSP_PROGRAM_COUNT
	.no_dead_strip	_snd_sb_csp_firmware_load
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_sb_csp_firmware_load
_snd_sb_csp_firmware_load:              ; @snd_sb_csp_firmware_load
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _snd_sb_csp_firmware_load.names@PAGE
Lloh1:
	add	x22, x22, _snd_sb_csp_firmware_load.names@PAGEOFF
	mov	x0, x22
	bl	_ARRAY_SIZE
Lloh2:
	adrp	x8, _CSP_PROGRAM_COUNT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CSP_PROGRAM_COUNT@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, ne
	bl	_BUILD_BUG_ON
	ldr	x8, [x20]
	ldr	x8, [x8, w21, sxtw #3]
	str	x8, [sp, #8]
	cbnz	x8, LBB0_3
; %bb.1:
	sxtw	x21, w21
	ldr	x1, [x22, x21, lsl #3]
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w2, [x8]
	add	x0, sp, #8
	bl	_request_firmware
	tbnz	w0, #31, LBB0_4
; %bb.2:
	ldr	x8, [sp, #8]
	ldr	x9, [x20]
	str	x8, [x9, x21, lsl #3]
	ldr	x8, [sp, #8]
LBB0_3:
	ldp	w2, w1, [x8]
	mov	x0, x20
	mov	x3, x19
	bl	_snd_sb_csp_load
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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @snd_sb_csp_firmware_load.names
_snd_sb_csp_firmware_load.names:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sb16/mulaw_main.csp"

l_.str.1:                               ; @.str.1
	.asciz	"sb16/alaw_main.csp"

l_.str.2:                               ; @.str.2
	.asciz	"sb16/ima_adpcm_init.csp"

l_.str.3:                               ; @.str.3
	.asciz	"sb16/ima_adpcm_playback.csp"

l_.str.4:                               ; @.str.4
	.asciz	"sb16/ima_adpcm_capture.csp"

	.comm	_CSP_PROGRAM_COUNT,8,3          ; @CSP_PROGRAM_COUNT
	.no_dead_strip	_snd_sb_csp_firmware_load
.subsections_via_symbols
