	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_match_push_refs                ## -- Begin function match_push_refs
	.p2align	4, 0x90
_match_push_refs:                       ## @match_push_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
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_MATCH_REFS_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_MATCH_REFS_MIRROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	andl	%ecx, %r12d
	movq	_MATCH_REFS_PRUNE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rdi
	callq	_tail_ref
	movq	%rax, -80(%rbp)
	movq	_STRING_LIST_INIT_NODUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	cmpl	$0, (%r15)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_refspec_append
LBB0_2:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rsi
	leaq	-80(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rcx
	callq	_match_explicit_refs
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	testq	%r14, %r14
	je	LBB0_17
## %bb.3:
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	andl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_4
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	-80(%rbp), %rsi
	callq	_make_linked_ref
	movq	%rax, %rbx
	leaq	24(%rax), %rdi
	leaq	24(%r13), %rsi
	callq	_oidcpy
	movl	20(%rbx), %esi
	leaq	-48(%rbp), %rdi
	callq	_string_list_insert
	movq	%rbx, (%rax)
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	callq	_copy_ref
	movq	%rax, (%rbx)
	movq	-56(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_free
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r13), %r13
	testq	%r13, %r13
	je	LBB0_17
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, -56(%rbp)
	movq	_FROM_SRC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	leaq	-56(%rbp), %r8
	callq	_get_ref_match
	testq	%rax, %rax
	je	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r14
	cmpl	$0, -48(%rbp)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	leaq	-48(%rbp), %rdi
	callq	_prepare_ref_index
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	callq	_string_list_lookup
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, (%rbx)
	jne	LBB0_15
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	testl	%r12d, %r12d
	je	LBB0_15
	jmp	LBB0_13
LBB0_17:
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_string_list_clear
	movq	_MATCH_REFS_FOLLOW_TAGS@GOTPCREL(%rip), %rax
	movl	-64(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, (%rax)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_19
## %bb.18:
	leaq	-80(%rbp), %rdx
	movq	%r14, %rsi
	callq	_add_missing_tags
LBB0_19:
	testl	%ebx, -84(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_31
## %bb.20:
	movq	_STRING_LIST_INIT_NODUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_30
## %bb.21:
	movq	_FROM_DST@GOTPCREL(%rip), %r14
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	%r13, %rdi
	callq	_free
LBB0_29:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_30
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rbx)
	jne	LBB0_29
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	(%r14), %ecx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	xorl	%r8d, %r8d
	callq	_get_ref_match
	testq	%rax, %rax
	je	LBB0_29
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=1
	movq	%rax, %r13
	cmpl	$0, -56(%rbp)
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	leaq	-56(%rbp), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_prepare_ref_index
LBB0_26:                                ##   in Loop: Header=BB0_22 Depth=1
	leaq	-56(%rbp), %rdi
	movq	%r13, %rsi
	callq	_string_list_has_string
	testl	%eax, %eax
	jne	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_22 Depth=1
	xorl	%eax, %eax
	callq	_alloc_delete_ref
	movq	%rax, (%rbx)
	jmp	LBB0_28
LBB0_30:
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	callq	_string_list_clear
LBB0_31:
	xorl	%eax, %eax
	negl	-88(%rbp)                       ## 4-byte Folded Spill
	sbbl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MATCH_REFS_ALL,4,2             ## @MATCH_REFS_ALL
	.comm	_MATCH_REFS_MIRROR,4,2          ## @MATCH_REFS_MIRROR
	.comm	_MATCH_REFS_PRUNE,4,2           ## @MATCH_REFS_PRUNE
	.comm	_STRING_LIST_INIT_NODUP,4,2     ## @STRING_LIST_INIT_NODUP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	":"

	.comm	_FROM_SRC,4,2                   ## @FROM_SRC
	.comm	_MATCH_REFS_FOLLOW_TAGS,4,2     ## @MATCH_REFS_FOLLOW_TAGS
	.comm	_FROM_DST,4,2                   ## @FROM_DST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_match_push_refs                ; -- Begin function match_push_refs
	.p2align	2
_match_push_refs:                       ; @match_push_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	x24, x3
	mov	x19, x2
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _MATCH_REFS_ALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MATCH_REFS_ALL@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MATCH_REFS_MIRROR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MATCH_REFS_MIRROR@GOTPAGEOFF]
Lloh4:
	ldr	w22, [x8]
Lloh5:
	ldr	w8, [x9]
	and	w21, w8, w3
Lloh6:
	adrp	x8, _MATCH_REFS_PRUNE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MATCH_REFS_PRUNE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp]                        ; 4-byte Folded Spill
	mov	x0, x1
	bl	_tail_ref
	str	x0, [sp, #24]
Lloh9:
	adrp	x8, _STRING_LIST_INIT_NODUP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STRING_LIST_INIT_NODUP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	ldr	w8, [x19]
	cbnz	w8, LBB0_2
; %bb.1:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_refspec_append
LBB0_2:
	ldr	x1, [x23]
	add	x2, sp, #24
	mov	x0, x20
	mov	x3, x19
	bl	_match_explicit_refs
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	cbz	x20, LBB0_15
; %bb.3:
	and	w22, w22, w24
Lloh14:
	adrp	x28, _FROM_SRC@GOTPAGE
Lloh15:
	ldr	x28, [x28, _FROM_SRC@GOTPAGEOFF]
	mov	x25, x20
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	bl	_copy_ref
	str	x0, [x27]
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	str	w8, [x27, #16]
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x26
	bl	_free
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x25, [x25, #8]
	cbz	x25, LBB0_15
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [sp, #8]
	ldr	w3, [x28]
	add	x4, sp, #8
	mov	x0, x19
	mov	x1, x25
	mov	x2, x21
	bl	_get_ref_match
	cbz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x26, x0
	ldr	w8, [sp, #16]
	cbnz	w8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x1, [x23]
	add	x0, sp, #16
	bl	_prepare_ref_index
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #16
	mov	x1, x26
	bl	_string_list_lookup
	cbz	x0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x27, [x0]
	cbz	x27, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x27]
	cbnz	x8, LBB0_5
	b	LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #8]
	cmp	x8, #0
	ccmp	w22, #0, #0, ne
	ccmp	w21, #0, #0, eq
	b.eq	LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x1, sp, #24
	mov	x0, x26
	bl	_make_linked_ref
	mov	x27, x0
	add	x0, x0, #24
	add	x1, x25, #24
	bl	_oidcpy
	ldr	w1, [x27, #20]
	add	x0, sp, #16
	bl	_string_list_insert
	str	x27, [x0]
	b	LBB0_4
LBB0_15:
	ldr	w8, [sp]                        ; 4-byte Folded Reload
	and	w22, w8, w24
	add	x0, sp, #16
	mov	w1, #0
	bl	_string_list_clear
Lloh16:
	adrp	x8, _MATCH_REFS_FOLLOW_TAGS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MATCH_REFS_FOLLOW_TAGS@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w24
	b.eq	LBB0_17
; %bb.16:
	add	x2, sp, #24
	mov	x0, x20
	mov	x1, x23
	bl	_add_missing_tags
LBB0_17:
	cbz	w22, LBB0_29
; %bb.18:
Lloh19:
	adrp	x8, _STRING_LIST_INIT_NODUP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _STRING_LIST_INIT_NODUP@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	x23, [x23]
	cbz	x23, LBB0_28
; %bb.19:
Lloh22:
	adrp	x22, _FROM_DST@GOTPAGE
Lloh23:
	ldr	x22, [x22, _FROM_DST@GOTPAGEOFF]
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	x0, x24
	bl	_free
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	x23, [x23, #8]
	cbz	x23, LBB0_28
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	cbnz	x8, LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	mov	x4, #0
	bl	_get_ref_match
	cbz	x0, LBB0_21
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x24, x0
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_22 Depth=1
	add	x0, sp, #8
	mov	x1, x20
	bl	_prepare_ref_index
LBB0_26:                                ;   in Loop: Header=BB0_22 Depth=1
	add	x0, sp, #8
	mov	x1, x24
	bl	_string_list_has_string
	cbnz	w0, LBB0_20
; %bb.27:                               ;   in Loop: Header=BB0_22 Depth=1
	bl	_alloc_delete_ref
	str	x0, [x23]
	b	LBB0_20
LBB0_28:
	add	x0, sp, #8
	mov	w1, #0
	bl	_string_list_clear
LBB0_29:
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	cmp	w8, #0
	csetm	w0, ne
	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 AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_MATCH_REFS_ALL,4,2             ; @MATCH_REFS_ALL
	.comm	_MATCH_REFS_MIRROR,4,2          ; @MATCH_REFS_MIRROR
	.comm	_MATCH_REFS_PRUNE,4,2           ; @MATCH_REFS_PRUNE
	.comm	_STRING_LIST_INIT_NODUP,4,2     ; @STRING_LIST_INIT_NODUP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	":"

	.comm	_FROM_SRC,4,2                   ; @FROM_SRC
	.comm	_MATCH_REFS_FOLLOW_TAGS,4,2     ; @MATCH_REFS_FOLLOW_TAGS
	.comm	_FROM_DST,4,2                   ; @FROM_DST
.subsections_via_symbols
