	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sanitize
_sanitize:                              ## @sanitize
	.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	$1160, %rsp                     ## imm = 0x488
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -1132(%rbp)               ## 4-byte Spill
	movl	%r8d, %r14d
	movq	%rcx, %r15
	movq	%rdx, %r13
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-1168(%rbp), %r8
	movl	$-1, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_get_device_type
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_CC_DT_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	-1168(%rbp), %eax
	jae	LBB0_4
LBB0_2:
	leaq	L_.str(%rip), %rdi
LBB0_3:
	xorl	%eax, %eax
	callq	_warnx
	movl	$1, %ebx
LBB0_127:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_129
## %bb.128:
	movl	%ebx, %eax
	addq	$1160, %rsp                     ## imm = 0x488
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	callq	_cam_getccb
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	%r14d, -1156(%rbp)              ## 4-byte Spill
	movq	%rbx, -1152(%rbp)               ## 8-byte Spill
	movq	%rax, -1104(%rbp)               ## 8-byte Spill
	movq	%rax, %rdi
	callq	_CCB_CLEAR_ALL_EXCEPT_HDR
	movl	$1, -1108(%rbp)                 ## 4-byte Folded Spill
	leaq	LJTI0_0(%rip), %r14
	movl	$0, -1140(%rbp)                 ## 4-byte Folded Spill
	movl	$0, -1116(%rbp)                 ## 4-byte Folded Spill
	movl	$0, -1112(%rbp)                 ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -1088(%rbp)               ## 8-byte Spill
	movl	$0, -1076(%rbp)                 ## 4-byte Folded Spill
	xorl	%ebx, %ebx
	movl	$0, -1136(%rbp)                 ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -1128(%rbp)               ## 8-byte Spill
	jmp	LBB0_7
LBB0_33:                                ##   in Loop: Header=BB0_7 Depth=1
	incl	-1136(%rbp)                     ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-73(%rax), %ecx
	cmpl	$48, %ecx
	ja	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movslq	(%r14,%rcx,4), %rax
	addq	%r14, %rax
	jmpq	*%rax
