	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raid3_dump
_raid3_dump:                            ## @raid3_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	callq	_gctl_get_int
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_10
## %bb.1:
	leaq	-48(%rbp), %rbx
	leaq	-56(%rbp), %r12
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rbx
	movq	%r12, %r14
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	movl	%eax, %edi
	callq	_strerror
	movl	%r12d, %edi
	movq	%r14, %r12
	movq	%rbx, %r14
	leaq	-48(%rbp), %rbx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_gctl_error
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r13d
	cmpl	%r13d, -52(%rbp)                ## 4-byte Folded Reload
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edx
	callq	_gctl_get_ascii
	movq	%rax, %r15
	movq	_G_RAID3_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_g_metadata_read
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_raid3_metadata_decode
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.6(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%r12, %rdi
	callq	_raid3_metadata_dump
	movl	$10, %edi
	callq	_putchar
	jmp	LBB0_8
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gctl_error                     ## TAILCALL
	.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%d"

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

L_.str.4:                               ## @.str.4
	.asciz	"Not fully done."

L_.str.5:                               ## @.str.5
	.asciz	"MD5 hash mismatch for %s, skipping.\n"

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

	.no_dead_strip	_raid3_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raid3_dump
_raid3_dump:                            ; @raid3_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_gctl_get_int
	cmp	w0, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x20, x0
	mov	w21, #0
Lloh2:
	adrp	x22, l_.str.2@PAGE
Lloh3:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh4:
	adrp	x23, _G_RAID3_MAGIC@GOTPAGE
Lloh5:
	ldr	x23, [x23, _G_RAID3_MAGIC@GOTPAGEOFF]
Lloh6:
	adrp	x24, _stderr@GOTPAGE
Lloh7:
	ldr	x24, [x24, _stderr@GOTPAGEOFF]
Lloh8:
	adrp	x25, l_.str.4@PAGE
Lloh9:
	add	x25, x25, l_.str.4@PAGEOFF
Lloh10:
	adrp	x26, l_.str.3@PAGE
Lloh11:
	add	x26, x26, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w28, [x24]
	bl	_strerror
	str	x0, [sp]
	mov	x0, x28
	mov	x1, x26
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x2, x27
	bl	_fprintf
	mov	x0, x19
	mov	x1, x25
	bl	_gctl_error
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w21, w21, #1
	cmp	w20, w21
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_gctl_get_ascii
	mov	x27, x0
	ldr	w3, [x23]
	add	x1, sp, #16
	mov	w2, #4
	bl	_g_metadata_read
	cbnz	w0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #16
	add	x1, sp, #24
	bl	_raid3_metadata_decode
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x24]
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	x27, [sp]
Lloh14:
	adrp	x0, l_.str.6@PAGE
Lloh15:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_printf
	add	x0, sp, #24
	bl	_raid3_metadata_dump
	mov	w0, #10
	bl	_putchar
	b	LBB0_4
LBB0_9:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_10:
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_gctl_error
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.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%d"

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

l_.str.4:                               ; @.str.4
	.asciz	"Not fully done."

l_.str.5:                               ; @.str.5
	.asciz	"MD5 hash mismatch for %s, skipping.\n"

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

	.no_dead_strip	_raid3_dump
.subsections_via_symbols
