	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_bundle_refs
_write_bundle_refs:                     ## @write_bundle_refs
	.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
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	movl	8(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	%rsi, %r12
	xorl	%r14d, %r14d
	movq	_UNINTERESTING@GOTPCREL(%rip), %rbx
	xorl	%r15d, %r15d
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	-52(%rbp)                       ## 4-byte Folded Spill
	movq	8(%r13,%r14), %rdi
	addq	$16, %rdi
	callq	_oid_to_hex
	movq	_the_hash_algo@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %edx
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_write_or_die
	movl	%ebx, %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edx
	callq	_write_or_die
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	callq	_strlen
	movl	%ebx, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_write_or_die
	movl	%ebx, %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edx
	callq	_write_or_die
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_UNINTERESTING@GOTPCREL(%rip), %rbx
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rdi
	callq	_free
	movl	8(%r12), %eax
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	addq	$16, %r14
	cmpq	%rcx, %r15
	jge	LBB0_21
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r12), %r13
	movq	8(%r13,%r14), %rcx
	movl	(%rbx), %edx
	testl	%edx, (%rcx)
	jne	LBB0_20
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13,%r14), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdx
	leaq	-80(%rbp), %rcx
	callq	_dwim_ref
	cmpl	$1, %eax
	jne	LBB0_18
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r14,%r13), %rax
	movq	%rax, %r12
	movq	(%rax), %rdi
	movq	_RESOLVE_REF_READING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	leaq	-60(%rbp), %rcx
	callq	_read_ref_full
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, -60(%rbp)
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-60(%rbp), %eax
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	-48(%rbp), %rdi
	movq	%r12, %rbx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	_REF_ISSYMREF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	%rbx, %rax
	leaq	-80(%rbp), %rcx
	cmoveq	%rcx, %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	8(%r13,%r14), %rsi
	movq	8(%rsi), %rax
	movq	_OBJ_TAG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, %rdi
	movq	%r12, %rsi
	callq	_is_tag_in_date_range
	testl	%eax, %eax
	je	LBB0_22
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r13,%r14), %rsi
	leaq	-48(%rbp), %rdi
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_SHOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rsi), %rax
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_warning
	jmp	LBB0_18
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %rsi
	callq	_oideq
	testl	%eax, %eax
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r12), %edi
	leaq	-48(%rbp), %rsi
	callq	_lookup_commit_reference
	cmpq	%rax, 8(%r13,%r14)
	jne	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rsi
	leaq	-48(%rbp), %rdi
	callq	_parse_object_or_die
	movq	_SHOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rax)
	movq	(%rbx), %rdx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_add_pending_object
	jmp	LBB0_18
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_UNINTERESTING@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	8(%r13,%r14), %rcx
	orl	%eax, (%rcx)
	jmp	LBB0_19
LBB0_1:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
LBB0_21:
	leaq	L_.str.2(%rip), %rsi
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	$1, %edx
	callq	_write_or_die
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UNINTERESTING,4,2              ## @UNINTERESTING
	.comm	_RESOLVE_REF_READING,4,2        ## @RESOLVE_REF_READING
	.comm	_REF_ISSYMREF,4,2               ## @REF_ISSYMREF
	.comm	_OBJ_TAG,8,3                    ## @OBJ_TAG
	.comm	_SHOWN,4,2                      ## @SHOWN
	.comm	_OBJ_COMMIT,8,3                 ## @OBJ_COMMIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ref '%s' is excluded by the rev-list options"

	.comm	_the_hash_algo,8,3              ## @the_hash_algo
L_.str.1:                               ## @.str.1
	.asciz	" "

L_.str.2:                               ## @.str.2
	.asciz	"\n"

	.no_dead_strip	_write_bundle_refs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_bundle_refs
