	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function microread_mei_probe
_microread_mei_probe:                   ## @microread_mei_probe
	.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, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movq	%rbx, %rdi
	callq	_nfc_mei_phy_alloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	_LLC_NOP_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MEI_NFC_HEADER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_MEI_NFC_MAX_HCI_PAYLOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, (%rsp)
	movq	_mei_phy_ops@GOTPCREL(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	callq	_microread_probe
	testl	%eax, %eax
	jns	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_nfc_mei_phy_free
	movl	%r15d, %ebx
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_err
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Probing NFC microread\n"

L_.str.1:                               ## @.str.1
	.asciz	"Cannot allocate memory for microread mei phy.\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_mei_phy_ops,4,2                ## @mei_phy_ops
	.comm	_LLC_NOP_NAME,4,2               ## @LLC_NOP_NAME
	.comm	_MEI_NFC_HEADER_SIZE,4,2        ## @MEI_NFC_HEADER_SIZE
	.comm	_MEI_NFC_MAX_HCI_PAYLOAD,4,2    ## @MEI_NFC_MAX_HCI_PAYLOAD
	.no_dead_strip	_microread_mei_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function microread_mei_probe
_microread_mei_probe:                   ; @microread_mei_probe
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	mov	x0, x19
	bl	_nfc_mei_phy_alloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x8, _LLC_NOP_NAME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LLC_NOP_NAME@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _MEI_NFC_HEADER_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MEI_NFC_HEADER_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	adrp	x8, _MEI_NFC_MAX_HCI_PAYLOAD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MEI_NFC_MAX_HCI_PAYLOAD@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
Lloh11:
	adrp	x1, _mei_phy_ops@GOTPAGE
Lloh12:
	ldr	x1, [x1, _mei_phy_ops@GOTPAGEOFF]
	mov	w4, #0
	mov	x6, x0
	bl	_microread_probe
	mov	x20, x0
	mov	w0, #0
	tbz	w20, #31, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_nfc_mei_phy_free
	mov	x0, x20
	b	LBB0_4
LBB0_3:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
Lloh15:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Probing NFC microread\n"

l_.str.1:                               ; @.str.1
	.asciz	"Cannot allocate memory for microread mei phy.\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_mei_phy_ops,4,2                ; @mei_phy_ops
	.comm	_LLC_NOP_NAME,4,2               ; @LLC_NOP_NAME
	.comm	_MEI_NFC_HEADER_SIZE,4,2        ; @MEI_NFC_HEADER_SIZE
	.comm	_MEI_NFC_MAX_HCI_PAYLOAD,4,2    ; @MEI_NFC_MAX_HCI_PAYLOAD
	.no_dead_strip	_microread_mei_probe
.subsections_via_symbols
