	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function probe_drive
_probe_drive:                           ## @probe_drive
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_dmadat@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r14
	addq	$8, %rdi
	movq	$0, 8(%r12)
	movq	_DOSBBSECTOR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r14, %rsi
	movl	$1, %ecx
	callq	_drvread
	testq	%rax, %rax
	je	LBB0_1
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_NDOSPART@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	je	LBB0_8
## %bb.2:
	movq	_DOSPARTOFF@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	%rax, %r14
	xorl	%ebx, %ebx
	movq	_vdev_read2@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r15), %eax
	cmpq	%rax, %rbx
	jae	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	(%rbx,%rbx,2), %rax
	cmpl	$0, 16(%r14,%rax,8)
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movups	(%r14,%rax,8), %xmm0
	movups	%xmm0, 8(%r12)
	incq	%rbx
	movl	%ebx, 24(%r12)
	movl	(%r13), %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_vdev_probe
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_copy_dsk
	movq	%rax, %r12
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_dmadat,8,3                     ## @dmadat
	.comm	_DOSBBSECTOR,8,3                ## @DOSBBSECTOR
	.comm	_DOSPARTOFF,4,2                 ## @DOSPARTOFF
	.comm	_NDOSPART,4,2                   ## @NDOSPART
	.comm	_vdev_read2,4,2                 ## @vdev_read2
	.comm	_DEV_BSIZE,4,2                  ## @DEV_BSIZE
	.comm	_GPT_HDR_SIG,8,3                ## @GPT_HDR_SIG
	.comm	_freebsd_zfs_uuid,4,2           ## @freebsd_zfs_uuid
	.comm	_gelipw,4,2                     ## @gelipw
	.comm	_vdev_read,4,2                  ## @vdev_read
	.no_dead_strip	_probe_drive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function probe_drive
_probe_drive:                           ; @probe_drive
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _dmadat@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dmadat@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x20, [x8]
	str	xzr, [x0, #8]!
Lloh3:
	adrp	x8, _DOSBBSECTOR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DOSBBSECTOR@GOTPAGEOFF]
Lloh5:
	ldr	x2, [x8]
	mov	x1, x20
	mov	w3, #1
	bl	_drvread
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x21, _NDOSPART@GOTPAGE
Lloh7:
	ldr	x21, [x21, _NDOSPART@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_1
; %bb.3:
	mov	x22, #0
Lloh8:
	adrp	x8, _DOSPARTOFF@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DOSPARTOFF@GOTPAGEOFF]
Lloh10:
	ldrsw	x8, [x8]
	add	x20, x20, x8
	mov	w23, #24
Lloh11:
	adrp	x24, _vdev_read2@GOTPAGE
Lloh12:
	ldr	x24, [x24, _vdev_read2@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21]
	cmp	x22, x8
	b.hs	LBB0_1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	madd	x8, x22, x23, x20
	ldr	w8, [x8, #16]
	cbz	w8, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mul	x8, x22, x23
	ldr	q0, [x20, x8]
	stur	q0, [x19, #8]
	add	x22, x22, #1
	str	w22, [x19, #24]
	ldr	w0, [x24]
	mov	x1, x19
	mov	x2, #0
	bl	_vdev_probe
	cbnz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_copy_dsk
	mov	x19, x0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_dmadat,8,3                     ; @dmadat
	.comm	_DOSBBSECTOR,8,3                ; @DOSBBSECTOR
	.comm	_DOSPARTOFF,4,2                 ; @DOSPARTOFF
	.comm	_NDOSPART,4,2                   ; @NDOSPART
	.comm	_vdev_read2,4,2                 ; @vdev_read2
	.comm	_DEV_BSIZE,4,2                  ; @DEV_BSIZE
	.comm	_GPT_HDR_SIG,8,3                ; @GPT_HDR_SIG
	.comm	_freebsd_zfs_uuid,4,2           ; @freebsd_zfs_uuid
	.comm	_gelipw,4,2                     ; @gelipw
	.comm	_vdev_read,4,2                  ; @vdev_read
	.no_dead_strip	_probe_drive
.subsections_via_symbols
