	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st21nfca_tm_recv_dep_req
_st21nfca_tm_recv_dep_req:              ## @st21nfca_tm_recv_dep_req
	.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	%rsi, %r12
	movq	%rdi, %rbx
	callq	_nfc_hci_get_clientdata
	movq	%rax, %r14
	movl	(%r12), %esi
	decl	%esi
	movq	%r12, %rdi
	callq	_skb_trim
	cmpl	$4, (%r12)
	jl	LBB0_10
## %bb.1:
	movq	8(%r12), %r15
	movl	(%r15), %edi
	callq	_ST21NFCA_NFC_DEP_DID_BIT_SET
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %r13
	movl	(%r15), %edi
	callq	_ST21NFCA_NFC_DEP_NAD_BIT_SET
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
	cmpq	$1, %r13
	movq	%r14, %r13
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	sbbl	$0, %ebx
	addl	$5, %ebx
	cmpl	%ebx, (%r12)
	jge	LBB0_2
LBB0_10:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	(%r15), %edi
	callq	_ST21NFCA_NFC_DEP_PFB_TYPE
	cmpl	$128, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$130, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$129, %eax
	jne	LBB0_9
## %bb.5:
	movl	(%r15), %edi
	callq	_ST21NFCA_NFC_DEP_PFB_PNI
	movl	%eax, (%r13)
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str(%rip), %rdi
LBB0_8:
	callq	_pr_err
LBB0_9:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_skb_pull
	movl	(%r14), %edi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nfc_tm_data_received           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Received a ACK/NACK PDU\n"

L_.str.1:                               ## @.str.1
	.asciz	"Received a SUPERVISOR PDU\n"

	.no_dead_strip	_st21nfca_tm_recv_dep_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st21nfca_tm_recv_dep_req
_st21nfca_tm_recv_dep_req:              ; @st21nfca_tm_recv_dep_req
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	bl	_nfc_hci_get_clientdata
	mov	x21, x0
	ldr	w8, [x19]
	sub	w1, w8, #1
	mov	x0, x19
	bl	_skb_trim
	ldr	w8, [x19]
	cmp	w8, #4
	b.lt	LBB0_2
; %bb.1:
	ldr	x23, [x19, #8]
	ldr	w0, [x23]
	bl	_ST21NFCA_NFC_DEP_DID_BIT_SET
	cmp	x0, #0
	mov	w8, #4
	cinc	w22, w8, ne
	ldr	w0, [x23]
	bl	_ST21NFCA_NFC_DEP_NAD_BIT_SET
	cmp	x0, #0
	cinc	w22, w22, ne
	ldr	w8, [x19]
	cmp	w8, w22
	b.ge	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w0, [x23]
	bl	_ST21NFCA_NFC_DEP_PFB_TYPE
	cmp	w0, #128
	b.eq	LBB0_7
; %bb.4:
	cmp	w0, #130
	b.eq	LBB0_8
; %bb.5:
	cmp	w0, #129
	b.ne	LBB0_10
; %bb.6:
	ldr	w0, [x23]
	bl	_ST21NFCA_NFC_DEP_PFB_PNI
	str	w0, [x21]
	b	LBB0_10
LBB0_7:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
LBB0_9:
	bl	_pr_err
LBB0_10:
	mov	x0, x19
	mov	x1, x22
	bl	_skb_pull
	ldr	w0, [x20]
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_nfc_tm_data_received
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Received a ACK/NACK PDU\n"

l_.str.1:                               ; @.str.1
	.asciz	"Received a SUPERVISOR PDU\n"

	.no_dead_strip	_st21nfca_tm_recv_dep_req
.subsections_via_symbols
