	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_ref_tag
_get_ref_tag:                           ## @get_ref_tag
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_get_base_address
	movq	%rax, %r14
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%rbx, %rdi
	callq	_handled_component_p
	testq	%rax, %rax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.1:
	leaq	-64(%rbp), %r15
	leaq	-60(%rbp), %r14
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	leaq	-68(%rbp), %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_get_ref_base_and_extent
	movq	%rax, %r12
	testq	%r13, %r13
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_handled_component_p
	testq	%rax, %rax
	jne	LBB0_2
LBB0_5:
	testq	%r12, %r12
	jne	LBB0_6
	jmp	LBB0_9
LBB0_3:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	testq	%r12, %r12
	je	LBB0_9
LBB0_6:
	movq	%r12, %rdi
	callq	_SSA_VAR_P
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	%r12, %rdi
	callq	_get_subvars_for_var
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_unshare_expr
	movq	%rax, %rbx
	jmp	LBB0_18
LBB0_9:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.11:
	movq	%rbx, %rdi
	callq	_TREE_CODE
	movq	_INDIRECT_REF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.12:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_TREE_OPERAND
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_TREE_CODE
	movq	_SSA_NAME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.13:
	movq	%r14, %rdi
	callq	_SSA_NAME_PTR_INFO
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	callq	_SSA_NAME_PTR_INFO
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	jne	LBB0_18
LBB0_15:
	movq	%r14, %rdi
	callq	_SSA_NAME_VAR
	movq	%rax, %rdi
	callq	_var_ann
	movq	(%rax), %rbx
	xorl	%edi, %edi
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	setne	%dil
	callq	_gcc_assert
	jmp	LBB0_18
LBB0_16:
	movq	%rbx, %rdi
	callq	_DECL_P
	testl	%eax, %eax
	je	LBB0_10
## %bb.17:
	movq	%rbx, %rdi
	callq	_var_ann
	movq	(%rax), %rax
	testq	%rax, %rax
	cmovneq	%rax, %rbx
	jmp	LBB0_18
LBB0_10:
	movq	_NULL_TREE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_18:
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NULL_TREE,8,3                  ## @NULL_TREE
	.comm	_INDIRECT_REF,8,3               ## @INDIRECT_REF
	.comm	_SSA_NAME,8,3                   ## @SSA_NAME
	.no_dead_strip	_get_ref_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_ref_tag
_get_ref_tag:                           ; @get_ref_tag
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x23, x0
	bl	_get_base_address
	mov	x19, x0
Lloh0:
	adrp	x24, _NULL_TREE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _NULL_TREE@GOTPAGEOFF]
	ldr	x22, [x24]
	mov	x0, x21
	bl	_handled_component_p
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x21
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #12
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x20
	bl	_get_ref_base_and_extent
	mov	x22, x0
	cbnz	x23, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x20, x0
	bl	_handled_component_p
	cbnz	x0, LBB0_2
; %bb.4:
	cbnz	x22, LBB0_7
	b	LBB0_10
LBB0_5:
	mov	x20, x21
	cbnz	x22, LBB0_7
	b	LBB0_10
LBB0_6:
	mov	x20, x21
	cbz	x22, LBB0_10
LBB0_7:
	mov	x0, x22
	bl	_SSA_VAR_P
	cbz	x0, LBB0_10
; %bb.8:
	mov	x0, x22
	bl	_get_subvars_for_var
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_unshare_expr
	mov	x19, x0
	b	LBB0_19
LBB0_10:
	cbz	x19, LBB0_18
; %bb.11:
	mov	x0, x19
	bl	_TREE_CODE
Lloh2:
	adrp	x8, _INDIRECT_REF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INDIRECT_REF@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.12:
	mov	x0, x19
	mov	w1, #0
	bl	_TREE_OPERAND
	mov	x20, x0
	bl	_TREE_CODE
Lloh5:
	adrp	x8, _SSA_NAME@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SSA_NAME@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_18
; %bb.13:
	mov	x0, x20
	bl	_SSA_NAME_PTR_INFO
	cbz	x0, LBB0_15
; %bb.14:
	mov	x0, x20
	bl	_SSA_NAME_PTR_INFO
	ldr	x19, [x0]
	cbnz	x19, LBB0_19
LBB0_15:
	mov	x0, x20
	bl	_SSA_NAME_VAR
	bl	_var_ann
	ldr	x19, [x0]
	ldr	x8, [x24]
	cmp	x19, x8
	cset	w0, ne
	bl	_gcc_assert
	b	LBB0_19
LBB0_16:
	mov	x0, x19
	bl	_DECL_P
	cbz	w0, LBB0_18
; %bb.17:
	mov	x0, x19
	bl	_var_ann
	ldr	x8, [x0]
	cmp	x8, #0
	csel	x19, x19, x8, eq
	b	LBB0_19
LBB0_18:
	ldr	x19, [x24]
LBB0_19:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NULL_TREE,8,3                  ; @NULL_TREE
	.comm	_INDIRECT_REF,8,3               ; @INDIRECT_REF
	.comm	_SSA_NAME,8,3                   ; @SSA_NAME
	.no_dead_strip	_get_ref_tag
.subsections_via_symbols
