	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function format
_format:                                ## @format
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	%esi, %edi
	movq	%rdx, %rsi
	movq	%r15, %rdx
	callq	_arg_parse
	testq	%rax, %rax
	je	LBB0_1
## %bb.38:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_opt@GOTPCREL(%rip), %r13
	movq	32(%r13), %rax
	movl	(%r13), %ecx
	movl	4(%r13), %r12d
	movq	_SES_NONE@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	cmpl	(%rsi), %r12d
	leal	(%rcx,%rax), %esi
	setne	%dl
	addl	%esi, %edx
	cmpl	$2, %edx
	jl	LBB0_3
## %bb.2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_arg_help
	movq	32(%r13), %rax
	movl	(%r13), %ecx
	movl	4(%r13), %r12d
LBB0_3:
	movq	_SES_CRYPTO@GOTPCREL(%rip), %r14
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.4:
	movl	(%r14), %r12d
LBB0_5:
	movq	8(%r13), %rdi
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_SES_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_7:
	movl	16(%r13), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	20(%r13), %ebx
	movl	24(%r13), %r15d
	movl	28(%r13), %r13d
	leaq	-44(%rbp), %rsi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_open_dev
	movl	-44(%rbp), %edi
	leaq	-88(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_get_nsid
	cmpq	$0, -56(%rbp)
	jne	LBB0_9
## %bb.8:
	movq	_NVME_GLOBAL_NAMESPACE_TAG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	jmp	LBB0_10
LBB0_9:
	movl	-44(%rbp), %edi
	callq	_close
	movq	-88(%rbp), %rdi
	leaq	-44(%rbp), %rsi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_open_dev
LBB0_10:
	movq	-88(%rbp), %rdi
	callq	_free
	movl	-44(%rbp), %edi
	leaq	-64(%rbp), %rsi
	callq	_read_controller_data
	movl	-64(%rbp), %eax
	movq	_NVME_CTRLR_DATA_OACS_FORMAT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	_NVME_CTRLR_DATA_OACS_FORMAT_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_12:
	movl	-60(%rbp), %eax
	movq	_NVME_CTRLR_DATA_FNA_CRYPTO_ERASE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	_NVME_CTRLR_DATA_FNA_CRYPTO_ERASE_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_15
## %bb.13:
	cmpl	(%r14), %r12d
	jne	LBB0_15
## %bb.14:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_15:
	movq	-56(%rbp), %rax
	movq	_NVME_GLOBAL_NAMESPACE_TAG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.32:
	xorl	%eax, %eax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	cmovlel	%eax, %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	cmovlel	%eax, %ebx
	testl	%r15d, %r15d
	cmovlel	%eax, %r15d
	testl	%r13d, %r13d
	cmovlel	%eax, %r13d
	jmp	LBB0_33
LBB0_16:
	movl	-60(%rbp), %eax
	movq	_NVME_CTRLR_DATA_FNA_FORMAT_ALL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %esi
	sarl	%cl, %esi
	movq	_NVME_CTRLR_DATA_FNA_FORMAT_ALL_MASK@GOTPCREL(%rip), %rcx
	movq	_SES_NONE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%esi, (%rcx)
	je	LBB0_19
## %bb.17:
	cmpl	%edx, %r12d
	jne	LBB0_19
## %bb.18:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	movl	-60(%rbp), %eax
	movq	_SES_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_19:
	movq	_NVME_CTRLR_DATA_FNA_ERASE_ALL_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	movq	_NVME_CTRLR_DATA_FNA_ERASE_ALL_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_22
## %bb.20:
	cmpl	%edx, %r12d
	je	LBB0_22
## %bb.21:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_22:
	movl	-44(%rbp), %edi
	movq	-56(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	callq	_read_namespace_data
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jns	LBB0_24
## %bb.23:
	movl	-80(%rbp), %edx
	movq	_NVME_NS_DATA_FLBAS_FORMAT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edx
	movq	_NVME_NS_DATA_FLBAS_FORMAT_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
LBB0_24:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	cmpl	-76(%rbp), %eax
	jg	LBB0_25
## %bb.26:
	testl	%ebx, %ebx
	js	LBB0_27
LBB0_28:
	testl	%r15d, %r15d
	js	LBB0_29
LBB0_30:
	testl	%r13d, %r13d
	jns	LBB0_33
LBB0_31:
	movl	-72(%rbp), %r13d
	movq	_NVME_NS_DATA_DPS_PIT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r13d
	movq	_NVME_NS_DATA_DPS_PIT_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r13d
LBB0_33:
	leaq	-120(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_NVME_OPC_FORMAT_NVM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movl	-56(%rbp), %edi
	callq	_htole32
	movq	%rax, -104(%rbp)
	shll	$9, %r12d
	addl	-48(%rbp), %r12d                ## 4-byte Folded Reload
	shll	$8, %r13d
	shll	$5, %r15d
	shll	$4, %ebx
	addl	%r12d, %ebx
	addl	%r15d, %ebx
	addl	%r13d, %ebx
	movl	%ebx, %edi
	callq	_htole32
	movq	%rax, -112(%rbp)
	movl	-44(%rbp), %edi
	movq	_NVME_PASSTHROUGH_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_ioctl
	testq	%rax, %rax
	jns	LBB0_35
## %bb.34:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_35:
	leaq	-120(%rbp), %rdi
	callq	_nvme_completion_is_error
	testq	%rax, %rax
	je	LBB0_37
## %bb.36:
	leaq	L_.str.7(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_37:
	movl	-44(%rbp), %edi
	callq	_close
	xorl	%edi, %edi
	callq	_exit
LBB0_25:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	testl	%ebx, %ebx
	jns	LBB0_28
LBB0_27:
	movl	-80(%rbp), %ebx
	movq	_NVME_NS_DATA_FLBAS_EXTENDED_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %ebx
	movq	_NVME_NS_DATA_FLBAS_EXTENDED_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	testl	%r15d, %r15d
	jns	LBB0_30
LBB0_29:
	movl	-72(%rbp), %r15d
	movq	_NVME_NS_DATA_DPS_MD_START_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %r15d
	movq	_NVME_NS_DATA_DPS_MD_START_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	testl	%r13d, %r13d
	js	LBB0_31
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_opt,40,3                       ## @opt
	.comm	_SES_NONE,4,2                   ## @SES_NONE
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Only one of -E, -C or -s may be specified\n"

	.comm	_SES_USER,4,2                   ## @SES_USER
	.comm	_SES_CRYPTO,4,2                 ## @SES_CRYPTO
	.comm	_NVME_GLOBAL_NAMESPACE_TAG,8,3  ## @NVME_GLOBAL_NAMESPACE_TAG
	.comm	_NVME_CTRLR_DATA_OACS_FORMAT_SHIFT,4,2 ## @NVME_CTRLR_DATA_OACS_FORMAT_SHIFT
	.comm	_NVME_CTRLR_DATA_OACS_FORMAT_MASK,4,2 ## @NVME_CTRLR_DATA_OACS_FORMAT_MASK
L_.str.1:                               ## @.str.1
	.asciz	"controller does not support format"

	.comm	_NVME_CTRLR_DATA_FNA_CRYPTO_ERASE_SHIFT,4,2 ## @NVME_CTRLR_DATA_FNA_CRYPTO_ERASE_SHIFT
	.comm	_NVME_CTRLR_DATA_FNA_CRYPTO_ERASE_MASK,4,2 ## @NVME_CTRLR_DATA_FNA_CRYPTO_ERASE_MASK
L_.str.2:                               ## @.str.2
	.asciz	"controller does not support cryptographic erase"

	.comm	_NVME_CTRLR_DATA_FNA_FORMAT_ALL_SHIFT,4,2 ## @NVME_CTRLR_DATA_FNA_FORMAT_ALL_SHIFT
	.comm	_NVME_CTRLR_DATA_FNA_FORMAT_ALL_MASK,4,2 ## @NVME_CTRLR_DATA_FNA_FORMAT_ALL_MASK
L_.str.3:                               ## @.str.3
	.asciz	"controller does not support per-NS format"

	.comm	_NVME_CTRLR_DATA_FNA_ERASE_ALL_SHIFT,4,2 ## @NVME_CTRLR_DATA_FNA_ERASE_ALL_SHIFT
	.comm	_NVME_CTRLR_DATA_FNA_ERASE_ALL_MASK,4,2 ## @NVME_CTRLR_DATA_FNA_ERASE_ALL_MASK
L_.str.4:                               ## @.str.4
	.asciz	"controller does not support per-NS erase"

	.comm	_NVME_NS_DATA_FLBAS_FORMAT_SHIFT,4,2 ## @NVME_NS_DATA_FLBAS_FORMAT_SHIFT
	.comm	_NVME_NS_DATA_FLBAS_FORMAT_MASK,4,2 ## @NVME_NS_DATA_FLBAS_FORMAT_MASK
L_.str.5:                               ## @.str.5
	.asciz	"LBA format is out of range"

	.comm	_NVME_NS_DATA_FLBAS_EXTENDED_SHIFT,4,2 ## @NVME_NS_DATA_FLBAS_EXTENDED_SHIFT
	.comm	_NVME_NS_DATA_FLBAS_EXTENDED_MASK,4,2 ## @NVME_NS_DATA_FLBAS_EXTENDED_MASK
	.comm	_NVME_NS_DATA_DPS_MD_START_SHIFT,4,2 ## @NVME_NS_DATA_DPS_MD_START_SHIFT
	.comm	_NVME_NS_DATA_DPS_MD_START_MASK,4,2 ## @NVME_NS_DATA_DPS_MD_START_MASK
	.comm	_NVME_NS_DATA_DPS_PIT_SHIFT,4,2 ## @NVME_NS_DATA_DPS_PIT_SHIFT
	.comm	_NVME_NS_DATA_DPS_PIT_MASK,4,2  ## @NVME_NS_DATA_DPS_PIT_MASK
	.comm	_NVME_OPC_FORMAT_NVM,4,2        ## @NVME_OPC_FORMAT_NVM
	.comm	_NVME_PASSTHROUGH_CMD,4,2       ## @NVME_PASSTHROUGH_CMD
L_.str.6:                               ## @.str.6
	.asciz	"format request failed"

L_.str.7:                               ## @.str.7
	.asciz	"format request returned error"

	.no_dead_strip	_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function format
_format:                                ; @format
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	mov	x1, x2
	mov	x2, x20
	bl	_arg_parse
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_2:
Lloh0:
	adrp	x22, _opt@GOTPAGE
Lloh1:
	ldr	x22, [x22, _opt@GOTPAGEOFF]
	ldr	x8, [x22, #32]
	ldp	w9, w10, [x22]
	add	w11, w9, w8
Lloh2:
	adrp	x24, _SES_NONE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _SES_NONE@GOTPAGEOFF]
	ldr	w12, [x24]
	cmp	w10, w12
	cinc	w11, w11, ne
	cmp	w11, #2
	b.lt	LBB0_4
; %bb.3:
Lloh4:
	adrp	x8, _stderr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_arg_help
	ldr	x8, [x22, #32]
	ldp	w9, w10, [x22]
LBB0_4:
	ldr	x0, [x22, #8]
	ldp	w19, w20, [x22, #16]
	ldp	w21, w22, [x22, #24]
Lloh9:
	adrp	x25, _SES_CRYPTO@GOTPAGE
Lloh10:
	ldr	x25, [x25, _SES_CRYPTO@GOTPAGEOFF]
	ldr	w11, [x25]
	cmp	w9, #0
	csel	w9, w10, w11, eq
Lloh11:
	adrp	x10, _SES_USER@GOTPAGE
Lloh12:
	ldr	x10, [x10, _SES_USER@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	cmp	x8, #0
	csel	w23, w9, w10, eq
	add	x1, sp, #4
	mov	w2, #1
	mov	w3, #1
	bl	_open_dev
	ldr	w0, [sp, #4]
	add	x1, sp, #16
	add	x2, sp, #8
	bl	_get_nsid
	ldr	x8, [sp, #8]
Lloh14:
	adrp	x26, _NVME_GLOBAL_NAMESPACE_TAG@GOTPAGE
Lloh15:
	ldr	x26, [x26, _NVME_GLOBAL_NAMESPACE_TAG@GOTPAGEOFF]
	cbnz	x8, LBB0_6
; %bb.5:
	ldr	x8, [x26]
	str	x8, [sp, #8]
	b	LBB0_7
LBB0_6:
	ldr	w0, [sp, #4]
	bl	_close
	ldr	x0, [sp, #16]
	add	x1, sp, #4
	mov	w2, #1
	mov	w3, #1
	bl	_open_dev
LBB0_7:
	ldr	x0, [sp, #16]
	bl	_free
	ldr	w0, [sp, #4]
	add	x1, sp, #72
	bl	_read_controller_data
	ldr	w8, [sp, #72]
Lloh16:
	adrp	x9, _NVME_CTRLR_DATA_OACS_FORMAT_SHIFT@GOTPAGE
Lloh17:
	ldr	x9, [x9, _NVME_CTRLR_DATA_OACS_FORMAT_SHIFT@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh19:
	adrp	x9, _NVME_CTRLR_DATA_OACS_FORMAT_MASK@GOTPAGE
Lloh20:
	ldr	x9, [x9, _NVME_CTRLR_DATA_OACS_FORMAT_MASK@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w8, w9
	b.ne	LBB0_9
; %bb.8:
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_9:
	ldr	w8, [sp, #76]
Lloh24:
	adrp	x9, _NVME_CTRLR_DATA_FNA_CRYPTO_ERASE_SHIFT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _NVME_CTRLR_DATA_FNA_CRYPTO_ERASE_SHIFT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh27:
	adrp	x9, _NVME_CTRLR_DATA_FNA_CRYPTO_ERASE_MASK@GOTPAGE
Lloh28:
	ldr	x9, [x9, _NVME_CTRLR_DATA_FNA_CRYPTO_ERASE_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w8, w9
	b.ne	LBB0_12
; %bb.10:
	ldr	w8, [x25]
	cmp	w23, w8
	b.ne	LBB0_12
; %bb.11:
Lloh30:
	adrp	x1, l_.str.2@PAGE
Lloh31:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_12:
	ldr	x8, [sp, #8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.13:
	cmp	w19, #0
	csel	w19, w19, wzr, gt
	cmp	w20, #0
	csel	w20, w20, wzr, gt
	cmp	w21, #0
	csel	w21, w21, wzr, gt
	cmp	w22, #0
	csel	w22, w22, wzr, gt
	b	LBB0_27
LBB0_14:
	ldr	w8, [sp, #76]
Lloh32:
	adrp	x9, _NVME_CTRLR_DATA_FNA_FORMAT_ALL_SHIFT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _NVME_CTRLR_DATA_FNA_FORMAT_ALL_SHIFT@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	asr	w10, w8, w9
Lloh35:
	adrp	x9, _NVME_CTRLR_DATA_FNA_FORMAT_ALL_MASK@GOTPAGE
Lloh36:
	ldr	x9, [x9, _NVME_CTRLR_DATA_FNA_FORMAT_ALL_MASK@GOTPAGEOFF]
Lloh37:
	ldr	w11, [x9]
	ldr	w9, [x24]
	tst	w10, w11
	b.eq	LBB0_17
; %bb.15:
	cmp	w23, w9
	b.ne	LBB0_17
; %bb.16:
Lloh38:
	adrp	x1, l_.str.3@PAGE
Lloh39:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	w8, [sp, #76]
	ldr	w9, [x24]
LBB0_17:
Lloh40:
	adrp	x10, _NVME_CTRLR_DATA_FNA_ERASE_ALL_SHIFT@GOTPAGE
Lloh41:
	ldr	x10, [x10, _NVME_CTRLR_DATA_FNA_ERASE_ALL_SHIFT@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
	asr	w8, w8, w10
Lloh43:
	adrp	x10, _NVME_CTRLR_DATA_FNA_ERASE_ALL_MASK@GOTPAGE
Lloh44:
	ldr	x10, [x10, _NVME_CTRLR_DATA_FNA_ERASE_ALL_MASK@GOTPAGEOFF]
Lloh45:
	ldr	w10, [x10]
	tst	w8, w10
	b.eq	LBB0_20
; %bb.18:
	cmp	w23, w9
	b.eq	LBB0_20
; %bb.19:
Lloh46:
	adrp	x1, l_.str.4@PAGE
Lloh47:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_20:
	ldr	w0, [sp, #4]
	ldr	x1, [sp, #8]
	add	x2, sp, #56
	bl	_read_namespace_data
	tbz	w19, #31, LBB0_22
; %bb.21:
	ldr	w8, [sp, #56]
Lloh48:
	adrp	x9, _NVME_NS_DATA_FLBAS_FORMAT_SHIFT@GOTPAGE
Lloh49:
	ldr	x9, [x9, _NVME_NS_DATA_FLBAS_FORMAT_SHIFT@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh51:
	adrp	x9, _NVME_NS_DATA_FLBAS_FORMAT_MASK@GOTPAGE
Lloh52:
	ldr	x9, [x9, _NVME_NS_DATA_FLBAS_FORMAT_MASK@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	and	w19, w8, w9
LBB0_22:
	ldr	w8, [sp, #60]
	cmp	w19, w8
	b.gt	LBB0_32
; %bb.23:
	tbnz	w20, #31, LBB0_33
LBB0_24:
	tbnz	w21, #31, LBB0_34
LBB0_25:
	tbz	w22, #31, LBB0_27
LBB0_26:
	ldr	w8, [sp, #64]
Lloh54:
	adrp	x9, _NVME_NS_DATA_DPS_PIT_SHIFT@GOTPAGE
Lloh55:
	ldr	x9, [x9, _NVME_NS_DATA_DPS_PIT_SHIFT@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh57:
	adrp	x9, _NVME_NS_DATA_DPS_PIT_MASK@GOTPAGE
Lloh58:
	ldr	x9, [x9, _NVME_NS_DATA_DPS_PIT_MASK@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	and	w22, w8, w9
LBB0_27:
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh60:
	adrp	x8, _NVME_OPC_FORMAT_NVM@GOTPAGE
Lloh61:
	ldr	x8, [x8, _NVME_OPC_FORMAT_NVM@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	str	w8, [sp, #48]
	ldr	w0, [sp, #8]
	bl	_htole32
	str	x0, [sp, #40]
	add	w8, w19, w23, lsl #9
	add	w8, w8, w20, lsl #4
	add	w8, w8, w21, lsl #5
	add	w0, w8, w22, lsl #8
	bl	_htole32
	str	x0, [sp, #32]
	ldr	w0, [sp, #4]
Lloh63:
	adrp	x8, _NVME_PASSTHROUGH_CMD@GOTPAGE
Lloh64:
	ldr	x8, [x8, _NVME_PASSTHROUGH_CMD@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	add	x2, sp, #24
	bl	_ioctl
	tbz	x0, #63, LBB0_29
; %bb.28:
Lloh66:
	adrp	x1, l_.str.6@PAGE
Lloh67:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_29:
	add	x0, sp, #24
	bl	_nvme_completion_is_error
	cbz	x0, LBB0_31
; %bb.30:
Lloh68:
	adrp	x1, l_.str.7@PAGE
Lloh69:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_31:
	ldr	w0, [sp, #4]
	bl	_close
	mov	w0, #0
	bl	_exit
LBB0_32:
Lloh70:
	adrp	x1, l_.str.5@PAGE
Lloh71:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_errx
	tbz	w20, #31, LBB0_24
LBB0_33:
	ldr	w8, [sp, #56]
Lloh72:
	adrp	x9, _NVME_NS_DATA_FLBAS_EXTENDED_SHIFT@GOTPAGE
Lloh73:
	ldr	x9, [x9, _NVME_NS_DATA_FLBAS_EXTENDED_SHIFT@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh75:
	adrp	x9, _NVME_NS_DATA_FLBAS_EXTENDED_MASK@GOTPAGE
Lloh76:
	ldr	x9, [x9, _NVME_NS_DATA_FLBAS_EXTENDED_MASK@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
	and	w20, w8, w9
	tbz	w21, #31, LBB0_25
LBB0_34:
	ldr	w8, [sp, #64]
Lloh78:
	adrp	x9, _NVME_NS_DATA_DPS_MD_START_SHIFT@GOTPAGE
Lloh79:
	ldr	x9, [x9, _NVME_NS_DATA_DPS_MD_START_SHIFT@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh81:
	adrp	x9, _NVME_NS_DATA_DPS_MD_START_MASK@GOTPAGE
Lloh82:
	ldr	x9, [x9, _NVME_NS_DATA_DPS_MD_START_MASK@GOTPAGEOFF]
Lloh83:
	ldr	w9, [x9]
	and	w21, w8, w9
	tbnz	w22, #31, LBB0_26
	b	LBB0_27
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.cfi_endproc
                                        ; -- End function
	.comm	_opt,40,3                       ; @opt
	.comm	_SES_NONE,4,2                   ; @SES_NONE
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Only one of -E, -C or -s may be specified\n"

	.comm	_SES_USER,4,2                   ; @SES_USER
	.comm	_SES_CRYPTO,4,2                 ; @SES_CRYPTO
	.comm	_NVME_GLOBAL_NAMESPACE_TAG,8,3  ; @NVME_GLOBAL_NAMESPACE_TAG
	.comm	_NVME_CTRLR_DATA_OACS_FORMAT_SHIFT,4,2 ; @NVME_CTRLR_DATA_OACS_FORMAT_SHIFT
	.comm	_NVME_CTRLR_DATA_OACS_FORMAT_MASK,4,2 ; @NVME_CTRLR_DATA_OACS_FORMAT_MASK
l_.str.1:                               ; @.str.1
	.asciz	"controller does not support format"

	.comm	_NVME_CTRLR_DATA_FNA_CRYPTO_ERASE_SHIFT,4,2 ; @NVME_CTRLR_DATA_FNA_CRYPTO_ERASE_SHIFT
	.comm	_NVME_CTRLR_DATA_FNA_CRYPTO_ERASE_MASK,4,2 ; @NVME_CTRLR_DATA_FNA_CRYPTO_ERASE_MASK
l_.str.2:                               ; @.str.2
	.asciz	"controller does not support cryptographic erase"

	.comm	_NVME_CTRLR_DATA_FNA_FORMAT_ALL_SHIFT,4,2 ; @NVME_CTRLR_DATA_FNA_FORMAT_ALL_SHIFT
	.comm	_NVME_CTRLR_DATA_FNA_FORMAT_ALL_MASK,4,2 ; @NVME_CTRLR_DATA_FNA_FORMAT_ALL_MASK
l_.str.3:                               ; @.str.3
	.asciz	"controller does not support per-NS format"

	.comm	_NVME_CTRLR_DATA_FNA_ERASE_ALL_SHIFT,4,2 ; @NVME_CTRLR_DATA_FNA_ERASE_ALL_SHIFT
	.comm	_NVME_CTRLR_DATA_FNA_ERASE_ALL_MASK,4,2 ; @NVME_CTRLR_DATA_FNA_ERASE_ALL_MASK
l_.str.4:                               ; @.str.4
	.asciz	"controller does not support per-NS erase"

	.comm	_NVME_NS_DATA_FLBAS_FORMAT_SHIFT,4,2 ; @NVME_NS_DATA_FLBAS_FORMAT_SHIFT
	.comm	_NVME_NS_DATA_FLBAS_FORMAT_MASK,4,2 ; @NVME_NS_DATA_FLBAS_FORMAT_MASK
l_.str.5:                               ; @.str.5
	.asciz	"LBA format is out of range"

	.comm	_NVME_NS_DATA_FLBAS_EXTENDED_SHIFT,4,2 ; @NVME_NS_DATA_FLBAS_EXTENDED_SHIFT
	.comm	_NVME_NS_DATA_FLBAS_EXTENDED_MASK,4,2 ; @NVME_NS_DATA_FLBAS_EXTENDED_MASK
	.comm	_NVME_NS_DATA_DPS_MD_START_SHIFT,4,2 ; @NVME_NS_DATA_DPS_MD_START_SHIFT
	.comm	_NVME_NS_DATA_DPS_MD_START_MASK,4,2 ; @NVME_NS_DATA_DPS_MD_START_MASK
	.comm	_NVME_NS_DATA_DPS_PIT_SHIFT,4,2 ; @NVME_NS_DATA_DPS_PIT_SHIFT
	.comm	_NVME_NS_DATA_DPS_PIT_MASK,4,2  ; @NVME_NS_DATA_DPS_PIT_MASK
	.comm	_NVME_OPC_FORMAT_NVM,4,2        ; @NVME_OPC_FORMAT_NVM
	.comm	_NVME_PASSTHROUGH_CMD,4,2       ; @NVME_PASSTHROUGH_CMD
l_.str.6:                               ; @.str.6
	.asciz	"format request failed"

l_.str.7:                               ; @.str.7
	.asciz	"format request returned error"

	.no_dead_strip	_format
.subsections_via_symbols
