	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lookup_tag
_lookup_tag:                            ## @lookup_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movl	%esi, %r14d
	movl	%edi, %r15d
	movl	%esi, %edi
	callq	_I_TAG_BINDING
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%rax, %rbx
	movl	(%rax), %edi
	testl	%edi, %edi
	je	LBB0_14
## %bb.2:
	testl	%r13d, %r13d
	jne	LBB0_4
## %bb.3:
	callq	_TREE_CODE
	cmpl	%r15d, %eax
	je	LBB0_9
LBB0_4:
	movq	%rbx, %rdi
	callq	_B_IN_CURRENT_SCOPE
	movb	$1, %cl
	testq	%rax, %rax
	jne	LBB0_10
## %bb.5:
	movq	_current_scope@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_file_scope@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.6:
	movq	%rbx, %rdi
	callq	_B_IN_EXTERNAL_SCOPE
	testq	%rax, %rax
	setne	%cl
	testl	%r13d, %r13d
	je	LBB0_10
## %bb.7:
	testq	%rax, %rax
	je	LBB0_14
	jmp	LBB0_10
LBB0_8:
	xorl	%r12d, %r12d
	testl	%r13d, %r13d
	jne	LBB0_14
LBB0_9:
	xorl	%ecx, %ecx
LBB0_10:
	movl	%ecx, %r12d
	movl	(%rbx), %edi
	callq	_TREE_CODE
	cmpl	%r15d, %eax
	je	LBB0_13
## %bb.11:
	movq	_pending_invalid_xref@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	movq	_input_location@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_pending_invalid_xref_location@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testb	%r12b, %r12b
	je	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	callq	_pending_xref_error
LBB0_13:
	movl	(%rbx), %r12d
LBB0_14:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current_scope,8,3              ## @current_scope
	.comm	_file_scope,8,3                 ## @file_scope
	.comm	_pending_invalid_xref,4,2       ## @pending_invalid_xref
	.comm	_input_location,4,2             ## @input_location
	.comm	_pending_invalid_xref_location,4,2 ## @pending_invalid_xref_location
	.no_dead_strip	_lookup_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lookup_tag
_lookup_tag:                            ; @lookup_tag
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_I_TAG_BINDING
	cbz	x0, LBB0_15
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0]
	cbz	w0, LBB0_15
; %bb.2:
	cbnz	w22, LBB0_4
; %bb.3:
	bl	_TREE_CODE
	cmp	w0, w21
	b.eq	LBB0_10
LBB0_4:
	mov	x0, x19
	bl	_B_IN_CURRENT_SCOPE
	cbz	x0, LBB0_6
; %bb.5:
	mov	w23, #1
	b	LBB0_11
LBB0_6:
Lloh0:
	adrp	x8, _current_scope@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_scope@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _file_scope@GOTPAGE
Lloh4:
	ldr	x9, [x9, _file_scope@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.7:
	mov	x0, x19
	bl	_B_IN_EXTERNAL_SCOPE
	cmp	x0, #0
	cset	w23, ne
	cbz	w22, LBB0_11
; %bb.8:
	cbz	x0, LBB0_15
	b	LBB0_11
LBB0_9:
	mov	w0, #0
	cbnz	w22, LBB0_15
LBB0_10:
	mov	w23, #0
LBB0_11:
	ldr	w0, [x19]
	bl	_TREE_CODE
	cmp	w0, w21
	b.eq	LBB0_14
; %bb.12:
Lloh6:
	adrp	x8, _pending_invalid_xref@GOTPAGE
Lloh7:
	ldr	x8, [x8, _pending_invalid_xref@GOTPAGEOFF]
Lloh8:
	str	w20, [x8]
Lloh9:
	adrp	x8, _input_location@GOTPAGE
Lloh10:
	ldr	x8, [x8, _input_location@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _pending_invalid_xref_location@GOTPAGE
Lloh13:
	ldr	x9, [x9, _pending_invalid_xref_location@GOTPAGEOFF]
Lloh14:
	str	w8, [x9]
	cbz	w23, LBB0_14
; %bb.13:
	bl	_pending_xref_error
LBB0_14:
	ldr	w0, [x19]
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_current_scope,8,3              ; @current_scope
	.comm	_file_scope,8,3                 ; @file_scope
	.comm	_pending_invalid_xref,4,2       ; @pending_invalid_xref
	.comm	_input_location,4,2             ; @input_location
	.comm	_pending_invalid_xref_location,4,2 ; @pending_invalid_xref_location
	.no_dead_strip	_lookup_tag
.subsections_via_symbols
