	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mode_edit                      ## -- Begin function mode_edit
	.p2align	4, 0x90
_mode_edit:                             ## @mode_edit
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%edx, %r12d
	movl	64(%rbp), %eax
	movl	56(%rbp), %ebx
	movl	48(%rbp), %r10d
	movl	32(%rbp), %r13d
	movl	24(%rbp), %r9d
	movl	16(%rbp), %r15d
	cmpl	$0, 40(%rbp)
	je	LBB0_3
## %bb.1:
	testl	%r13d, %r13d
	je	LBB0_11
## %bb.2:
	movl	%r8d, -92(%rbp)                 ## 4-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%r10, -72(%rbp)                 ## 8-byte Spill
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_errx
	jmp	LBB0_22
LBB0_3:
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	testl	%r12d, %r12d
	movq	%r10, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	%r8d, -92(%rbp)                 ## 4-byte Spill
	je	LBB0_4
## %bb.20:
	subq	$8, %rsp
	movl	%r8d, %edx
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_editlist_populate_desc
LBB0_21:
	addq	$32, %rsp
	testl	%r13d, %r13d
	je	LBB0_10
LBB0_22:
	movq	_PAGE_CTRL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r14d, %eax
	shll	%cl, %eax
	cltq
	movq	_SMS_PAGE_CTRL_CURRENT@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_25
## %bb.23:
	movq	_SMS_PAGE_CTRL_SAVED@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_25
## %bb.24:
	movq	_EX_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_errx
LBB0_25:
	xorl	%eax, %eax
	callq	_modepage_edit
	subq	$8, %rsp
	testl	%r12d, %r12d
	je	LBB0_27
## %bb.26:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_editlist_save_desc
	jmp	LBB0_28
LBB0_27:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_editlist_save
	jmp	LBB0_28
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_DEFAULT_SCSI_MODE_DB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rax, %rdi
	movl	%r15d, %esi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_load_format
	testq	%rax, %rax
	je	LBB0_19
## %bb.7:
	testl	%r13d, %r13d
	movq	-88(%rbp), %r10                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_13
## %bb.8:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_13
## %bb.9:
	subq	$8, %rsp
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rbx
	pushq	%r10
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_editlist_populate
	addq	$32, %rsp
LBB0_10:
	movq	_editlist@GOTPCREL(%rip), %rdi
	callq	_STAILQ_EMPTY
	testq	%rax, %rax
	movq	-72(%rbp), %r10                 ## 8-byte Reload
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-92(%rbp), %r8d                 ## 4-byte Reload
	je	LBB0_31
LBB0_11:
	testl	%r12d, %r12d
	je	LBB0_30
## %bb.12:
	subq	$8, %rsp
	movl	%r8d, %edx
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_modepage_dump_desc
	jmp	LBB0_28
LBB0_31:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_modepage_write                 ## TAILCALL
LBB0_19:
	subq	$8, %rsp
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	movl	%ebx, %r9d
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_editlist_populate
	jmp	LBB0_21
LBB0_13:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.14:
	leaq	L_.str.2(%rip), %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_warn
	jmp	LBB0_17
LBB0_15:
	movq	_ESRCH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.16:
	leaq	L_.str.3(%rip), %rdi
	movl	%r15d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_warnx
LBB0_17:
	testl	%r13d, %r13d
	jne	LBB0_18
## %bb.29:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	subq	$8, %rsp
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	pushq	%r13
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	pushq	%rbx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	pushq	%r12
	callq	_editlist_populate
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	movq	%r13, %rax
	movq	%r12, %r10
	addq	$32, %rsp
LBB0_30:
	subq	$8, %rsp
	movl	%ecx, %edx
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_modepage_dump
LBB0_28:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	_EX_OSFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_EX_USAGE,4,2                   ## @EX_USAGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot edit in binary mode."

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

	.comm	_DEFAULT_SCSI_MODE_DB,8,3       ## @DEFAULT_SCSI_MODE_DB
	.comm	_verbose,8,3                    ## @verbose
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.2:                               ## @.str.2
	.asciz	"cannot open modepage database \"%s\""

	.comm	_ESRCH,8,3                      ## @ESRCH
L_.str.3:                               ## @.str.3
	.asciz	"modepage 0x%02x,0x%02x not found in database \"%s\""

