	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st21nfca_im_recv_atr_res_cb
_st21nfca_im_recv_atr_res_cb:           ## @st21nfca_im_recv_atr_res_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	%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
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.1:
	testl	%edx, %edx
	jne	LBB0_8
## %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpl	$128, (%rdi)
	jne	LBB0_7
## %bb.3:
	movl	(%rbx), %esi
	decl	%esi
	movq	%rbx, %rdi
	callq	_skb_trim
	movq	8(%rbx), %r13
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movl	20(%r13), %esi
	movl	(%rbx), %edx
	addl	$-24, %edx
	callq	_nfc_set_remote_general_bytes
	testl	%eax, %eax
	js	LBB0_8
## %bb.4:
	movl	(%r13), %eax
	leal	1(%rax), %ecx
	orl	$16, %ecx
	cmpl	$14, %eax
	movl	$30, %eax
	cmovll	%ecx, %eax
	movl	%eax, 16(%r14)
	movq	8(%r14), %rax
	movl	(%rax), %edi
	movl	28(%r14), %esi
	movq	_NFC_COMM_PASSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_NFC_RF_INITIATOR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_nfc_dep_link_is_up
	testl	%eax, %eax
	js	LBB0_8
## %bb.5:
	movl	$0, 24(%r14)
	movl	4(%r13), %edi
	callq	_ST21NFCA_PP2LRI
	cmpl	20(%r14), %eax
	jne	LBB0_6
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree_skb                      ## TAILCALL
LBB0_6:
	movq	8(%r14), %r12
	movl	16(%r13), %r14d
	movl	12(%r13), %r15d
	movl	4(%r13), %edi
	movl	8(%r13), %ebx
	callq	_ST21NFCA_PP2LRI
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_st21nfca_im_send_psl_req       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NFC_COMM_PASSIVE,4,2           ## @NFC_COMM_PASSIVE
	.comm	_NFC_RF_INITIATOR,4,2           ## @NFC_RF_INITIATOR
	.no_dead_strip	_st21nfca_im_recv_atr_res_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st21nfca_im_recv_atr_res_cb
_st21nfca_im_recv_atr_res_cb:           ; @st21nfca_im_recv_atr_res_cb
	.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
	cbz	x1, LBB0_6
; %bb.1:
	cbnz	w2, LBB0_6
; %bb.2:
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.3:
	ldr	w8, [x20]
	sub	w1, w8, #1
	mov	x0, x20
	bl	_skb_trim
	ldr	x23, [x20, #8]
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldr	w1, [x23, #20]
	ldr	w8, [x20]
	sub	w2, w8, #24
	bl	_nfc_set_remote_general_bytes
	tbnz	w0, #31, LBB0_6
; %bb.4:
	ldr	w8, [x23]
	add	w9, w8, #1
	orr	w9, w9, #0x10
	mov	w10, #30
	cmp	w8, #13
	csel	w8, w10, w9, gt
	str	w8, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldr	w1, [x19, #28]
Lloh0:
	adrp	x8, _NFC_COMM_PASSIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NFC_COMM_PASSIVE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _NFC_RF_INITIATOR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NFC_RF_INITIATOR@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	bl	_nfc_dep_link_is_up
	tbnz	w0, #31, LBB0_6
; %bb.5:
	str	wzr, [x19, #24]
	ldr	w0, [x23, #4]
	bl	_ST21NFCA_PP2LRI
	ldr	w8, [x19, #20]
	cmp	w0, w8
	b.ne	LBB0_8
LBB0_6:
	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_7:
	mov	x0, x20
	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	_kfree_skb
LBB0_8:
	ldr	x19, [x19, #8]
	ldp	w21, w20, [x23, #12]
	ldp	w0, w22, [x23, #4]
	bl	_ST21NFCA_PP2LRI
	mov	x4, x0
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	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	_st21nfca_im_send_psl_req
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NFC_COMM_PASSIVE,4,2           ; @NFC_COMM_PASSIVE
	.comm	_NFC_RF_INITIATOR,4,2           ; @NFC_RF_INITIATOR
	.no_dead_strip	_st21nfca_im_recv_atr_res_cb
.subsections_via_symbols
