	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfc_mei_rx_cb
_nfc_mei_rx_cb:                         ## @nfc_mei_rx_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
	callq	_mei_cldev_get_drvdata
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	cmpq	$0, (%rax)
	je	LBB0_2
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_MEI_NFC_MAX_READ@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %r14
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_mei_nfc_recv
	movq	_MEI_NFC_HEADER_SIZE@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	jge	LBB0_4
## %bb.6:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree_skb                      ## TAILCALL
LBB0_4:
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_skb_put
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_skb_pull
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_MEI_DUMP_SKB_IN
	movl	8(%rbx), %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfc_hci_recv_frame             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MEI_NFC_MAX_READ,4,2           ## @MEI_NFC_MAX_READ
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_MEI_NFC_HEADER_SIZE,4,2        ## @MEI_NFC_HEADER_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mei frame read"

	.no_dead_strip	_nfc_mei_rx_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfc_mei_rx_cb
_nfc_mei_rx_cb:                         ; @nfc_mei_rx_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
	bl	_mei_cldev_get_drvdata
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
LBB0_2:
	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
LBB0_3:
Lloh0:
	adrp	x21, _MEI_NFC_MAX_READ@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MEI_NFC_MAX_READ@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_alloc_skb
	cbz	x0, LBB0_2
; %bb.4:
	mov	x20, x0
	ldr	w1, [x0]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_mei_nfc_recv
Lloh5:
	adrp	x21, _MEI_NFC_HEADER_SIZE@GOTPAGE
Lloh6:
	ldr	x21, [x21, _MEI_NFC_HEADER_SIZE@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	b.ge	LBB0_6
; %bb.5:
	mov	x0, x20
	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	_kfree_skb
LBB0_6:
	mov	x1, x0
	mov	x0, x20
	bl	_skb_put
	ldr	w1, [x21]
	mov	x0, x20
	bl	_skb_pull
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_MEI_DUMP_SKB_IN
	ldr	w0, [x19, #8]
	mov	x1, x20
	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_hci_recv_frame
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MEI_NFC_MAX_READ,4,2           ; @MEI_NFC_MAX_READ
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_MEI_NFC_HEADER_SIZE,4,2        ; @MEI_NFC_HEADER_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mei frame read"

	.no_dead_strip	_nfc_mei_rx_cb
.subsections_via_symbols
