	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st21nfca_tm_send_psl_res
_st21nfca_tm_send_psl_res:              ## @st21nfca_tm_send_psl_res
	.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, %r15
	movq	%rdi, %r14
	movq	$0, -48(%rbp)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rax, %rdi
	movl	$16, %esi
	callq	_skb_put
	movq	8(%r12), %rcx
	movl	$16, (%rcx)
	movq	_ST21NFCA_NFCIP1_RES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rcx)
	movq	_ST21NFCA_NFCIP1_PSL_RES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rcx)
	movl	4(%r15), %eax
	movl	%eax, 4(%rcx)
	movq	_ST21NFCA_RF_CARD_F_GATE@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_ST21NFCA_EVT_SEND_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %r8d
	movq	%r14, %rdi
	callq	_nfc_hci_send_event
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	movl	(%r15), %edi
	callq	_ST21NFCA_PSL_REQ_SEND_SPEED
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	(%r15), %edi
	callq	_ST21NFCA_PSL_REQ_RECV_SPEED
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_ST21NFCA_CARD_BITRATE_424@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	%eax, -44(%rbp)
LBB0_6:
	movl	(%r13), %esi
	movq	_ST21NFCA_EVT_CARD_F_BITRATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	movl	$2, %r8d
	callq	_nfc_hci_send_event
LBB0_7:
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_kfree_skb
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ST21NFCA_NFCIP1_RES,4,2        ## @ST21NFCA_NFCIP1_RES
	.comm	_ST21NFCA_NFCIP1_PSL_RES,4,2    ## @ST21NFCA_NFCIP1_PSL_RES
	.comm	_ST21NFCA_RF_CARD_F_GATE,4,2    ## @ST21NFCA_RF_CARD_F_GATE
	.comm	_ST21NFCA_EVT_SEND_DATA,4,2     ## @ST21NFCA_EVT_SEND_DATA
	.comm	_ST21NFCA_CARD_BITRATE_424,4,2  ## @ST21NFCA_CARD_BITRATE_424
	.comm	_ST21NFCA_EVT_CARD_F_BITRATE,4,2 ## @ST21NFCA_EVT_CARD_F_BITRATE
	.no_dead_strip	_st21nfca_tm_send_psl_res
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st21nfca_tm_send_psl_res
_st21nfca_tm_send_psl_res:              ; @st21nfca_tm_send_psl_res
	.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, x1
	mov	x20, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w22, #16
	mov	w0, #16
	bl	_alloc_skb
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	mov	w1, #16
	bl	_skb_put
	ldr	x3, [x19, #8]
	ldr	w8, [x21, #4]
	str	w22, [x3]
Lloh3:
	adrp	x9, _ST21NFCA_NFCIP1_RES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ST21NFCA_NFCIP1_RES@GOTPAGEOFF]
Lloh5:
	adrp	x10, _ST21NFCA_NFCIP1_PSL_RES@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ST21NFCA_NFCIP1_PSL_RES@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	ldr	w10, [x10]
	stp	w10, w9, [x3, #8]
Lloh9:
	adrp	x23, _ST21NFCA_RF_CARD_F_GATE@GOTPAGE
Lloh10:
	ldr	x23, [x23, _ST21NFCA_RF_CARD_F_GATE@GOTPAGEOFF]
	str	w8, [x3, #4]
	ldr	w1, [x23]
Lloh11:
	adrp	x8, _ST21NFCA_EVT_SEND_DATA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ST21NFCA_EVT_SEND_DATA@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	ldr	w4, [x19]
	mov	x0, x20
	bl	_nfc_hci_send_event
	tbnz	w0, #31, LBB0_6
; %bb.2:
	ldr	w0, [x21]
	bl	_ST21NFCA_PSL_REQ_SEND_SPEED
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w0, [x21]
	bl	_ST21NFCA_PSL_REQ_RECV_SPEED
	cbz	x0, LBB0_5
; %bb.4:
Lloh14:
	adrp	x8, _ST21NFCA_CARD_BITRATE_424@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ST21NFCA_CARD_BITRATE_424@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	stp	w8, w8, [sp, #8]
LBB0_5:
	ldr	w1, [x23]
Lloh17:
	adrp	x8, _ST21NFCA_EVT_CARD_F_BITRATE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ST21NFCA_EVT_CARD_F_BITRATE@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x20
	mov	w4, #2
	bl	_nfc_hci_send_event
LBB0_6:
	mov	x22, x0
	mov	x0, x19
	bl	_kfree_skb
	b	LBB0_8
LBB0_7:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_8:
	mov	x0, x22
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ST21NFCA_NFCIP1_RES,4,2        ; @ST21NFCA_NFCIP1_RES
	.comm	_ST21NFCA_NFCIP1_PSL_RES,4,2    ; @ST21NFCA_NFCIP1_PSL_RES
	.comm	_ST21NFCA_RF_CARD_F_GATE,4,2    ; @ST21NFCA_RF_CARD_F_GATE
	.comm	_ST21NFCA_EVT_SEND_DATA,4,2     ; @ST21NFCA_EVT_SEND_DATA
	.comm	_ST21NFCA_CARD_BITRATE_424,4,2  ; @ST21NFCA_CARD_BITRATE_424
	.comm	_ST21NFCA_EVT_CARD_F_BITRATE,4,2 ; @ST21NFCA_EVT_CARD_F_BITRATE
	.no_dead_strip	_st21nfca_tm_send_psl_res
.subsections_via_symbols
