	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function command_lsdev
_command_lsdev:                         ## @command_lsdev
	.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	%rsi, %r14
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_optind@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_optreset@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	xorl	%ecx, %ecx
	leaq	L_.str(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %ebx
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_getopt
	movl	$1, %ecx
	cmpl	$118, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$-1, %eax
	jne	LBB0_11
## %bb.3:
	xorl	%eax, %eax
	callq	_pager_open
	movq	_devsw@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movl	$8, %r13d
	leaq	L_.str.1(%rip), %r14
	leaq	-128(%rbp), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %edi
	callq	*%rcx
	testq	%rax, %rax
	je	LBB0_9
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rax), %rcx
	movq	%r15, %rdi
	movl	$80, %esi
	movq	%r14, %rdx
	callq	_snprintf
	movq	%r15, %rdi
	callq	_pager_output
	testq	%rax, %rax
	jne	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r12), %rax
	movq	(%rax,%r13), %rax
	addq	$8, %r13
	testq	%rax, %rax
	jne	LBB0_5
LBB0_10:
	xorl	%eax, %eax
	callq	_pager_close
LBB0_11:
	movq	_CMD_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_13
## %bb.12:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_optind,4,2                     ## @optind
	.comm	_optreset,4,2                   ## @optreset
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"v"

	.comm	_CMD_OK,4,2                     ## @CMD_OK
	.comm	_devsw,8,3                      ## @devsw
L_.str.1:                               ## @.str.1
	.asciz	"%s: (unknown)\n"

	.no_dead_strip	_command_lsdev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function command_lsdev
_command_lsdev:                         ; @command_lsdev
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	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
	mov	x20, x1
	mov	x21, x0
	mov	w8, #0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-40]
Lloh3:
	adrp	x9, _optind@GOTPAGE
Lloh4:
	ldr	x9, [x9, _optind@GOTPAGEOFF]
	mov	w10, #1
Lloh5:
	str	w10, [x9]
Lloh6:
	adrp	x9, _optreset@GOTPAGE
Lloh7:
	ldr	x9, [x9, _optreset@GOTPAGEOFF]
Lloh8:
	str	w10, [x9]
Lloh9:
	adrp	x22, l_.str@PAGE
Lloh10:
	add	x22, x22, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x19, x8
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_getopt
	mov	w8, #1
	cmp	w0, #118
	b.eq	LBB0_1
; %bb.2:
	cmn	w0, #1
	b.ne	LBB0_10
; %bb.3:
	bl	_pager_open
Lloh11:
	adrp	x21, _devsw@GOTPAGE
Lloh12:
	ldr	x21, [x21, _devsw@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.4:
	mov	w22, #8
Lloh13:
	adrp	x20, l_.str.1@PAGE
Lloh14:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x3, [x8]
	add	x0, sp, #8
	mov	w1, #80
	mov	x2, x20
	bl	_snprintf
	add	x0, sp, #8
	bl	_pager_output
	cbnz	x0, LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x21]
	ldr	x8, [x8, x22]
	add	x22, x22, #8
	cbz	x8, LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	blr	x9
	cbz	x0, LBB0_6
LBB0_9:
	bl	_pager_close
LBB0_10:
Lloh15:
	adrp	x8, _CMD_OK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CMD_OK@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldur	x8, [x29, #-40]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	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
	add	sp, sp, #144
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_optind,4,2                     ; @optind
	.comm	_optreset,4,2                   ; @optreset
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"v"

	.comm	_CMD_OK,4,2                     ; @CMD_OK
	.comm	_devsw,8,3                      ; @devsw
l_.str.1:                               ; @.str.1
	.asciz	"%s: (unknown)\n"

	.no_dead_strip	_command_lsdev
.subsections_via_symbols
