	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function llvm_compile_module
_llvm_compile_module:                   ## @llvm_compile_module
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	4(%rdi), %eax
	movq	_PGJIT_OPT3@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	jne	LBB0_1
## %bb.2:
	movq	_llvm_opt0_orc@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_llvm_opt3_orc@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %ecx
	movl	%ecx, _llvm_compile_module.compile_orc(%rip)
	movq	_PGJIT_INLINE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	callq	_INSTR_TIME_SET_CURRENT
	movq	24(%rbx), %rdi
	callq	_llvm_inline
	callq	_INSTR_TIME_SET_CURRENT
	movl	16(%rbx), %edi
	callq	_INSTR_TIME_ACCUM_DIFF
LBB0_5:
	movq	_jit_dump_bitcode@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_7
## %bb.6:
	movq	_MyProcPid@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	callq	_psprintf
	movq	%rax, %r14
	movq	24(%rbx), %rdi
	movq	%rax, %rsi
	callq	_LLVMWriteBitcodeToFile
	movq	%r14, %rdi
	callq	_pfree
LBB0_7:
	callq	_INSTR_TIME_SET_CURRENT
	movq	24(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_llvm_optimize_module
	callq	_INSTR_TIME_SET_CURRENT
	movl	12(%rbx), %edi
	callq	_INSTR_TIME_ACCUM_DIFF
	cmpq	$0, (%r15)
	je	LBB0_9
## %bb.8:
	movq	_MyProcPid@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%rbx), %edx
	leaq	L_.str.1(%rip), %rdi
	callq	_psprintf
	movq	%rax, %r14
	movq	24(%rbx), %rdi
	movq	%rax, %rsi
	callq	_LLVMWriteBitcodeToFile
	movq	%r14, %rdi
	callq	_pfree
LBB0_9:
	callq	_INSTR_TIME_SET_CURRENT
	movl	_llvm_compile_module.compile_orc(%rip), %edi
	movq	24(%rbx), %rsi
	movq	_llvm_resolve_symbol@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_LLVMOrcAddEagerlyCompiledIR
	movq	%rax, %r14
	movq	24(%rbx), %rdi
	callq	_LLVMDisposeModule
	callq	_INSTR_TIME_SET_CURRENT
	movl	8(%rbx), %edi
	callq	_INSTR_TIME_ACCUM_DIFF
	movq	$0, 24(%rbx)
	movl	$1, (%rbx)
	movq	_TopMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r15d
	movl	$16, %edi
	callq	_palloc
	movl	_llvm_compile_module.compile_orc(%rip), %ecx
	movl	%ecx, 8(%rax)
	movq	%r14, (%rax)
	movl	20(%rbx), %edi
	movq	%rax, %rsi
	callq	_lappend
	movl	%eax, 20(%rbx)
	movl	%r15d, %edi
	callq	_MemoryContextSwitchTo
	movq	_DEBUG1@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	16(%rbx), %edi
	callq	_INSTR_TIME_GET_DOUBLE
	movl	%eax, %r15d
	movl	12(%rbx), %edi
	callq	_INSTR_TIME_GET_DOUBLE
	movl	%eax, %r12d
	movl	8(%rbx), %edi
	callq	_INSTR_TIME_GET_DOUBLE
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_errmsg
	movl	$1, %edi
	callq	_errhidestmt
	movl	$1, %edi
	callq	_errhidecontext
	movl	%r14d, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ereport                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_llvm_compile_module.compile_orc,4,2 ## @llvm_compile_module.compile_orc
	.comm	_PGJIT_OPT3,4,2                 ## @PGJIT_OPT3
	.comm	_llvm_opt3_orc,4,2              ## @llvm_opt3_orc
	.comm	_llvm_opt0_orc,4,2              ## @llvm_opt0_orc
	.comm	_PGJIT_INLINE,4,2               ## @PGJIT_INLINE
	.comm	_jit_dump_bitcode,8,3           ## @jit_dump_bitcode
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u.%zu.bc"

	.comm	_MyProcPid,4,2                  ## @MyProcPid
L_.str.1:                               ## @.str.1
	.asciz	"%u.%zu.optimized.bc"

	.comm	_llvm_resolve_symbol,4,2        ## @llvm_resolve_symbol
	.comm	_TopMemoryContext,4,2           ## @TopMemoryContext
	.comm	_DEBUG1,4,2                     ## @DEBUG1
L_.str.2:                               ## @.str.2
	.asciz	"time to inline: %.3fs, opt: %.3fs, emit: %.3fs"

	.comm	_ERROR,4,2                      ## @ERROR
	.no_dead_strip	_llvm_compile_module
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function llvm_compile_module
_llvm_compile_module:                   ; @llvm_compile_module
	.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	x19, x0
	ldr	w8, [x0, #4]
Lloh0:
	adrp	x9, _PGJIT_OPT3@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PGJIT_OPT3@GOTPAGEOFF]
Lloh2:
	adrp	x10, _llvm_opt0_orc@GOTPAGE
