	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function coda_firmware_request
_coda_firmware_request:                 ## @coda_firmware_request
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movq	16(%rdi), %rax
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	cmpq	%rax, %r14
	jae	LBB0_1
## %bb.3:
	movq	16(%rbx), %rax
	movq	(%rax), %rcx
	movq	(%rbx), %rdx
	movq	(%rcx,%rdx,8), %r14
	movl	8(%rbx), %r15d
	movl	8(%rax), %edi
	callq	_coda_product_name
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_dev_dbg
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %ecx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_coda_fw_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movl	$1, %esi
	movq	%r14, %rdx
	movq	%rbx, %r9
	callq	_request_firmware_nowait
	jmp	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"requesting firmware '%s' for %s\n"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_coda_fw_callback,4,2           ## @coda_fw_callback
	.no_dead_strip	_coda_firmware_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function coda_firmware_request
_coda_firmware_request:                 ; @coda_firmware_request
	.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	x19, x0
	ldr	x20, [x0]
	ldr	x8, [x0, #16]
	ldr	x0, [x8]
	bl	_ARRAY_SIZE
	cmp	x20, x0
	b.hs	LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	x9, [x8]
	ldr	x10, [x19]
	ldr	x20, [x9, x10, lsl #3]
	ldr	w21, [x19, #8]
	ldr	w0, [x8, #8]
	bl	_coda_product_name
	mov	x3, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	bl	_dev_dbg
Lloh2:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w3, [x19, #8]
Lloh7:
	ldr	w4, [x8]
Lloh8:
	adrp	x8, _coda_fw_callback@GOTPAGE
Lloh9:
	ldr	x8, [x8, _coda_fw_callback@GOTPAGEOFF]
Lloh10:
	ldr	w6, [x8]
	mov	w1, #1
	mov	x2, x20
	mov	x5, 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	_request_firmware_nowait
LBB0_2:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	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
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"requesting firmware '%s' for %s\n"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_coda_fw_callback,4,2           ; @coda_fw_callback
	.no_dead_strip	_coda_firmware_request
.subsections_via_symbols
