	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_for_label_ref
_check_for_label_ref:                   ## @check_for_label_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
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_GET_CODE
	movq	_LABEL_REF@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movl	(%rbx), %edi
	callq	_LABEL_REF_NONLOCAL_P
	testl	%eax, %eax
	jne	LBB0_5
## %bb.2:
	movl	(%rbx), %edi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_XEXP
	movl	%eax, %edi
	callq	_LABEL_P
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	(%rbx), %edi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_XEXP
	movl	%eax, %edi
	callq	_INSN_UID
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_REG_LABEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_find_reg_note
	xorl	%r15d, %r15d
	testl	%eax, %eax
	sete	%r15b
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LABEL_REF,8,3                  ## @LABEL_REF
	.comm	_REG_LABEL,4,2                  ## @REG_LABEL
	.no_dead_strip	_check_for_label_ref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_for_label_ref
_check_for_label_ref:                   ; @check_for_label_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	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_GET_CODE
Lloh0:
	adrp	x8, _LABEL_REF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LABEL_REF@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x20]
	bl	_LABEL_REF_NONLOCAL_P
	cbz	w0, LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	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_4:
	ldr	w0, [x20]
	mov	w1, #0
	bl	_XEXP
	bl	_LABEL_P
	cbz	x0, LBB0_3
; %bb.5:
	ldr	w0, [x20]
	mov	w1, #0
	bl	_XEXP
	bl	_INSN_UID
	cbz	x0, LBB0_3
; %bb.6:
Lloh3:
	adrp	x8, _REG_LABEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_LABEL@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	ldr	w0, [x20]
	mov	w1, #0
	bl	_XEXP
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_find_reg_note
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LABEL_REF,8,3                  ; @LABEL_REF
	.comm	_REG_LABEL,4,2                  ; @REG_LABEL
	.no_dead_strip	_check_for_label_ref
.subsections_via_symbols
