	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getdiskbyname                  ## -- Begin function getdiskbyname
	.p2align	4, 0x90
_getdiskbyname:                         ## @getdiskbyname
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rdx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	__PATH_DISKTAB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	$0, -56(%rbp)
	leaq	-80(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	callq	_cgetent
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	leaq	_getdiskbyname.disk(%rip), %rdi
	movl	$112, %esi
	callq	_bzero
	movq	_getdiskbyname.disk(%rip), %rax
	movq	%rax, -96(%rbp)
	movq	-80(%rbp), %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx), %edx
	movb	%dl, (%rax)
	movq	-96(%rbp), %rax
	testb	%dl, %dl
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%rax), %edx
	cmpb	$58, %dl
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$124, %dl
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rax
	movq	%rax, -96(%rbp)
	incq	%rcx
	movq	_getdiskbyname.disk(%rip), %rdx
	addq	$7, %rdx
	cmpq	%rdx, %rax
	jb	LBB0_3
LBB0_7:
	movb	$0, (%rax)
	movq	-80(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-96(%rbp), %rdx
	callq	_cgetstr
	testq	%rax, %rax
	jle	LBB0_15
## %bb.8:
	movq	-96(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	-96(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.11:
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_14
## %bb.12:
	movq	_D_RAMDISK@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_78
LBB0_9:
	movq	_D_REMOVABLE@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	orl	%eax, _getdiskbyname.disk+104(%rip)
LBB0_14:
	movq	-96(%rbp), %rdi
	callq	_free
LBB0_15:
	movq	-80(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$58, %edx
	callq	_cgetcap
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	_D_BADSECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, _getdiskbyname.disk+104(%rip)
LBB0_17:
	movq	-80(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	leaq	-72(%rbp), %rbx
	movq	%rbx, %rdx
	callq	_cgetnum
	cmpq	$-1, %rax
	jne	LBB0_19
## %bb.18:
	movq	_DEV_BSIZE@GOTPCREL(%rip), %rbx
LBB0_19:
	movl	(%rbx), %eax
	movl	%eax, _getdiskbyname.disk+8(%rip)
	movq	-80(%rbp), %rdi
	leaq	L_.str.5(%rip), %rsi
	leaq	-72(%rbp), %rdx
	callq	_cgetnum
	xorl	%ebx, %ebx
	movl	$0, %ecx
	cmpq	$-1, %rax
	je	LBB0_21
## %bb.20:
	movl	-72(%rbp), %ecx
LBB0_21:
	movl	%ecx, _getdiskbyname.disk+12(%rip)
	movq	-80(%rbp), %rdi
	leaq	L_.str.6(%rip), %rsi
	leaq	-72(%rbp), %rdx
	callq	_cgetnum
	movl	$0, %ecx
	cmpq	$-1, %rax
	je	LBB0_23
## %bb.22:
	movl	-72(%rbp), %ecx
LBB0_23:
	movl	%ecx, _getdiskbyname.disk+16(%rip)
	movq	-80(%rbp), %rdi
	leaq	L_.str.7(%rip), %rsi
	leaq	-72(%rbp), %rdx
	callq	_cgetnum
	cmpq	$-1, %rax
	je	LBB0_25
## %bb.24:
	movl	-72(%rbp), %ebx
LBB0_25:
	movl	%ebx, _getdiskbyname.disk+20(%rip)
	movq	-80(%rbp), %rdi
	leaq	L_.str.8(%rip), %rsi
	leaq	-96(%rbp), %rdx
	callq	_cgetstr
	testq	%rax, %rax
	jle	LBB0_27
## %bb.26:
	movq	-96(%rbp), %rdi
	movq	_dktypenames@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_gettype
	movl	%eax, _getdiskbyname.disk+24(%rip)
	movq	-96(%rbp), %rdi
	callq	_free
	jmp	LBB0_30
LBB0_27:
	movq	-80(%rbp), %rdi
	leaq	L_.str.8(%rip), %rsi
	leaq	-72(%rbp), %rdx
	callq	_cgetnum
	xorl	%ecx, %ecx
	cmpq	$-1, %rax
	je	LBB0_29
## %bb.28:
	movl	-72(%rbp), %ecx
LBB0_29:
	movl	%ecx, _getdiskbyname.disk+24(%rip)
LBB0_30:
	movq	-80(%rbp), %rdi
	leaq	L_.str.9(%rip), %rsi
	leaq	-72(%rbp), %rdx
	callq	_cgetnum
	cmpq	$-1, %rax
	je	LBB0_31
## %bb.32:
	movl	-72(%rbp), %eax
	jmp	LBB0_33
LBB0_31:
	movl	_getdiskbyname.disk+12(%rip), %eax
	imull	_getdiskbyname.disk+16(%rip), %eax
LBB0_33:
	movl	%eax, _getdiskbyname.disk+28(%rip)
	movq	-80(%rbp), %rdi
	leaq	L_.str.10(%rip), %rsi
	leaq	-72(%rbp), %rdx
	callq	_cgetnum
	cmpq	$-1, %rax
	je	LBB0_34
## %bb.35:
	movl	-72(%rbp), %eax
	jmp	LBB0_36
LBB0_34:
	movl	_getdiskbyname.disk+20(%rip), %eax
	imull	_getdiskbyname.disk+28(%rip), %eax
LBB0_36:
	movl	%eax, _getdiskbyname.disk+32(%rip)
	movq	-80(%rbp), %rdi
	leaq	L_.str.11(%rip), %rsi
	leaq	-72(%rbp), %rdx
	callq	_cgetnum
	movl	$3600, %ecx                     ## imm = 0xE10
	cmpq	$-1, %rax
	je	LBB0_38
## %bb.37:
	movl	-72(%rbp), %ecx
LBB0_38:
	movl	%ecx, _getdiskbyname.disk+36(%rip)
	movq	-80(%rbp), %rdi
	leaq	L_.str.12(%rip), %rsi
	leaq	-72(%rbp), %rdx
	callq	_cgetnum
	movl	$1, %ecx
	cmpq	$-1, %rax
	je	LBB0_40
## %bb.39:
	movl	-72(%rbp), %ecx
LBB0_40:
	movl	%ecx, _getdiskbyname.disk+40(%rip)
	movq	-80(%rbp), %rdi
	leaq	L_.str.13(%rip), %rsi
	leaq	-72(%rbp), %rdx
	callq	_cgetnum
	xorl	%r14d, %r14d
	movl	$0, %ecx
	cmpq	$-1, %rax
	je	LBB0_42
## %bb.41:
	movl	-72(%rbp), %ecx
LBB0_42:
	movl	%ecx, _getdiskbyname.disk+44(%rip)
	movq	-80(%rbp), %rdi
	leaq	L_.str.14(%rip), %rsi
	leaq	-72(%rbp), %rdx
	callq	_cgetnum
	movl	$0, %ecx
	cmpq	$-1, %rax
	je	LBB0_44
## %bb.43:
	movl	-72(%rbp), %ecx
LBB0_44:
	movl	%ecx, _getdiskbyname.disk+48(%rip)
	movq	-80(%rbp), %rdi
	leaq	L_.str.15(%rip), %rsi
	leaq	-72(%rbp), %rdx
	callq	_cgetnum
	movl	$0, %ecx
	cmpq	$-1, %rax
	je	LBB0_46
## %bb.45:
	movl	-72(%rbp), %ecx
LBB0_46:
	movl	%ecx, _getdiskbyname.disk+52(%rip)
	movq	-80(%rbp), %rdi
	leaq	L_.str.16(%rip), %rsi
	leaq	-72(%rbp), %rbx
	movq	%rbx, %rdx
	callq	_cgetnum
	movl	$0, %ecx
	cmpq	$-1, %rax
	je	LBB0_48
## %bb.47:
	movl	-72(%rbp), %ecx
LBB0_48:
	movl	%ecx, _getdiskbyname.disk+56(%rip)
	movq	-80(%rbp), %rdi
	leaq	L_.str.17(%rip), %rsi
	movq	%rbx, %rdx
	callq	_cgetnum
	cmpq	$-1, %rax
	jne	LBB0_50
## %bb.49:
	movq	_BBSIZE@GOTPCREL(%rip), %rbx
LBB0_50:
	movl	(%rbx), %eax
	movl	%eax, _getdiskbyname.disk+60(%rip)
	movq	-80(%rbp), %rdi
	leaq	L_.str.18(%rip), %rsi
	leaq	-72(%rbp), %rdx
	callq	_cgetnum
	cmpq	$-1, %rax
	je	LBB0_52
## %bb.51:
	movl	-72(%rbp), %r14d
LBB0_52:
	movl	%r14d, _getdiskbyname.disk+64(%rip)
	leaq	L_.str.19(%rip), %rsi
	leaq	-83(%rbp), %rdi
	callq	_strcpy
	leaq	L_.str.20(%rip), %rsi
	leaq	-108(%rbp), %rdi
	callq	_strcpy
	leaq	L_.str.21(%rip), %rsi
	leaq	-105(%rbp), %rdi
	callq	_strcpy
	leaq	L_.str.22(%rip), %rsi
	leaq	-102(%rbp), %rdi
	callq	_strcpy
	leaq	L_.str.23(%rip), %rsi
	leaq	-99(%rbp), %rdi
	callq	_strcpy
	movq	_MAXPARTITIONS@GOTPCREL(%rip), %rax
	cmpb	$0, (%rax)
	jle	LBB0_53
## %bb.54:
	movq	_getdiskbyname.disk+96(%rip), %r12
	addq	$32, %r12
	movb	$96, %bl
	movb	$98, %r15b
	leaq	-72(%rbp), %rdx
	jmp	LBB0_55
	.p2align	4, 0x90
LBB0_67:                                ##   in Loop: Header=BB0_55 Depth=1
	movl	%ecx, (%r12)
	testl	%ecx, %ecx
	je	LBB0_68
LBB0_70:                                ##   in Loop: Header=BB0_55 Depth=1
	movl	%r13d, %ebx
LBB0_71:                                ##   in Loop: Header=BB0_55 Depth=1
	movsbl	%r15b, %eax
	movq	_MAXPARTITIONS@GOTPCREL(%rip), %rcx
	movsbl	(%rcx), %ecx
	addl	$97, %ecx
	incb	%r15b
	addq	$40, %r12
	cmpl	%eax, %ecx
	leaq	-72(%rbp), %rdx
	jle	LBB0_72
LBB0_55:                                ## =>This Inner Loop Header: Depth=1
	leal	-1(%r15), %r13d
	movb	%r13b, -98(%rbp)
	movb	%r13b, -101(%rbp)
	movb	%r13b, -104(%rbp)
	movb	%r13b, -107(%rbp)
	movb	%r13b, -82(%rbp)
	movq	-80(%rbp), %rdi
	leaq	-83(%rbp), %rsi
	movq	%rdx, %r14
	callq	_cgetnum
	cmpq	$-1, %rax
	je	LBB0_56
## %bb.57:                              ##   in Loop: Header=BB0_55 Depth=1
	movq	-72(%rbp), %rax
	movq	%rax, -32(%r12)
	movq	-80(%rbp), %rdi
	leaq	-102(%rbp), %rsi
	movq	%r14, %rdx
	callq	_cgetnum
	movq	-72(%rbp), %rax
	movq	%rax, -24(%r12)
	movq	-80(%rbp), %rdi
	leaq	-105(%rbp), %rsi
	leaq	-120(%rbp), %rbx
	movq	%rbx, %rdx
	callq	_cgetnum
	xorl	%ecx, %ecx
	cmpq	$-1, %rax
	je	LBB0_59
## %bb.58:                              ##   in Loop: Header=BB0_55 Depth=1
	movl	-120(%rbp), %ecx
LBB0_59:                                ##   in Loop: Header=BB0_55 Depth=1
	movl	%ecx, -16(%r12)
	testl	%ecx, %ecx
	je	LBB0_65
## %bb.60:                              ##   in Loop: Header=BB0_55 Depth=1
	movq	-80(%rbp), %rdi
	leaq	-108(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_cgetnum
	movq	%rax, %rcx
	movl	$8, %eax
	testq	%rcx, %rcx
	jne	LBB0_64
## %bb.61:                              ##   in Loop: Header=BB0_55 Depth=1
	movq	-120(%rbp), %rax
	movslq	-16(%r12), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_62
## %bb.63:                              ##   in Loop: Header=BB0_55 Depth=1
	cqto
	idivq	%rcx
	jmp	LBB0_64
	.p2align	4, 0x90
LBB0_56:                                ##   in Loop: Header=BB0_55 Depth=1
	movq	$0, -32(%r12)
	jmp	LBB0_71
	.p2align	4, 0x90
LBB0_68:                                ##   in Loop: Header=BB0_55 Depth=1
	movq	-80(%rbp), %rdi
	leaq	-99(%rbp), %rsi
	leaq	-96(%rbp), %rdx
	callq	_cgetstr
	testq	%rax, %rax
	js	LBB0_70
## %bb.69:                              ##   in Loop: Header=BB0_55 Depth=1
	movq	-96(%rbp), %rdi
	movq	_fstypenames@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_gettype
	movl	%eax, (%r12)
	movq	-96(%rbp), %rdi
	callq	_free
	jmp	LBB0_70
LBB0_62:                                ##   in Loop: Header=BB0_55 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	.p2align	4, 0x90
LBB0_64:                                ##   in Loop: Header=BB0_55 Depth=1
	movq	%rax, -8(%r12)
LBB0_65:                                ##   in Loop: Header=BB0_55 Depth=1
	movq	-80(%rbp), %rdi
	leaq	-99(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_cgetnum
	xorl	%ecx, %ecx
	cmpq	$-1, %rax
	je	LBB0_67
## %bb.66:                              ##   in Loop: Header=BB0_55 Depth=1
	movl	-120(%rbp), %ecx
	jmp	LBB0_67
LBB0_53:
	movb	$96, %bl
LBB0_72:
	addb	$-96, %bl
	movb	%bl, _getdiskbyname.disk+68(%rip)
	leaq	L_.str.24(%rip), %rsi
	leaq	-83(%rbp), %rdi
	callq	_strcpy
	movq	_NDDATA@GOTPCREL(%rip), %r15
	cmpb	$0, (%r15)
	jle	LBB0_77
## %bb.73:
	movq	_getdiskbyname.disk+72(%rip), %r13
	xorl	%ebx, %ebx
	leaq	-83(%rbp), %r14
	leaq	-72(%rbp), %r12
	jmp	LBB0_74
	.p2align	4, 0x90
LBB0_76:                                ##   in Loop: Header=BB0_74 Depth=1
	movl	%ecx, (%r13,%rbx,4)
	leal	49(%rbx), %eax
	movsbl	%al, %eax
	movsbl	(%r15), %ecx
	addl	$48, %ecx
	incq	%rbx
	cmpl	%eax, %ecx
	jle	LBB0_77
LBB0_74:                                ## =>This Inner Loop Header: Depth=1
	leal	48(%rbx), %eax
	movb	%al, -82(%rbp)
	movq	-80(%rbp), %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_cgetnum
	movl	$0, %ecx
	cmpq	$-1, %rax
	je	LBB0_76
## %bb.75:                              ##   in Loop: Header=BB0_74 Depth=1
	movl	-72(%rbp), %ecx
	jmp	LBB0_76
LBB0_77:
	movq	_DISKMAGIC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, _getdiskbyname.disk+88(%rip)
	movq	%rax, _getdiskbyname.disk+80(%rip)
	movq	-80(%rbp), %rdi
	callq	_free
	leaq	_getdiskbyname.disk(%rip), %rax
LBB0_78:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_80
## %bb.79:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_80:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_getdiskbyname.disk,112,3 ## @getdiskbyname.disk
	.comm	__PATH_DISKTAB,8,3              ## @_PATH_DISKTAB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ty"

L_.str.1:                               ## @.str.1
	.asciz	"removable"

	.comm	_D_REMOVABLE,4,2                ## @D_REMOVABLE
L_.str.2:                               ## @.str.2
	.asciz	"simulated"

	.comm	_D_RAMDISK,4,2                  ## @D_RAMDISK
L_.str.3:                               ## @.str.3
	.asciz	"sf"

	.comm	_D_BADSECT,4,2                  ## @D_BADSECT
L_.str.4:                               ## @.str.4
	.asciz	"se"

	.comm	_DEV_BSIZE,4,2                  ## @DEV_BSIZE
L_.str.5:                               ## @.str.5
	.asciz	"nt"

L_.str.6:                               ## @.str.6
	.asciz	"ns"

L_.str.7:                               ## @.str.7
	.asciz	"nc"

L_.str.8:                               ## @.str.8
	.asciz	"dt"

	.comm	_dktypenames,4,2                ## @dktypenames
L_.str.9:                               ## @.str.9
	.asciz	"sc"

L_.str.10:                              ## @.str.10
	.asciz	"su"

L_.str.11:                              ## @.str.11
	.asciz	"rm"

L_.str.12:                              ## @.str.12
	.asciz	"il"

L_.str.13:                              ## @.str.13
	.asciz	"sk"

L_.str.14:                              ## @.str.14
	.asciz	"cs"

L_.str.15:                              ## @.str.15
	.asciz	"hs"

L_.str.16:                              ## @.str.16
	.asciz	"ts"

L_.str.17:                              ## @.str.17
	.asciz	"bs"

	.comm	_BBSIZE,4,2                     ## @BBSIZE
L_.str.18:                              ## @.str.18
	.asciz	"sb"

L_.str.19:                              ## @.str.19
	.asciz	"px"

L_.str.20:                              ## @.str.20
	.asciz	"bx"

L_.str.21:                              ## @.str.21
	.asciz	"fx"

L_.str.22:                              ## @.str.22
	.asciz	"ox"

L_.str.23:                              ## @.str.23
	.asciz	"tx"

	.comm	_MAXPARTITIONS,1,0              ## @MAXPARTITIONS
	.comm	_fstypenames,4,2                ## @fstypenames
L_.str.24:                              ## @.str.24
	.asciz	"dx"

	.comm	_NDDATA,1,0                     ## @NDDATA
	.comm	_DISKMAGIC,8,3                  ## @DISKMAGIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getdiskbyname                  ; -- Begin function getdiskbyname
	.p2align	2
_getdiskbyname:                         ; @getdiskbyname
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x2, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, __PATH_DISKTAB@GOTPAGE
Lloh4:
	ldr	x8, [x8, __PATH_DISKTAB@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	stp	x8, xzr, [sp, #56]
	add	x0, sp, #48
	add	x1, sp, #56
	bl	_cgetent
	tbnz	x0, #63, LBB0_11
; %bb.1:
Lloh6:
	adrp	x19, _getdiskbyname.disk@PAGE
Lloh7:
	add	x19, x19, _getdiskbyname.disk@PAGEOFF
	mov	x0, x19
	mov	w1, #112
	bl	_bzero
	ldr	x8, [x19]
	str	x8, [sp, #40]
	ldr	x9, [sp, #48]
	adrp	x10, _getdiskbyname.disk@PAGE
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x9]
	strb	w11, [x8]
	ldr	x8, [sp, #40]
	cbz	w11, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w11, [x8]
	cmp	w11, #58
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w11, #124
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	str	x8, [sp, #40]
	add	x9, x9, #1
	ldr	x11, [x10, _getdiskbyname.disk@PAGEOFF]
	add	x11, x11, #7
	cmp	x8, x11
	b.lo	LBB0_2
LBB0_6:
	strb	wzr, [x8]
	ldr	x0, [sp, #48]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #40
	bl	_cgetstr
	cmp	x0, #1
	b.lt	LBB0_15
; %bb.7:
	ldr	x0, [sp, #40]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.8:
	ldr	x0, [sp, #40]
	cbz	x0, LBB0_14
; %bb.9:
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_14
; %bb.10:
Lloh14:
	adrp	x8, _D_RAMDISK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _D_RAMDISK@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	mov	x19, #0
	b	LBB0_38
LBB0_12:
Lloh16:
	adrp	x8, _D_REMOVABLE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _D_REMOVABLE@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	adrp	x9, _getdiskbyname.disk@PAGE+104
	ldr	w10, [x9, _getdiskbyname.disk@PAGEOFF+104]
	orr	w8, w10, w8
	str	w8, [x9, _getdiskbyname.disk@PAGEOFF+104]
LBB0_14:
	ldr	x0, [sp, #40]
	bl	_free
LBB0_15:
	ldr	x0, [sp, #48]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #58
	bl	_cgetcap
	cbz	x0, LBB0_17
; %bb.16:
Lloh20:
	adrp	x8, _D_BADSECT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _D_BADSECT@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	adrp	x9, _getdiskbyname.disk@PAGE+104
	ldr	w10, [x9, _getdiskbyname.disk@PAGEOFF+104]
	orr	w8, w10, w8
	str	w8, [x9, _getdiskbyname.disk@PAGEOFF+104]
LBB0_17:
	ldr	x0, [sp, #48]
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #16
	bl	_cgetnum
Lloh25:
	adrp	x8, _DEV_BSIZE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DEV_BSIZE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	ldr	x9, [sp, #16]
	cmn	x0, #1
	csel	x8, x8, x9, eq
Lloh28:
	adrp	x20, _getdiskbyname.disk@PAGE+8
Lloh29:
	add	x20, x20, _getdiskbyname.disk@PAGEOFF+8
	str	w8, [x20]
	ldr	x0, [sp, #48]
Lloh30:
	adrp	x1, l_.str.5@PAGE
Lloh31:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x2, sp, #16
	bl	_cgetnum
	ldr	w8, [sp, #16]
	cmn	x0, #1
	csel	w8, wzr, w8, eq
	str	w8, [x20, #4]
	ldr	x0, [sp, #48]
Lloh32:
	adrp	x1, l_.str.6@PAGE
Lloh33:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x2, sp, #16
	bl	_cgetnum
	ldr	w8, [sp, #16]
	cmn	x0, #1
	csel	w8, wzr, w8, eq
	str	w8, [x20, #8]
	ldr	x0, [sp, #48]
Lloh34:
	adrp	x1, l_.str.7@PAGE
Lloh35:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x2, sp, #16
	bl	_cgetnum
	ldr	w8, [sp, #16]
	cmn	x0, #1
	csel	w8, wzr, w8, eq
	str	w8, [x20, #12]
	ldr	x0, [sp, #48]
Lloh36:
	adrp	x1, l_.str.8@PAGE
Lloh37:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x2, sp, #40
	bl	_cgetstr
	cmp	x0, #1
	b.lt	LBB0_19
; %bb.18:
	ldr	x0, [sp, #40]
Lloh38:
	adrp	x8, _dktypenames@GOTPAGE
Lloh39:
	ldr	x8, [x8, _dktypenames@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	bl	_gettype
	adrp	x8, _getdiskbyname.disk@PAGE+24
	str	w0, [x8, _getdiskbyname.disk@PAGEOFF+24]
	ldr	x0, [sp, #40]
	bl	_free
	b	LBB0_20
LBB0_19:
	ldr	x0, [sp, #48]
Lloh41:
	adrp	x1, l_.str.8@PAGE
Lloh42:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x2, sp, #16
	bl	_cgetnum
	ldr	w8, [sp, #16]
	cmn	x0, #1
	csel	w8, wzr, w8, eq
	adrp	x9, _getdiskbyname.disk@PAGE+24
	str	w8, [x9, _getdiskbyname.disk@PAGEOFF+24]
LBB0_20:
	ldr	x0, [sp, #48]
Lloh43:
	adrp	x1, l_.str.9@PAGE
Lloh44:
	add	x1, x1, l_.str.9@PAGEOFF
	add	x2, sp, #16
	bl	_cgetnum
Lloh45:
	adrp	x20, _getdiskbyname.disk@PAGE+12
Lloh46:
	add	x20, x20, _getdiskbyname.disk@PAGEOFF+12
	ldp	w9, w8, [x20]
	mul	w8, w9, w8
	ldr	x9, [sp, #16]
	cmn	x0, #1
	csel	x8, x8, x9, eq
	str	w8, [x20, #16]
	ldr	x0, [sp, #48]
Lloh47:
	adrp	x1, l_.str.10@PAGE
Lloh48:
	add	x1, x1, l_.str.10@PAGEOFF
	add	x2, sp, #16
	bl	_cgetnum
	ldr	w8, [x20, #16]
	ldr	w9, [x20, #8]
	mul	w8, w9, w8
	ldr	x9, [sp, #16]
	cmn	x0, #1
	csel	x8, x8, x9, eq
	str	w8, [x20, #20]
	ldr	x0, [sp, #48]
Lloh49:
	adrp	x1, l_.str.11@PAGE
Lloh50:
	add	x1, x1, l_.str.11@PAGEOFF
	add	x2, sp, #16
	bl	_cgetnum
	ldr	w8, [sp, #16]
	cmn	x0, #1
	mov	w9, #3600
	csel	w8, w9, w8, eq
	str	w8, [x20, #24]
	ldr	x0, [sp, #48]
Lloh51:
	adrp	x1, l_.str.12@PAGE
Lloh52:
	add	x1, x1, l_.str.12@PAGEOFF
	add	x2, sp, #16
	bl	_cgetnum
	ldr	w8, [sp, #16]
	cmn	x0, #1
	csinc	w8, w8, wzr, ne
	str	w8, [x20, #28]
	ldr	x0, [sp, #48]
Lloh53:
	adrp	x1, l_.str.13@PAGE
Lloh54:
	add	x1, x1, l_.str.13@PAGEOFF
	add	x2, sp, #16
	bl	_cgetnum
	ldr	w8, [sp, #16]
	cmn	x0, #1
	csel	w8, wzr, w8, eq
	str	w8, [x20, #32]
	ldr	x0, [sp, #48]
Lloh55:
	adrp	x1, l_.str.14@PAGE
Lloh56:
	add	x1, x1, l_.str.14@PAGEOFF
	add	x2, sp, #16
	bl	_cgetnum
	ldr	w8, [sp, #16]
	cmn	x0, #1
	csel	w8, wzr, w8, eq
	str	w8, [x20, #36]
	ldr	x0, [sp, #48]
Lloh57:
	adrp	x1, l_.str.15@PAGE
Lloh58:
	add	x1, x1, l_.str.15@PAGEOFF
	add	x2, sp, #16
	bl	_cgetnum
	ldr	w8, [sp, #16]
	cmn	x0, #1
	csel	w8, wzr, w8, eq
	str	w8, [x20, #40]
	ldr	x0, [sp, #48]
Lloh59:
	adrp	x1, l_.str.16@PAGE
Lloh60:
	add	x1, x1, l_.str.16@PAGEOFF
	add	x2, sp, #16
	bl	_cgetnum
	ldr	w8, [sp, #16]
	cmn	x0, #1
	csel	w8, wzr, w8, eq
	str	w8, [x20, #44]
	ldr	x0, [sp, #48]
Lloh61:
	adrp	x1, l_.str.17@PAGE
Lloh62:
	add	x1, x1, l_.str.17@PAGEOFF
	add	x2, sp, #16
	bl	_cgetnum
Lloh63:
	adrp	x8, _BBSIZE@GOTPAGE
Lloh64:
	ldr	x8, [x8, _BBSIZE@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	ldr	x9, [sp, #16]
	cmn	x0, #1
	csel	x8, x8, x9, eq
	str	w8, [x20, #48]
	ldr	x0, [sp, #48]
Lloh66:
	adrp	x1, l_.str.18@PAGE
Lloh67:
	add	x1, x1, l_.str.18@PAGEOFF
	add	x2, sp, #16
	bl	_cgetnum
	ldr	w8, [sp, #16]
	cmn	x0, #1
	csel	w8, wzr, w8, eq
	str	w8, [x20, #52]
Lloh68:
	adrp	x1, l_.str.19@PAGE
Lloh69:
	add	x1, x1, l_.str.19@PAGEOFF
	add	x0, sp, #37
	bl	_strcpy
Lloh70:
	adrp	x1, l_.str.20@PAGE
Lloh71:
	add	x1, x1, l_.str.20@PAGEOFF
	add	x0, sp, #34
	bl	_strcpy
Lloh72:
	adrp	x1, l_.str.21@PAGE
Lloh73:
	add	x1, x1, l_.str.21@PAGEOFF
	add	x0, sp, #31
	bl	_strcpy
Lloh74:
	adrp	x1, l_.str.22@PAGE
Lloh75:
	add	x1, x1, l_.str.22@PAGEOFF
	add	x0, sp, #28
	bl	_strcpy
Lloh76:
	adrp	x1, l_.str.23@PAGE
Lloh77:
	add	x1, x1, l_.str.23@PAGEOFF
	add	x0, sp, #25
	bl	_strcpy
Lloh78:
	adrp	x20, _MAXPARTITIONS@GOTPAGE
Lloh79:
	ldr	x20, [x20, _MAXPARTITIONS@GOTPAGEOFF]
	ldrsb	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_33
; %bb.21:
Lloh80:
	adrp	x8, _getdiskbyname.disk@PAGE+96
Lloh81:
	ldr	x8, [x8, _getdiskbyname.disk@PAGEOFF+96]
	add	x21, x8, #16
	mov	w22, #97
	mov	w24, #96
Lloh82:
	adrp	x23, _fstypenames@GOTPAGE
Lloh83:
	ldr	x23, [x23, _fstypenames@GOTPAGEOFF]
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_24 Depth=1
	stur	xzr, [x21, #-16]
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	add	w22, w22, #1
	ldrsb	w8, [x20]
	add	w8, w8, #97
	add	x21, x21, #40
	cmp	w8, w22, sxtb
	b.le	LBB0_34
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	strb	w22, [sp, #26]
	strb	w22, [sp, #29]
	strb	w22, [sp, #32]
	strb	w22, [sp, #35]
	strb	w22, [sp, #38]
	ldr	x0, [sp, #48]
	add	x1, sp, #37
	add	x2, sp, #16
	bl	_cgetnum
	cmn	x0, #1
	b.eq	LBB0_22
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x8, [sp, #16]
	stur	x8, [x21, #-16]
	ldr	x0, [sp, #48]
	add	x1, sp, #28
	add	x2, sp, #16
	bl	_cgetnum
	ldr	x8, [sp, #16]
	stur	x8, [x21, #-8]
	ldr	x0, [sp, #48]
	add	x1, sp, #31
	add	x2, sp, #8
	bl	_cgetnum
	ldr	w8, [sp, #8]
	cmn	x0, #1
	csel	w8, wzr, w8, eq
	str	w8, [x21]
	cbz	w8, LBB0_30
; %bb.26:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x0, [sp, #48]
	add	x1, sp, #34
	add	x2, sp, #8
	bl	_cgetnum
	cbz	x0, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_24 Depth=1
	mov	w8, #8
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_24 Depth=1
	ldr	x8, [sp, #8]
	ldrsw	x9, [x21]
	sdiv	x8, x8, x9
LBB0_29:                                ;   in Loop: Header=BB0_24 Depth=1
	str	x8, [x21, #8]
LBB0_30:                                ;   in Loop: Header=BB0_24 Depth=1
	ldr	x0, [sp, #48]
	add	x1, sp, #25
	add	x2, sp, #8
	bl	_cgetnum
	ldr	w8, [sp, #8]
	cmn	x0, #1
	csel	w8, wzr, w8, eq
	str	w8, [x21, #16]
	mov	x24, x22
	cbnz	w8, LBB0_23
; %bb.31:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x0, [sp, #48]
	add	x1, sp, #25
	add	x2, sp, #40
	bl	_cgetstr
	mov	x24, x22
	tbnz	x0, #63, LBB0_23
; %bb.32:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	x0, [sp, #40]
	ldr	w1, [x23]
	bl	_gettype
	str	w0, [x21, #16]
	ldr	x0, [sp, #40]
	bl	_free
	mov	x24, x22
	b	LBB0_23
LBB0_33:
	mov	w24, #96
LBB0_34:
	sub	w8, w24, #96
	adrp	x9, _getdiskbyname.disk@PAGE+68
	strb	w8, [x9, _getdiskbyname.disk@PAGEOFF+68]
Lloh84:
	adrp	x1, l_.str.24@PAGE
Lloh85:
	add	x1, x1, l_.str.24@PAGEOFF
	add	x0, sp, #37
	bl	_strcpy
Lloh86:
	adrp	x20, _NDDATA@GOTPAGE
Lloh87:
	ldr	x20, [x20, _NDDATA@GOTPAGEOFF]
	ldrsb	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_37
; %bb.35:
Lloh88:
	adrp	x8, _getdiskbyname.disk@PAGE+72
Lloh89:
	ldr	x21, [x8, _getdiskbyname.disk@PAGEOFF+72]
	mov	w22, #48
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	strb	w22, [sp, #38]
	ldr	x0, [sp, #48]
	add	x1, sp, #37
	add	x2, sp, #16
	bl	_cgetnum
	ldr	w8, [sp, #16]
	cmn	x0, #1
	csel	w8, wzr, w8, eq
	str	w8, [x21], #4
	add	w22, w22, #1
	ldrsb	w8, [x20]
	add	w8, w8, #48
	cmp	w8, w22, sxtb
	b.gt	LBB0_36
LBB0_37:
Lloh90:
	adrp	x8, _DISKMAGIC@GOTPAGE
Lloh91:
	ldr	x8, [x8, _DISKMAGIC@GOTPAGEOFF]
Lloh92:
	ldr	x8, [x8]
	stp	x8, x8, [x19, #80]
	ldr	x0, [sp, #48]
	bl	_free
LBB0_38:
	ldur	x8, [x29, #-56]
Lloh93:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh94:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh95:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.39:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_40:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdr	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdr	Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_getdiskbyname.disk,112,3 ; @getdiskbyname.disk
	.comm	__PATH_DISKTAB,8,3              ; @_PATH_DISKTAB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ty"

l_.str.1:                               ; @.str.1
	.asciz	"removable"

	.comm	_D_REMOVABLE,4,2                ; @D_REMOVABLE
l_.str.2:                               ; @.str.2
	.asciz	"simulated"

	.comm	_D_RAMDISK,4,2                  ; @D_RAMDISK
l_.str.3:                               ; @.str.3
	.asciz	"sf"

	.comm	_D_BADSECT,4,2                  ; @D_BADSECT
l_.str.4:                               ; @.str.4
	.asciz	"se"

	.comm	_DEV_BSIZE,4,2                  ; @DEV_BSIZE
l_.str.5:                               ; @.str.5
	.asciz	"nt"

l_.str.6:                               ; @.str.6
	.asciz	"ns"

l_.str.7:                               ; @.str.7
	.asciz	"nc"

l_.str.8:                               ; @.str.8
	.asciz	"dt"

	.comm	_dktypenames,4,2                ; @dktypenames
l_.str.9:                               ; @.str.9
	.asciz	"sc"

l_.str.10:                              ; @.str.10
	.asciz	"su"

l_.str.11:                              ; @.str.11
	.asciz	"rm"

l_.str.12:                              ; @.str.12
	.asciz	"il"

l_.str.13:                              ; @.str.13
	.asciz	"sk"

l_.str.14:                              ; @.str.14
	.asciz	"cs"

l_.str.15:                              ; @.str.15
	.asciz	"hs"

l_.str.16:                              ; @.str.16
	.asciz	"ts"

l_.str.17:                              ; @.str.17
	.asciz	"bs"

	.comm	_BBSIZE,4,2                     ; @BBSIZE
l_.str.18:                              ; @.str.18
	.asciz	"sb"

l_.str.19:                              ; @.str.19
	.asciz	"px"

l_.str.20:                              ; @.str.20
	.asciz	"bx"

l_.str.21:                              ; @.str.21
	.asciz	"fx"

l_.str.22:                              ; @.str.22
	.asciz	"ox"

l_.str.23:                              ; @.str.23
	.asciz	"tx"

	.comm	_MAXPARTITIONS,1,0              ; @MAXPARTITIONS
	.comm	_fstypenames,4,2                ; @fstypenames
l_.str.24:                              ; @.str.24
	.asciz	"dx"

	.comm	_NDDATA,1,0                     ; @NDDATA
	.comm	_DISKMAGIC,8,3                  ; @DISKMAGIC
.subsections_via_symbols
