	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_push_ref_states
_get_push_ref_states:                   ## @get_push_ref_states
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rsi), %rbx
	cmpq	$0, 8(%rbx)
	jne	LBB0_13
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r12
	xorl	%eax, %eax
	callq	_get_local_heads
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_copy_ref_list
	movq	%rax, -48(%rbp)
	movq	_MATCH_REFS_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rsi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_match_push_refs
	movl	$1, (%r15)
	movq	-48(%rbp), %rbx
	jmp	LBB0_2
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_PUSH_STATUS_OUTOFDATE@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rcx), %eax
	movl	%eax, (%r13)
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rbx
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	4(%rbx), %r12
	addq	$4, %rsi
	movq	%r12, %rdi
	callq	_oidcpy
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	callq	_abbrev_branch
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_string_list_append
	movq	%rax, %r14
	movl	$1, %edi
	movl	$12, %esi
	callq	_xcalloc
	movq	%rax, %r13
	movq	%rax, (%r14)
	movl	12(%rbx), %eax
	movl	%eax, 8(%r13)
	movl	8(%rbx), %edi
	callq	_abbrev_branch
	movl	%eax, %edi
	callq	_xstrdup
	movl	%eax, 4(%r13)
	movq	%r12, %rdi
	callq	_is_null_oid
	movq	_PUSH_STATUS_DELETE@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_oideq
	movq	_PUSH_STATUS_UPTODATE@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_is_null_oid
	movq	_PUSH_STATUS_CREATE@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_has_object_file
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_ref_newer
	movq	_PUSH_STATUS_FASTFORWARD@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_9
LBB0_12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free_refs
	movq	-48(%rbp), %rdi
	callq	_free_refs
LBB0_13:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MATCH_REFS_NONE,4,2            ## @MATCH_REFS_NONE
	.comm	_PUSH_STATUS_DELETE,4,2         ## @PUSH_STATUS_DELETE
	.comm	_PUSH_STATUS_UPTODATE,4,2       ## @PUSH_STATUS_UPTODATE
	.comm	_PUSH_STATUS_CREATE,4,2         ## @PUSH_STATUS_CREATE
	.comm	_PUSH_STATUS_FASTFORWARD,4,2    ## @PUSH_STATUS_FASTFORWARD
	.comm	_PUSH_STATUS_OUTOFDATE,4,2      ## @PUSH_STATUS_OUTOFDATE
	.no_dead_strip	_get_push_ref_states
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_push_ref_states
_get_push_ref_states:                   ; @get_push_ref_states
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x21, [x1, #8]
	ldr	x8, [x21, #8]
	cbnz	x8, LBB0_13
; %bb.1:
	mov	x19, x1
	mov	x22, x0
	bl	_get_local_heads
	mov	x20, x0
	mov	x0, x22
	bl	_copy_ref_list
	str	x0, [sp, #8]
Lloh0:
	adrp	x8, _MATCH_REFS_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MATCH_REFS_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x21
	bl	_match_push_refs
	mov	w8, #1
	str	w8, [x19]
	ldr	x21, [sp, #8]
	cbz	x21, LBB0_12
; %bb.2:
Lloh3:
	adrp	x25, _PUSH_STATUS_DELETE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _PUSH_STATUS_DELETE@GOTPAGEOFF]
Lloh5:
	adrp	x26, _PUSH_STATUS_UPTODATE@GOTPAGE
Lloh6:
	ldr	x26, [x26, _PUSH_STATUS_UPTODATE@GOTPAGEOFF]
Lloh7:
	adrp	x27, _PUSH_STATUS_CREATE@GOTPAGE
Lloh8:
	ldr	x27, [x27, _PUSH_STATUS_CREATE@GOTPAGEOFF]
Lloh9:
	adrp	x28, _PUSH_STATUS_FASTFORWARD@GOTPAGE
Lloh10:
	ldr	x28, [x28, _PUSH_STATUS_FASTFORWARD@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh11:
	adrp	x8, _PUSH_STATUS_OUTOFDATE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PUSH_STATUS_OUTOFDATE@GOTPAGEOFF]
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x8]
	str	w8, [x23]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x21, [x21, #24]
	cbz	x21, LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x21, #4
	add	x1, x8, #4
	mov	x0, x22
	bl	_oidcpy
	ldr	x8, [x21, #16]
	ldr	w0, [x8]
	bl	_abbrev_branch
	mov	x1, x0
	mov	x0, x19
	bl	_string_list_append
	mov	x24, x0
	mov	w0, #1
	mov	w1, #12
	bl	_xcalloc
	mov	x23, x0
	str	x0, [x24]
	ldp	w0, w8, [x21, #8]
	str	w8, [x23, #8]
	bl	_abbrev_branch
	bl	_xstrdup
	str	w0, [x23, #4]
	mov	x0, x22
	bl	_is_null_oid
	mov	x8, x25
	cbnz	x0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_oideq
	mov	x8, x26
	cbnz	x0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_is_null_oid
	mov	x8, x27
	cbnz	x0, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_has_object_file
	cbz	x0, LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	x1, x21
	bl	_ref_newer
	mov	x8, x28
	cbnz	x0, LBB0_4
	b	LBB0_3
LBB0_12:
	mov	x0, x20
	bl	_free_refs
	ldr	x0, [sp, #8]
	bl	_free_refs
LBB0_13:
	mov	w0, #0
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MATCH_REFS_NONE,4,2            ; @MATCH_REFS_NONE
	.comm	_PUSH_STATUS_DELETE,4,2         ; @PUSH_STATUS_DELETE
	.comm	_PUSH_STATUS_UPTODATE,4,2       ; @PUSH_STATUS_UPTODATE
	.comm	_PUSH_STATUS_CREATE,4,2         ; @PUSH_STATUS_CREATE
	.comm	_PUSH_STATUS_FASTFORWARD,4,2    ; @PUSH_STATUS_FASTFORWARD
	.comm	_PUSH_STATUS_OUTOFDATE,4,2      ; @PUSH_STATUS_OUTOFDATE
	.no_dead_strip	_get_push_ref_states
.subsections_via_symbols
