	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function microread_hci_ready
LCPI0_0:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_microread_hci_ready:                   ## @microread_hci_ready
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$3, -32(%rbp)
	movq	_MICROREAD_GATE_ID_MREAD_ISO_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MICROREAD_CMD_MREAD_SUBSCRIBE@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	-32(%rbp), %rcx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	callq	_nfc_hci_send_cmd
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	movq	_MICROREAD_GATE_ID_MREAD_ISO_A_3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_nfc_hci_send_cmd
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movabsq	$12884901888, %rax              ## imm = 0x300000000
	movq	%rax, -32(%rbp)
	movl	$0, -24(%rbp)
	movq	_MICROREAD_GATE_ID_MREAD_ISO_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$3, %r8d
	xorl	%r9d, %r9d
	callq	_nfc_hci_send_cmd
	testl	%eax, %eax
	jne	LBB0_5
## %bb.3:
	movq	_MICROREAD_GATE_ID_MREAD_NFC_T1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_nfc_hci_send_cmd
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [255,255,0,0]
	movaps	%xmm0, -32(%rbp)
	movq	_MICROREAD_GATE_ID_MREAD_NFC_T3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$4, %r8d
	xorl	%r9d, %r9d
	callq	_nfc_hci_send_cmd
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MICROREAD_GATE_ID_MREAD_ISO_A,4,2 ## @MICROREAD_GATE_ID_MREAD_ISO_A
	.comm	_MICROREAD_CMD_MREAD_SUBSCRIBE,4,2 ## @MICROREAD_CMD_MREAD_SUBSCRIBE
	.comm	_MICROREAD_GATE_ID_MREAD_ISO_A_3,4,2 ## @MICROREAD_GATE_ID_MREAD_ISO_A_3
	.comm	_MICROREAD_GATE_ID_MREAD_ISO_B,4,2 ## @MICROREAD_GATE_ID_MREAD_ISO_B
	.comm	_MICROREAD_GATE_ID_MREAD_NFC_T1,4,2 ## @MICROREAD_GATE_ID_MREAD_NFC_T1
	.comm	_MICROREAD_GATE_ID_MREAD_NFC_T3,4,2 ## @MICROREAD_GATE_ID_MREAD_NFC_T3
	.no_dead_strip	_microread_hci_ready
.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 microread_hci_ready
lCPI0_0:
	.long	0                               ; 0x0
	.long	3                               ; 0x3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
lCPI0_1:
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_microread_hci_ready:                   ; @microread_hci_ready
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	mov	w8, #3
	str	w8, [sp]
Lloh0:
	adrp	x8, _MICROREAD_GATE_ID_MREAD_ISO_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MICROREAD_GATE_ID_MREAD_ISO_A@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x20, _MICROREAD_CMD_MREAD_SUBSCRIBE@GOTPAGE
Lloh4:
	ldr	x20, [x20, _MICROREAD_CMD_MREAD_SUBSCRIBE@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x3, sp
	mov	w4, #1
	mov	x5, #0
	bl	_nfc_hci_send_cmd
	cbnz	w0, LBB0_5
; %bb.1:
Lloh5:
	adrp	x8, _MICROREAD_GATE_ID_MREAD_ISO_A_3@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MICROREAD_GATE_ID_MREAD_ISO_A_3@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	x3, #0
	mov	w4, #0
	mov	x5, #0
	bl	_nfc_hci_send_cmd
	cbnz	w0, LBB0_5
; %bb.2:
Lloh8:
	adrp	x8, lCPI0_0@PAGE
Lloh9:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp]
	str	wzr, [sp, #8]
Lloh10:
	adrp	x8, _MICROREAD_GATE_ID_MREAD_ISO_B@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MICROREAD_GATE_ID_MREAD_ISO_B@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x3, sp
	mov	x0, x19
	mov	w4, #3
	mov	x5, #0
	bl	_nfc_hci_send_cmd
	cbnz	w0, LBB0_5
; %bb.3:
Lloh13:
	adrp	x8, _MICROREAD_GATE_ID_MREAD_NFC_T1@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MICROREAD_GATE_ID_MREAD_NFC_T1@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	mov	x3, #0
	mov	w4, #0
	mov	x5, #0
	bl	_nfc_hci_send_cmd
	cbnz	w0, LBB0_5
; %bb.4:
Lloh16:
	adrp	x8, lCPI0_1@PAGE
Lloh17:
	ldr	q0, [x8, lCPI0_1@PAGEOFF]
	str	q0, [sp]
Lloh18:
	adrp	x8, _MICROREAD_GATE_ID_MREAD_NFC_T3@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MICROREAD_GATE_ID_MREAD_NFC_T3@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x3, sp
	mov	x0, x19
	mov	w4, #4
	mov	x5, #0
	bl	_nfc_hci_send_cmd
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdrp	Lloh8, Lloh10
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdrp	Lloh16, Lloh18
	.loh AdrpLdr	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_MICROREAD_GATE_ID_MREAD_ISO_A,4,2 ; @MICROREAD_GATE_ID_MREAD_ISO_A
	.comm	_MICROREAD_CMD_MREAD_SUBSCRIBE,4,2 ; @MICROREAD_CMD_MREAD_SUBSCRIBE
	.comm	_MICROREAD_GATE_ID_MREAD_ISO_A_3,4,2 ; @MICROREAD_GATE_ID_MREAD_ISO_A_3
	.comm	_MICROREAD_GATE_ID_MREAD_ISO_B,4,2 ; @MICROREAD_GATE_ID_MREAD_ISO_B
	.comm	_MICROREAD_GATE_ID_MREAD_NFC_T1,4,2 ; @MICROREAD_GATE_ID_MREAD_NFC_T1
	.comm	_MICROREAD_GATE_ID_MREAD_NFC_T3,4,2 ; @MICROREAD_GATE_ID_MREAD_NFC_T3
	.no_dead_strip	_microread_hci_ready
.subsections_via_symbols
