	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function port100_in_comm_rf_complete
_port100_in_comm_rf_complete:           ## @port100_in_comm_rf_complete
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	8(%rsi), %r12
	movq	%rdx, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_PTR_ERR
	jmp	LBB0_10
LBB0_2:
	cmpl	$3, (%r13)
	jg	LBB0_4
## %bb.3:
	movq	8(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_nfc_err
LBB0_8:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	movq	8(%r13), %rax
	movl	(%rax), %edi
	callq	_le32_to_cpu
	movq	%rax, %rbx
	movq	%r13, %rdi
	movl	$8, %esi
	callq	_skb_pull
	movq	_PORT100_CMD_STATUS_TIMEOUT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_6
## %bb.5:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
LBB0_9:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_kfree_skb
	movl	%ebx, %edi
	callq	_ERR_PTR
	movq	%rax, %r13
LBB0_10:
	movl	(%r14), %edi
	movl	(%r15), %esi
	movq	%r13, %rdx
	callq	*%r12
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_6:
	movq	_PORT100_CMD_STATUS_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_7
## %bb.11:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_skb_pull
	jmp	LBB0_10
LBB0_7:
	movq	8(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_nfc_err
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid packet length received\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_PORT100_CMD_STATUS_TIMEOUT,8,3 ## @PORT100_CMD_STATUS_TIMEOUT
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_PORT100_CMD_STATUS_OK,8,3      ## @PORT100_CMD_STATUS_OK
L_.str.1:                               ## @.str.1
	.asciz	"in_comm_rf failed with status 0x%08x\n"

	.no_dead_strip	_port100_in_comm_rf_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function port100_in_comm_rf_complete
_port100_in_comm_rf_complete:           ; @port100_in_comm_rf_complete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x1, #8]
	mov	x0, x2
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_PTR_ERR
	b	LBB0_8
LBB0_2:
	ldr	w8, [x21]
	cmp	w8, #3
	b.gt	LBB0_5
; %bb.3:
	ldr	x0, [x20, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	bl	_nfc_err
Lloh2:
	adrp	x8, _EIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
	bl	_le32_to_cpu
	mov	x22, x0
	mov	x0, x21
	mov	w1, #8
	bl	_skb_pull
Lloh4:
	adrp	x8, _PORT100_CMD_STATUS_TIMEOUT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PORT100_CMD_STATUS_TIMEOUT@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_9
; %bb.6:
Lloh7:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w22, w8
	mov	x0, x21
	bl	_kfree_skb
	mov	x0, x22
	bl	_ERR_PTR
	mov	x21, x0
LBB0_8:
	ldr	w0, [x20]
	ldr	w1, [x19]
	mov	x2, x21
	blr	x23
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_kfree
LBB0_9:
Lloh9:
	adrp	x8, _PORT100_CMD_STATUS_OK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PORT100_CMD_STATUS_OK@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x21
	mov	w1, #1
	bl	_skb_pull
	b	LBB0_8
LBB0_11:
	ldr	x0, [x20, #8]
	str	x22, [sp]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid packet length received\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_PORT100_CMD_STATUS_TIMEOUT,8,3 ; @PORT100_CMD_STATUS_TIMEOUT
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_PORT100_CMD_STATUS_OK,8,3      ; @PORT100_CMD_STATUS_OK
l_.str.1:                               ; @.str.1
	.asciz	"in_comm_rf failed with status 0x%08x\n"

	.no_dead_strip	_port100_in_comm_rf_complete
.subsections_via_symbols
