	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nxp_nci_fw_recv_frame          ## -- Begin function nxp_nci_fw_recv_frame
	.p2align	4, 0x90
_nxp_nci_fw_recv_frame:                 ## @nxp_nci_fw_recv_frame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	callq	_nci_get_drvdata
	movq	%rax, %rbx
	leaq	20(%rax), %rdi
	callq	_complete
	testq	%r14, %r14
	je	LBB0_5
## %bb.1:
	movq	%r14, %rdi
	callq	_nxp_nci_fw_check_crc
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	_EBADMSG@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_5:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, 16(%rbx)
	cmpq	$0, 8(%rbx)
	jne	LBB0_8
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	_NXP_NCI_FW_HDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_skb_pull
	movl	(%rax), %edi
	callq	_nxp_nci_fw_read_status
LBB0_4:
	movl	%eax, 16(%rbx)
	movq	%r14, %rdi
	callq	_kfree_skb
	cmpq	$0, 8(%rbx)
	je	LBB0_7
LBB0_8:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_schedule_work                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EBADMSG,4,2                    ## @EBADMSG
	.comm	_NXP_NCI_FW_HDR_LEN,4,2         ## @NXP_NCI_FW_HDR_LEN
	.comm	_EIO,4,2                        ## @EIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nxp_nci_fw_recv_frame          ; -- Begin function nxp_nci_fw_recv_frame
	.p2align	2
_nxp_nci_fw_recv_frame:                 ; @nxp_nci_fw_recv_frame
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	bl	_nci_get_drvdata
	mov	x19, x0
	add	x0, x0, #20
	bl	_complete
	cbz	x20, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_nxp_nci_fw_check_crc
	cbz	w0, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _EBADMSG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBADMSG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_3:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [x19, #16]
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_7
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh6:
	adrp	x8, _NXP_NCI_FW_HDR_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NXP_NCI_FW_HDR_LEN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_skb_pull
	ldr	w0, [x0]
	bl	_nxp_nci_fw_read_status
LBB0_6:
	str	w0, [x19, #16]
	mov	x0, x20
	bl	_kfree_skb
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_schedule_work
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EBADMSG,4,2                    ; @EBADMSG
	.comm	_NXP_NCI_FW_HDR_LEN,4,2         ; @NXP_NCI_FW_HDR_LEN
	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
