	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function record_reference
_record_reference:                      ## @record_reference
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_TREE_CODE
                                        ## kill: def $eax killed $eax def $rax
	leal	-129(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_1
## %bb.6:
	movq	_flag_unit_at_a_time@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_9
## %bb.7:
	movq	(%r12), %rdi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TREE_CODE
	movq	_FUNCTION_DECL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_cgraph_node
	movl	%eax, %edi
	callq	_cgraph_mark_needed_node
	jmp	LBB0_9
LBB0_1:
	cmpl	$128, %eax
	jne	LBB0_10
## %bb.2:
	movq	%rbx, %rdi
	callq	_TREE_STATIC
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_DECL_EXTERNAL
	testl	%eax, %eax
	je	LBB0_9
LBB0_4:
	movq	%rbx, %rdi
	callq	_cgraph_varpool_node
	movl	%eax, %edi
	callq	_cgraph_varpool_mark_needed_node
	movq	_lang_hooks@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_9
LBB0_10:
	movq	(%r12), %rdi
	callq	_IS_TYPE_OR_DECL_P
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	$0, (%r15)
	jmp	LBB0_9
LBB0_12:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_LAST_AND_UNUSED_TREE_CODE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jae	LBB0_13
LBB0_9:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_lang_hooks@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_5:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_lang_hooks,8,3                 ## @lang_hooks
	.comm	_flag_unit_at_a_time,4,2        ## @flag_unit_at_a_time
	.comm	_FUNCTION_DECL,4,2              ## @FUNCTION_DECL
	.comm	_LAST_AND_UNUSED_TREE_CODE,4,2  ## @LAST_AND_UNUSED_TREE_CODE
	.no_dead_strip	_record_reference
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function record_reference
_record_reference:                      ; @record_reference
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x22, [x0]
	mov	x0, x22
	bl	_TREE_CODE
	sub	w8, w0, #129
	cmp	w8, #2
	b.hs	LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _flag_unit_at_a_time@GOTPAGE
Lloh1:
	ldr	x8, [x8, _flag_unit_at_a_time@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_11
; %bb.2:
	ldr	x0, [x19]
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x19, x0
	bl	_TREE_CODE
Lloh3:
	adrp	x8, _FUNCTION_DECL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FUNCTION_DECL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.3:
	mov	x0, x19
	bl	_cgraph_node
	bl	_cgraph_mark_needed_node
	b	LBB0_11
LBB0_4:
	cmp	w0, #128
	b.ne	LBB0_8
; %bb.5:
	mov	x0, x22
	bl	_TREE_STATIC
	cbnz	w0, LBB0_7
; %bb.6:
	mov	x0, x22
	bl	_DECL_EXTERNAL
	cbz	w0, LBB0_11
LBB0_7:
	mov	x0, x22
	bl	_cgraph_varpool_node
	bl	_cgraph_varpool_mark_needed_node
Lloh6:
	adrp	x8, _lang_hooks@GOTPAGE
Lloh7:
	ldr	x8, [x8, _lang_hooks@GOTPAGEOFF]
Lloh8:
	ldr	x3, [x8]
	cbnz	x3, LBB0_13
	b	LBB0_11
LBB0_8:
	ldr	x0, [x19]
	bl	_IS_TYPE_OR_DECL_P
	cbz	w0, LBB0_10
; %bb.9:
	str	wzr, [x21]
	b	LBB0_11
LBB0_10:
	mov	x0, x22
	bl	_TREE_CODE
Lloh9:
	adrp	x8, _LAST_AND_UNUSED_TREE_CODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LAST_AND_UNUSED_TREE_CODE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, w8
	b.hs	LBB0_12
LBB0_11:
	mov	x0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh12:
	adrp	x8, _lang_hooks@GOTPAGE
Lloh13:
	ldr	x8, [x8, _lang_hooks@GOTPAGEOFF]
Lloh14:
	ldr	x3, [x8]
LBB0_13:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_lang_hooks,8,3                 ; @lang_hooks
	.comm	_flag_unit_at_a_time,4,2        ; @flag_unit_at_a_time
	.comm	_FUNCTION_DECL,4,2              ; @FUNCTION_DECL
	.comm	_LAST_AND_UNUSED_TREE_CODE,4,2  ; @LAST_AND_UNUSED_TREE_CODE
	.no_dead_strip	_record_reference
.subsections_via_symbols
