	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpt_lookup_standalone_disk
_mpt_lookup_standalone_disk:            ## @mpt_lookup_standalone_disk
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	-48(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtol
	movq	-48(%rbp), %rdi
	cmpb	$58, (%rdi)
	jne	LBB0_12
## %bb.1:
	movq	%rax, %r12
	incq	%rdi
	leaq	-48(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtol
	movq	-48(%rbp), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_2
LBB0_12:
	cmpb	$100, (%r15)
	jne	LBB0_19
## %bb.13:
	cmpb	$97, 1(%r15)
	jne	LBB0_19
## %bb.14:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	testl	%r13d, %r13d
	jle	LBB0_11
## %bb.15:
	movl	%r13d, %r12d
	addq	$16, %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	incq	%rbx
	addq	$24, %r14
	cmpq	%rbx, %r12
	jne	LBB0_16
	jmp	LBB0_11
LBB0_2:
	cmpq	$255, %r12
	ja	LBB0_19
## %bb.3:
	testq	%rax, %rax
	js	LBB0_19
## %bb.4:
	cmpq	$255, %rax
	jg	LBB0_19
## %bb.5:
	testl	%r13d, %r13d
	jle	LBB0_11
## %bb.6:
	movl	%r13d, %ecx
	addq	$8, %r14
	xorl	%edx, %edx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rdx
	addq	$24, %r14
	cmpq	%rdx, %rcx
	je	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r12, -8(%r14)
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%rax, (%r14)
	jne	LBB0_10
## %bb.9:
	movl	%edx, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_19:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_11:
	movq	_ENOENT@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %eax
LBB0_21:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOENT,4,2                     ## @ENOENT
	.no_dead_strip	_mpt_lookup_standalone_disk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpt_lookup_standalone_disk
_mpt_lookup_standalone_disk:            ; @mpt_lookup_standalone_disk
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x3
	mov	x23, x2
	mov	x22, x1
	mov	x20, x0
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtol
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cmp	w9, #58
	b.ne	LBB0_2
; %bb.1:
	mov	x21, x0
	add	x0, x8, #1
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtol
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_8
LBB0_2:
	ldrb	w8, [x20]
	cmp	w8, #100
	b.ne	LBB0_17
; %bb.3:
	ldrb	w8, [x20, #1]
	cmp	w8, #97
	b.ne	LBB0_17
; %bb.4:
	cmp	w23, #1
	b.lt	LBB0_18
; %bb.5:
	mov	x21, #0
	mov	w23, w23
	add	x22, x22, #16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_21
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	add	x22, x22, #24
	cmp	x23, x21
	b.ne	LBB0_6
	b	LBB0_18
LBB0_8:
	cmp	x21, #255
	b.hi	LBB0_17
; %bb.9:
	tbnz	x0, #63, LBB0_17
; %bb.10:
	cmp	x0, #255
	b.gt	LBB0_17
; %bb.11:
	cmp	w23, #1
	b.lt	LBB0_18
; %bb.12:
	mov	x8, #0
	mov	w9, w23
	add	x10, x22, #8
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x8, x8, #1
	add	x10, x10, #24
	cmp	x9, x8
	b.eq	LBB0_18
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldur	x11, [x10, #-8]
	cmp	x11, x21
	b.ne	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x11, [x10]
	cmp	x11, x0
	b.ne	LBB0_13
; %bb.16:
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_20
LBB0_17:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:
Lloh2:
	adrp	x8, _ENOENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
LBB0_19:
	ldr	w0, [x8]
LBB0_20:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_21:
	str	w21, [x19]
	b	LBB0_20
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOENT,4,2                     ; @ENOENT
	.no_dead_strip	_mpt_lookup_standalone_disk
.subsections_via_symbols
