	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_one_pack
_verify_one_pack:                       ## @verify_one_pack
	.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	%r12
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rsi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -112(%rbp)
	movaps	l___const.verify_one_pack.argv+16(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	l___const.verify_one_pack.argv(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)
	movq	_VERIFY_PACK_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_VERIFY_PACK_STAT_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	testl	%r14d, %r15d
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	testl	%r14d, %r12d
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.3(%rip), %rax
LBB0_5:
	movq	%rax, -72(%rbp)
	leaq	-88(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strbuf_addstr
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strbuf_strip_suffix
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:
	leaq	L_.str.5(%rip), %rsi
	leaq	-88(%rbp), %rdi
	callq	_strbuf_addstr
	jmp	LBB0_8
LBB0_6:
	movq	-88(%rbp), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_ends_with
	testl	%eax, %eax
	je	LBB0_7
LBB0_8:
	movq	-88(%rbp), %rax
	movq	%rax, -64(%rbp)
	leaq	-80(%rbp), %rax
	movq	%rax, -112(%rbp)
	movl	$1, -104(%rbp)
	leaq	-112(%rbp), %rdi
	callq	_run_command
	movl	%eax, %ebx
	orl	%r15d, %r12d
	testl	%r14d, %r12d
	je	LBB0_14
## %bb.9:
	testl	%ebx, %ebx
	je	LBB0_11
## %bb.10:
	movq	-88(%rbp), %rsi
	leaq	L_.str.6(%rip), %rdi
LBB0_13:
	callq	_printf
	jmp	LBB0_14
LBB0_11:
	testl	%r14d, %r15d
	je	LBB0_12
LBB0_14:
	leaq	-88(%rbp), %rdi
	callq	_strbuf_release
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movl	%ebx, %eax
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	-88(%rbp), %rsi
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_13
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CHILD_PROCESS_INIT,16,3        ## @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"index-pack"

	.section	__DATA,__const
	.p2align	4                               ## @__const.verify_one_pack.argv
l___const.verify_one_pack.argv:
	.quad	L_.str
	.quad	0
	.quad	0
	.quad	0

	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.comm	_VERIFY_PACK_VERBOSE,4,2        ## @VERIFY_PACK_VERBOSE
	.comm	_VERIFY_PACK_STAT_ONLY,4,2      ## @VERIFY_PACK_STAT_ONLY
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"--verify-stat-only"

L_.str.2:                               ## @.str.2
	.asciz	"--verify-stat"

L_.str.3:                               ## @.str.3
	.asciz	"--verify"

L_.str.4:                               ## @.str.4
	.asciz	".idx"

L_.str.5:                               ## @.str.5
	.asciz	".pack"

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

L_.str.7:                               ## @.str.7
	.asciz	"%s: ok\n"

	.no_dead_strip	_verify_one_pack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_one_pack
_verify_one_pack:                       ; @verify_one_pack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x8, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-40]
Lloh3:
	adrp	x9, _CHILD_PROCESS_INIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CHILD_PROCESS_INIT@GOTPAGEOFF]
Lloh5:
	ldr	q2, [x9]
Lloh6:
	adrp	x9, l___const.verify_one_pack.argv@PAGE
Lloh7:
	add	x9, x9, l___const.verify_one_pack.argv@PAGEOFF
	ldp	q0, q1, [x9]
	stp	q2, q0, [sp, #16]
	str	q1, [sp, #48]
Lloh8:
	adrp	x9, _STRBUF_INIT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _STRBUF_INIT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	str	x9, [sp, #8]
Lloh11:
	adrp	x9, _VERIFY_PACK_VERBOSE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _VERIFY_PACK_VERBOSE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	and	w21, w9, w1
Lloh14:
	adrp	x9, _VERIFY_PACK_STAT_ONLY@GOTPAGE
Lloh15:
	ldr	x9, [x9, _VERIFY_PACK_STAT_ONLY@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	ands	w20, w9, w1
	b.eq	LBB0_2
; %bb.1:
Lloh17:
	adrp	x9, l_.str.1@PAGE
Lloh18:
	add	x9, x9, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_2:
	cbz	w21, LBB0_4
; %bb.3:
Lloh19:
	adrp	x9, l_.str.2@PAGE
Lloh20:
	add	x9, x9, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh21:
	adrp	x9, l_.str.3@PAGE
Lloh22:
	add	x9, x9, l_.str.3@PAGEOFF
LBB0_5:
	str	x9, [sp, #40]
	add	x0, sp, #8
	mov	x1, x8
	bl	_strbuf_addstr
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #8
	bl	_strbuf_strip_suffix
	cbz	x0, LBB0_7
LBB0_6:
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #8
	bl	_strbuf_addstr
	b	LBB0_8
LBB0_7:
	ldr	x0, [sp, #8]
Lloh27:
	adrp	x1, l_.str.5@PAGE
Lloh28:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_ends_with
	cbz	w0, LBB0_6
LBB0_8:
	ldr	x8, [sp, #8]
	str	x8, [sp, #48]
	add	x8, sp, #32
	str	x8, [sp, #16]
	mov	w8, #1
	str	w8, [sp, #24]
	add	x0, sp, #16
	bl	_run_command
	mov	x19, x0
	orr	w8, w21, w20
	cbz	w8, LBB0_13
; %bb.9:
	cbz	w19, LBB0_12
; %bb.10:
	ldr	x1, [sp, #8]
Lloh29:
	adrp	x0, l_.str.6@PAGE
Lloh30:
	add	x0, x0, l_.str.6@PAGEOFF
LBB0_11:
	bl	_printf
	b	LBB0_13
LBB0_12:
	cbz	w20, LBB0_15
LBB0_13:
	add	x0, sp, #8
	bl	_strbuf_release
	ldur	x8, [x29, #-40]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.14:
	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
	add	sp, sp, #128
	ret
LBB0_15:
	ldr	x1, [sp, #8]
Lloh34:
	adrp	x0, l_.str.7@PAGE
Lloh35:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_11
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,16,3        ; @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"index-pack"

	.section	__DATA,__const
	.p2align	3                               ; @__const.verify_one_pack.argv
l___const.verify_one_pack.argv:
	.quad	l_.str
	.quad	0
	.quad	0
	.quad	0

	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.comm	_VERIFY_PACK_VERBOSE,4,2        ; @VERIFY_PACK_VERBOSE
	.comm	_VERIFY_PACK_STAT_ONLY,4,2      ; @VERIFY_PACK_STAT_ONLY
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"--verify-stat-only"

l_.str.2:                               ; @.str.2
	.asciz	"--verify-stat"

l_.str.3:                               ; @.str.3
	.asciz	"--verify"

l_.str.4:                               ; @.str.4
	.asciz	".idx"

l_.str.5:                               ; @.str.5
	.asciz	".pack"

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

l_.str.7:                               ; @.str.7
	.asciz	"%s: ok\n"

	.no_dead_strip	_verify_one_pack
.subsections_via_symbols
