	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pn533_i2c_send_frame
_pn533_i2c_send_frame:                  ## @pn533_i2c_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rcx
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_1
LBB0_8:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rsi, %rbx
	movq	24(%rcx), %r14
	cmpq	$0, 16(%rcx)
	jne	LBB0_3
## %bb.2:
	movq	%rdi, 16(%rcx)
LBB0_3:
	movl	$0, 8(%rcx)
	movq	_DUMP_PREFIX_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %r9d
	movl	4(%rbx), %r8d
	movl	$0, (%rsp)
	leaq	L_.str(%rip), %rdi
	movl	$16, %edx
	movl	$1, %ecx
	callq	_print_hex_dump_debug
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	_i2c_master_send
                                        ## kill: def $eax killed $eax def $rax
	movq	_EREMOTEIO@GOTPCREL(%rip), %r15
	movl	%eax, %ecx
	addl	(%r15), %ecx
	jne	LBB0_5
## %bb.4:
	movl	$6000, %edi                     ## imm = 0x1770
	movl	$10000, %esi                    ## imm = 0x2710
	callq	_usleep_range
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	_i2c_master_send
                                        ## kill: def $eax killed $eax def $rax
LBB0_5:
	testl	%eax, %eax
	js	LBB0_8
## %bb.6:
	cmpl	(%rbx), %eax
	movl	$0, %eax
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	subl	(%r15), %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PN533_i2c TX: "

	.comm	_DUMP_PREFIX_NONE,4,2           ## @DUMP_PREFIX_NONE
	.comm	_EREMOTEIO,4,2                  ## @EREMOTEIO
	.no_dead_strip	_pn533_i2c_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_i2c_send_frame
_pn533_i2c_send_frame:                  ; @pn533_i2c_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	x8, x0
	ldr	x9, [x0]
	ldr	x0, [x9]
	cbz	x0, LBB0_2
LBB0_1:
                                        ; kill: def $w0 killed $w0 killed $x0
	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
LBB0_2:
	mov	x19, x1
	ldp	x10, x20, [x9, #16]
	cbnz	x10, LBB0_4
; %bb.3:
	str	x8, [x9, #16]
LBB0_4:
	str	wzr, [x9, #8]
Lloh0:
	adrp	x8, _DUMP_PREFIX_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DUMP_PREFIX_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldp	w5, w4, [x19]
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
	ldp	w2, w1, [x19]
	mov	x0, x20
	bl	_i2c_master_send
                                        ; kill: def $w0 killed $w0 def $x0
Lloh5:
	adrp	x21, _EREMOTEIO@GOTPAGE
Lloh6:
	ldr	x21, [x21, _EREMOTEIO@GOTPAGEOFF]
	ldr	w8, [x21]
	cmn	w0, w8
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #6000
	mov	w1, #10000
	bl	_usleep_range
	ldp	w2, w1, [x19]
	mov	x0, x20
	bl	_i2c_master_send
                                        ; kill: def $w0 killed $w0 def $x0
LBB0_6:
	tbnz	w0, #31, LBB0_1
; %bb.7:
	ldr	w8, [x19]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.8:
	mov	w0, #0
	b	LBB0_1
LBB0_9:
	ldr	w8, [x21]
	neg	w0, w8
	b	LBB0_1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PN533_i2c TX: "

	.comm	_DUMP_PREFIX_NONE,4,2           ; @DUMP_PREFIX_NONE
	.comm	_EREMOTEIO,4,2                  ; @EREMOTEIO
	.no_dead_strip	_pn533_i2c_send_frame
.subsections_via_symbols
