	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath9k_eeprom_request
_ath9k_eeprom_request:                  ## @ath9k_eeprom_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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	callq	_init_completion
	movq	8(%rbx), %rax
	movq	%rax, -40(%rbp)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %ecx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_ath9k_eeprom_request_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movl	$1, %esi
	movq	%r14, %rdx
	movq	%r12, %r9
	callq	_request_firmware_nowait
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	leaq	-48(%rbp), %rdi
	callq	_wait_for_completion
	xorl	%ebx, %ebx
	cmpl	$0, (%r15)
	jne	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_ath9k_hw_common
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%eax, %edi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_ath_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_4
LBB0_1:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_ath9k_hw_common
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_ath_err
LBB0_4:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ath9k_eeprom_request_cb,4,2    ## @ath9k_eeprom_request_cb
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EEPROM request failed\n"

L_.str.1:                               ## @.str.1
	.asciz	"Unable to load EEPROM file %s\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ath9k_eeprom_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath9k_eeprom_request
_ath9k_eeprom_request:                  ; @ath9k_eeprom_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x21, x0
	ldr	x20, [x0, #8]
	add	x0, sp, #16
	bl	_init_completion
	ldr	x8, [x21, #8]
	str	x8, [sp, #24]
Lloh0:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w3, [x21]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
Lloh6:
	adrp	x8, _ath9k_eeprom_request_cb@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ath9k_eeprom_request_cb@GOTPAGEOFF]
Lloh8:
	ldr	w6, [x8]
	add	x5, sp, #16
	mov	w1, #1
	mov	x2, x19
	bl	_request_firmware_nowait
	tbnz	w0, #31, LBB0_3
; %bb.1:
	add	x0, sp, #16
	bl	_wait_for_completion
	ldr	w8, [x20]
	cbz	w8, LBB0_4
; %bb.2:
	mov	w21, #0
	b	LBB0_5
LBB0_3:
	mov	x21, x0
	mov	x0, x20
	bl	_ath9k_hw_common
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ath_err
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_ath9k_hw_common
	str	x19, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_ath_err
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ath9k_eeprom_request_cb,4,2    ; @ath9k_eeprom_request_cb
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EEPROM request failed\n"

l_.str.1:                               ; @.str.1
	.asciz	"Unable to load EEPROM file %s\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ath9k_eeprom_request
.subsections_via_symbols
