	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function microread_im_transceive_cb
_microread_im_transceive_cb:            ## @microread_im_transceive_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
	movl	%edx, %r15d
	movq	%rsi, %r14
	cmpl	$128, (%rdi)
	jne	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	testl	%r15d, %r15d
	je	LBB0_2
LBB0_7:
	movq	8(%rbx), %rax
	movl	4(%rbx), %edi
	movq	%r14, %rsi
LBB0_8:
	movl	%r15d, %edx
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_10:
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movslq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.4:
	movq	8(%r14), %rax
	movl	-4(%rax,%rsi,4), %edi
	testl	%edi, %edi
	je	LBB0_6
## %bb.5:
	callq	_nfc_hci_result_to_errno
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_kfree_skb
	movq	8(%rbx), %rax
	movl	4(%rbx), %edi
	xorl	%esi, %esi
	jmp	LBB0_8
LBB0_12:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree_skb                      ## TAILCALL
LBB0_3:
	movq	%r14, %rdi
	callq	_kfree_skb
	movq	8(%rbx), %rax
	movl	4(%rbx), %edi
	movq	_EPROTO@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	subl	(%rcx), %edx
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	jmp	LBB0_9
LBB0_6:
	decq	%rsi
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_skb_trim
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_EPROTO,4,2                     ## @EPROTO
	.no_dead_strip	_microread_im_transceive_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function microread_im_transceive_cb
_microread_im_transceive_cb:            ; @microread_im_transceive_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	x21, x2
	mov	x20, x1
	ldr	w8, [x0]
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x0
	cbz	w21, LBB0_7
LBB0_2:
	ldr	x3, [x19, #8]
	ldr	w0, [x19, #4]
	mov	x1, x20
LBB0_3:
	mov	x2, x21
LBB0_4:
	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
	br	x3
LBB0_5:
	cbz	w21, LBB0_10
; %bb.6:
	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_7:
	ldr	w8, [x20]
	cbz	w8, LBB0_11
; %bb.8:
	ldr	x9, [x20, #8]
	sub	w1, w8, #1
	ldr	w0, [x9, w1, sxtw #2]
	cbz	w0, LBB0_12
; %bb.9:
	bl	_nfc_hci_result_to_errno
	mov	x21, x0
	mov	x0, x20
	bl	_kfree_skb
	ldr	x3, [x19, #8]
	ldr	w0, [x19, #4]
	mov	x1, #0
	b	LBB0_3
LBB0_10:
	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_11:
	mov	x0, x20
	bl	_kfree_skb
	ldr	x3, [x19, #8]
Lloh0:
	adrp	x8, _EPROTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
	ldr	w0, [x19, #4]
Lloh2:
	ldr	w8, [x8]
	neg	w2, w8
	mov	x1, #0
	b	LBB0_4
LBB0_12:
	mov	x0, x20
	bl	_skb_trim
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EPROTO,4,2                     ; @EPROTO
	.no_dead_strip	_microread_im_transceive_cb
.subsections_via_symbols
