	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__reach                     ## -- Begin function cmd__reach
	.p2align	4, 0x90
_cmd__reach:                            ## @cmd__reach
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_OBJECT_ARRAY_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -112(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	_the_repository@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	xorl	%eax, %eax
	callq	_setup_git_directory
	cmpl	$1, %ebx
	jg	LBB0_1
## %bb.53:
	movl	$1, %edi
	callq	_exit
LBB0_1:
	movl	%ebx, -132(%rbp)                ## 4-byte Spill
	movq	%r14, -144(%rbp)                ## 8-byte Spill
	movq	$0, -152(%rbp)
	movq	$0, -160(%rbp)
	movl	$16, %esi
	callq	_ALLOC_ARRAY
	movl	$16, %esi
	callq	_ALLOC_ARRAY
	movq	_stdin@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	-80(%rbp), %rdi
	callq	_strbuf_getline
	movq	_EOF@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_21:
	leaq	-80(%rbp), %rdi
	callq	_strbuf_release
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movq	8(%r14), %rbx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_25
## %bb.22:
	leaq	-128(%rbp), %rdi
	leaq	-120(%rbp), %rsi
	callq	_ref_newer
	jmp	LBB0_23
LBB0_3:
	leaq	-80(%rbp), %r15
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	-128(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_oidcpy
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-88(%rbp), %r13                 ## 8-byte Reload
LBB0_20:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_strbuf_getline
	cmpq	(%r12), %rax
	je	LBB0_21
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$3, -80(%rbp)
	jl	LBB0_20
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rdi
	addq	$8, %rdi
	leaq	-48(%rbp), %rsi
	callq	_get_oid_committish
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rsi
	addq	$8, %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_die
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	leaq	-48(%rbp), %rsi
	callq	_parse_object
	movq	%rax, %rdi
	callq	_deref_tag_noverify
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %r13
	leaq	-48(%rbp), %rdi
	callq	_oid_to_hex
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_die
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_object_as_type
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rbx
	leaq	-48(%rbp), %rdi
	callq	_oid_to_hex
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_die
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rax
	movl	(%rax), %esi
	leal	-65(%rsi), %eax
	cmpl	$24, %eax
	ja	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	-120(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_oidcpy
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.2(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_19
LBB0_25:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_27
## %bb.26:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_in_merge_bases
LBB0_23:
	leaq	L_.str.4(%rip), %rdi
LBB0_24:
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_printf
	xorl	%edi, %edi
	callq	_exit
LBB0_27:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_29
## %bb.28:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_is_descendant_of
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_24
LBB0_29:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_31
## %bb.30:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_get_merge_bases_many
	movq	%rax, %rbx
	movq	8(%r14), %rsi
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_33
LBB0_31:
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_34
## %bb.32:
	xorl	%edi, %edi
	callq	_reduce_heads
	movq	%rax, %rbx
	movq	8(%r14), %rsi
	leaq	L_.str.11(%rip), %rdi
LBB0_33:
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
LBB0_51:
	callq	_print_sorted_commit_ids
LBB0_52:
	xorl	%edi, %edi
	callq	_exit
LBB0_34:
	leaq	L_.str.12(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_36
## %bb.35:
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_can_all_from_reach
	leaq	L_.str.13(%rip), %rdi
	jmp	LBB0_24
LBB0_36:
	leaq	L_.str.14(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_38
## %bb.37:
	leaq	-112(%rbp), %rdi
	movl	$2, %esi
	movl	$4, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_can_all_from_reach_with_flag
	leaq	L_.str.15(%rip), %rdi
	jmp	LBB0_24
LBB0_38:
	leaq	L_.str.16(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_44
## %bb.39:
	leaq	-104(%rbp), %rdi
	callq	_init_contains_cache
	cmpl	$3, -132(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_42
## %bb.40:
	movq	16(%r14), %rdi
	leaq	L_.str.17(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_42
## %bb.41:
	movl	$1, -48(%rbp)
	jmp	LBB0_43
LBB0_44:
	leaq	L_.str.19(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_52
## %bb.45:
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_get_reachable_subset
	movq	%rax, %r15
	leaq	L_str(%rip), %rdi
	callq	_puts
	testq	%r15, %r15
	jne	LBB0_46
LBB0_50:
	movq	%r15, %rdi
	jmp	LBB0_51
LBB0_42:
	movl	$0, -48(%rbp)
LBB0_43:
	movq	8(%r14), %rbx
	leaq	-48(%rbp), %rdi
	leaq	-104(%rbp), %rcx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_commit_contains
	leaq	L_.str.18(%rip), %rdi
	jmp	LBB0_24
LBB0_46:
	leaq	L_.str.21(%rip), %r14
	movq	%r15, %rbx
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_49:                                ##   in Loop: Header=BB0_47 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_50
LBB0_47:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	testb	$1, (%rax)
	jne	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_47 Depth=1
	movq	%r14, %rdi
	callq	__
	movslq	%eax, %r12
	movq	(%r15), %rdi
	addq	$4, %rdi
	callq	_oid_to_hex
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_49
LBB0_15:
	leaq	-160(%rbp), %rsi
	jmp	LBB0_16
LBB0_17:
	leaq	-152(%rbp), %rsi
LBB0_16:
	movq	%r13, %rdi
	callq	_commit_list_insert
	movl	$1, %esi
	movl	$16, %edx
	callq	_ALLOC_GROW
	ud2
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_18
	.long	L0_0_set_15
	.long	L0_0_set_17
	.end_data_region
                                        ## -- End function
	.comm	_OBJECT_ARRAY_INIT,4,2          ## @OBJECT_ARRAY_INIT
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.comm	_the_repository,8,3             ## @the_repository
	.comm	_stdin,4,2                      ## @stdin
	.comm	_EOF,8,3                        ## @EOF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to resolve %s"

L_.str.1:                               ## @.str.1
	.asciz	"failed to load commit for input %s resulting in oid %s\n"

	.comm	_OBJ_COMMIT,4,2                 ## @OBJ_COMMIT
L_.str.2:                               ## @.str.2
	.asciz	"unexpected start of line: %c"

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

L_.str.4:                               ## @.str.4
	.asciz	"%s(A,B):%d\n"

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

L_.str.6:                               ## @.str.6
	.asciz	"is_descendant_of"

L_.str.7:                               ## @.str.7
	.asciz	"%s(A,X):%d\n"

L_.str.8:                               ## @.str.8
	.asciz	"get_merge_bases_many"

L_.str.9:                               ## @.str.9
	.asciz	"%s(A,X):\n"

L_.str.10:                              ## @.str.10
	.asciz	"reduce_heads"

L_.str.11:                              ## @.str.11
	.asciz	"%s(X):\n"

L_.str.12:                              ## @.str.12
	.asciz	"can_all_from_reach"

L_.str.13:                              ## @.str.13
	.asciz	"%s(X,Y):%d\n"

L_.str.14:                              ## @.str.14
	.asciz	"can_all_from_reach_with_flag"

L_.str.15:                              ## @.str.15
	.asciz	"%s(X,_,_,0,0):%d\n"

L_.str.16:                              ## @.str.16
	.asciz	"commit_contains"

L_.str.17:                              ## @.str.17
	.asciz	"--tag"

L_.str.18:                              ## @.str.18
	.asciz	"%s(_,A,X,_):%d\n"

L_.str.19:                              ## @.str.19
	.asciz	"get_reachable_subset"

L_.str.21:                              ## @.str.21
	.asciz	"commit %s is not marked reachable"

L_str:                                  ## @str
	.asciz	"get_reachable_subset(X,Y)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__reach                     ; -- Begin function cmd__reach
	.p2align	2
_cmd__reach:                            ; @cmd__reach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _OBJECT_ARRAY_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OBJECT_ARRAY_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _STRBUF_INIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STRBUF_INIT@GOTPAGEOFF]
	str	w8, [sp, #88]
Lloh5:
	ldr	q0, [x9]
	str	q0, [sp, #64]
Lloh6:
	adrp	x8, _the_repository@GOTPAGE
Lloh7:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh8:
	ldr	x22, [x8]
	bl	_setup_git_directory
	cmp	w20, #1
	b.gt	LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_exit
LBB0_2:
	str	w20, [sp, #28]                  ; 4-byte Folded Spill
	str	x19, [sp, #32]                  ; 8-byte Folded Spill
	stp	xzr, xzr, [sp, #96]
	mov	w1, #16
	bl	_ALLOC_ARRAY
	mov	w1, #16
	bl	_ALLOC_ARRAY
Lloh9:
	adrp	x28, _stdin@GOTPAGE
Lloh10:
	ldr	x28, [x28, _stdin@GOTPAGEOFF]
	ldr	w1, [x28]
	add	x0, sp, #64
	bl	_strbuf_getline
	mov	x23, #0
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
Lloh11:
	adrp	x19, _EOF@GOTPAGE
Lloh12:
	ldr	x19, [x19, _EOF@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_5
LBB0_3:
	add	x0, sp, #64
	bl	_strbuf_release
	ldr	x19, [sp, #32]                  ; 8-byte Folded Reload
	ldr	x22, [x19, #8]
Lloh13:
	adrp	x1, l_.str.3@PAGE
Lloh14:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbnz	w0, LBB0_19
; %bb.4:
	sub	x0, x29, #88
	sub	x1, x29, #96
	bl	_ref_newer
	b	LBB0_21
LBB0_5:
	str	xzr, [sp, #40]                  ; 8-byte Folded Spill
	mov	x23, #0
Lloh15:
	adrp	x24, l_.str.1@PAGE
Lloh16:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh17:
	adrp	x20, _OBJ_COMMIT@GOTPAGE
Lloh18:
	ldr	x20, [x20, _OBJ_COMMIT@GOTPAGEOFF]
Lloh19:
	adrp	x25, lJTI0_0@PAGE
Lloh20:
	add	x25, x25, lJTI0_0@PAGEOFF
Lloh21:
	adrp	x26, l_.str@PAGE
Lloh22:
	add	x26, x26, l_.str@PAGEOFF
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	sub	x0, x29, #88
	add	x1, sp, #56
	bl	_oidcpy
	str	x27, [sp, #40]                  ; 8-byte Folded Spill
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x28]
	add	x0, sp, #64
	bl	_strbuf_getline
	ldr	x8, [x19]
	cmp	x0, x8
	b.eq	LBB0_3
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #64]
	cmp	w8, #3
	b.lt	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [sp, #72]
	add	x0, x8, #8
	add	x1, sp, #56
	bl	_get_oid_committish
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [sp, #72]
	add	x8, x8, #8
	str	x8, [sp]
	mov	x0, x26
	bl	_die
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x1, sp, #56
	mov	x0, x22
	bl	_parse_object
	bl	_deref_tag_noverify
	mov	x27, x0
	cbnz	x0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x21, [sp, #72]
	add	x0, sp, #56
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
	mov	x0, x24
	bl	_die
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w2, [x20]
	mov	x0, x22
	mov	x1, x27
	mov	w3, #0
	bl	_object_as_type
	mov	x27, x0
	cbnz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x21, [sp, #72]
	add	x0, sp, #56
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
	mov	x0, x24
	bl	_die
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [sp, #72]
	ldr	w8, [x8]
	sub	w9, w8, #65
	cmp	w9, #24
	b.hi	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
	adr	x10, LBB0_6
	ldrb	w11, [x25, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_17:                                ;   in Loop: Header=BB0_8 Depth=1
	sub	x0, x29, #96
	add	x1, sp, #56
	bl	_oidcpy
	mov	x23, x27
	b	LBB0_7
LBB0_18:                                ;   in Loop: Header=BB0_8 Depth=1
	str	x8, [sp]
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_die
	b	LBB0_7
LBB0_19:
Lloh25:
	adrp	x1, l_.str.5@PAGE
Lloh26:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbnz	w0, LBB0_23
; %bb.20:
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x1, x23
	bl	_in_merge_bases
LBB0_21:
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp]
Lloh27:
	adrp	x0, l_.str.4@PAGE
Lloh28:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_22:
	bl	_printf
	mov	w0, #0
	bl	_exit
LBB0_23:
Lloh29:
	adrp	x1, l_.str.6@PAGE
Lloh30:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbnz	w0, LBB0_25
; %bb.24:
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x1, #0
	bl	_is_descendant_of
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp]
Lloh31:
	adrp	x0, l_.str.7@PAGE
Lloh32:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_22
LBB0_25:
Lloh33:
	adrp	x1, l_.str.8@PAGE
Lloh34:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbnz	w0, LBB0_27
; %bb.26:
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	w1, #0
	bl	_get_merge_bases_many
	mov	x20, x0
	ldr	x8, [x19, #8]
	str	x8, [sp]
Lloh35:
	adrp	x0, l_.str.9@PAGE
Lloh36:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_29
LBB0_27:
Lloh37:
	adrp	x1, l_.str.10@PAGE
Lloh38:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbnz	w0, LBB0_32
; %bb.28:
	mov	x0, #0
	bl	_reduce_heads
	mov	x20, x0
	ldr	x8, [x19, #8]
	str	x8, [sp]
Lloh39:
	adrp	x0, l_.str.11@PAGE
Lloh40:
	add	x0, x0, l_.str.11@PAGEOFF
LBB0_29:
	bl	_printf
	mov	x0, x20
LBB0_30:
	bl	_print_sorted_commit_ids
LBB0_31:
	mov	w0, #0
	bl	_exit
LBB0_32:
Lloh41:
	adrp	x1, l_.str.12@PAGE
Lloh42:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbnz	w0, LBB0_34
; %bb.33:
	mov	x0, #0
	mov	x1, #0
	mov	w2, #1
	bl	_can_all_from_reach
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp]
Lloh43:
	adrp	x0, l_.str.13@PAGE
Lloh44:
	add	x0, x0, l_.str.13@PAGEOFF
	b	LBB0_22
LBB0_34:
Lloh45:
	adrp	x1, l_.str.14@PAGE
Lloh46:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbnz	w0, LBB0_36
; %bb.35:
	add	x0, sp, #88
	mov	w1, #2
	mov	w2, #4
	mov	w3, #0
	mov	w4, #0
	bl	_can_all_from_reach_with_flag
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x22, x0, [sp]
Lloh47:
	adrp	x0, l_.str.15@PAGE
Lloh48:
	add	x0, x0, l_.str.15@PAGEOFF
	b	LBB0_22
LBB0_36:
Lloh49:
	adrp	x1, l_.str.16@PAGE
Lloh50:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbnz	w0, LBB0_40
; %bb.37:
	add	x0, sp, #48
	bl	_init_contains_cache
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w8, #3
	b.lt	LBB0_43
; %bb.38:
	ldr	x0, [x19, #16]
Lloh51:
	adrp	x1, l_.str.17@PAGE
Lloh52:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_strcmp
	cbnz	w0, LBB0_43
; %bb.39:
	mov	w8, #1
	str	w8, [sp, #56]
	b	LBB0_44
LBB0_40:
Lloh53:
	adrp	x1, l_.str.19@PAGE
Lloh54:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbnz	w0, LBB0_31
; %bb.41:
	mov	w1, #0
	mov	w3, #0
	mov	w4, #1
	bl	_get_reachable_subset
	mov	x19, x0
Lloh55:
	adrp	x0, l_str@PAGE
Lloh56:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	cbnz	x19, LBB0_45
LBB0_42:
	mov	x0, x19
	b	LBB0_30
LBB0_43:
	str	wzr, [sp, #56]
LBB0_44:
	ldr	x1, [sp, #40]                   ; 8-byte Folded Reload
	ldr	x19, [x19, #8]
	add	x0, sp, #56
	add	x3, sp, #48
	mov	x2, #0
	bl	_commit_contains
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp]
Lloh57:
	adrp	x0, l_.str.18@PAGE
Lloh58:
	add	x0, x0, l_.str.18@PAGEOFF
	b	LBB0_22
LBB0_45:
Lloh59:
	adrp	x20, l_.str.21@PAGE
Lloh60:
	add	x20, x20, l_.str.21@PAGEOFF
	mov	x22, x19
	b	LBB0_47
LBB0_46:                                ;   in Loop: Header=BB0_47 Depth=1
	ldr	x22, [x22, #8]
	cbz	x22, LBB0_42
LBB0_47:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldrb	w8, [x8]
	tbnz	w8, #0, LBB0_46
; %bb.48:                               ;   in Loop: Header=BB0_47 Depth=1
	mov	x0, x20
	bl	__
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x21, w0
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x21
	bl	_die
	b	LBB0_46
LBB0_49:
	add	x1, sp, #104
	b	LBB0_51
LBB0_50:
	add	x1, sp, #96
LBB0_51:
	mov	x0, x27
	bl	_commit_list_insert
	mov	w1, #1
	mov	w2, #16
	bl	_ALLOC_GROW
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_17-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_18-LBB0_6)>>2
	.byte	(LBB0_49-LBB0_6)>>2
	.byte	(LBB0_50-LBB0_6)>>2
                                        ; -- End function
	.comm	_OBJECT_ARRAY_INIT,4,2          ; @OBJECT_ARRAY_INIT
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.comm	_the_repository,8,3             ; @the_repository
	.comm	_stdin,4,2                      ; @stdin
	.comm	_EOF,8,3                        ; @EOF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to resolve %s"

l_.str.1:                               ; @.str.1
	.asciz	"failed to load commit for input %s resulting in oid %s\n"

	.comm	_OBJ_COMMIT,4,2                 ; @OBJ_COMMIT
l_.str.2:                               ; @.str.2
	.asciz	"unexpected start of line: %c"

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

l_.str.4:                               ; @.str.4
	.asciz	"%s(A,B):%d\n"

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

l_.str.6:                               ; @.str.6
	.asciz	"is_descendant_of"

l_.str.7:                               ; @.str.7
	.asciz	"%s(A,X):%d\n"

l_.str.8:                               ; @.str.8
	.asciz	"get_merge_bases_many"

l_.str.9:                               ; @.str.9
	.asciz	"%s(A,X):\n"

l_.str.10:                              ; @.str.10
	.asciz	"reduce_heads"

l_.str.11:                              ; @.str.11
	.asciz	"%s(X):\n"

l_.str.12:                              ; @.str.12
	.asciz	"can_all_from_reach"

l_.str.13:                              ; @.str.13
	.asciz	"%s(X,Y):%d\n"

l_.str.14:                              ; @.str.14
	.asciz	"can_all_from_reach_with_flag"

l_.str.15:                              ; @.str.15
	.asciz	"%s(X,_,_,0,0):%d\n"

l_.str.16:                              ; @.str.16
	.asciz	"commit_contains"

l_.str.17:                              ; @.str.17
	.asciz	"--tag"

l_.str.18:                              ; @.str.18
	.asciz	"%s(_,A,X,_):%d\n"

l_.str.19:                              ; @.str.19
	.asciz	"get_reachable_subset"

l_.str.21:                              ; @.str.21
	.asciz	"commit %s is not marked reachable"

l_str:                                  ; @str
	.asciz	"get_reachable_subset(X,Y)"

.subsections_via_symbols
