	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function probe
_probe:                                 ## @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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	$8, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	_vdev_read@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_vdev_probe
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_free
	movq	_EFI_UNSUPPORTED@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_DPRINTF
	movq	_EFI_OUT_OF_RESOURCES@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	-24(%rbp), %rax
	movq	%rax, (%r14)
	movq	_devices@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	callq	_add_device
	movq	_EFI_SUCCESS@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to allocate tdev\n"

	.comm	_EFI_OUT_OF_RESOURCES,4,2       ## @EFI_OUT_OF_RESOURCES
	.comm	_vdev_read,4,2                  ## @vdev_read
	.comm	_EFI_UNSUPPORTED,4,2            ## @EFI_UNSUPPORTED
	.comm	_devices,4,2                    ## @devices
	.comm	_EFI_SUCCESS,4,2                ## @EFI_SUCCESS
	.no_dead_strip	_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function probe
_probe:                                 ; @probe
	.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	w0, #8
	bl	_malloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x1, x19
	mov	w2, #8
	bl	_memcpy
Lloh0:
	adrp	x8, _vdev_read@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vdev_read@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x2, sp, #8
	mov	x1, x20
	bl	_vdev_probe
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_free
Lloh3:
	adrp	x8, _EFI_UNSUPPORTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFI_UNSUPPORTED@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINTF
Lloh7:
	adrp	x8, _EFI_OUT_OF_RESOURCES@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EFI_OUT_OF_RESOURCES@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	ldr	x8, [sp, #8]
	str	x8, [x19]
Lloh9:
	adrp	x0, _devices@GOTPAGE
Lloh10:
	ldr	x0, [x0, _devices@GOTPAGEOFF]
	mov	x1, x19
	bl	_add_device
Lloh11:
	adrp	x8, _EFI_SUCCESS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EFI_SUCCESS@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to allocate tdev\n"

	.comm	_EFI_OUT_OF_RESOURCES,4,2       ; @EFI_OUT_OF_RESOURCES
	.comm	_vdev_read,4,2                  ; @vdev_read
	.comm	_EFI_UNSUPPORTED,4,2            ; @EFI_UNSUPPORTED
	.comm	_devices,4,2                    ; @devices
	.comm	_EFI_SUCCESS,4,2                ; @EFI_SUCCESS
	.no_dead_strip	_probe
.subsections_via_symbols
