	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fw_dnld_over
_fw_dnld_over:                          ## @fw_dnld_over
	.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, %r14
	movq	%rdi, %rbx
	movq	24(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_release_firmware
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	$0, 24(%rbx)
LBB0_2:
	movq	32(%rbx), %rdi
	addq	$8, %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	movq	32(%rbx), %rdi
	addq	$4, %rdi
	callq	_timer_pending
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	32(%rbx), %rdi
	addq	$4, %rdi
	callq	_del_timer_sync
LBB0_4:
	leaq	4(%rbx), %r15
	movq	%r15, %rdi
	callq	_timer_pending
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_del_timer_sync
LBB0_6:
	movl	40(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdx
	callq	_nfc_info
	testq	%r14, %r14
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_nfcmrvl_chip_halt
LBB0_8:
	movq	32(%rbx), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfc_fw_download_done           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FW loading over (%d)]\n"

	.no_dead_strip	_fw_dnld_over
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fw_dnld_over
_fw_dnld_over:                          ; @fw_dnld_over
	.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, x1
	mov	x20, x0
	ldr	x0, [x0, #24]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_release_firmware
	stp	xzr, xzr, [x20, #16]
	str	xzr, [x20, #8]
LBB0_2:
	ldr	x8, [x20, #32]
	add	x0, x8, #8
	mov	w1, #0
	bl	_atomic_set
	ldr	x8, [x20, #32]
	add	x0, x8, #4
	bl	_timer_pending
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x20, #32]
	add	x0, x8, #4
	bl	_del_timer_sync
LBB0_4:
	add	x21, x20, #4
	mov	x0, x21
	bl	_timer_pending
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x21
	bl	_del_timer_sync
LBB0_6:
	ldr	w0, [x20, #40]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_nfc_info
	cbz	x19, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_nfcmrvl_chip_halt
LBB0_8:
	ldr	x8, [x20, #32]
	ldr	w0, [x8]
	ldr	w1, [x20]
	mov	x2, 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	_nfc_fw_download_done
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FW loading over (%d)]\n"

	.no_dead_strip	_fw_dnld_over
.subsections_via_symbols
