	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pn533_alloc_poll_tg_frame
_pn533_alloc_poll_tg_frame:             ## @pn533_alloc_poll_tg_frame
	.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	%r12
	pushq	%rbx
	subq	$112, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	(%rdi), %r14
	movq	8(%rdi), %r15
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movabsq	$1090921693185, %rax            ## imm = 0xFE00000001
	movq	%rax, -112(%rbp)
	movabsq	$1095216660735, %rax            ## imm = 0xFF000000FF
	movq	%rax, -48(%rbp)
	movq	l___const.pn533_alloc_poll_tg_frame.mifare_params+16(%rip), %rax
	movq	%rax, -128(%rbp)
	movaps	l___const.pn533_alloc_poll_tg_frame.mifare_params(%rip), %xmm0
	movaps	%xmm0, -144(%rbp)
	leal	37(%r15), %esi
	callq	_pn533_alloc_skb
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_PN533_INIT_TARGET_DEP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_skb_put_u8
	leaq	-144(%rbp), %rsi
	movl	$6, %edx
	movq	%rbx, %rdi
	callq	_skb_put_data
	leaq	-112(%rbp), %rsi
	movl	$18, %edx
	movq	%rbx, %rdi
	callq	_skb_put_data
	movq	%rax, %r12
	leaq	8(%rax), %rdi
	movl	$6, %esi
	callq	_get_random_bytes
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_skb_put_zero
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_skb_put_u8
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_skb_put_data
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_skb_put_u8
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rax
	addq	$112, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.pn533_alloc_poll_tg_frame.mifare_params
l___const.pn533_alloc_poll_tg_frame.mifare_params:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	64                              ## 0x40

	.comm	_PN533_INIT_TARGET_DEP,8,3      ## @PN533_INIT_TARGET_DEP
	.no_dead_strip	_pn533_alloc_poll_tg_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function pn533_alloc_poll_tg_frame
lCPI0_0:
	.long	1                               ; 0x1
	.long	254                             ; 0xfe
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_pn533_alloc_poll_tg_frame:             ; @pn533_alloc_poll_tg_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldp	x19, x20, [x0]
	str	xzr, [sp, #88]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #72]
	stur	q0, [sp, #56]
	stur	q0, [sp, #40]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #32]
	movi	d0, #0x0000ff000000ff
Lloh5:
	adrp	x8, l___const.pn533_alloc_poll_tg_frame.mifare_params@PAGE
Lloh6:
	add	x8, x8, l___const.pn533_alloc_poll_tg_frame.mifare_params@PAGEOFF
	str	d0, [sp, #96]
	ldr	q0, [x8]
	str	q0, [sp]
	ldr	x8, [x8, #16]
	str	x8, [sp, #16]
	add	w1, w20, #37
	bl	_pn533_alloc_skb
	mov	x21, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh7:
	adrp	x8, _PN533_INIT_TARGET_DEP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PN533_INIT_TARGET_DEP@GOTPAGEOFF]
Lloh9:
	ldr	x1, [x8]
	mov	x0, x21
	bl	_skb_put_u8
	mov	x1, sp
	mov	x0, x21
	mov	w2, #6
	bl	_skb_put_data
	add	x1, sp, #32
	mov	x0, x21
	mov	w2, #18
	bl	_skb_put_data
	mov	x22, x0
	add	x0, x0, #8
	mov	w1, #6
	bl	_get_random_bytes
	mov	x0, x21
	mov	w1, #10
	bl	_skb_put_zero
	mov	x1, x22
	mov	w2, #8
	bl	_memcpy
	mov	x0, x21
	mov	x1, x20
	bl	_skb_put_u8
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_skb_put_data
	mov	x0, x21
	mov	x1, #0
	bl	_skb_put_u8
LBB0_2:
	ldur	x8, [x29, #-40]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x21
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdrp	Lloh3, Lloh5
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.pn533_alloc_poll_tg_frame.mifare_params
l___const.pn533_alloc_poll_tg_frame.mifare_params:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	64                              ; 0x40

	.comm	_PN533_INIT_TARGET_DEP,8,3      ; @PN533_INIT_TARGET_DEP
	.no_dead_strip	_pn533_alloc_poll_tg_frame
.subsections_via_symbols
