	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pn533_usb_send_frame
_pn533_usb_send_frame:                  ## @pn533_usb_send_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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %r15
	cmpq	$0, 8(%r15)
	jne	LBB0_2
## %bb.1:
	movq	%r14, 8(%r15)
LBB0_2:
	movl	4(%rsi), %r8d
	movq	(%r15), %rax
	movl	%r8d, 4(%rax)
	movl	(%rsi), %r9d
	movl	%r9d, (%rax)
	movq	_DUMP_PREFIX_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$0, (%rsp)
	leaq	L_.str(%rip), %rdi
	movl	$16, %edx
	movl	$1, %ecx
	callq	_print_hex_dump_debug
	movq	(%r15), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_usb_submit_urb
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movq	(%r14), %rax
	movq	_PN533_PROTO_REQ_RESP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_pn533_submit_urb_for_response
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_6:
	movq	_PN533_PROTO_REQ_ACK_RESP@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.7:
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_pn533_submit_urb_for_ack
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_9
LBB0_8:
	movq	(%r15), %rdi
	callq	_usb_unlink_urb
	movl	%r14d, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PN533 TX: "

	.comm	_DUMP_PREFIX_NONE,4,2           ## @DUMP_PREFIX_NONE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_PN533_PROTO_REQ_RESP,8,3       ## @PN533_PROTO_REQ_RESP
	.comm	_PN533_PROTO_REQ_ACK_RESP,8,3   ## @PN533_PROTO_REQ_ACK_RESP
	.no_dead_strip	_pn533_usb_send_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pn533_usb_send_frame
_pn533_usb_send_frame:                  ; @pn533_usb_send_frame
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	ldr	x19, [x0, #8]
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_2
; %bb.1:
	str	x20, [x19, #8]
LBB0_2:
	ldr	x8, [x19]
	ldp	w5, w4, [x1]
	stp	w5, w4, [x8]
Lloh0:
	adrp	x8, _DUMP_PREFIX_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DUMP_PREFIX_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	w2, #16
	mov	w3, #1
	mov	w6, #0
	bl	_print_hex_dump_debug
	ldr	x0, [x19]
Lloh5:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_usb_submit_urb
	mov	x21, x0
	cbnz	w0, LBB0_9
; %bb.3:
	ldr	x8, [x20]
Lloh7:
	adrp	x9, _PN533_PROTO_REQ_RESP@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PN533_PROTO_REQ_RESP@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_pn533_submit_urb_for_response
	mov	x21, x0
	cbnz	w0, LBB0_7
	b	LBB0_9
LBB0_5:
Lloh10:
	adrp	x9, _PN533_PROTO_REQ_ACK_RESP@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PN533_PROTO_REQ_ACK_RESP@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_pn533_submit_urb_for_ack
	mov	x21, x0
	cbz	w0, LBB0_9
LBB0_7:
	ldr	x0, [x19]
	bl	_usb_unlink_urb
	b	LBB0_9
LBB0_8:
	mov	w21, #0
LBB0_9:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PN533 TX: "

	.comm	_DUMP_PREFIX_NONE,4,2           ; @DUMP_PREFIX_NONE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_PN533_PROTO_REQ_RESP,8,3       ; @PN533_PROTO_REQ_RESP
	.comm	_PN533_PROTO_REQ_ACK_RESP,8,3   ; @PN533_PROTO_REQ_ACK_RESP
	.no_dead_strip	_pn533_usb_send_frame
.subsections_via_symbols