LBB0_27:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, -1140(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_7
LBB0_28:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -1088(%rbp)               ## 8-byte Spill
	jmp	LBB0_7
LBB0_30:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, -1112(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_7
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%ebx, -1092(%rbp)               ## 4-byte Spill
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_SSZ_SERVICE_ACTION_EXIT_MODE_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_25:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtol
	movl	%eax, -1116(%rbp)               ## 4-byte Spill
	addl	$-32, %eax
	cmpl	$-32, %eax
	ja	LBB0_7
	jmp	LBB0_26
LBB0_29:                                ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	jmp	LBB0_7
LBB0_31:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, -1076(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_7
LBB0_32:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-1168(%rbp), %rax
	movq	_CC_DT_SCSI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	-1108(%rbp), %eax               ## 4-byte Reload
	movl	$0, %ecx
	cmovel	%ecx, %eax
	movl	%eax, -1108(%rbp)               ## 4-byte Spill
	jmp	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$-1, %eax
	jne	LBB0_7
	jmp	LBB0_9
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_SSZ_SERVICE_ACTION_OVERWRITE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_SSZ_SERVICE_ACTION_BLOCK_ERASE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_SSZ_SERVICE_ACTION_CRYPTO_ERASE@GOTPCREL(%rip), %rax
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rax), %rax
	movq	%rax, -1128(%rbp)               ## 8-byte Spill
	movl	-1092(%rbp), %ebx               ## 4-byte Reload
	jmp	LBB0_7
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_3
LBB0_26:
	leaq	L_.str.7(%rip), %rdi
	movl	-1116(%rbp), %esi               ## 4-byte Reload
	xorl	%eax, %eax
	callq	_warnx
LBB0_24:
	movl	$1, %ebx
	movq	-1104(%rbp), %r14               ## 8-byte Reload
LBB0_126:
	movq	%r14, %rdi
	callq	_cam_freeccb
	jmp	LBB0_127
LBB0_9:
	cmpl	$0, -1076(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_34
## %bb.10:
	movl	$-1, %r12d
	xorl	%r13d, %r13d
	movq	-1104(%rbp), %r14               ## 8-byte Reload
LBB0_11:
	movq	-1168(%rbp), %rcx
	movq	_CC_DT_SCSI@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_117
## %bb.12:
	movq	-1152(%rbp), %rdi               ## 8-byte Reload
	movq	%r14, %rsi
	movl	-1156(%rbp), %edx               ## 4-byte Reload
	movl	%ebx, %ecx
	callq	_sanitize_wait_scsi
	movl	%ebx, %r15d
	jmp	LBB0_120
LBB0_23:
	leaq	L_.str.6(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_24
LBB0_34:
	movq	-1128(%rbp), %rcx               ## 8-byte Reload
	testq	%rcx, %rcx
	movq	-1104(%rbp), %r14               ## 8-byte Reload
	je	LBB0_35
## %bb.36:
	movq	_SSZ_SERVICE_ACTION_OVERWRITE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	movl	-1140(%rbp), %eax               ## 4-byte Reload
	jne	LBB0_56
## %bb.37:
	movq	-1088(%rbp), %rcx               ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_38
## %bb.39:
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rcx, %rdi
	movq	%rcx, -1088(%rbp)               ## 8-byte Spill
	callq	_open
	testl	%eax, %eax
	js	LBB0_40
## %bb.41:
	leaq	-1072(%rbp), %rsi
	movl	%eax, -1076(%rbp)               ## 4-byte Spill
	movl	%eax, %edi
	callq	_fstat
	testq	%rax, %rax
	js	LBB0_42
## %bb.43:
	movq	-1072(%rbp), %rcx
	movq	_SSZPL_MAX_PATTERN_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	cmpq	%rsi, %rcx
	jle	LBB0_46
## %bb.44:
	leaq	L_.str.12(%rip), %rdi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_45
LBB0_117:
	movl	%ebx, %r15d
	movq	_CC_DT_ATA@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_119
## %bb.118:
	movq	_CC_DT_SATL@GOTPCREL(%rip), %rax
	movl	$1, %ebx
	cmpq	(%rax), %rcx
	jne	LBB0_122
LBB0_119:
	movq	-1152(%rbp), %rdi               ## 8-byte Reload
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_sanitize_wait_ata
LBB0_120:
	movl	%eax, %ebx
	orl	%eax, %r15d
	jne	LBB0_122
## %bb.121:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.30(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_122:
	testl	%r12d, %r12d
	js	LBB0_124
## %bb.123:
	movl	%r12d, %edi
	callq	_close
LBB0_124:
	testq	%r13, %r13
	je	LBB0_126
## %bb.125:
	movq	%r13, %rdi
	callq	_free
	jmp	LBB0_126
LBB0_35:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movl	$1, %ebx
	jmp	LBB0_126
LBB0_56:
	cmpl	$0, -1116(%rbp)                 ## 4-byte Folded Reload
	movq	-1088(%rbp), %rcx               ## 8-byte Reload
	je	LBB0_58
## %bb.57:
	leaq	L_.str.16(%rip), %rsi
	jmp	LBB0_62
LBB0_38:
	leaq	L_.str.9(%rip), %rdi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_warnx
	movl	$-1, %r12d
	movl	$1, %ebx
	jmp	LBB0_122
LBB0_58:
	testl	%eax, %eax
	je	LBB0_60
## %bb.59:
	leaq	L_.str.17(%rip), %rsi
	jmp	LBB0_62
LBB0_40:
	leaq	L_.str.10(%rip), %rdi
	xorl	%r13d, %r13d
	movq	-1088(%rbp), %rsi               ## 8-byte Reload
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_warn
	movl	$1, %ebx
	jmp	LBB0_122
LBB0_42:
	leaq	L_.str.11(%rip), %rdi
	xorl	%r13d, %r13d
	movq	-1088(%rbp), %rsi               ## 8-byte Reload
	xorl	%eax, %eax
	callq	_warn
LBB0_45:
	movl	$1, %ebx
	movl	-1076(%rbp), %r12d              ## 4-byte Reload
	jmp	LBB0_122
LBB0_60:
	testq	%rcx, %rcx
	je	LBB0_63
## %bb.61:
	leaq	L_.str.18(%rip), %rsi
LBB0_62:
	leaq	L_.str.19(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movl	$1, %ebx
	jmp	LBB0_126
LBB0_46:
	movl	%ebx, -1092(%rbp)               ## 4-byte Spill
	leaq	8(%rcx), %rsi
	movl	$1, %ebx
	movq	%rcx, -1200(%rbp)               ## 8-byte Spill
	movl	$1, %edi
	movq	%rsi, -1192(%rbp)               ## 8-byte Spill
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_47
## %bb.48:
	movq	%rax, -1088(%rbp)               ## 8-byte Spill
	movq	%rax, %rsi
	addq	$64, %rsi
	movl	-1076(%rbp), %edi               ## 4-byte Reload
	movq	-1200(%rbp), %rbx               ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_read
	testq	%rax, %rax
	js	LBB0_49
## %bb.51:
	cmpq	%rbx, %rax
	jne	LBB0_52
## %bb.53:
	movl	-1116(%rbp), %ecx               ## 4-byte Reload
	testl	%ecx, %ecx
	movl	$1, %eax
	cmovnel	%ecx, %eax
	movq	-1088(%rbp), %rdx               ## 8-byte Reload
	movl	%eax, (%rdx)
	cmpl	$0, -1140(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_55
## %bb.54:
	movq	_SSZPL_INVERT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rdx)
LBB0_55:
	movl	4(%rdx), %esi
	movq	%rbx, %rdi
	callq	_scsi_ulto2b
	movl	-1092(%rbp), %ebx               ## 4-byte Reload
	jmp	LBB0_64
LBB0_63:
	movl	$-1, -1076(%rbp)                ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -1088(%rbp)               ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -1192(%rbp)               ## 8-byte Spill
LBB0_64:
	movl	%ebx, -1092(%rbp)               ## 4-byte Spill
	orl	-1136(%rbp), %ebx               ## 4-byte Folded Reload
	jne	LBB0_74
## %bb.65:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.20(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	-1168(%rbp), %rax
	movq	_CC_DT_SCSI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_67
## %bb.66:
	subq	$8, %rsp
	movq	-1152(%rbp), %rdi               ## 8-byte Reload
	movl	%r12d, %esi
	movq	%r13, %rdx
	movq	%r15, %rcx
	movl	-1156(%rbp), %r8d               ## 4-byte Reload
	movl	-1132(%rbp), %r9d               ## 4-byte Reload
	movl	16(%rbp), %eax
	pushq	%rax
	callq	_scsidoinquiry
	addq	$16, %rsp
	movl	%eax, %ebx
	jmp	LBB0_72
LBB0_47:
	leaq	L_.str.13(%rip), %rdi
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_warnx
	movl	-1076(%rbp), %r12d              ## 4-byte Reload
	jmp	LBB0_122
LBB0_49:
	leaq	L_.str.14(%rip), %rdi
	jmp	LBB0_50
LBB0_52:
	leaq	L_.str.15(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_76
LBB0_67:
	movq	_CC_DT_ATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_69
## %bb.68:
	movq	_CC_DT_SATL@GOTPCREL(%rip), %rcx
	movl	$1, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_73
LBB0_69:
	leaq	-1072(%rbp), %r8
	movq	-1152(%rbp), %rdi               ## 8-byte Reload
	movl	-1132(%rbp), %esi               ## 4-byte Reload
	movl	16(%rbp), %edx
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r14, %rcx
	callq	_ata_do_identify
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_71
## %bb.70:
	movq	-1152(%rbp), %rax               ## 8-byte Reload
	movq	(%rax), %rsi
	movl	8(%rax), %edx
	leaq	L_.str.21(%rip), %rdi
	callq	_printf
	movq	-1072(%rbp), %rdi
	callq	_ata_print_ident
	movq	-1072(%rbp), %rdi
	callq	_free
LBB0_71:
	movq	-1104(%rbp), %r14               ## 8-byte Reload
LBB0_72:
	testl	%ebx, %ebx
	je	LBB0_74
LBB0_73:
	leaq	L_.str.22(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_77
LBB0_74:
	cmpl	$0, -1136(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_78
## %bb.75:
	xorl	%eax, %eax
	callq	_get_confirmation
	testl	%eax, %eax
	je	LBB0_76
LBB0_78:
	movl	-1108(%rbp), %ecx               ## 4-byte Reload
	testl	%ecx, %ecx
	movl	$10800000, %eax                 ## imm = 0xA4CB80
	movl	$10000, %r15d                   ## imm = 0x2710
	cmovel	%eax, %r15d
	movl	16(%rbp), %ebx
	testl	%ebx, %ebx
	cmovnel	%ebx, %r15d
	movl	%ecx, %eax
	orl	-1092(%rbp), %eax               ## 4-byte Folded Reload
	jne	LBB0_80
## %bb.79:
	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.23(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_80:
	testl	%ebx, %ebx
	jne	LBB0_87
## %bb.81:
	cmpl	$0, -1108(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_87
## %bb.82:
	cmpl	$0, -1136(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_87
## %bb.83:
	movq	_stdout@GOTPCREL(%rip), %rbx
	movl	(%rbx), %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.24(%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_87
## %bb.84:
	cmpb	$0, -1072(%rbp)
	je	LBB0_87
## %bb.85:
	leaq	-1072(%rbp), %rdi
	callq	_atoi
	testl	%eax, %eax
	je	LBB0_87
## %bb.86:
	imull	$1000, %eax, %r15d              ## imm = 0x3E8
	movl	(%rbx), %edi
	leaq	L_.str.25(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_87:
	movq	-1168(%rbp), %rax
	movq	_CC_DT_SCSI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_96
## %bb.88:
	movl	$0, %r8d
	cmpl	$0, -1112(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_90
## %bb.89:
	movq	_SSZ_UNRESTRICTED_EXIT@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
LBB0_90:
	orq	-1128(%rbp), %r8                ## 8-byte Folded Reload
	movl	$0, %eax
	cmpl	$0, -1108(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_92
## %bb.91:
	movq	_SSZ_IMMED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_92:
	orq	%rax, %r8
	movq	_SSD_FULL_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-1104(%rbp), %r14               ## 8-byte Reload
	movq	%r14, %rdi
	movl	-1132(%rbp), %esi               ## 4-byte Reload
	xorl	%edx, %edx
	movl	-1156(%rbp), %ecx               ## 4-byte Reload
	xorl	%r9d, %r9d
	pushq	%r15
	pushq	%rax
	pushq	-1192(%rbp)                     ## 8-byte Folded Reload
	pushq	-1088(%rbp)                     ## 8-byte Folded Reload
	callq	_scsi_sanitize
	addq	$32, %rsp
	movq	_CAM_DEV_QFRZDIS@GOTPCREL(%rip), %rcx
	movl	4(%r14), %eax
	orl	(%rcx), %eax
	movl	%eax, 4(%r14)
	movq	_arglist@GOTPCREL(%rip), %rcx
	movq	_CAM_ARG_ERR_RECOVER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_94
## %bb.93:
	movq	_CAM_PASS_ERR_RECOVER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%r14)
LBB0_94:
	movq	-1152(%rbp), %rdi               ## 8-byte Reload
	movq	%r14, %rsi
	callq	_cam_send_ccb
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jns	LBB0_106
## %bb.95:
	leaq	L_.str.26(%rip), %rdi
LBB0_50:
	xorl	%eax, %eax
	callq	_warn
	jmp	LBB0_76
LBB0_96:
	movq	_CC_DT_ATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-1104(%rbp), %r14               ## 8-byte Reload
	je	LBB0_98
## %bb.97:
	xorl	%ebx, %ebx
	movq	_CC_DT_SATL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_106
LBB0_98:
	movq	_SSZ_SERVICE_ACTION_OVERWRITE@GOTPCREL(%rip), %rax
	movq	-1128(%rbp), %rcx               ## 8-byte Reload
	cmpq	(%rax), %rcx
	jne	LBB0_100
## %bb.99:
	movq	-1088(%rbp), %rax               ## 8-byte Reload
	leaq	32(%rax), %rdi
	callq	_scsi_4btoul
                                        ## kill: def $eax killed $eax def $rax
	xorl	%ecx, %ecx
	movl	-1116(%rbp), %edx               ## 4-byte Reload
	cmpl	$16, %edx
	cmovll	%edx, %ecx
	testl	%edx, %edx
	movl	$1, %edx
	cmovnel	%ecx, %edx
	movl	%edx, %ecx
	orl	$128, %ecx
	cmpl	$0, -1140(%rbp)                 ## 4-byte Folded Reload
	cmovel	%edx, %ecx
	movl	%ecx, %ebx
	orl	$16, %ebx
	cmpl	$0, -1112(%rbp)                 ## 4-byte Folded Reload
	cmovel	%ecx, %ebx
	movl	$20, %r10d
	jmp	LBB0_105
LBB0_100:
	movq	_SSZ_SERVICE_ACTION_BLOCK_ERASE@GOTPCREL(%rip), %rax
	movq	-1128(%rbp), %rcx               ## 8-byte Reload
	cmpq	(%rax), %rcx
	jne	LBB0_102
## %bb.101:
	xorl	%ebx, %ebx
	cmpl	$0, -1112(%rbp)                 ## 4-byte Folded Reload
	setne	%bl
	shll	$4, %ebx
	movl	$1114326386, %eax               ## imm = 0x426B4572
	movl	$18, %r10d
	jmp	LBB0_105
LBB0_102:
	movq	_SSZ_SERVICE_ACTION_CRYPTO_ERASE@GOTPCREL(%rip), %rax
	movq	-1128(%rbp), %rcx               ## 8-byte Reload
	cmpq	(%rax), %rcx
	jne	LBB0_104
## %bb.103:
	xorl	%ebx, %ebx
	cmpl	$0, -1112(%rbp)                 ## 4-byte Folded Reload
	setne	%bl
	shll	$4, %ebx
	movl	$1131575664, %eax               ## imm = 0x43727970
	movl	$17, %r10d
	jmp	LBB0_105
LBB0_104:
	movl	$1, %ebx
	xorl	%r10d, %r10d
	movl	$0, %eax
	movq	_SSZ_SERVICE_ACTION_EXIT_MODE_FAILURE@GOTPCREL(%rip), %rcx
	movq	-1128(%rbp), %rdx               ## 8-byte Reload
	cmpq	(%rcx), %rdx
	jne	LBB0_115
LBB0_105:
	movq	_CAM_DIR_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_AP_PROTO_NON_DATA@GOTPCREL(%rip), %rdx
	movq	_AP_EXTEND@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	orl	(%rdx), %r8d
	movq	_MSG_SIMPLE_Q_TAG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r11d
	movq	_ATA_SANITIZE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r14d
	subq	$8, %rsp
	movq	-1152(%rbp), %rdi               ## 8-byte Reload
	movq	-1104(%rbp), %rsi               ## 8-byte Reload
	movl	-1132(%rbp), %edx               ## 4-byte Reload
	xorl	%r9d, %r9d
	pushq	$1
	pushq	%r15
	pushq	$0
	pushq	$0
	pushq	%rbx
	pushq	%rax
	pushq	%r10
	pushq	%r14
	movq	%rsi, %r14
	pushq	%r11
	callq	_ata_do_cmd
	addq	$80, %rsp
	movl	%eax, %ebx
LBB0_106:
	movq	_CAM_STATUS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14), %eax
	movq	_CAM_REQ_CMP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_107
## %bb.112:
	cmpl	$0, -1108(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_114
## %bb.113:
	movq	-1104(%rbp), %r14               ## 8-byte Reload
	movl	-1092(%rbp), %ebx               ## 4-byte Reload
	movl	-1076(%rbp), %r12d              ## 4-byte Reload
	movq	-1088(%rbp), %r13               ## 8-byte Reload
	jmp	LBB0_11
LBB0_107:
	movq	_CAM_SCSI_STATUS_ERROR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_108
## %bb.109:
	movq	-1104(%rbp), %rax               ## 8-byte Reload
	movq	%rax, %rdi
	addq	$16, %rdi
	movq	8(%rax), %rsi
	subq	(%rax), %rsi
	subq	$8, %rsp
	leaq	-1072(%rbp), %rdx
	leaq	-1180(%rbp), %rcx
	leaq	-1176(%rbp), %r8
	leaq	-1172(%rbp), %r9
	pushq	$1
	callq	_scsi_extract_sense_len
	addq	$16, %rsp
	movl	-1180(%rbp), %eax
	movq	_SSD_KEY_ILLEGAL_REQUEST@GOTPCREL(%rip), %rcx
	xorl	(%rcx), %eax
	movl	-1176(%rbp), %ecx
	xorl	$32, %ecx
	orl	%eax, %ecx
	leaq	L_.str.27(%rip), %rax
	leaq	L_.str.28(%rip), %rdi
	orl	-1172(%rbp), %ecx
	cmoveq	%rax, %rdi
	jmp	LBB0_110
LBB0_108:
	leaq	L_.str.28(%rip), %rdi
LBB0_110:
	xorl	%eax, %eax
	callq	_warnx
	movq	_arglist@GOTPCREL(%rip), %rax
	movq	_CAM_ARG_VERBOSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	movq	-1104(%rbp), %r14               ## 8-byte Reload
	je	LBB0_76
## %bb.111:
	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	-1152(%rbp), %rdi               ## 8-byte Reload
	movq	%r14, %rsi
	callq	_cam_error_print
LBB0_76:
	movl	$1, %ebx
LBB0_77:
	movl	-1076(%rbp), %r12d              ## 4-byte Reload
	movq	-1088(%rbp), %r13               ## 8-byte Reload
	jmp	LBB0_122
LBB0_114:
	cmpl	$0, -1092(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_116
LBB0_115:
	movq	-1104(%rbp), %r14               ## 8-byte Reload
	jmp	LBB0_77
LBB0_116:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.29(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	-1104(%rbp), %r14               ## 8-byte Reload
	jmp	LBB0_77
LBB0_129:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
LJTI0_0:
	.long	L0_0_set_27
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_28
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_30
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_14
	.long	L0_0_set_7
	.long	L0_0_set_25
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_29
	.long	L0_0_set_31
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_32
	.long	L0_0_set_7
	.long	L0_0_set_33
	.end_data_region
                                        ## -- End function
	.comm	_CC_DT_UNKNOWN,4,2              ## @CC_DT_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sanitize: can't get device type"

L_.str.1:                               ## @.str.1
	.asciz	"sanitize: error allocating ccb"

	.comm	_optarg,8,3                     ## @optarg
L_.str.2:                               ## @.str.2
	.asciz	"overwrite"

	.comm	_SSZ_SERVICE_ACTION_OVERWRITE,8,3 ## @SSZ_SERVICE_ACTION_OVERWRITE
L_.str.3:                               ## @.str.3
	.asciz	"block"

	.comm	_SSZ_SERVICE_ACTION_BLOCK_ERASE,8,3 ## @SSZ_SERVICE_ACTION_BLOCK_ERASE
L_.str.4:                               ## @.str.4
	.asciz	"crypto"

	.comm	_SSZ_SERVICE_ACTION_CRYPTO_ERASE,8,3 ## @SSZ_SERVICE_ACTION_CRYPTO_ERASE
L_.str.5:                               ## @.str.5
	.asciz	"exitfailure"

	.comm	_SSZ_SERVICE_ACTION_EXIT_MODE_FAILURE,8,3 ## @SSZ_SERVICE_ACTION_EXIT_MODE_FAILURE
L_.str.6:                               ## @.str.6
	.asciz	"invalid service operation \"%s\""

L_.str.7:                               ## @.str.7
	.asciz	"invalid passes value %d"

	.comm	_CC_DT_SCSI,8,3                 ## @CC_DT_SCSI
L_.str.8:                               ## @.str.8
	.asciz	"an action is required"

L_.str.9:                               ## @.str.9
	.asciz	"overwrite action requires -P argument"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.10:                              ## @.str.10
	.asciz	"cannot open pattern file %s"

L_.str.11:                              ## @.str.11
	.asciz	"cannot stat pattern file %s"

	.comm	_SSZPL_MAX_PATTERN_LENGTH,8,3   ## @SSZPL_MAX_PATTERN_LENGTH
L_.str.12:                              ## @.str.12
	.asciz	"pattern file size exceeds maximum value %d"

L_.str.13:                              ## @.str.13
	.asciz	"cannot allocate parameter list buffer"

L_.str.14:                              ## @.str.14
	.asciz	"cannot read pattern file"

L_.str.15:                              ## @.str.15
	.asciz	"short pattern file read"

	.comm	_SSZPL_INVERT,4,2               ## @SSZPL_INVERT
L_.str.16:                              ## @.str.16
	.asciz	"-c"

L_.str.17:                              ## @.str.17
	.asciz	"-I"

L_.str.18:                              ## @.str.18
	.asciz	"-P"

L_.str.19:                              ## @.str.19
	.asciz	"%s argument only valid with overwrite operation"

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

	.comm	_CC_DT_ATA,8,3                  ## @CC_DT_ATA
	.comm	_CC_DT_SATL,8,3                 ## @CC_DT_SATL
L_.str.21:                              ## @.str.21
	.asciz	"%s%d: "

L_.str.22:                              ## @.str.22
	.asciz	"sanitize: error sending inquiry"

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

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

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

	.comm	_SSZ_UNRESTRICTED_EXIT,8,3      ## @SSZ_UNRESTRICTED_EXIT
	.comm	_SSZ_IMMED,8,3                  ## @SSZ_IMMED
	.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
L_.str.26:                              ## @.str.26
	.asciz	"error sending sanitize command"

	.comm	_CAM_DIR_NONE,4,2               ## @CAM_DIR_NONE
	.comm	_AP_PROTO_NON_DATA,4,2          ## @AP_PROTO_NON_DATA
	.comm	_AP_EXTEND,4,2                  ## @AP_EXTEND
	.comm	_MSG_SIMPLE_Q_TAG,4,2           ## @MSG_SIMPLE_Q_TAG
	.comm	_ATA_SANITIZE,4,2               ## @ATA_SANITIZE
	.comm	_CAM_STATUS_MASK,4,2            ## @CAM_STATUS_MASK
	.comm	_CAM_REQ_CMP,4,2                ## @CAM_REQ_CMP
	.comm	_CAM_SCSI_STATUS_ERROR,4,2      ## @CAM_SCSI_STATUS_ERROR
	.comm	_SSD_KEY_ILLEGAL_REQUEST,4,2    ## @SSD_KEY_ILLEGAL_REQUEST
L_.str.27:                              ## @.str.27
	.asciz	"sanitize is not supported by this device"

L_.str.28:                              ## @.str.28
	.asciz	"error sanitizing this device"

	.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.29:                              ## @.str.29
	.asciz	"Sanitize Complete\n"

L_.str.30:                              ## @.str.30
	.asciz	"Sanitize Complete                      \n"

	.no_dead_strip	_sanitize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sanitize
_sanitize:                              ; @sanitize
	.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, #1168
	mov	x22, x6
	mov	x21, x5
	mov	x20, x4
	mov	x28, x3
	mov	x23, x2
	mov	x25, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	add	x4, sp, #120
	mov	w1, #-1
	mov	w2, #0
	mov	w3, #0
	bl	_get_device_type
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w8, [sp, #120]
Lloh3:
	adrp	x9, _CC_DT_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CC_DT_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, w8
	b.hs	LBB0_6
LBB0_2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
LBB0_3:
	bl	_warnx
	mov	w21, #1
LBB0_4:
	ldur	x8, [x29, #-96]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_128
; %bb.5:
	mov	x0, x21
	add	sp, sp, #1168
	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_6:
	mov	x0, x19
	bl	_cam_getccb
	cbz	x0, LBB0_27
; %bb.7:
	stp	w21, w22, [sp, #60]             ; 8-byte Folded Spill
	str	w20, [sp, #68]                  ; 4-byte Folded Spill
	stp	x19, x0, [sp, #72]              ; 16-byte Folded Spill
	bl	_CCB_CLEAR_ALL_EXCEPT_HDR
	stp	wzr, wzr, [sp, #92]             ; 8-byte Folded Spill
	mov	w26, #0
	mov	x19, #0
	mov	w21, #0
	mov	w24, #0
	mov	x27, #0
	mov	w8, #1
	stp	w8, wzr, [sp, #100]             ; 8-byte Folded Spill
Lloh11:
	adrp	x22, lJTI0_0@PAGE
Lloh12:
	add	x22, x22, lJTI0_0@PAGEOFF
Lloh13:
	adrp	x20, _optarg@GOTPAGE
Lloh14:
	ldr	x20, [x20, _optarg@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	w24, w24, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	mov	x1, x23
	mov	x2, x28
	bl	_getopt
	sub	w8, w0, #73
	cmp	w8, #48
	b.hi	LBB0_23
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	adr	x9, LBB0_8
	ldrb	w10, [x22, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	w8, #1
	str	w8, [sp, #96]                   ; 4-byte Folded Spill
	b	LBB0_9
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x19, [x20]
	b	LBB0_9
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	w8, #1
	str	w8, [sp, #92]                   ; 4-byte Folded Spill
	b	LBB0_9
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x27, [x20]
	mov	x0, x27
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcasecmp
	cbz	w0, LBB0_24
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x27
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcasecmp
	cbz	w0, LBB0_25
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x27
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcasecmp
	cbz	w0, LBB0_26
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x27
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcasecmp
	cbnz	w0, LBB0_35
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh23:
	adrp	x8, _SSZ_SERVICE_ACTION_EXIT_MODE_FAILURE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SSZ_SERVICE_ACTION_EXIT_MODE_FAILURE@GOTPAGEOFF]
Lloh25:
	ldr	x27, [x8]
	b	LBB0_9
LBB0_19:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [x20]
	mov	x1, #0
	mov	w2, #0
	bl	_strtol
	mov	x26, x0
	sub	w8, w0, #32
	cmn	w8, #32
	b.hi	LBB0_9
	b	LBB0_28
LBB0_20:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [sp, #104]                  ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp, #104]                  ; 4-byte Folded Spill
	b	LBB0_9
LBB0_21:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	w21, #1
	b	LBB0_9
LBB0_22:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #120]
Lloh26:
	adrp	x9, _CC_DT_SCSI@GOTPAGE
Lloh27:
	ldr	x9, [x9, _CC_DT_SCSI@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	ldr	w8, [sp, #100]                  ; 4-byte Folded Reload
	csel	w8, wzr, w8, eq
	str	w8, [sp, #100]                  ; 4-byte Folded Spill
	b	LBB0_9
LBB0_23:                                ;   in Loop: Header=BB0_9 Depth=1
	cmn	w0, #1
	b.ne	LBB0_9
	b	LBB0_31
LBB0_24:                                ;   in Loop: Header=BB0_9 Depth=1
Lloh29:
	adrp	x8, _SSZ_SERVICE_ACTION_OVERWRITE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SSZ_SERVICE_ACTION_OVERWRITE@GOTPAGEOFF]
Lloh31:
	ldr	x27, [x8]
	b	LBB0_9
LBB0_25:                                ;   in Loop: Header=BB0_9 Depth=1
Lloh32:
	adrp	x8, _SSZ_SERVICE_ACTION_BLOCK_ERASE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SSZ_SERVICE_ACTION_BLOCK_ERASE@GOTPAGEOFF]
Lloh34:
	ldr	x27, [x8]
	b	LBB0_9
LBB0_26:                                ;   in Loop: Header=BB0_9 Depth=1
Lloh35:
	adrp	x8, _SSZ_SERVICE_ACTION_CRYPTO_ERASE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SSZ_SERVICE_ACTION_CRYPTO_ERASE@GOTPAGEOFF]
Lloh37:
	ldr	x27, [x8]
	b	LBB0_9
LBB0_27:
Lloh38:
	adrp	x0, l_.str.1@PAGE
Lloh39:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_28:
	str	x26, [sp]
Lloh40:
	adrp	x0, l_.str.7@PAGE
Lloh41:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_29:
	bl	_warnx
	mov	w21, #1
	ldr	x20, [sp, #80]                  ; 8-byte Folded Reload
LBB0_30:
	mov	x0, x20
	bl	_cam_freeccb
	b	LBB0_4
LBB0_31:
	cbz	w21, LBB0_36
; %bb.32:
	mov	x23, #0
	mov	w22, #-1
	ldr	x20, [sp, #80]                  ; 8-byte Folded Reload
LBB0_33:
	ldr	x3, [sp, #120]
Lloh42:
	adrp	x8, _CC_DT_SCSI@GOTPAGE
Lloh43:
	ldr	x8, [x8, _CC_DT_SCSI@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	cmp	x3, x8
	ldr	w19, [sp, #104]                 ; 4-byte Folded Reload
	b.ne	LBB0_43
; %bb.34:
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	mov	x1, x20
	ldr	w2, [sp, #68]                   ; 4-byte Folded Reload
	mov	x3, x19
	bl	_sanitize_wait_scsi
	b	LBB0_45
LBB0_35:
	str	x27, [sp]
Lloh45:
	adrp	x0, l_.str.6@PAGE
Lloh46:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_29
LBB0_36:
	cbz	x27, LBB0_48
; %bb.37:
Lloh47:
	adrp	x8, _SSZ_SERVICE_ACTION_OVERWRITE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _SSZ_SERVICE_ACTION_OVERWRITE@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	cmp	x27, x8
	b.ne	LBB0_49
; %bb.38:
	cbz	x19, LBB0_51
; %bb.39:
Lloh50:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh51:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_open
	mov	x22, x0
	tbnz	w0, #31, LBB0_54
; %bb.40:
	add	x1, sp, #128
	mov	x0, x22
	bl	_fstat
	tbnz	x0, #63, LBB0_55
; %bb.41:
	ldr	x21, [sp, #128]
Lloh53:
	adrp	x8, _SSZPL_MAX_PATTERN_LENGTH@GOTPAGE
Lloh54:
	ldr	x8, [x8, _SSZPL_MAX_PATTERN_LENGTH@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
	cmp	x21, x8
	b.le	LBB0_60
; %bb.42:
	str	x8, [sp]
Lloh56:
	adrp	x0, l_.str.12@PAGE
Lloh57:
	add	x0, x0, l_.str.12@PAGEOFF
	b	LBB0_71
LBB0_43:
Lloh58:
	adrp	x8, _CC_DT_ATA@GOTPAGE
Lloh59:
	ldr	x8, [x8, _CC_DT_ATA@GOTPAGEOFF]
Lloh60:
	ldr	x8, [x8]
Lloh61:
	adrp	x9, _CC_DT_SATL@GOTPAGE
Lloh62:
	ldr	x9, [x9, _CC_DT_SATL@GOTPAGEOFF]
Lloh63:
	ldr	x9, [x9]
	cmp	x3, x8
	ccmp	x3, x9, #4, ne
	b.ne	LBB0_47
; %bb.44:
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	mov	x1, x20
	mov	x2, x19
	bl	_sanitize_wait_ata
LBB0_45:
	mov	x21, x0
	orr	w8, w0, w19
	cbnz	w8, LBB0_76
; %bb.46:
Lloh64:
	adrp	x8, _stdout@GOTPAGE
Lloh65:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh66:
	ldr	w0, [x8]
Lloh67:
	adrp	x1, l_.str.30@PAGE
Lloh68:
	add	x1, x1, l_.str.30@PAGEOFF
	bl	_fprintf
	mov	w21, #0
	b	LBB0_76
LBB0_47:
	mov	w21, #1
	b	LBB0_76
LBB0_48:
Lloh69:
	adrp	x0, l_.str.8@PAGE
Lloh70:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_29
LBB0_49:
	cbz	w26, LBB0_52
; %bb.50:
Lloh71:
	adrp	x8, l_.str.16@PAGE
Lloh72:
	add	x8, x8, l_.str.16@PAGEOFF
	b	LBB0_59
LBB0_51:
Lloh73:
	adrp	x0, l_.str.9@PAGE
Lloh74:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_warnx
	mov	x23, #0
	mov	w22, #-1
	b	LBB0_75
LBB0_52:
	ldr	w8, [sp, #96]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_57
; %bb.53:
Lloh75:
	adrp	x8, l_.str.17@PAGE
Lloh76:
	add	x8, x8, l_.str.17@PAGEOFF
	b	LBB0_59
LBB0_54:
	str	x19, [sp]
Lloh77:
	adrp	x0, l_.str.10@PAGE
Lloh78:
	add	x0, x0, l_.str.10@PAGEOFF
	b	LBB0_56
LBB0_55:
	str	x19, [sp]
Lloh79:
	adrp	x0, l_.str.11@PAGE
Lloh80:
	add	x0, x0, l_.str.11@PAGEOFF
LBB0_56:
	bl	_warn
	mov	x23, #0
	b	LBB0_75
LBB0_57:
	cbz	x19, LBB0_66
; %bb.58:
Lloh81:
	adrp	x8, l_.str.18@PAGE
Lloh82:
	add	x8, x8, l_.str.18@PAGEOFF
LBB0_59:
	str	x8, [sp]
Lloh83:
	adrp	x0, l_.str.19@PAGE
Lloh84:
	add	x0, x0, l_.str.19@PAGEOFF
	b	LBB0_29
LBB0_60:
	add	x19, x21, #8
	mov	w0, #1
	mov	x1, x19
	bl	_calloc
	cbz	x0, LBB0_70
; %bb.61:
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	add	x1, x0, #64
	mov	x0, x22
	mov	x2, x21
	bl	_read
	tbnz	x0, #63, LBB0_72
; %bb.62:
	cmp	x0, x21
	b.ne	LBB0_73
; %bb.63:
	cmp	w26, #0
	csinc	w8, w26, wzr, ne
	ldr	x10, [sp, #48]                  ; 8-byte Folded Reload
	str	w8, [x10]
	ldr	w9, [sp, #96]                   ; 4-byte Folded Reload
	cbz	w9, LBB0_65
; %bb.64:
Lloh85:
	adrp	x9, _SSZPL_INVERT@GOTPAGE
Lloh86:
	ldr	x9, [x9, _SSZPL_INVERT@GOTPAGEOFF]
Lloh87:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x10]
LBB0_65:
	ldr	w1, [x10, #4]
	mov	x0, x21
	bl	_scsi_ulto2b
	b	LBB0_67
LBB0_66:
	str	xzr, [sp, #48]                  ; 8-byte Folded Spill
	mov	w22, #-1
LBB0_67:
	ldr	w8, [sp, #104]                  ; 4-byte Folded Reload
	orr	w8, w8, w24
	cbnz	w8, LBB0_87
; %bb.68:
Lloh88:
	adrp	x8, _stdout@GOTPAGE
Lloh89:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh90:
	ldr	w0, [x8]
Lloh91:
	adrp	x1, l_.str.20@PAGE
Lloh92:
	add	x1, x1, l_.str.20@PAGEOFF
	bl	_fprintf
	ldr	x8, [sp, #120]
Lloh93:
	adrp	x9, _CC_DT_SCSI@GOTPAGE
Lloh94:
	ldr	x9, [x9, _CC_DT_SCSI@GOTPAGEOFF]
Lloh95:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_80
; %bb.69:
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	mov	x1, x25
	mov	x2, x23
	mov	x3, x28
	ldp	w6, w4, [sp, #64]               ; 8-byte Folded Reload
	ldr	w5, [sp, #60]                   ; 4-byte Folded Reload
	bl	_scsidoinquiry
	mov	x21, x0
	b	LBB0_85
LBB0_70:
Lloh96:
	adrp	x0, l_.str.13@PAGE
Lloh97:
	add	x0, x0, l_.str.13@PAGEOFF
LBB0_71:
	bl	_warnx
	mov	x23, #0
	b	LBB0_75
LBB0_72:
Lloh98:
	adrp	x0, l_.str.14@PAGE
Lloh99:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_warn
	b	LBB0_74
LBB0_73:
Lloh100:
	adrp	x0, l_.str.15@PAGE
Lloh101:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_warnx
LBB0_74:
	ldr	x23, [sp, #48]                  ; 8-byte Folded Reload
LBB0_75:
	mov	w21, #1
	ldr	x20, [sp, #80]                  ; 8-byte Folded Reload
LBB0_76:
	tbnz	w22, #31, LBB0_78
; %bb.77:
	mov	x0, x22
	bl	_close
LBB0_78:
	cbz	x23, LBB0_30
; %bb.79:
	mov	x0, x23
	bl	_free
	b	LBB0_30
LBB0_80:
Lloh102:
	adrp	x9, _CC_DT_ATA@GOTPAGE
Lloh103:
	ldr	x9, [x9, _CC_DT_ATA@GOTPAGEOFF]
Lloh104:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_83
; %bb.81:
Lloh105:
	adrp	x9, _CC_DT_SATL@GOTPAGE
Lloh106:
	ldr	x9, [x9, _CC_DT_SATL@GOTPAGEOFF]
Lloh107:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_83
; %bb.82:
	mov	w21, #1
	b	LBB0_86
LBB0_83:
	add	x4, sp, #128
	ldp	x0, x3, [sp, #72]               ; 16-byte Folded Reload
	ldp	w1, w2, [sp, #60]               ; 8-byte Folded Reload
	bl	_ata_do_identify
	mov	x21, x0
	cbnz	w0, LBB0_85
; %bb.84:
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x1, [x8]
	ldr	w2, [x8, #8]
Lloh108:
	adrp	x0, l_.str.21@PAGE
Lloh109:
	add	x0, x0, l_.str.21@PAGEOFF
	bl	_printf
	ldr	x0, [sp, #128]
	bl	_ata_print_ident
	ldr	x0, [sp, #128]
	bl	_free
LBB0_85:
	cbz	w21, LBB0_87
LBB0_86:
Lloh110:
	adrp	x0, l_.str.22@PAGE
Lloh111:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	_warnx
	b	LBB0_127
LBB0_87:
	cbnz	w24, LBB0_89
; %bb.88:
	bl	_get_confirmation
	cbz	w0, LBB0_109
LBB0_89:
	mov	w8, #10000
	mov	w9, #52096
	movk	w9, #164, lsl #16
	ldr	w10, [sp, #100]                 ; 4-byte Folded Reload
	cmp	w10, #0
	csel	w8, w9, w8, eq
	ldr	w9, [sp, #64]                   ; 4-byte Folded Reload
	cmp	w9, #0
	csel	w20, w8, w9, eq
	ldr	w8, [sp, #104]                  ; 4-byte Folded Reload
	orr	w8, w10, w8
	cbnz	w8, LBB0_91
; %bb.90:
Lloh112:
	adrp	x8, _stdout@GOTPAGE
Lloh113:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh114:
	ldr	w0, [x8]
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	smull	x8, w20, w8
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	str	x8, [sp]
Lloh115:
	adrp	x1, l_.str.23@PAGE
Lloh116:
	add	x1, x1, l_.str.23@PAGEOFF
	bl	_fprintf
LBB0_91:
	ldr	w8, [sp, #64]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_98
; %bb.92:
	ldr	w8, [sp, #100]                  ; 4-byte Folded Reload
	cbnz	w8, LBB0_98
; %bb.93:
	cbnz	w24, LBB0_98
; %bb.94:
Lloh117:
	adrp	x21, _stdout@GOTPAGE
Lloh118:
	ldr	x21, [x21, _stdout@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	smull	x8, w20, w8
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w8, w8, w9
	str	x8, [sp]
Lloh119:
	adrp	x1, l_.str.24@PAGE
Lloh120:
	add	x1, x1, l_.str.24@PAGEOFF
	bl	_fprintf
Lloh121:
	adrp	x8, _stdin@GOTPAGE
Lloh122:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh123:
	ldr	w2, [x8]
	add	x0, sp, #128
	mov	w1, #1024
	bl	_fgets
	cbz	x0, LBB0_98
; %bb.95:
	ldrb	w8, [sp, #128]
	cbz	w8, LBB0_98
; %bb.96:
	add	x0, sp, #128
	bl	_atoi
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_98
; %bb.97:
	mov	w8, #1000
	mul	w20, w0, w8
	ldr	w8, [x21]
	str	x0, [sp]
Lloh124:
	adrp	x1, l_.str.25@PAGE
Lloh125:
	add	x1, x1, l_.str.25@PAGEOFF
	mov	x0, x8
	bl	_fprintf
LBB0_98:
	ldr	x8, [sp, #120]
Lloh126:
	adrp	x9, _CC_DT_SCSI@GOTPAGE
Lloh127:
	ldr	x9, [x9, _CC_DT_SCSI@GOTPAGEOFF]
Lloh128:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_103
; %bb.99:
Lloh129:
	adrp	x8, _SSZ_UNRESTRICTED_EXIT@GOTPAGE
Lloh130:
	ldr	x8, [x8, _SSZ_UNRESTRICTED_EXIT@GOTPAGEOFF]
Lloh131:
	ldr	x8, [x8]
	ldr	w9, [sp, #92]                   ; 4-byte Folded Reload
	cmp	w9, #0
	csel	x8, xzr, x8, eq
	orr	x8, x8, x27
Lloh132:
	adrp	x9, _SSZ_IMMED@GOTPAGE
Lloh133:
	ldr	x9, [x9, _SSZ_IMMED@GOTPAGEOFF]
Lloh134:
	ldr	x9, [x9]
	ldr	w10, [sp, #100]                 ; 4-byte Folded Reload
	cmp	w10, #0
	csel	x9, xzr, x9, eq
	orr	x4, x8, x9
Lloh135:
	adrp	x8, _SSD_FULL_SIZE@GOTPAGE
Lloh136:
	ldr	x8, [x8, _SSD_FULL_SIZE@GOTPAGEOFF]
Lloh137:
	ldr	w8, [x8]
	stp	w8, w20, [sp]
	ldr	x20, [sp, #80]                  ; 8-byte Folded Reload
	mov	x0, x20
	ldr	w1, [sp, #60]                   ; 4-byte Folded Reload
	mov	x2, #0
	ldr	w3, [sp, #68]                   ; 4-byte Folded Reload
	mov	w5, #0
	ldr	x6, [sp, #48]                   ; 8-byte Folded Reload
	mov	x7, x19
	bl	_scsi_sanitize
Lloh138:
	adrp	x8, _CAM_DEV_QFRZDIS@GOTPAGE
Lloh139:
	ldr	x8, [x8, _CAM_DEV_QFRZDIS@GOTPAGEOFF]
Lloh140:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
Lloh141:
	adrp	x9, _arglist@GOTPAGE
Lloh142:
	ldr	x9, [x9, _arglist@GOTPAGEOFF]
	str	w8, [x20, #4]
Lloh143:
	ldr	w9, [x9]
Lloh144:
	adrp	x10, _CAM_ARG_ERR_RECOVER@GOTPAGE
Lloh145:
	ldr	x10, [x10, _CAM_ARG_ERR_RECOVER@GOTPAGEOFF]
Lloh146:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_101
; %bb.100:
Lloh147:
	adrp	x9, _CAM_PASS_ERR_RECOVER@GOTPAGE
Lloh148:
	ldr	x9, [x9, _CAM_PASS_ERR_RECOVER@GOTPAGEOFF]
Lloh149:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20, #4]
LBB0_101:
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	mov	x1, x20
	bl	_cam_send_ccb
	tbnz	x0, #63, LBB0_108
; %bb.102:
	mov	w21, #0
	b	LBB0_117
LBB0_103:
Lloh150:
	adrp	x9, _CC_DT_ATA@GOTPAGE
Lloh151:
	ldr	x9, [x9, _CC_DT_ATA@GOTPAGEOFF]
Lloh152:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_106
; %bb.104:
Lloh153:
	adrp	x9, _CC_DT_SATL@GOTPAGE
Lloh154:
	ldr	x9, [x9, _CC_DT_SATL@GOTPAGEOFF]
Lloh155:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_106
; %bb.105:
	mov	w21, #0
	ldr	x20, [sp, #80]                  ; 8-byte Folded Reload
	b	LBB0_117
LBB0_106:
Lloh156:
	adrp	x8, _SSZ_SERVICE_ACTION_OVERWRITE@GOTPAGE
Lloh157:
	ldr	x8, [x8, _SSZ_SERVICE_ACTION_OVERWRITE@GOTPAGEOFF]
Lloh158:
	ldr	x8, [x8]
	cmp	x27, x8
	b.ne	LBB0_110
; %bb.107:
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x0, x8, #32
	bl	_scsi_4btoul
	cmp	w26, #15
	csel	w8, wzr, w26, gt
	cmp	w26, #0
	csinc	w8, w8, wzr, ne
	orr	w9, w8, #0x80
	ldr	w10, [sp, #96]                  ; 4-byte Folded Reload
	cmp	w10, #0
	csel	w8, w8, w9, eq
	orr	w9, w8, #0x10
	ldr	w10, [sp, #92]                  ; 4-byte Folded Reload
	cmp	w10, #0
	csel	w21, w8, w9, eq
	mov	w8, #20
	b	LBB0_116
LBB0_108:
Lloh159:
	adrp	x0, l_.str.26@PAGE
Lloh160:
	add	x0, x0, l_.str.26@PAGEOFF
	bl	_warn
	b	LBB0_124
LBB0_109:
	mov	w21, #1
	b	LBB0_127
LBB0_110:
Lloh161:
	adrp	x8, _SSZ_SERVICE_ACTION_BLOCK_ERASE@GOTPAGE
Lloh162:
	ldr	x8, [x8, _SSZ_SERVICE_ACTION_BLOCK_ERASE@GOTPAGEOFF]
Lloh163:
	ldr	x8, [x8]
	cmp	x27, x8
	b.ne	LBB0_112
; %bb.111:
	ldr	w8, [sp, #92]                   ; 4-byte Folded Reload
	cmp	w8, #0
	cset	w8, ne
	lsl	w21, w8, #4
	mov	w0, #17778
	movk	w0, #17003, lsl #16
	mov	w8, #18
	b	LBB0_116
LBB0_112:
Lloh164:
	adrp	x8, _SSZ_SERVICE_ACTION_CRYPTO_ERASE@GOTPAGE
Lloh165:
	ldr	x8, [x8, _SSZ_SERVICE_ACTION_CRYPTO_ERASE@GOTPAGEOFF]
Lloh166:
	ldr	x8, [x8]
	cmp	x27, x8
	b.ne	LBB0_114
; %bb.113:
	ldr	w8, [sp, #92]                   ; 4-byte Folded Reload
	cmp	w8, #0
	cset	w8, ne
	lsl	w21, w8, #4
	mov	w0, #31088
	movk	w0, #17266, lsl #16
	mov	w8, #17
	b	LBB0_116
LBB0_114:
Lloh167:
	adrp	x8, _SSZ_SERVICE_ACTION_EXIT_MODE_FAILURE@GOTPAGE
Lloh168:
	ldr	x8, [x8, _SSZ_SERVICE_ACTION_EXIT_MODE_FAILURE@GOTPAGEOFF]
Lloh169:
	ldr	x8, [x8]
	mov	w21, #1
	cmp	x27, x8
	b.ne	LBB0_127
; %bb.115:
	mov	w8, #0
	mov	w0, #0
LBB0_116:
Lloh170:
	adrp	x9, _CAM_DIR_NONE@GOTPAGE
Lloh171:
	ldr	x9, [x9, _CAM_DIR_NONE@GOTPAGEOFF]
Lloh172:
	adrp	x10, _AP_PROTO_NON_DATA@GOTPAGE
Lloh173:
	ldr	x10, [x10, _AP_PROTO_NON_DATA@GOTPAGEOFF]
Lloh174:
	ldr	w3, [x9]
Lloh175:
	ldr	w9, [x10]
Lloh176:
	adrp	x10, _AP_EXTEND@GOTPAGE
Lloh177:
	ldr	x10, [x10, _AP_EXTEND@GOTPAGEOFF]
Lloh178:
	ldr	w10, [x10]
	orr	w4, w10, w9
Lloh179:
	adrp	x9, _MSG_SIMPLE_Q_TAG@GOTPAGE
Lloh180:
	ldr	x9, [x9, _MSG_SIMPLE_Q_TAG@GOTPAGEOFF]
Lloh181:
	ldr	w6, [x9]
Lloh182:
	adrp	x9, _ATA_SANITIZE@GOTPAGE
Lloh183:
	ldr	x9, [x9, _ATA_SANITIZE@GOTPAGEOFF]
Lloh184:
	ldr	w7, [x9]
	mov	w9, #1
	stp	w20, w9, [sp, #28]
	str	wzr, [sp, #24]
	str	xzr, [sp, #16]
	stp	w0, w21, [sp, #4]
	str	w8, [sp]
	ldp	x0, x20, [sp, #72]              ; 16-byte Folded Reload
	mov	x1, x20
	ldr	w2, [sp, #60]                   ; 4-byte Folded Reload
	mov	w5, #0
	bl	_ata_do_cmd
	mov	x21, x0
LBB0_117:
	ldr	w8, [x20]
Lloh185:
	adrp	x9, _CAM_STATUS_MASK@GOTPAGE
Lloh186:
	ldr	x9, [x9, _CAM_STATUS_MASK@GOTPAGEOFF]
Lloh187:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh188:
	adrp	x9, _CAM_REQ_CMP@GOTPAGE
Lloh189:
	ldr	x9, [x9, _CAM_REQ_CMP@GOTPAGEOFF]
Lloh190:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_120
; %bb.118:
	ldr	w8, [sp, #100]                  ; 4-byte Folded Reload
	cbz	w8, LBB0_125
; %bb.119:
	ldr	x20, [sp, #80]                  ; 8-byte Folded Reload
	ldr	x23, [sp, #48]                  ; 8-byte Folded Reload
	b	LBB0_33
LBB0_120:
Lloh191:
	adrp	x9, _CAM_SCSI_STATUS_ERROR@GOTPAGE
Lloh192:
	ldr	x9, [x9, _CAM_SCSI_STATUS_ERROR@GOTPAGEOFF]
Lloh193:
	ldr	w9, [x9]
Lloh194:
	adrp	x19, l_.str.28@PAGE
Lloh195:
	add	x19, x19, l_.str.28@PAGEOFF
	cmp	w8, w9
	b.ne	LBB0_122
; %bb.121:
	add	x0, x20, #16
	ldp	x9, x8, [x20]
	sub	x1, x8, x9
	add	x2, sp, #128
	add	x3, sp, #116
	add	x4, sp, #112
	add	x5, sp, #108
	mov	w6, #1
	bl	_scsi_extract_sense_len
	ldp	w10, w8, [sp, #112]
Lloh196:
	adrp	x9, _SSD_KEY_ILLEGAL_REQUEST@GOTPAGE
Lloh197:
	ldr	x9, [x9, _SSD_KEY_ILLEGAL_REQUEST@GOTPAGEOFF]
Lloh198:
	ldr	w9, [x9]
	ldr	w11, [sp, #108]
	cmp	w11, #0
	mov	w11, #32
	ccmp	w10, w11, #0, eq
	ccmp	w8, w9, #0, eq
Lloh199:
	adrp	x8, l_.str.27@PAGE
Lloh200:
	add	x8, x8, l_.str.27@PAGEOFF
	csel	x19, x8, x19, eq
LBB0_122:
	mov	x0, x19
	bl	_warnx
Lloh201:
	adrp	x8, _arglist@GOTPAGE
Lloh202:
	ldr	x8, [x8, _arglist@GOTPAGEOFF]
Lloh203:
	ldr	w8, [x8]
Lloh204:
	adrp	x9, _CAM_ARG_VERBOSE@GOTPAGE
Lloh205:
	ldr	x9, [x9, _CAM_ARG_VERBOSE@GOTPAGEOFF]
Lloh206:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_124
; %bb.123:
Lloh207:
	adrp	x8, _CAM_ESF_ALL@GOTPAGE
Lloh208:
	ldr	x8, [x8, _CAM_ESF_ALL@GOTPAGEOFF]
Lloh209:
	ldr	w2, [x8]
Lloh210:
	adrp	x8, _CAM_EPF_ALL@GOTPAGE
Lloh211:
	ldr	x8, [x8, _CAM_EPF_ALL@GOTPAGEOFF]
Lloh212:
	ldr	w3, [x8]
Lloh213:
	adrp	x8, _stderr@GOTPAGE
Lloh214:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh215:
	ldr	w4, [x8]
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	mov	x1, x20
	bl	_cam_error_print
LBB0_124:
	mov	w21, #1
	ldr	x23, [sp, #48]                  ; 8-byte Folded Reload
	b	LBB0_76
LBB0_125:
	ldr	w8, [sp, #104]                  ; 4-byte Folded Reload
	cbnz	w8, LBB0_127
; %bb.126:
Lloh216:
	adrp	x8, _stdout@GOTPAGE
Lloh217:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh218:
	ldr	w0, [x8]
Lloh219:
	adrp	x1, l_.str.29@PAGE
Lloh220:
	add	x1, x1, l_.str.29@PAGEOFF
	bl	_fprintf
LBB0_127:
	ldr	x20, [sp, #80]                  ; 8-byte Folded Reload
	ldr	x23, [sp, #48]                  ; 8-byte Folded Reload
	b	LBB0_76
LBB0_128:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpAdd	Lloh98, Lloh99
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpAdd	Lloh108, Lloh109
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpAdd	Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpAdd	Lloh119, Lloh120
	.loh AdrpLdrGot	Lloh117, Lloh118
	.loh AdrpAdd	Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh126, Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh144, Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh141, Lloh142, Lloh143
	.loh AdrpLdrGotLdr	Lloh138, Lloh139, Lloh140
	.loh AdrpLdrGotLdr	Lloh135, Lloh136, Lloh137
	.loh AdrpLdrGotLdr	Lloh132, Lloh133, Lloh134
	.loh AdrpLdrGotLdr	Lloh129, Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh147, Lloh148, Lloh149
	.loh AdrpLdrGotLdr	Lloh150, Lloh151, Lloh152
	.loh AdrpLdrGotLdr	Lloh153, Lloh154, Lloh155
	.loh AdrpLdrGotLdr	Lloh156, Lloh157, Lloh158
	.loh AdrpAdd	Lloh159, Lloh160
	.loh AdrpLdrGotLdr	Lloh161, Lloh162, Lloh163
	.loh AdrpLdrGotLdr	Lloh164, Lloh165, Lloh166
	.loh AdrpLdrGotLdr	Lloh167, Lloh168, Lloh169
	.loh AdrpLdrGotLdr	Lloh182, Lloh183, Lloh184
	.loh AdrpLdrGotLdr	Lloh179, Lloh180, Lloh181
	.loh AdrpLdrGotLdr	Lloh176, Lloh177, Lloh178
	.loh AdrpLdrGotLdr	Lloh172, Lloh173, Lloh175
	.loh AdrpLdrGotLdr	Lloh170, Lloh171, Lloh174
	.loh AdrpLdrGotLdr	Lloh188, Lloh189, Lloh190
	.loh AdrpLdrGotLdr	Lloh185, Lloh186, Lloh187
	.loh AdrpAdd	Lloh194, Lloh195
	.loh AdrpLdrGotLdr	Lloh191, Lloh192, Lloh193
	.loh AdrpAdd	Lloh199, Lloh200
	.loh AdrpLdrGotLdr	Lloh196, Lloh197, Lloh198
	.loh AdrpLdrGotLdr	Lloh204, Lloh205, Lloh206
	.loh AdrpLdrGotLdr	Lloh201, Lloh202, Lloh203
	.loh AdrpLdrGotLdr	Lloh213, Lloh214, Lloh215
	.loh AdrpLdrGotLdr	Lloh210, Lloh211, Lloh212
	.loh AdrpLdrGotLdr	Lloh207, Lloh208, Lloh209
	.loh AdrpAdd	Lloh219, Lloh220
	.loh AdrpLdrGotLdr	Lloh216, Lloh217, Lloh218
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_12-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_14-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_19-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_20-LBB0_8)>>2
	.byte	(LBB0_21-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_22-LBB0_8)>>2
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
                                        ; -- End function
	.comm	_CC_DT_UNKNOWN,4,2              ; @CC_DT_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sanitize: can't get device type"

l_.str.1:                               ; @.str.1
	.asciz	"sanitize: error allocating ccb"

	.comm	_optarg,8,3                     ; @optarg
l_.str.2:                               ; @.str.2
	.asciz	"overwrite"

	.comm	_SSZ_SERVICE_ACTION_OVERWRITE,8,3 ; @SSZ_SERVICE_ACTION_OVERWRITE
l_.str.3:                               ; @.str.3
	.asciz	"block"

	.comm	_SSZ_SERVICE_ACTION_BLOCK_ERASE,8,3 ; @SSZ_SERVICE_ACTION_BLOCK_ERASE
l_.str.4:                               ; @.str.4
	.asciz	"crypto"

	.comm	_SSZ_SERVICE_ACTION_CRYPTO_ERASE,8,3 ; @SSZ_SERVICE_ACTION_CRYPTO_ERASE
l_.str.5:                               ; @.str.5
	.asciz	"exitfailure"

	.comm	_SSZ_SERVICE_ACTION_EXIT_MODE_FAILURE,8,3 ; @SSZ_SERVICE_ACTION_EXIT_MODE_FAILURE
l_.str.6:                               ; @.str.6
	.asciz	"invalid service operation \"%s\""

l_.str.7:                               ; @.str.7
	.asciz	"invalid passes value %d"

	.comm	_CC_DT_SCSI,8,3                 ; @CC_DT_SCSI
l_.str.8:                               ; @.str.8
	.asciz	"an action is required"

l_.str.9:                               ; @.str.9
	.asciz	"overwrite action requires -P argument"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.10:                              ; @.str.10
	.asciz	"cannot open pattern file %s"

l_.str.11:                              ; @.str.11
	.asciz	"cannot stat pattern file %s"

	.comm	_SSZPL_MAX_PATTERN_LENGTH,8,3   ; @SSZPL_MAX_PATTERN_LENGTH
l_.str.12:                              ; @.str.12
	.asciz	"pattern file size exceeds maximum value %d"

l_.str.13:                              ; @.str.13
	.asciz	"cannot allocate parameter list buffer"

l_.str.14:                              ; @.str.14
	.asciz	"cannot read pattern file"

l_.str.15:                              ; @.str.15
	.asciz	"short pattern file read"

	.comm	_SSZPL_INVERT,4,2               ; @SSZPL_INVERT
l_.str.16:                              ; @.str.16
	.asciz	"-c"

l_.str.17:                              ; @.str.17
	.asciz	"-I"

l_.str.18:                              ; @.str.18
	.asciz	"-P"

l_.str.19:                              ; @.str.19
	.asciz	"%s argument only valid with overwrite operation"

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

	.comm	_CC_DT_ATA,8,3                  ; @CC_DT_ATA
	.comm	_CC_DT_SATL,8,3                 ; @CC_DT_SATL
l_.str.21:                              ; @.str.21
	.asciz	"%s%d: "

l_.str.22:                              ; @.str.22
	.asciz	"sanitize: error sending inquiry"

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

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

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

	.comm	_SSZ_UNRESTRICTED_EXIT,8,3      ; @SSZ_UNRESTRICTED_EXIT
	.comm	_SSZ_IMMED,8,3                  ; @SSZ_IMMED
	.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
l_.str.26:                              ; @.str.26
	.asciz	"error sending sanitize command"

	.comm	_CAM_DIR_NONE,4,2               ; @CAM_DIR_NONE
	.comm	_AP_PROTO_NON_DATA,4,2          ; @AP_PROTO_NON_DATA
	.comm	_AP_EXTEND,4,2                  ; @AP_EXTEND
	.comm	_MSG_SIMPLE_Q_TAG,4,2           ; @MSG_SIMPLE_Q_TAG
	.comm	_ATA_SANITIZE,4,2               ; @ATA_SANITIZE
	.comm	_CAM_STATUS_MASK,4,2            ; @CAM_STATUS_MASK
	.comm	_CAM_REQ_CMP,4,2                ; @CAM_REQ_CMP
	.comm	_CAM_SCSI_STATUS_ERROR,4,2      ; @CAM_SCSI_STATUS_ERROR
	.comm	_SSD_KEY_ILLEGAL_REQUEST,4,2    ; @SSD_KEY_ILLEGAL_REQUEST
l_.str.27:                              ; @.str.27
	.asciz	"sanitize is not supported by this device"

l_.str.28:                              ; @.str.28
	.asciz	"error sanitizing this device"

	.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.29:                              ; @.str.29
	.asciz	"Sanitize Complete\n"

l_.str.30:                              ; @.str.30
	.asciz	"Sanitize Complete                      \n"

	.no_dead_strip	_sanitize
.subsections_via_symbols
