	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_llvm_function_reference        ## -- Begin function llvm_function_reference
	.p2align	4, 0x90
_llvm_function_reference:               ## @llvm_function_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	(%rcx), %rax
	movq	(%rax), %rdi
	leaq	-56(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_fmgr_symbol
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdx
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_psprintf
	jmp	LBB0_5
LBB0_3:
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	movq	%rdx, %rsi
	xorl	%eax, %eax
	callq	_psprintf
LBB0_5:
	movq	%rax, %rbx
	movl	%r15d, %edi
	movq	%rax, %rsi
	callq	_LLVMGetNamedFunction
	testq	%rax, %rax
	jne	LBB0_11
## %bb.6:
	movq	_TypePGFunction@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LLVMGetElementType
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_LLVMAddFunction
	jmp	LBB0_11
LBB0_7:
	movq	(%rbx), %rax
	movq	(%rax), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_psprintf
	movq	%rax, %r12
	movl	%r15d, %edi
	movq	%rax, %rsi
	callq	_LLVMGetNamedGlobal
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rdx
	movl	%r14d, %edi
	movq	%rax, %rsi
	jmp	LBB0_10
LBB0_9:
	movq	(%rbx), %rax
	movl	8(%rax), %edi
	movq	_TypePGFunction@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_l_ptr_const
	movq	%rax, %r13
	movl	(%rbx), %esi
	movl	%r15d, %edi
	movq	%r12, %rdx
	callq	_LLVMAddGlobal
	movq	%rax, %rbx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_LLVMSetInitializer
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_LLVMSetGlobalConstant
	leaq	L_.str.3(%rip), %rdx
	movl	%r14d, %edi
	movq	%rbx, %rsi
LBB0_10:
	callq	_LLVMBuildLoad
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pgextern.%s.%s"

L_.str.1:                               ## @.str.1
	.asciz	"%s"

L_.str.2:                               ## @.str.2
	.asciz	"pgoidextern.%u"

L_.str.3:                               ## @.str.3
	.space	1

	.comm	_TypePGFunction,4,2             ## @TypePGFunction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_llvm_function_reference        ; -- Begin function llvm_function_reference
	.p2align	2
_llvm_function_reference:               ; @llvm_function_reference
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x19, x2
	mov	x20, x1
	ldr	x8, [x3]
	ldr	x0, [x8]
	add	x1, sp, #24
	add	x2, sp, #16
	bl	_fmgr_symbol
	ldp	x1, x8, [sp, #16]
	cmp	x8, #0
	ccmp	x1, #0, #4, ne
	b.ne	LBB0_3
; %bb.1:
	cbz	x1, LBB0_6
; %bb.2:
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
	str	x1, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x8
LBB0_4:
	bl	_psprintf
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_LLVMGetNamedFunction
	cbnz	x0, LBB0_10
; %bb.5:
Lloh4:
	adrp	x8, _TypePGFunction@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TypePGFunction@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_LLVMGetElementType
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_LLVMAddFunction
	b	LBB0_10
LBB0_6:
	ldr	x8, [x21]
	ldr	x1, [x8]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_psprintf
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	bl	_LLVMGetNamedGlobal
	cbz	x0, LBB0_8
; %bb.7:
	mov	x1, x0
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	b	LBB0_9
LBB0_8:
	ldr	x8, [x21]
	ldr	w0, [x8, #8]
Lloh11:
	adrp	x23, _TypePGFunction@GOTPAGE
Lloh12:
	ldr	x23, [x23, _TypePGFunction@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_l_ptr_const
	mov	x21, x0
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x22
	bl	_LLVMAddGlobal
	mov	x19, x0
	mov	x1, x21
	bl	_LLVMSetInitializer
	mov	x0, x19
	mov	w1, #1
	bl	_LLVMSetGlobalConstant
Lloh13:
	adrp	x2, l_.str.3@PAGE
Lloh14:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x1, x19
LBB0_9:
	bl	_LLVMBuildLoad
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pgextern.%s.%s"

l_.str.1:                               ; @.str.1
	.asciz	"%s"

l_.str.2:                               ; @.str.2
	.asciz	"pgoidextern.%u"

l_.str.3:                               ; @.str.3
	.space	1

	.comm	_TypePGFunction,4,2             ; @TypePGFunction
.subsections_via_symbols
