	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_disk_parsedev                  ## -- Begin function disk_parsedev
	.p2align	4, 0x90
_disk_parsedev:                         ## @disk_parsedev
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	movl	$58, %esi
	callq	_strchr
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	cmpb	$0, 1(%rax)
	je	LBB0_3
## %bb.2:
	movq	_D_PARTWILD@GOTPCREL(%rip), %rax
	movq	_D_SLICEWILD@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_3:
	movq	_D_PARTNONE@GOTPCREL(%rip), %rax
	movq	_D_SLICENONE@GOTPCREL(%rip), %rcx
LBB0_4:
	movb	(%rbx), %dl
	testb	%dl, %dl
	je	LBB0_6
## %bb.5:
	cmpb	$58, %dl
	jne	LBB0_9
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	(%rax), %r13d
	movl	(%rcx), %r12d
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strtol
	movq	-48(%rbp), %rcx
	cmpq	%rbx, %rcx
	je	LBB0_14
## %bb.10:
	movsbl	(%rcx), %edx
	testl	%edx, %edx
	je	LBB0_16
## %bb.11:
	cmpb	$58, %dl
	je	LBB0_16
## %bb.12:
	cmpb	$96, %dl
	jg	LBB0_15
## %bb.13:
	movq	_EPART@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_14:
	movq	_EUNIT@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_15:
	movl	%edx, %r13d
	addl	$-97, %r13d
	movb	1(%rcx), %dl
	incq	%rcx
LBB0_16:
	testb	%dl, %dl
	je	LBB0_18
## %bb.17:
	cmpb	$58, %dl
	jne	LBB0_6
LBB0_18:
	movl	%eax, 8(%r15)
	movl	%r12d, (%r15)
	movl	%r13d, 4(%r15)
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_8
## %bb.19:
	cmpb	$1, (%rcx)
	sbbq	$-1, %rcx
	movq	%rcx, (%r14)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_D_SLICEWILD,4,2                ## @D_SLICEWILD
	.comm	_D_PARTWILD,4,2                 ## @D_PARTWILD
	.comm	_D_SLICENONE,4,2                ## @D_SLICENONE
	.comm	_D_PARTNONE,4,2                 ## @D_PARTNONE
	.comm	_EUNIT,4,2                      ## @EUNIT
	.comm	_EPART,4,2                      ## @EPART
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_D_PARTISGPT,4,2                ## @D_PARTISGPT
	.comm	_ESLICE,4,2                     ## @ESLICE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_disk_parsedev                  ; -- Begin function disk_parsedev
	.p2align	2
_disk_parsedev:                         ; @disk_parsedev
	.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, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	mov	w1, #58
	bl	_strchr
	str	x0, [sp, #8]
	cbz	x0, LBB0_3
; %bb.1:
	ldrb	w8, [x0, #1]
	cbz	w8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _D_PARTWILD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _D_PARTWILD@GOTPAGEOFF]
Lloh2:
	adrp	x9, _D_SLICEWILD@GOTPAGE
Lloh3:
	ldr	x9, [x9, _D_SLICEWILD@GOTPAGEOFF]
	ldrb	w10, [x21]
	cbnz	w10, LBB0_4
	b	LBB0_5
LBB0_3:
Lloh4:
	adrp	x8, _D_PARTNONE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _D_PARTNONE@GOTPAGEOFF]
Lloh6:
	adrp	x9, _D_SLICENONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _D_SLICENONE@GOTPAGEOFF]
	ldrb	w10, [x21]
	cbz	w10, LBB0_5
LBB0_4:
	cmp	w10, #58
	b.ne	LBB0_8
LBB0_5:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
LBB0_7:
	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_8:
	ldr	w23, [x8]
	ldr	w22, [x9]
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #10
	bl	_strtol
	ldr	x8, [sp, #8]
	cmp	x8, x21
	b.eq	LBB0_13
; %bb.9:
	ldrb	w10, [x8]
	sxtb	w9, w10
	cbz	w10, LBB0_15
; %bb.10:
	cmp	w10, #58
	b.eq	LBB0_15
; %bb.11:
	cmp	w9, #96
	b.gt	LBB0_14
; %bb.12:
Lloh10:
	adrp	x8, _EPART@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EPART@GOTPAGEOFF]
	b	LBB0_6
LBB0_13:
Lloh12:
	adrp	x8, _EUNIT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EUNIT@GOTPAGEOFF]
	b	LBB0_6
LBB0_14:
	sub	w23, w9, #97
	ldrb	w9, [x8, #1]!
LBB0_15:
	ands	w9, w9, #0xff
	b.eq	LBB0_17
; %bb.16:
	cmp	w9, #58
	b.ne	LBB0_5
LBB0_17:
	stp	w23, w0, [x20, #4]
	str	w22, [x20]
	mov	w0, #0
	cbz	x19, LBB0_7
; %bb.18:
	mov	x9, x8
	ldrb	w10, [x9], #1
	cmp	w10, #0
	csel	x8, x8, x9, eq
	str	x8, [x19]
	b	LBB0_7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_D_SLICEWILD,4,2                ; @D_SLICEWILD
	.comm	_D_PARTWILD,4,2                 ; @D_PARTWILD
	.comm	_D_SLICENONE,4,2                ; @D_SLICENONE
	.comm	_D_PARTNONE,4,2                 ; @D_PARTNONE
	.comm	_EUNIT,4,2                      ; @EUNIT
	.comm	_EPART,4,2                      ; @EPART
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_D_PARTISGPT,4,2                ; @D_PARTISGPT
	.comm	_ESLICE,4,2                     ; @ESLICE
.subsections_via_symbols
