	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function owl_fw_cb
_owl_fw_cb:                             ## @owl_fw_cb
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_pci_get_drvdata
	movq	%rax, %rdi
	callq	_complete
	testq	%r14, %r14
	je	LBB0_1
## %bb.3:
	movl	(%r14), %edx
	leal	-512(%rdx), %eax
	cmpl	$3584, %eax                     ## imm = 0xE00
	ja	LBB0_5
## %bb.4:
	movl	%edx, %eax
	andl	$1, %eax
	jne	LBB0_5
## %bb.6:
	movq	8(%r14), %rsi
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ath9k_pci_fixup
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_pci_lock_rescan_remove
	movq	(%rbx), %r15
	movq	%rbx, %rdi
	callq	_pci_stop_and_remove_bus_device
	movq	%r15, %rdi
	callq	_pci_rescan_bus
	xorl	%eax, %eax
	callq	_pci_unlock_rescan_remove
	jmp	LBB0_8
LBB0_1:
	addq	$8, %rbx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_5:
	addq	$8, %rbx
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movq	%rbx, %rdi
	callq	_dev_err
LBB0_8:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_release_firmware               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no eeprom data received.\n"

L_.str.1:                               ## @.str.1
	.asciz	"eeprom file has an invalid size.\n"

	.no_dead_strip	_owl_fw_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function owl_fw_cb
_owl_fw_cb:                             ; @owl_fw_cb
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_pci_get_drvdata
	bl	_complete
	cbz	x19, LBB0_3
; %bb.1:
	ldr	w2, [x19]
	sub	w8, w2, #512
	and	w9, w2, #0x1
	cmp	w8, #3584
	ccmp	w9, #0, #0, ls
	b.eq	LBB0_4
; %bb.2:
	add	x0, x20, #8
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	b	LBB0_6
LBB0_3:
	add	x0, x20, #8
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_6
LBB0_4:
	ldr	x1, [x19, #8]
	mov	x0, x20
	bl	_ath9k_pci_fixup
	cbnz	x0, LBB0_6
; %bb.5:
	bl	_pci_lock_rescan_remove
	ldr	x21, [x20]
	mov	x0, x20
	bl	_pci_stop_and_remove_bus_device
	mov	x0, x21
	bl	_pci_rescan_bus
	bl	_pci_unlock_rescan_remove
LBB0_6:
	mov	x0, 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	_release_firmware
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no eeprom data received.\n"

l_.str.1:                               ; @.str.1
	.asciz	"eeprom file has an invalid size.\n"

	.no_dead_strip	_owl_fw_cb
.subsections_via_symbols
