	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compute_and_write_prerequisites
_compute_and_write_prerequisites:       ## @compute_and_write_prerequisites
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r13d
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movl	%edi, %r15d
	movq	_CHILD_PROCESS_INIT@GOTPCREL(%rip), %rax
	movl	8(%rax), %ecx
	movl	%ecx, -72(%rbp)
	movq	(%rax), %rax
	movq	%rax, -80(%rbp)
	leaq	-72(%rbp), %r12
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	leaq	L_.str.2(%rip), %rcx
	movq	%r12, %rdi
	xorl	%r8d, %r8d
	callq	_argv_array_pushl
	cmpl	$2, %r13d
	jl	LBB0_3
## %bb.1:
	movl	%r13d, %r13d
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rbx,8), %rsi
	movq	%r12, %rdi
	callq	_argv_array_push
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_2
LBB0_3:
	movabsq	$8589934591, %rax               ## imm = 0x1FFFFFFFF
	movq	%rax, -80(%rbp)
	leaq	-80(%rbp), %rdi
	callq	_start_command
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_16
## %bb.4:
	movl	-80(%rbp), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_xfdopen
	movq	%rax, %rbx
	leaq	-64(%rbp), %rdi
	movq	%rax, %rsi
	movl	$10, %edx
	callq	_strbuf_getwholeline
	movq	_EOF@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_5
LBB0_13:
	leaq	-64(%rbp), %rdi
	callq	_strbuf_release
	movq	%rbx, %rdi
	callq	_fclose
	leaq	-80(%rbp), %rdi
	callq	_finish_command
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_error
	jmp	LBB0_16
LBB0_5:
	leaq	-96(%rbp), %r12
	leaq	-64(%rbp), %r13
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rsi, %rdi
	movq	%r12, %rsi
	callq	_get_oid_hex
	testl	%eax, %eax
	je	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	$10, %edx
	callq	_strbuf_getwholeline
	cmpq	(%r14), %rax
	je	LBB0_13
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rdx
	movq	-56(%rbp), %rsi
	testq	%rdx, %rdx
	jle	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$45, (%rsi)
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%r15d, %edi
	callq	_write_or_die
	movq	-56(%rbp), %rdi
	incq	%rdi
	movq	%r12, %rsi
	callq	_get_oid_hex
	testl	%eax, %eax
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rsi
	movq	%r12, %rdi
	callq	_parse_object_or_die
	movq	_UNINTERESTING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rax)
	movq	-56(%rbp), %rdx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_add_pending_object
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rsi
	movq	%r12, %rdi
	callq	_parse_object_or_die
	movq	_SHOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rax)
	jmp	LBB0_12
LBB0_14:
	xorl	%eax, %eax
LBB0_16:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHILD_PROCESS_INIT,12,2        ## @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rev-list"

L_.str.1:                               ## @.str.1
	.asciz	"--boundary"

L_.str.2:                               ## @.str.2
	.asciz	"--pretty=oneline"

L_.str.3:                               ## @.str.3
	.asciz	"r"

	.comm	_EOF,8,3                        ## @EOF
	.comm	_UNINTERESTING,4,2              ## @UNINTERESTING
	.comm	_SHOWN,4,2                      ## @SHOWN
L_.str.4:                               ## @.str.4
	.asciz	"rev-list died"

	.no_dead_strip	_compute_and_write_prerequisites
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function compute_and_write_prerequisites
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_compute_and_write_prerequisites:       ; @compute_and_write_prerequisites
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _CHILD_PROCESS_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHILD_PROCESS_INIT@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [sp, #32]
	ldr	w8, [x8, #8]
	str	w8, [sp, #40]
	add	x8, sp, #32
	add	x21, x8, #8
Lloh2:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh4:
	ldr	q0, [x8]
	str	q0, [sp, #16]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
Lloh9:
	adrp	x3, l_.str.2@PAGE
Lloh10:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x4, #0
	bl	_argv_array_pushl
	cmp	w23, #2
	b.lt	LBB0_3
; %bb.1:
	mov	w8, w23
	add	x22, x22, #8
	sub	x23, x8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x22], #8
	mov	x0, x21
	bl	_argv_array_push
	subs	x23, x23, #1
	b.ne	LBB0_2
LBB0_3:
Lloh11:
	adrp	x8, lCPI0_0@PAGE
Lloh12:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #32]
	add	x0, sp, #32
	bl	_start_command
	cbz	x0, LBB0_5
; %bb.4:
	mov	w0, #-1
	b	LBB0_8
LBB0_5:
	ldr	w0, [sp, #32]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_xfdopen
	mov	x21, x0
	add	x0, sp, #16
	mov	x1, x21
	mov	w2, #10
	bl	_strbuf_getwholeline
Lloh15:
	adrp	x22, _EOF@GOTPAGE
Lloh16:
	ldr	x22, [x22, _EOF@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_9
LBB0_6:
	add	x0, sp, #16
	bl	_strbuf_release
	mov	x0, x21
	bl	_fclose
	add	x0, sp, #32
	bl	_finish_command
	cbz	x0, LBB0_8
; %bb.7:
Lloh17:
	adrp	x0, l_.str.4@PAGE
Lloh18:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	bl	_error
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_9:
Lloh19:
	adrp	x23, _UNINTERESTING@GOTPAGE
Lloh20:
	ldr	x23, [x23, _UNINTERESTING@GOTPAGEOFF]
Lloh21:
	adrp	x24, _SHOWN@GOTPAGE
Lloh22:
	ldr	x24, [x24, _SHOWN@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x1, sp, #8
	mov	x0, x8
	bl	_get_oid_hex
	cbz	w0, LBB0_16
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x0, sp, #16
	mov	x1, x21
	mov	w2, #10
	bl	_strbuf_getwholeline
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_6
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldp	x2, x8, [sp, #16]
	cmp	x2, #1
	b.lt	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldrb	w9, [x8]
	cmp	w9, #45
	b.ne	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x20
	mov	x1, x8
	bl	_write_or_die
	ldr	x8, [sp, #24]
	add	x0, x8, #1
	add	x1, sp, #8
	bl	_get_oid_hex
	cbnz	w0, LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x1, [sp, #24]
	add	x0, sp, #8
	bl	_parse_object_or_die
	mov	x1, x0
	ldr	w8, [x23]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	ldr	x2, [sp, #24]
	mov	x0, x19
	bl	_add_pending_object
	b	LBB0_11
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x1, [sp, #24]
	add	x0, sp, #8
	bl	_parse_object_or_die
	ldr	w8, [x24]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	b	LBB0_11
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_CHILD_PROCESS_INIT,12,2        ; @CHILD_PROCESS_INIT
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rev-list"

l_.str.1:                               ; @.str.1
	.asciz	"--boundary"

l_.str.2:                               ; @.str.2
	.asciz	"--pretty=oneline"

l_.str.3:                               ; @.str.3
	.asciz	"r"

	.comm	_EOF,8,3                        ; @EOF
	.comm	_UNINTERESTING,4,2              ; @UNINTERESTING
	.comm	_SHOWN,4,2                      ; @SHOWN
l_.str.4:                               ; @.str.4
	.asciz	"rev-list died"

	.no_dead_strip	_compute_and_write_prerequisites
.subsections_via_symbols
