	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unbundle                       ## -- Begin function unbundle
	.p2align	4, 0x90
_unbundle:                              ## @unbundle
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -24
	movl	%edx, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movq	$0, -32(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -64(%rbp)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -56(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -48(%rbp)
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movq	16(%rax), %rdx
	movq	%rdx, -80(%rbp)
	movups	(%rax), %xmm0
	movaps	%xmm0, -96(%rbp)
	movq	_BUNDLE_VERBOSE@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -40(%rbp)
LBB0_2:
	xorl	%edx, %edx
	callq	_verify_bundle
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_5
## %bb.3:
	leaq	-64(%rbp), %rax
	movq	%rax, -96(%rbp)
	movl	%ebx, -88(%rbp)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -84(%rbp)
	leaq	-96(%rbp), %rdi
	callq	_run_command
	movq	%rax, %rcx
	movl	$0, %eax
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_error
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_7
## %bb.6:
	addq	$88, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"index-pack"

L_.str.1:                               ## @.str.1
	.asciz	"--fix-thin"

L_.str.2:                               ## @.str.2
	.asciz	"--stdin"

	.comm	_CHILD_PROCESS_INIT,24,3        ## @CHILD_PROCESS_INIT
	.comm	_BUNDLE_VERBOSE,4,2             ## @BUNDLE_VERBOSE
L_.str.3:                               ## @.str.3
	.asciz	"-v"

L_.str.4:                               ## @.str.4
	.asciz	"index-pack died"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unbundle                       ; -- Begin function unbundle
	.p2align	2
_unbundle:                              ; @unbundle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	stp	xzr, xzr, [sp, #56]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
Lloh5:
	adrp	x9, l_.str.1@PAGE
Lloh6:
	add	x9, x9, l_.str.1@PAGEOFF
	stp	x8, x9, [sp, #32]
Lloh7:
	adrp	x8, l_.str.2@PAGE
Lloh8:
	add	x8, x8, l_.str.2@PAGEOFF
	str	x8, [sp, #48]
Lloh9:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
	ldr	q0, [x8]
	str	q0, [sp]
	ldr	x8, [x8, #16]
	str	x8, [sp, #16]
Lloh11:
	adrp	x8, _BUNDLE_VERBOSE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BUNDLE_VERBOSE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_2
; %bb.1:
Lloh14:
	adrp	x8, l_.str.3@PAGE
Lloh15:
	add	x8, x8, l_.str.3@PAGEOFF
	str	x8, [sp, #56]
LBB0_2:
	mov	w2, #0
	bl	_verify_bundle
	cbz	x0, LBB0_4
; %bb.3:
	mov	w0, #-1
	b	LBB0_6
LBB0_4:
	add	x8, sp, #32
	str	x8, [sp]
	str	w19, [sp, #8]
	movi.2s	v0, #1
	stur	d0, [sp, #12]
	mov	x0, sp
	bl	_run_command
	cbz	x0, LBB0_6
; %bb.5:
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	bl	_error
LBB0_6:
	ldur	x8, [x29, #-24]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"index-pack"

l_.str.1:                               ; @.str.1
	.asciz	"--fix-thin"

l_.str.2:                               ; @.str.2
	.asciz	"--stdin"

	.comm	_CHILD_PROCESS_INIT,24,3        ; @CHILD_PROCESS_INIT
	.comm	_BUNDLE_VERBOSE,4,2             ; @BUNDLE_VERBOSE
l_.str.3:                               ; @.str.3
	.asciz	"-v"

l_.str.4:                               ; @.str.4
	.asciz	"index-pack died"

.subsections_via_symbols
