	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function virstor_dump
_virstor_dump:                          ## @virstor_dump
	.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	$2088, %rsp                     ## imm = 0x828
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	$1, %edi
	callq	_assert
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_gctl_get_int
	movl	%eax, -2116(%rbp)               ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_4
## %bb.1:
	leaq	-2096(%rbp), %r12
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	-2120(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_virstor_metadata_decode
	leaq	L_.str.6(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	callq	_virstor_metadata_dump
	movl	$10, %edi
	callq	_putchar
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r13d
	cmpl	%r13d, -2116(%rbp)              ## 4-byte Folded Reload
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-2112(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$16, %esi
	leaq	L_.str.2(%rip), %rdx
	movl	%r13d, %ecx
	callq	_snprintf
	movq	%r14, %rdi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	callq	_gctl_get_ascii
	movq	%rax, %r15
	movq	_G_VIRSTOR_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_g_metadata_read
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rbx
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	movl	%eax, %edi
	callq	_strerror
	movl	%r12d, %edi
	movq	%rbx, %r12
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdx
	movq	%rax, %rcx
	callq	_fprintf
	movq	%r14, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_gctl_error
	jmp	LBB0_7
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$2088, %rsp                     ## imm = 0x828
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	addq	$2088, %rsp                     ## imm = 0x828
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gctl_error                     ## TAILCALL
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nargs"

L_.str.1:                               ## @.str.1
	.asciz	"Too few arguments."

L_.str.2:                               ## @.str.2
	.asciz	"arg%u"

L_.str.3:                               ## @.str.3
	.asciz	"%s"

	.comm	_G_VIRSTOR_MAGIC,4,2            ## @G_VIRSTOR_MAGIC
	.comm	_stderr,4,2                     ## @stderr
L_.str.4:                               ## @.str.4
	.asciz	"Can't read metadata from %s: %s.\n"

L_.str.5:                               ## @.str.5
	.asciz	"Not fully done (error reading metadata)."

L_.str.6:                               ## @.str.6
	.asciz	"Metadata on %s:\n"

	.no_dead_strip	_virstor_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function virstor_dump
_virstor_dump:                          ; @virstor_dump
	.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, #2096
	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]
	mov	w0, #1
	bl	_assert
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_gctl_get_int
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x20, x0
	mov	w21, #0
Lloh5:
	adrp	x22, l_.str.2@PAGE
Lloh6:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh7:
	adrp	x23, l_.str.3@PAGE
Lloh8:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh9:
	adrp	x24, _G_VIRSTOR_MAGIC@GOTPAGE
Lloh10:
	ldr	x24, [x24, _G_VIRSTOR_MAGIC@GOTPAGEOFF]
Lloh11:
	adrp	x25, l_.str.4@PAGE
Lloh12:
	add	x25, x25, l_.str.4@PAGEOFF
Lloh13:
	adrp	x26, l_.str.5@PAGE
Lloh14:
	add	x26, x26, l_.str.5@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #32
	add	x1, sp, #8
	bl	_virstor_metadata_decode
	str	x27, [sp]
Lloh15:
	adrp	x0, l_.str.6@PAGE
Lloh16:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	add	x0, sp, #8
	bl	_virstor_metadata_dump
	mov	w0, #10
	bl	_putchar
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	cmp	w20, w21
	b.eq	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #16
	mov	w1, #16
	mov	x2, x22
	mov	x3, x21
	bl	_snprintf
	add	x2, sp, #16
	mov	x0, x19
	mov	x1, x23
	bl	_gctl_get_ascii
	mov	x27, x0
	ldr	w3, [x24]
	add	x1, sp, #32
	mov	w2, #2048
	bl	_g_metadata_read
	cbz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh17:
	adrp	x8, _stderr@GOTPAGE
Lloh18:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh19:
	ldr	w28, [x8]
	bl	_strerror
	mov	x3, x0
	mov	x0, x28
	mov	x1, x25
	mov	x2, x27
	bl	_fprintf
	mov	x0, x19
	mov	x1, x26
	bl	_gctl_error
	b	LBB0_3
LBB0_6:
	ldur	x8, [x29, #-96]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.7:
	add	sp, sp, #2096
	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_8:
	ldur	x8, [x29, #-96]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	add	sp, sp, #2096
	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
	b	_gctl_error
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nargs"

l_.str.1:                               ; @.str.1
	.asciz	"Too few arguments."

l_.str.2:                               ; @.str.2
	.asciz	"arg%u"

l_.str.3:                               ; @.str.3
	.asciz	"%s"

	.comm	_G_VIRSTOR_MAGIC,4,2            ; @G_VIRSTOR_MAGIC
	.comm	_stderr,4,2                     ; @stderr
l_.str.4:                               ; @.str.4
	.asciz	"Can't read metadata from %s: %s.\n"

l_.str.5:                               ; @.str.5
	.asciz	"Not fully done (error reading metadata)."

l_.str.6:                               ; @.str.6
	.asciz	"Metadata on %s:\n"

	.no_dead_strip	_virstor_dump
.subsections_via_symbols
