	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scsiformat
_scsiformat:                            ## @scsiformat
	.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	$1112, %rsp                     ## imm = 0x458
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movl	%r8d, -1096(%rbp)               ## 4-byte Spill
	movq	%rcx, %r13
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_cam_getccb
	testq	%rax, %rax
	je	LBB0_26
## %bb.1:
	movl	%r12d, -1108(%rbp)              ## 4-byte Spill
	movq	%rbx, -1120(%rbp)               ## 8-byte Spill
	movl	16(%rbp), %ebx
	movq	%rax, -1128(%rbp)               ## 8-byte Spill
	movq	%rax, %rdi
	movq	%rax, -1088(%rbp)               ## 8-byte Spill
	callq	_CCB_CLEAR_ALL_EXCEPT_HDR
	movl	$0, -1112(%rbp)                 ## 4-byte Folded Spill
	leaq	LJTI0_0(%rip), %r12
	movl	$0, -1104(%rbp)                 ## 4-byte Folded Spill
	movl	$0, -1076(%rbp)                 ## 4-byte Folded Spill
	movl	$0, -1092(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %eax
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-113(%rax), %ecx
	cmpl	$8, %ecx
	ja	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r12,%rcx,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	-1076(%rbp)                     ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -1104(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movb	$1, %al
	movl	%eax, -1112(%rbp)               ## 4-byte Spill
	jmp	LBB0_3
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	-1092(%rbp)                     ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_9:
	cmpl	$0, -1104(%rbp)                 ## 4-byte Folded Reload
	movq	-1120(%rbp), %r12               ## 8-byte Reload
	je	LBB0_27
LBB0_10:
	addq	$16, -1128(%rbp)                ## 8-byte Folded Spill
	movq	_CAM_DEV_QFRZDIS@GOTPCREL(%rip), %r13
	movq	_CAM_STATUS_MASK@GOTPCREL(%rip), %r14
	movq	_CAM_REQ_CMP@GOTPCREL(%rip), %r15
	xorl	%eax, %eax
	movq	%rax, -1104(%rbp)               ## 8-byte Spill
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_13 Depth=1
	leaq	-1068(%rbp), %rdi
	callq	_scsi_2btoul
	imull	$10000, %eax, %ecx              ## imm = 0x2710
	movq	%r12, %r15
	movq	%r14, %r12
	movq	%r13, %r14
	movq	_stdout@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movslq	%ecx, %rcx
	imulq	$1374389535, %rcx, %rdx         ## imm = 0x51EB851F
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$53, %rdx
	addl	%esi, %edx
	leal	65535(%rcx), %esi
	testl	%ecx, %ecx
	cmovnsl	%ecx, %esi
	sarl	$16, %esi
	imull	$5243, %esi, %ecx               ## imm = 0x147B
	movl	%ecx, %ebx
	shrl	$31, %ebx
	sarl	$19, %ecx
	addl	%ebx, %ecx
	imull	$100, %ecx, %ecx
	subl	%ecx, %esi
	movswl	%si, %ecx
	leaq	L_.str.9(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%rax, %r8
	movl	$65536, %r9d                    ## imm = 0x10000
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r13), %edi
	movq	%r14, %r13
	movq	%r12, %r14
	movq	%r15, %r12
	movq	_CAM_REQ_CMP@GOTPCREL(%rip), %r15
	callq	_fflush
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	$1, %edi
	callq	_sleep
	movl	(%r14), %eax
	movq	-1088(%rbp), %rcx               ## 8-byte Reload
	andl	(%rcx), %eax
	cmpl	(%r15), %eax
	je	LBB0_31
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	-1088(%rbp), %rbx               ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_CCB_CLEAR_ALL_EXCEPT_HDR
	movq	_SSD_FULL_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	-1096(%rbp), %ecx               ## 4-byte Reload
	movl	$5000, %r9d                     ## imm = 0x1388
	callq	_scsi_test_unit_ready
	movl	(%r13), %eax
	orl	%eax, 4(%rbx)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_cam_send_ccb
	testl	%eax, %eax
	js	LBB0_42
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-1088(%rbp), %rax               ## 8-byte Reload
	movl	(%rax), %eax
	movl	(%r14), %esi
	andl	%eax, %esi
	movl	(%r15), %ecx
	cmpl	%ecx, %esi
	je	LBB0_30
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_CAM_SCSI_STATUS_ERROR@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %esi
	jne	LBB0_30
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_CAM_AUTOSNS_VALID@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_30
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-1088(%rbp), %rax               ## 8-byte Reload
	movq	8(%rax), %rsi
	subq	(%rax), %rsi
	subq	$8, %rsp
	movq	-1128(%rbp), %rdi               ## 8-byte Reload
	leaq	-1152(%rbp), %rdx
	leaq	-1148(%rbp), %rcx
	leaq	-1144(%rbp), %r8
	leaq	-1140(%rbp), %r9
	pushq	$1
	callq	_scsi_extract_sense_len
	addq	$16, %rsp
	movl	-1148(%rbp), %eax
	movq	_SSD_KEY_NOT_READY@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_45
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$4, -1144(%rbp)
	jne	LBB0_45
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$4, -1140(%rbp)
	jne	LBB0_45
## %bb.20:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-1088(%rbp), %rax               ## 8-byte Reload
	movq	8(%rax), %rsi
	subq	(%rax), %rsi
	movq	-1128(%rbp), %rdi               ## 8-byte Reload
	leaq	-1072(%rbp), %rdx
	callq	_scsi_get_sks
	testq	%rax, %rax
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$0, -1076(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_11
LBB0_22:                                ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$0, -1076(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_12
## %bb.23:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-1104(%rbp), %rax               ## 8-byte Reload
	leal	1(%rax), %r12d
	testl	%eax, %eax
	jle	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	%r12d, %eax
	movq	%rax, -1104(%rbp)               ## 8-byte Spill
	movq	-1120(%rbp), %r12               ## 8-byte Reload
	jmp	LBB0_12
LBB0_25:                                ##   in Loop: Header=BB0_13 Depth=1
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rbx
	movq	-1120(%rbp), %r15               ## 8-byte Reload
	movq	%r15, %rdi
	movq	-1088(%rbp), %rsi               ## 8-byte Reload
	callq	_scsi_sense_print
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movl	%r12d, %eax
	movq	%rax, -1104(%rbp)               ## 8-byte Spill
	movq	%r15, %r12
	movq	%rbx, %r15
	jmp	LBB0_12
LBB0_26:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movl	$1, %r14d
	jmp	LBB0_66
LBB0_27:
	movl	-1076(%rbp), %eax               ## 4-byte Reload
	orl	-1092(%rbp), %eax               ## 4-byte Folded Reload
	jne	LBB0_34
## %bb.28:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	subq	$8, %rsp
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	movq	%r13, %rcx
	movl	-1096(%rbp), %r8d               ## 4-byte Reload
	movl	-1108(%rbp), %r9d               ## 4-byte Reload
	pushq	%rbx
	callq	_scsidoinquiry
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_34
## %bb.29:
	movl	%eax, %r14d
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_65
LBB0_30:
	cmpl	%ecx, %esi
	jne	LBB0_43
LBB0_31:
	xorl	%r14d, %r14d
	cmpl	$0, -1076(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_65
## %bb.32:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.15(%rip), %rsi
LBB0_33:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_65
LBB0_34:
	cmpl	$0, -1092(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_36
## %bb.35:
	xorl	%eax, %eax
	callq	_get_confirmation
	testl	%eax, %eax
	je	LBB0_64
LBB0_36:
	testl	%ebx, %ebx
	movl	$10800000, %r15d                ## imm = 0xA4CB80
	cmovnel	%ebx, %r15d
	cmpl	$0, -1076(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_38
## %bb.37:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movslq	%r15d, %rax
	imulq	$274877907, %rax, %rdx          ## imm = 0x10624DD3
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$38, %rdx
	addl	%eax, %edx
	leaq	L_.str.3(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_38:
	orl	%ebx, -1092(%rbp)               ## 4-byte Folded Spill
	movl	-1112(%rbp), %r13d              ## 4-byte Reload
	je	LBB0_47
LBB0_39:
	leaq	-1136(%rbp), %r14
	movl	$4, %r12d
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_bzero
	testb	$1, %r13b
	je	LBB0_46
## %bb.40:
	cmpl	$0, -1076(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_51
## %bb.41:
	xorl	%r14d, %r14d
	jmp	LBB0_52
LBB0_42:
	leaq	L_.str.8(%rip), %rdi
	callq	_warn
	jmp	LBB0_64
LBB0_43:
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movq	_arglist@GOTPCREL(%rip), %rax
	movq	_CAM_ARG_VERBOSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$1, %r14d
	testl	%ecx, (%rax)
	je	LBB0_65
## %bb.44:
	movq	_CAM_ESF_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CAM_EPF_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rdi
	movq	-1088(%rbp), %rsi               ## 8-byte Reload
	callq	_cam_error_print
	jmp	LBB0_65
LBB0_45:
	leaq	L_.str.13(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_63
LBB0_46:
	movq	_FU_DLH_IMMED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -1136(%rbp)
	movq	_FU_FMT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	jmp	LBB0_53
LBB0_47:
	movq	_stdout@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movslq	%r15d, %rax
	imulq	$274877907, %rax, %rdx          ## imm = 0x10624DD3
	movq	%rdx, %rax
	shrq	$63, %rax
	sarq	$38, %rdx
	addl	%eax, %edx
	leaq	L_.str.4(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_fprintf
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-1072(%rbp), %rdi
	movl	$1024, %esi                     ## imm = 0x400
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_39
## %bb.48:
	cmpb	$0, -1072(%rbp)
	je	LBB0_39
## %bb.49:
	leaq	-1072(%rbp), %rdi
	callq	_atoi
	testl	%eax, %eax
	je	LBB0_39
## %bb.50:
	imull	$1000, %eax, %r15d              ## imm = 0x3E8
	movl	(%r14), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_39
LBB0_51:
	movq	_stdout@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r12), %edi
	callq	_fflush
LBB0_52:
	xorl	%r12d, %r12d
	xorl	%r8d, %r8d
LBB0_53:
	movq	_SSD_FULL_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-1088(%rbp), %rbx               ## 8-byte Reload
	movq	%rbx, %rdi
	movl	-1108(%rbp), %esi               ## 4-byte Reload
	xorl	%edx, %edx
	movl	-1096(%rbp), %ecx               ## 4-byte Reload
	xorl	%r9d, %r9d
	pushq	%r15
	pushq	%rax
	pushq	%r12
	pushq	%r14
	callq	_scsi_format_unit
	addq	$32, %rsp
	movq	_CAM_DEV_QFRZDIS@GOTPCREL(%rip), %rcx
	movl	4(%rbx), %eax
	orl	(%rcx), %eax
	movl	%eax, 4(%rbx)
	movq	_arglist@GOTPCREL(%rip), %r14
	movq	_CAM_ARG_ERR_RECOVER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r14)
	je	LBB0_55
## %bb.54:
	movq	_CAM_PASS_ERR_RECOVER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	-1088(%rbp), %rcx               ## 8-byte Reload
	movl	%eax, 4(%rcx)
LBB0_55:
	movq	-1120(%rbp), %r12               ## 8-byte Reload
	movq	%r12, %rdi
	movq	-1088(%rbp), %rsi               ## 8-byte Reload
	callq	_cam_send_ccb
	testl	%eax, %eax
	js	LBB0_60
## %bb.56:
	testb	$1, %r13b
	je	LBB0_10
## %bb.57:
	movq	_CAM_STATUS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-1088(%rbp), %rcx               ## 8-byte Reload
	andl	(%rcx), %eax
	movq	_CAM_REQ_CMP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_61
## %bb.58:
	xorl	%r14d, %r14d
	cmpl	$0, -1076(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_65
## %bb.59:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_33
LBB0_60:
	movups	L___const.scsiformat.errstr+13(%rip), %xmm0
	movups	%xmm0, -1059(%rbp)
	movaps	L___const.scsiformat.errstr(%rip), %xmm0
	movaps	%xmm0, -1072(%rbp)
	leaq	-1072(%rbp), %rdi
	callq	_warn
	jmp	LBB0_62
LBB0_61:
	movups	L___const.scsiformat.errstr+13(%rip), %xmm0
	movups	%xmm0, -1059(%rbp)
	movaps	L___const.scsiformat.errstr(%rip), %xmm0
	movaps	%xmm0, -1072(%rbp)
	leaq	-1072(%rbp), %rdi
	xorl	%eax, %eax
	callq	_warnx
LBB0_62:
	movq	_CAM_ARG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_64
LBB0_63:
	movq	_CAM_ESF_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_CAM_EPF_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rdi
	movq	-1088(%rbp), %rsi               ## 8-byte Reload
	callq	_cam_error_print
LBB0_64:
	movl	$1, %r14d
LBB0_65:
	movq	-1088(%rbp), %rdi               ## 8-byte Reload
	callq	_cam_freeccb
LBB0_66:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_68
## %bb.67:
	movl	%r14d, %eax
	addq	$1112, %rsp                     ## imm = 0x458
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_68:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"scsiformat: error allocating ccb"

	.comm	_stdout,4,2                     ## @stdout
L_.str.1:                               ## @.str.1
	.asciz	"You are about to REMOVE ALL DATA from the following device:\n"

L_.str.2:                               ## @.str.2
	.asciz	"scsiformat: error sending inquiry"

L_.str.3:                               ## @.str.3
	.asciz	"Current format timeout is %d seconds\n"

L_.str.4:                               ## @.str.4
	.asciz	"Enter new timeout in seconds or press\nreturn to keep the current timeout [%d] "

	.comm	_stdin,4,2                      ## @stdin
L_.str.5:                               ## @.str.5
	.asciz	"Using new timeout value %d\n"

	.comm	_FU_DLH_IMMED,4,2               ## @FU_DLH_IMMED
	.comm	_FU_FMT_DATA,4,2                ## @FU_FMT_DATA
L_.str.6:                               ## @.str.6
	.asciz	"Formatting..."

	.comm	_SSD_FULL_SIZE,4,2              ## @SSD_FULL_SIZE
	.comm	_CAM_DEV_QFRZDIS,4,2            ## @CAM_DEV_QFRZDIS
	.comm	_arglist,4,2                    ## @arglist
	.comm	_CAM_ARG_ERR_RECOVER,4,2        ## @CAM_ARG_ERR_RECOVER
	.comm	_CAM_PASS_ERR_RECOVER,4,2       ## @CAM_PASS_ERR_RECOVER
	.comm	_CAM_STATUS_MASK,4,2            ## @CAM_STATUS_MASK
	.comm	_CAM_REQ_CMP,4,2                ## @CAM_REQ_CMP
	.p2align	4                               ## @__const.scsiformat.errstr
L___const.scsiformat.errstr:
	.asciz	"error sending format command"

	.comm	_CAM_ARG_VERBOSE,4,2            ## @CAM_ARG_VERBOSE
	.comm	_CAM_ESF_ALL,4,2                ## @CAM_ESF_ALL
	.comm	_CAM_EPF_ALL,4,2                ## @CAM_EPF_ALL
	.comm	_stderr,4,2                     ## @stderr
L_.str.7:                               ## @.str.7
	.asciz	"Format Complete\n"

L_.str.8:                               ## @.str.8
	.asciz	"error sending TEST UNIT READY command"

	.comm	_CAM_SCSI_STATUS_ERROR,4,2      ## @CAM_SCSI_STATUS_ERROR
	.comm	_CAM_AUTOSNS_VALID,4,2          ## @CAM_AUTOSNS_VALID
	.comm	_SSD_KEY_NOT_READY,4,2          ## @SSD_KEY_NOT_READY
L_.str.9:                               ## @.str.9
	.asciz	"\rFormatting:  %ju.%02u %% (%u/%d) done"

L_.str.10:                              ## @.str.10
	.asciz	"Unexpected SCSI Sense Key Specific value returned during format:"

L_.str.11:                              ## @.str.11
	.asciz	"Unable to print status information, but format will proceed."

L_.str.12:                              ## @.str.12
	.asciz	"will exit when format is complete"

L_.str.13:                              ## @.str.13
	.asciz	"Unexpected SCSI error during format"

L_.str.14:                              ## @.str.14
	.asciz	"Unexpected CAM status %#x"

L_.str.15:                              ## @.str.15
	.asciz	"\nFormat Complete\n"

	.no_dead_strip	_scsiformat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scsiformat
_scsiformat:                            ; @scsiformat
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #1120
	mov	x23, x6
	mov	x22, x5
	mov	x21, x4
	mov	x24, x3
	mov	x25, x2
	mov	x26, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	bl	_cam_getccb
	cbz	x0, LBB0_25
; %bb.1:
	mov	x19, x0
	stp	w22, w23, [sp, #36]             ; 8-byte Folded Spill
	str	w21, [sp, #52]                  ; 4-byte Folded Spill
	bl	_CCB_CLEAR_ALL_EXCEPT_HDR
	mov	w23, #0
	mov	w27, #0
	mov	w28, #0
	mov	w22, #0
Lloh3:
	adrp	x21, lJTI0_0@PAGE
Lloh4:
	add	x21, x21, lJTI0_0@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmn	w0, #1
	b.eq	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x26
	mov	x1, x25
	mov	x2, x24
	bl	_getopt
	sub	w8, w0, #113
	cmp	w8, #8
	b.hi	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x9, LBB0_3
	ldrb	w10, [x21, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w28, w28, #1
	b	LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w27, #1
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w23, #1
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w22, #1
	b	LBB0_3
LBB0_9:
	cbz	w27, LBB0_26
LBB0_10:
	str	wzr, [sp, #36]                  ; 4-byte Folded Spill
	add	x22, x19, #16
	add	x8, sp, #80
	add	x8, x8, #4
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
Lloh5:
	adrp	x27, _CAM_DEV_QFRZDIS@GOTPAGE
Lloh6:
	ldr	x27, [x27, _CAM_DEV_QFRZDIS@GOTPAGEOFF]
Lloh7:
	adrp	x25, _CAM_STATUS_MASK@GOTPAGE
Lloh8:
	ldr	x25, [x25, _CAM_STATUS_MASK@GOTPAGEOFF]
Lloh9:
	adrp	x24, _CAM_REQ_CMP@GOTPAGE
Lloh10:
	ldr	x24, [x24, _CAM_REQ_CMP@GOTPAGEOFF]
Lloh11:
	adrp	x23, _CAM_AUTOSNS_VALID@GOTPAGE
Lloh12:
	ldr	x23, [x23, _CAM_AUTOSNS_VALID@GOTPAGEOFF]
Lloh13:
	adrp	x26, _SSD_KEY_NOT_READY@GOTPAGE
Lloh14:
	ldr	x26, [x26, _SSD_KEY_NOT_READY@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_scsi_2btoul
	mov	w8, #10000
	mul	w9, w0, w8
Lloh15:
	adrp	x21, _stdout@GOTPAGE
Lloh16:
	ldr	x21, [x21, _stdout@GOTPAGEOFF]
	ldr	w8, [x21]
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	smull	x10, w9, w10
	lsr	x11, x10, #63
	asr	x10, x10, #53
	add	w10, w10, w11
	mov	w11, #65535
	add	w11, w9, w11
	cmp	w9, #0
	csel	w9, w11, w9, lt
	asr	w9, w9, #16
	mov	w11, #5243
	mul	w11, w9, w11
	asr	w12, w11, #16
	lsr	w12, w12, #3
	add	w11, w12, w11, lsr #31
	mov	w12, #100
	msub	w9, w11, w12, w9
	mov	w11, #65536
	stp	x0, x11, [sp, #16]
	sxth	x9, w9
	stp	x10, x9, [sp]
	mov	x0, x8
Lloh17:
	adrp	x1, l_.str.9@PAGE
Lloh18:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_fprintf
	ldr	w0, [x21]
	bl	_fflush
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	w0, #1
	bl	_sleep
	ldr	w8, [x19]
	ldr	w9, [x25]
	ldr	w10, [x24]
	and	w8, w9, w8
	cmp	w8, w10
	b.eq	LBB0_30
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_CCB_CLEAR_ALL_EXCEPT_HDR
Lloh19:
	adrp	x8, _SSD_FULL_SIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SSD_FULL_SIZE@GOTPAGEOFF]
Lloh21:
	ldr	w4, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	x2, #0
	ldr	w3, [sp, #52]                   ; 4-byte Folded Reload
	mov	w5, #5000
	bl	_scsi_test_unit_ready
	ldr	w8, [x27]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
	mov	x0, x20
	mov	x1, x19
	bl	_cam_send_ccb
	tbnz	w0, #31, LBB0_48
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w10, [x19]
	ldr	w8, [x25]
	and	w8, w8, w10
	ldr	w9, [x24]
Lloh22:
	adrp	x11, _CAM_SCSI_STATUS_ERROR@GOTPAGE
Lloh23:
	ldr	x11, [x11, _CAM_SCSI_STATUS_ERROR@GOTPAGEOFF]
Lloh24:
	ldr	w11, [x11]
	cmp	w8, w9
	ccmp	w8, w11, #0, ne
	b.ne	LBB0_29
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w11, [x23]
	tst	w11, w10
	b.eq	LBB0_29
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	ldp	x9, x8, [x19]
	sub	x1, x8, x9
	add	x2, sp, #68
	add	x3, sp, #64
	add	x4, sp, #60
	add	x5, sp, #56
	mov	x0, x22
	mov	w6, #1
	bl	_scsi_extract_sense_len
	ldr	w8, [sp, #64]
	ldr	w9, [x26]
	cmp	w8, w9
	b.ne	LBB0_50
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [sp, #60]
	cmp	w8, #4
	b.ne	LBB0_50
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [sp, #56]
	cmp	w8, #4
	b.ne	LBB0_50
; %bb.19:                               ;   in Loop: Header=BB0_13 Depth=1
	ldp	x9, x8, [x19]
	sub	x1, x8, x9
	add	x2, sp, #80
	mov	x0, x22
	bl	_scsi_get_sks
	cbnz	x0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_13 Depth=1
	cbz	w28, LBB0_11
LBB0_21:                                ;   in Loop: Header=BB0_13 Depth=1
	cbnz	w28, LBB0_12
; %bb.22:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	add	w21, w8, #1
	cmp	w8, #0
	b.gt	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_13 Depth=1
Lloh25:
	adrp	x0, l_.str.10@PAGE
Lloh26:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_warnx
Lloh27:
	adrp	x8, _stderr@GOTPAGE
Lloh28:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_scsi_sense_print
Lloh30:
	adrp	x0, l_.str.11@PAGE
Lloh31:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_warnx
Lloh32:
	adrp	x0, l_.str.12@PAGE
Lloh33:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_warnx
LBB0_24:                                ;   in Loop: Header=BB0_13 Depth=1
	str	w21, [sp, #36]                  ; 4-byte Folded Spill
	b	LBB0_12
LBB0_25:
Lloh34:
	adrp	x0, l_.str@PAGE
Lloh35:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
	mov	w24, #1
	b	LBB0_66
LBB0_26:
	orr	w8, w28, w22
	ldr	w21, [sp, #52]                  ; 4-byte Folded Reload
	ldr	w27, [sp, #36]                  ; 4-byte Folded Reload
	cbnz	w8, LBB0_34
; %bb.27:
Lloh36:
	adrp	x8, _stdout@GOTPAGE
Lloh37:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
Lloh39:
	adrp	x1, l_.str.1@PAGE
Lloh40:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	x0, x20
	mov	x1, x26
	mov	x2, x25
	mov	x3, x24
	mov	x4, x21
	mov	x5, x27
	ldr	w6, [sp, #40]                   ; 4-byte Folded Reload
	bl	_scsidoinquiry
	cbz	w0, LBB0_34
; %bb.28:
	mov	x24, x0
Lloh41:
	adrp	x0, l_.str.2@PAGE
Lloh42:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warnx
	b	LBB0_65
LBB0_29:
	cmp	w8, w9
	b.ne	LBB0_49
LBB0_30:
	cbnz	w28, LBB0_33
; %bb.31:
Lloh43:
	adrp	x8, _stdout@GOTPAGE
Lloh44:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
Lloh46:
	adrp	x1, l_.str.15@PAGE
Lloh47:
	add	x1, x1, l_.str.15@PAGEOFF
LBB0_32:
	bl	_fprintf
LBB0_33:
	mov	w24, #0
	b	LBB0_65
LBB0_34:
	cbnz	w22, LBB0_36
; %bb.35:
	bl	_get_confirmation
	cbz	w0, LBB0_64
LBB0_36:
	mov	w8, #52096
	movk	w8, #164, lsl #16
	ldr	w25, [sp, #40]                  ; 4-byte Folded Reload
	cmp	w25, #0
	csel	w24, w8, w25, eq
	cbnz	w28, LBB0_38
; %bb.37:
Lloh48:
	adrp	x8, _stdout@GOTPAGE
Lloh49:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	smull	x8, w24, w8
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	str	x8, [sp]
Lloh51:
	adrp	x1, l_.str.3@PAGE
Lloh52:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
LBB0_38:
	orr	w8, w22, w25
	cbnz	w8, LBB0_44
; %bb.39:
Lloh53:
	adrp	x21, _stdout@GOTPAGE
Lloh54:
	ldr	x21, [x21, _stdout@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	smull	x8, w24, w8
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	str	x8, [sp]
Lloh55:
	adrp	x1, l_.str.4@PAGE
Lloh56:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
Lloh57:
	adrp	x8, _stdin@GOTPAGE
Lloh58:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh59:
	ldr	w2, [x8]
	add	x0, sp, #80
	mov	w1, #1024
	bl	_fgets
	cbz	x0, LBB0_43
; %bb.40:
	ldrb	w8, [sp, #80]
	cbz	w8, LBB0_43
; %bb.41:
	add	x0, sp, #80
	bl	_atoi
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_43
; %bb.42:
	mov	w8, #1000
	mul	w24, w0, w8
	ldr	w8, [x21]
	str	x0, [sp]
Lloh60:
	adrp	x1, l_.str.5@PAGE
Lloh61:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x8
	bl	_fprintf
LBB0_43:
	ldr	w21, [sp, #52]                  ; 4-byte Folded Reload
LBB0_44:
	add	x0, sp, #72
	mov	w1, #4
	bl	_bzero
	tbz	w23, #0, LBB0_51
; %bb.45:
	cbnz	w28, LBB0_47
; %bb.46:
Lloh62:
	adrp	x21, _stdout@GOTPAGE
Lloh63:
	ldr	x21, [x21, _stdout@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh64:
	adrp	x1, l_.str.6@PAGE
Lloh65:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
	ldr	w0, [x21]
	ldr	w21, [sp, #52]                  ; 4-byte Folded Reload
	bl	_fflush
LBB0_47:
	mov	x6, #0
	mov	w7, #0
	mov	w4, #0
	b	LBB0_52
LBB0_48:
Lloh66:
	adrp	x0, l_.str.8@PAGE
Lloh67:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_warn
	b	LBB0_64
LBB0_49:
	str	x8, [sp]
Lloh68:
	adrp	x0, l_.str.14@PAGE
Lloh69:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_warnx
Lloh70:
	adrp	x8, _arglist@GOTPAGE
Lloh71:
	ldr	x8, [x8, _arglist@GOTPAGEOFF]
Lloh72:
	ldr	w8, [x8]
	b	LBB0_62
LBB0_50:
Lloh73:
	adrp	x0, l_.str.13@PAGE
Lloh74:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_warnx
	b	LBB0_63
LBB0_51:
Lloh75:
	adrp	x8, _FU_DLH_IMMED@GOTPAGE
Lloh76:
	ldr	x8, [x8, _FU_DLH_IMMED@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
	add	x6, sp, #72
	str	w8, [sp, #72]
Lloh78:
	adrp	x8, _FU_FMT_DATA@GOTPAGE
Lloh79:
	ldr	x8, [x8, _FU_FMT_DATA@GOTPAGEOFF]
Lloh80:
	ldr	w4, [x8]
	mov	w7, #4
LBB0_52:
Lloh81:
	adrp	x8, _SSD_FULL_SIZE@GOTPAGE
Lloh82:
	ldr	x8, [x8, _SSD_FULL_SIZE@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
	stp	w8, w24, [sp]
	mov	x0, x19
	mov	x1, x27
	mov	x2, #0
	mov	x3, x21
	mov	w5, #0
	bl	_scsi_format_unit
Lloh84:
	adrp	x8, _CAM_DEV_QFRZDIS@GOTPAGE
Lloh85:
	ldr	x8, [x8, _CAM_DEV_QFRZDIS@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
Lloh87:
	adrp	x21, _arglist@GOTPAGE
Lloh88:
	ldr	x21, [x21, _arglist@GOTPAGEOFF]
	str	w8, [x19, #4]
	ldr	w9, [x21]
Lloh89:
	adrp	x10, _CAM_ARG_ERR_RECOVER@GOTPAGE
Lloh90:
	ldr	x10, [x10, _CAM_ARG_ERR_RECOVER@GOTPAGEOFF]
Lloh91:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_54
; %bb.53:
Lloh92:
	adrp	x9, _CAM_PASS_ERR_RECOVER@GOTPAGE
Lloh93:
	ldr	x9, [x9, _CAM_PASS_ERR_RECOVER@GOTPAGEOFF]
Lloh94:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_54:
	mov	x0, x20
	mov	x1, x19
	bl	_cam_send_ccb
	tbnz	w0, #31, LBB0_59
; %bb.55:
	tbz	w23, #0, LBB0_10
; %bb.56:
	ldr	w8, [x19]
Lloh95:
	adrp	x9, _CAM_STATUS_MASK@GOTPAGE
Lloh96:
	ldr	x9, [x9, _CAM_STATUS_MASK@GOTPAGEOFF]
Lloh97:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh98:
	adrp	x9, _CAM_REQ_CMP@GOTPAGE
Lloh99:
	ldr	x9, [x9, _CAM_REQ_CMP@GOTPAGEOFF]
Lloh100:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_60
; %bb.57:
	cbnz	w28, LBB0_33
; %bb.58:
Lloh101:
	adrp	x8, _stdout@GOTPAGE
Lloh102:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh103:
	ldr	w0, [x8]
Lloh104:
	adrp	x1, l_.str.7@PAGE
Lloh105:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_32
LBB0_59:
Lloh106:
	adrp	x8, l___const.scsiformat.errstr@PAGE
Lloh107:
	add	x8, x8, l___const.scsiformat.errstr@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #80]
	ldur	q0, [x8, #13]
	stur	q0, [sp, #93]
	add	x0, sp, #80
	bl	_warn
	b	LBB0_61
LBB0_60:
Lloh108:
	adrp	x8, l___const.scsiformat.errstr@PAGE
Lloh109:
	add	x8, x8, l___const.scsiformat.errstr@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #80]
	ldur	q0, [x8, #13]
	stur	q0, [sp, #93]
	add	x0, sp, #80
	bl	_warnx
LBB0_61:
	ldr	w8, [x21]
LBB0_62:
Lloh110:
	adrp	x9, _CAM_ARG_VERBOSE@GOTPAGE
Lloh111:
	ldr	x9, [x9, _CAM_ARG_VERBOSE@GOTPAGEOFF]
Lloh112:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_64
LBB0_63:
Lloh113:
	adrp	x8, _CAM_ESF_ALL@GOTPAGE
Lloh114:
	ldr	x8, [x8, _CAM_ESF_ALL@GOTPAGEOFF]
Lloh115:
	ldr	w2, [x8]
Lloh116:
	adrp	x8, _CAM_EPF_ALL@GOTPAGE
Lloh117:
	ldr	x8, [x8, _CAM_EPF_ALL@GOTPAGEOFF]
Lloh118:
	ldr	w3, [x8]
Lloh119:
	adrp	x8, _stderr@GOTPAGE
Lloh120:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh121:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_cam_error_print
LBB0_64:
	mov	w24, #1
LBB0_65:
	mov	x0, x19
	bl	_cam_freeccb
LBB0_66:
	ldur	x8, [x29, #-96]
Lloh122:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh123:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh124:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_68
; %bb.67:
	mov	x0, x24
	add	sp, sp, #1120
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_68:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpAdd	Lloh104, Lloh105
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpAdd	Lloh106, Lloh107
	.loh AdrpAdd	Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh119, Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"scsiformat: error allocating ccb"

	.comm	_stdout,4,2                     ; @stdout
l_.str.1:                               ; @.str.1
	.asciz	"You are about to REMOVE ALL DATA from the following device:\n"

l_.str.2:                               ; @.str.2
	.asciz	"scsiformat: error sending inquiry"

l_.str.3:                               ; @.str.3
	.asciz	"Current format timeout is %d seconds\n"

l_.str.4:                               ; @.str.4
	.asciz	"Enter new timeout in seconds or press\nreturn to keep the current timeout [%d] "

	.comm	_stdin,4,2                      ; @stdin
l_.str.5:                               ; @.str.5
	.asciz	"Using new timeout value %d\n"

	.comm	_FU_DLH_IMMED,4,2               ; @FU_DLH_IMMED
	.comm	_FU_FMT_DATA,4,2                ; @FU_FMT_DATA
l_.str.6:                               ; @.str.6
	.asciz	"Formatting..."

	.comm	_SSD_FULL_SIZE,4,2              ; @SSD_FULL_SIZE
	.comm	_CAM_DEV_QFRZDIS,4,2            ; @CAM_DEV_QFRZDIS
	.comm	_arglist,4,2                    ; @arglist
	.comm	_CAM_ARG_ERR_RECOVER,4,2        ; @CAM_ARG_ERR_RECOVER
	.comm	_CAM_PASS_ERR_RECOVER,4,2       ; @CAM_PASS_ERR_RECOVER
	.comm	_CAM_STATUS_MASK,4,2            ; @CAM_STATUS_MASK
	.comm	_CAM_REQ_CMP,4,2                ; @CAM_REQ_CMP
l___const.scsiformat.errstr:            ; @__const.scsiformat.errstr
	.asciz	"error sending format command"

	.comm	_CAM_ARG_VERBOSE,4,2            ; @CAM_ARG_VERBOSE
	.comm	_CAM_ESF_ALL,4,2                ; @CAM_ESF_ALL
	.comm	_CAM_EPF_ALL,4,2                ; @CAM_EPF_ALL
	.comm	_stderr,4,2                     ; @stderr
l_.str.7:                               ; @.str.7
	.asciz	"Format Complete\n"

l_.str.8:                               ; @.str.8
	.asciz	"error sending TEST UNIT READY command"

	.comm	_CAM_SCSI_STATUS_ERROR,4,2      ; @CAM_SCSI_STATUS_ERROR
	.comm	_CAM_AUTOSNS_VALID,4,2          ; @CAM_AUTOSNS_VALID
	.comm	_SSD_KEY_NOT_READY,4,2          ; @SSD_KEY_NOT_READY
l_.str.9:                               ; @.str.9
	.asciz	"\rFormatting:  %ju.%02u %% (%u/%d) done"

l_.str.10:                              ; @.str.10
	.asciz	"Unexpected SCSI Sense Key Specific value returned during format:"

l_.str.11:                              ; @.str.11
	.asciz	"Unable to print status information, but format will proceed."

l_.str.12:                              ; @.str.12
	.asciz	"will exit when format is complete"

l_.str.13:                              ; @.str.13
	.asciz	"Unexpected SCSI error during format"

l_.str.14:                              ; @.str.14
	.asciz	"Unexpected CAM status %#x"

l_.str.15:                              ; @.str.15
	.asciz	"\nFormat Complete\n"

	.no_dead_strip	_scsiformat
.subsections_via_symbols