L_.str.4:                               ## @.str.4
	.asciz	"reverting to binary display only"

	.comm	_EX_OSFILE,4,2                  ## @EX_OSFILE
	.comm	_PAGE_CTRL_SHIFT,8,3            ## @PAGE_CTRL_SHIFT
	.comm	_SMS_PAGE_CTRL_CURRENT,8,3      ## @SMS_PAGE_CTRL_CURRENT
	.comm	_SMS_PAGE_CTRL_SAVED,8,3        ## @SMS_PAGE_CTRL_SAVED
L_.str.5:                               ## @.str.5
	.asciz	"it only makes sense to edit page 0 (current) or page 3 (saved values)"

	.comm	_editlist,4,2                   ## @editlist
	.comm	_stdout,4,2                     ## @stdout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mode_edit                      ; -- Begin function mode_edit
	.p2align	2
_mode_edit:                             ; @mode_edit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x7
	mov	x21, x6
	mov	x23, x5
	mov	x27, x4
	mov	x28, x2
	mov	x24, x1
	mov	x26, x0
	ldp	w7, w25, [x29, #28]
	ldp	w8, w22, [x29, #20]
	ldr	w20, [x29, #16]
	cbz	w8, LBB0_3
; %bb.1:
	cbz	w20, LBB0_16
; %bb.2:
	stp	w3, w7, [sp, #40]               ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_errx
	b	LBB0_5
LBB0_3:
	stp	w3, w7, [sp, #40]               ; 8-byte Folded Spill
	cbz	w28, LBB0_10
; %bb.4:
	str	w25, [sp]
	mov	x0, x26
	mov	x1, x24
	mov	x2, x27
	mov	x3, x23
	mov	x4, x21
	mov	x5, x19
	mov	x6, x22
	bl	_editlist_populate_desc
	cbz	w20, LBB0_15
LBB0_5:
Lloh5:
	adrp	x8, _PAGE_CTRL_SHIFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PAGE_CTRL_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	lsl	w8, w23, w8
	sxtw	x8, w8
Lloh8:
	adrp	x9, _SMS_PAGE_CTRL_CURRENT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SMS_PAGE_CTRL_CURRENT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _SMS_PAGE_CTRL_SAVED@GOTPAGE
Lloh12:
	ldr	x10, [x10, _SMS_PAGE_CTRL_SAVED@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x9, x8
	ccmp	x10, x8, #4, ne
	b.eq	LBB0_7
; %bb.6:
Lloh14:
	adrp	x8, _EX_USAGE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EX_USAGE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_errx
LBB0_7:
	bl	_modepage_edit
	cbz	w28, LBB0_9
; %bb.8:
	str	w25, [x29, #16]
	mov	x0, x26
	mov	x1, x24
	mov	x2, x27
	mov	x3, x23
	mov	x4, x21
	mov	x5, x19
	mov	x6, x22
	ldr	w7, [sp, #44]                   ; 4-byte Folded Reload
	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
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_editlist_save_desc
LBB0_9:
	str	w25, [x29, #16]
	mov	x0, x26
	mov	x1, x24
	ldp	w2, w7, [sp, #40]               ; 8-byte Folded Reload
	mov	x3, x23
	mov	x4, x21
	mov	x5, x19
	mov	x6, x22
	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
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_editlist_save
LBB0_10:
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
Lloh21:
	adrp	x8, _DEFAULT_SCSI_MODE_DB@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DEFAULT_SCSI_MODE_DB@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x0, x8, x0, eq
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	mov	x1, x21
	mov	x2, x19
	bl	_load_format
	cbz	x0, LBB0_14
; %bb.11:
	cbnz	w20, LBB0_19
; %bb.12:
Lloh24:
	adrp	x8, _verbose@GOTPAGE
Lloh25:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cbnz	x8, LBB0_19
; %bb.13:
	str	w25, [sp]
	mov	x0, x26
	mov	x1, x24
	ldp	w2, w7, [sp, #40]               ; 8-byte Folded Reload
	mov	x3, x23
	mov	x4, x21
	mov	x5, x19
	mov	x6, x22
	bl	_editlist_populate
	b	LBB0_15
LBB0_14:
	str	w25, [sp]
	mov	x0, x26
	mov	x1, x24
	ldp	w2, w7, [sp, #40]               ; 8-byte Folded Reload
	mov	x3, x23
	mov	x4, x21
	mov	x5, x19
	mov	x6, x22
	bl	_editlist_populate
	cbnz	w20, LBB0_5
LBB0_15:
Lloh27:
	adrp	x0, _editlist@GOTPAGE
Lloh28:
	ldr	x0, [x0, _editlist@GOTPAGEOFF]
	bl	_STAILQ_EMPTY
	ldp	w3, w7, [sp, #40]               ; 8-byte Folded Reload
	cbz	x0, LBB0_18
LBB0_16:
	cbz	w28, LBB0_25
; %bb.17:
	str	w25, [x29, #16]
	mov	x0, x26
	mov	x1, x24
	mov	x2, x27
	mov	x3, x23
	mov	x4, x21
	mov	x5, x19
	mov	x6, x22
	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
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_modepage_dump_desc
LBB0_18:
Lloh29:
	adrp	x8, _stdout@GOTPAGE
Lloh30:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	mov	w1, #0
	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
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_modepage_write
LBB0_19:
Lloh32:
	adrp	x8, _errno@GOTPAGE
Lloh33:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
Lloh35:
	adrp	x9, _ENOENT@GOTPAGE
Lloh36:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.20:
Lloh38:
	adrp	x0, l_.str.2@PAGE
Lloh39:
	add	x0, x0, l_.str.2@PAGEOFF
	ldr	x1, [sp, #32]                   ; 8-byte Folded Reload
	bl	_warn
	b	LBB0_23
LBB0_21:
Lloh40:
	adrp	x9, _ESRCH@GOTPAGE
Lloh41:
	ldr	x9, [x9, _ESRCH@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.22:
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	stp	x19, x8, [sp, #8]
	str	x21, [sp]
Lloh43:
	adrp	x0, l_.str.3@PAGE
Lloh44:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_warnx
LBB0_23:
	cbnz	w20, LBB0_26
; %bb.24:
Lloh45:
	adrp	x0, l_.str.4@PAGE
Lloh46:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_warnx
	str	w25, [sp]
	mov	x0, x26
	mov	x1, x24
	ldp	w27, w20, [sp, #40]             ; 8-byte Folded Reload
	mov	x2, x27
	mov	x3, x23
	mov	x4, x21
	mov	x5, x19
	mov	x6, x22
	mov	x7, x20
	bl	_editlist_populate
	mov	x3, x27
	mov	x7, x20
LBB0_25:
	str	w25, [x29, #16]
	mov	x0, x26
	mov	x1, x24
	mov	x2, x3
	mov	x3, x23
	mov	x4, x21
	mov	x5, x19
	mov	x6, x22
	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
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_modepage_dump
LBB0_26:
Lloh47:
	adrp	x8, _EX_OSFILE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _EX_OSFILE@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_EX_USAGE,4,2                   ; @EX_USAGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot edit in binary mode."

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

	.comm	_DEFAULT_SCSI_MODE_DB,8,3       ; @DEFAULT_SCSI_MODE_DB
	.comm	_verbose,8,3                    ; @verbose
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.2:                               ; @.str.2
	.asciz	"cannot open modepage database \"%s\""

	.comm	_ESRCH,8,3                      ; @ESRCH
l_.str.3:                               ; @.str.3
	.asciz	"modepage 0x%02x,0x%02x not found in database \"%s\""

l_.str.4:                               ; @.str.4
	.asciz	"reverting to binary display only"

	.comm	_EX_OSFILE,4,2                  ; @EX_OSFILE
	.comm	_PAGE_CTRL_SHIFT,8,3            ; @PAGE_CTRL_SHIFT
	.comm	_SMS_PAGE_CTRL_CURRENT,8,3      ; @SMS_PAGE_CTRL_CURRENT
	.comm	_SMS_PAGE_CTRL_SAVED,8,3        ; @SMS_PAGE_CTRL_SAVED
l_.str.5:                               ; @.str.5
	.asciz	"it only makes sense to edit page 0 (current) or page 3 (saved values)"

	.comm	_editlist,4,2                   ; @editlist
	.comm	_stdout,4,2                     ; @stdout
.subsections_via_symbols
