	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_outer_var_ref
_build_outer_var_ref:                   ## @build_outer_var_ref
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	callq	_maybe_lookup_decl_in_outer_ctx
	movl	%eax, %edi
	callq	_is_global_var
	movl	%r15d, %ebx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movl	%r15d, %edi
	callq	_is_variable_sized
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	%r15d, %edi
	callq	_DECL_VALUE_EXPR
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_build_outer_var_ref
	movl	%eax, %edi
	callq	_build_fold_indirect_ref
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_3:
	movq	%r14, %rdi
	callq	_is_parallel_ctx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	%r15d, %edi
	xorl	%esi, %esi
	callq	_use_pointer_for_field
	movl	%r15d, %edi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_build_receiver_ref
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_5:
	movq	(%r14), %rsi
	movl	%r15d, %edi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:
	callq	_lookup_decl
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_7:
	callq	_is_reference
	movl	%r15d, %ebx
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_gcc_unreachable
                                        ## implicit-def: $ebx
LBB0_9:
	movl	%r15d, %edi
	callq	_is_reference
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_build_fold_indirect_ref        ## TAILCALL
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_build_outer_var_ref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_outer_var_ref
_build_outer_var_ref:                   ; @build_outer_var_ref
	.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, x1
	mov	x19, x0
	bl	_maybe_lookup_decl_in_outer_ctx
	bl	_is_global_var
	mov	x21, x19
	cbnz	x0, LBB0_9
; %bb.1:
	mov	x0, x19
	bl	_is_variable_sized
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_DECL_VALUE_EXPR
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x1, x20
	bl	_build_outer_var_ref
	bl	_build_fold_indirect_ref
	mov	x21, x0
	b	LBB0_9
LBB0_3:
	mov	x0, x20
	bl	_is_parallel_ctx
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	mov	w1, #0
	bl	_use_pointer_for_field
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_build_receiver_ref
	mov	x21, x0
	b	LBB0_9
LBB0_5:
	ldr	x1, [x20]
	cbz	x1, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_lookup_decl
	mov	x21, x0
	b	LBB0_9
LBB0_7:
	mov	x0, x19
	bl	_is_reference
	mov	x21, x19
	cbnz	x0, LBB0_9
; %bb.8:
	bl	_gcc_unreachable
                                        ; implicit-def: $w21
LBB0_9:
	mov	x0, x19
	bl	_is_reference
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x21
	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
	b	_build_fold_indirect_ref
LBB0_11:
	mov	x0, x21
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_build_outer_var_ref
.subsections_via_symbols