_write_bundle_refs:                     ; @write_bundle_refs
	.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
	ldr	w8, [x1, #8]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.1:
	mov	x21, x1
	mov	x26, #0
	mov	x27, #0
	mov	w20, #0
Lloh0:
	adrp	x28, _UNINTERESTING@GOTPAGE
Lloh1:
	ldr	x28, [x28, _UNINTERESTING@GOTPAGEOFF]
Lloh2:
	adrp	x24, _REF_ISSYMREF@GOTPAGE
Lloh3:
	ldr	x24, [x24, _REF_ISSYMREF@GOTPAGEOFF]
Lloh4:
	adrp	x22, _OBJ_TAG@GOTPAGE
Lloh5:
	ldr	x22, [x22, _OBJ_TAG@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w20, w20, #1
	ldr	x8, [x23, #8]
	add	x0, x8, #16
	bl	_oid_to_hex
	mov	x1, x0
Lloh6:
	adrp	x8, _the_hash_algo@GOTPAGE
Lloh7:
	ldr	x8, [x8, _the_hash_algo@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w2, [x8]
	mov	x0, x19
	bl	_write_or_die
	mov	x0, x19
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #1
	bl	_write_or_die
	mov	x0, x25
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x25
	bl	_write_or_die
	mov	x0, x19
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #1
	bl	_write_or_die
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #16]
	bl	_free
	ldr	w8, [x21, #8]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x27, x27, #1
	add	x26, x26, #16
	cmp	x27, w8, sxtw
	b.ge	LBB0_21
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, #16]
	add	x23, x9, x26
	ldr	x9, [x23, #8]
	ldr	w9, [x9]
	ldr	w10, [x28]
	tst	w10, w9
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x25, [x23]
	mov	x0, x25
	bl	_strlen
	mov	x1, x0
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x0, x25
	bl	_dwim_ref
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x23]
Lloh13:
	adrp	x8, _RESOLVE_REF_READING@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RESOLVE_REF_READING@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	add	x2, sp, #24
	add	x3, sp, #12
	bl	_read_ref_full
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #0
	str	wzr, [sp, #12]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #12]
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x24]
	tst	w9, w8
	add	x8, sp, #16
	csel	x8, x8, x23, eq
	ldr	x25, [x8]
	ldr	x0, [x23, #8]
	ldr	x8, [x0, #8]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x1, x21
	bl	_is_tag_in_date_range
	cbz	w0, LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x23, #8]
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x0]
Lloh16:
	adrp	x9, _SHOWN@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SHOWN@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x0, #8]
Lloh19:
	adrp	x9, _OBJ_COMMIT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _OBJ_COMMIT@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldr	x1, [x23]
	bl	_warning
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, x0, #16
	add	x0, sp, #24
	bl	_oideq
	cbnz	w0, LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x21]
	add	x1, sp, #24
	bl	_lookup_commit_reference
	ldr	x8, [x23, #8]
	cmp	x8, x0
	b.ne	LBB0_3
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [x23]
	add	x0, sp, #24
	bl	_parse_object_or_die
	mov	x1, x0
Lloh24:
	adrp	x8, _SHOWN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SHOWN@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	ldr	x2, [x23]
	mov	x0, x21
	bl	_add_pending_object
	b	LBB0_3
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x28]
	ldr	x9, [x23, #8]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	b	LBB0_3
LBB0_20:
	mov	w20, #0
LBB0_21:
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_write_or_die
	mov	x0, x20
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_UNINTERESTING,4,2              ; @UNINTERESTING
	.comm	_RESOLVE_REF_READING,4,2        ; @RESOLVE_REF_READING
	.comm	_REF_ISSYMREF,4,2               ; @REF_ISSYMREF
	.comm	_OBJ_TAG,8,3                    ; @OBJ_TAG
	.comm	_SHOWN,4,2                      ; @SHOWN
	.comm	_OBJ_COMMIT,8,3                 ; @OBJ_COMMIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ref '%s' is excluded by the rev-list options"

	.comm	_the_hash_algo,8,3              ; @the_hash_algo
l_.str.1:                               ; @.str.1
	.asciz	" "

l_.str.2:                               ; @.str.2
	.asciz	"\n"

	.no_dead_strip	_write_bundle_refs
.subsections_via_symbols