Lloh3:
	ldr	x10, [x10, _llvm_opt0_orc@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x11, _llvm_opt3_orc@GOTPAGE
Lloh6:
	ldr	x11, [x11, _llvm_opt3_orc@GOTPAGEOFF]
	tst	w9, w8
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
	adrp	x22, _llvm_compile_module.compile_orc@PAGE
	str	w9, [x22, _llvm_compile_module.compile_orc@PAGEOFF]
Lloh7:
	adrp	x9, _PGJIT_INLINE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _PGJIT_INLINE@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	bl	_INSTR_TIME_SET_CURRENT
	ldr	x0, [x19, #24]
	bl	_llvm_inline
	bl	_INSTR_TIME_SET_CURRENT
	ldr	w0, [x19, #16]
	bl	_INSTR_TIME_ACCUM_DIFF
LBB0_2:
Lloh10:
	adrp	x23, _jit_dump_bitcode@GOTPAGE
Lloh11:
	ldr	x23, [x23, _jit_dump_bitcode@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh12:
	adrp	x21, _MyProcPid@GOTPAGE
Lloh13:
	ldr	x21, [x21, _MyProcPid@GOTPAGEOFF]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w1, [x21]
	ldr	w2, [x19, #32]
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_psprintf
	mov	x20, x0
	ldr	x0, [x19, #24]
	mov	x1, x20
	bl	_LLVMWriteBitcodeToFile
	mov	x0, x20
	bl	_pfree
LBB0_4:
	bl	_INSTR_TIME_SET_CURRENT
	ldr	x1, [x19, #24]
	mov	x0, x19
	bl	_llvm_optimize_module
	bl	_INSTR_TIME_SET_CURRENT
	ldr	w0, [x19, #12]
	bl	_INSTR_TIME_ACCUM_DIFF
	ldr	x8, [x23]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w1, [x21]
	ldr	w2, [x19, #32]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_psprintf
	mov	x20, x0
	ldr	x0, [x19, #24]
	mov	x1, x20
	bl	_LLVMWriteBitcodeToFile
	mov	x0, x20
	bl	_pfree
LBB0_6:
	bl	_INSTR_TIME_SET_CURRENT
	ldr	w0, [x22, _llvm_compile_module.compile_orc@PAGEOFF]
	ldr	x1, [x19, #24]
Lloh18:
	adrp	x8, _llvm_resolve_symbol@GOTPAGE
Lloh19:
	ldr	x8, [x8, _llvm_resolve_symbol@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x3, #0
	bl	_LLVMOrcAddEagerlyCompiledIR
	mov	x20, x0
	ldr	x0, [x19, #24]
	bl	_LLVMDisposeModule
	bl	_INSTR_TIME_SET_CURRENT
	ldr	w0, [x19, #8]
	bl	_INSTR_TIME_ACCUM_DIFF
	str	xzr, [x19, #24]
	mov	w8, #1
	str	w8, [x19]
Lloh21:
	adrp	x8, _TopMemoryContext@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TopMemoryContext@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_MemoryContextSwitchTo
	mov	x21, x0
	mov	w0, #16
	bl	_palloc
	mov	x1, x0
	ldr	w8, [x22, _llvm_compile_module.compile_orc@PAGEOFF]
	str	w8, [x0, #8]
	str	x20, [x0]
	ldr	w0, [x19, #20]
	bl	_lappend
	str	w0, [x19, #20]
	mov	x0, x21
	bl	_MemoryContextSwitchTo
Lloh24:
	adrp	x8, _DEBUG1@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DEBUG1@GOTPAGEOFF]
Lloh26:
	ldr	w20, [x8]
	ldr	w0, [x19, #16]
	bl	_INSTR_TIME_GET_DOUBLE
	mov	x21, x0
	ldr	w0, [x19, #12]
	bl	_INSTR_TIME_GET_DOUBLE
	mov	x22, x0
	ldr	w0, [x19, #8]
	bl	_INSTR_TIME_GET_DOUBLE
	mov	x3, x0
Lloh27:
	adrp	x0, l_.str.2@PAGE
Lloh28:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	mov	x2, x22
	bl	_errmsg
	mov	w0, #1
	bl	_errhidestmt
	mov	w0, #1
	bl	_errhidecontext
	mov	x1, x0
	mov	x0, x20
	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
	b	_ereport
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_llvm_compile_module.compile_orc,4,2 ; @llvm_compile_module.compile_orc
	.comm	_PGJIT_OPT3,4,2                 ; @PGJIT_OPT3
	.comm	_llvm_opt3_orc,4,2              ; @llvm_opt3_orc
	.comm	_llvm_opt0_orc,4,2              ; @llvm_opt0_orc
	.comm	_PGJIT_INLINE,4,2               ; @PGJIT_INLINE
	.comm	_jit_dump_bitcode,8,3           ; @jit_dump_bitcode
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u.%zu.bc"

	.comm	_MyProcPid,4,2                  ; @MyProcPid
l_.str.1:                               ; @.str.1
	.asciz	"%u.%zu.optimized.bc"

	.comm	_llvm_resolve_symbol,4,2        ; @llvm_resolve_symbol
	.comm	_TopMemoryContext,4,2           ; @TopMemoryContext
	.comm	_DEBUG1,4,2                     ; @DEBUG1
l_.str.2:                               ; @.str.2
	.asciz	"time to inline: %.3fs, opt: %.3fs, emit: %.3fs"

	.comm	_ERROR,4,2                      ; @ERROR
	.no_dead_strip	_llvm_compile_module
.subsections_via_symbols
