	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function llvm_optimize_module
_llvm_optimize_module:                  ## @llvm_optimize_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	%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	%esi, %r12d
	movq	%rdi, %r15
	movq	_PGJIT_OPT3@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	xorl	%ecx, %ecx
	andl	4(%rdi), %eax
	setne	%cl
	leal	(%rcx,%rcx,2), %ebx
	xorl	%eax, %eax
	callq	_LLVMPassManagerBuilderCreate
	movl	%eax, %r14d
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_LLVMPassManagerBuilderSetOptLevel
	movl	%r12d, %edi
	callq	_LLVMCreateFunctionPassManagerForModule
	movl	%eax, %r12d
	movl	(%r13), %eax
	testl	%eax, 4(%r15)
	je	LBB0_2
## %bb.1:
	movl	%r14d, %edi
	movl	$512, %esi                      ## imm = 0x200
	callq	_LLVMPassManagerBuilderUseInlinerWithThreshold
	jmp	LBB0_3
LBB0_2:
	movl	%r12d, %edi
	callq	_LLVMAddPromoteMemoryToRegisterPass
LBB0_3:
	movl	%r14d, %edi
	movl	%r12d, %esi
	callq	_LLVMPassManagerBuilderPopulateFunctionPassManager
	movl	%r12d, %edi
	callq	_LLVMInitializeFunctionPassManager
	movl	(%r15), %edi
	callq	_LLVMGetFirstFunction
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	movq	%rbx, %rsi
	callq	_LLVMRunFunctionPassManager
	movq	%rbx, %rdi
	callq	_LLVMGetNextFunction
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
LBB0_6:
	movl	%r12d, %edi
	callq	_LLVMFinalizeFunctionPassManager
	movl	%r12d, %edi
	callq	_LLVMDisposePassManager
	xorl	%eax, %eax
	callq	_LLVMCreatePassManager
	movl	%eax, %ebx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_LLVMPassManagerBuilderPopulateModulePassManager
	movl	4(%r15), %eax
	testl	%eax, (%r13)
	jne	LBB0_8
## %bb.7:
	movl	%ebx, %edi
	callq	_LLVMAddAlwaysInlinerPass
	movl	4(%r15), %eax
LBB0_8:
	movq	_PGJIT_INLINE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.9:
	testl	%eax, (%r13)
	jne	LBB0_11
## %bb.10:
	movl	%ebx, %edi
	callq	_LLVMAddFunctionInliningPass
LBB0_11:
	movl	(%r15), %esi
	movl	%ebx, %edi
	callq	_LLVMRunPassManager
	movl	%ebx, %edi
	callq	_LLVMDisposePassManager
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LLVMPassManagerBuilderDispose  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PGJIT_OPT3,4,2                 ## @PGJIT_OPT3
	.comm	_PGJIT_INLINE,4,2               ## @PGJIT_INLINE
	.no_dead_strip	_llvm_optimize_module
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function llvm_optimize_module
_llvm_optimize_module:                  ; @llvm_optimize_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	x21, x1
	mov	x19, x0
	ldr	w8, [x0, #4]
Lloh0:
	adrp	x23, _PGJIT_OPT3@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PGJIT_OPT3@GOTPAGEOFF]
	ldr	w9, [x23]
	tst	w9, w8
	mov	w8, #3
	csel	w22, wzr, w8, eq
	bl	_LLVMPassManagerBuilderCreate
	mov	x20, x0
	mov	x1, x22
	bl	_LLVMPassManagerBuilderSetOptLevel
	mov	x0, x21
	bl	_LLVMCreateFunctionPassManagerForModule
	mov	x21, x0
	ldr	w8, [x19, #4]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #512
	bl	_LLVMPassManagerBuilderUseInlinerWithThreshold
	b	LBB0_3
LBB0_2:
	mov	x0, x21
	bl	_LLVMAddPromoteMemoryToRegisterPass
LBB0_3:
	mov	x0, x20
	mov	x1, x21
	bl	_LLVMPassManagerBuilderPopulateFunctionPassManager
	mov	x0, x21
	bl	_LLVMInitializeFunctionPassManager
	ldr	w0, [x19]
	bl	_LLVMGetFirstFunction
	cbz	x0, LBB0_6
; %bb.4:
	mov	x22, x0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_LLVMRunFunctionPassManager
	mov	x0, x22
	bl	_LLVMGetNextFunction
	mov	x22, x0
	cbnz	x0, LBB0_5
LBB0_6:
	mov	x0, x21
	bl	_LLVMFinalizeFunctionPassManager
	mov	x0, x21
	bl	_LLVMDisposePassManager
	bl	_LLVMCreatePassManager
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_LLVMPassManagerBuilderPopulateModulePassManager
	ldr	w8, [x19, #4]
	ldr	w9, [x23]
	tst	w9, w8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x21
	bl	_LLVMAddAlwaysInlinerPass
	ldr	w8, [x19, #4]
LBB0_8:
Lloh2:
	adrp	x9, _PGJIT_INLINE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PGJIT_INLINE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.9:
	ldr	w9, [x23]
	tst	w9, w8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x21
	bl	_LLVMAddFunctionInliningPass
LBB0_11:
	ldr	w1, [x19]
	mov	x0, x21
	bl	_LLVMRunPassManager
	mov	x0, x21
	bl	_LLVMDisposePassManager
	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	_LLVMPassManagerBuilderDispose
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PGJIT_OPT3,4,2                 ; @PGJIT_OPT3
	.comm	_PGJIT_INLINE,4,2               ; @PGJIT_INLINE
	.no_dead_strip	_llvm_optimize_module
.subsections_via_symbols
