	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_immediate
_load_immediate:                        ## @load_immediate
	.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, %r12d
	movl	%esi, %r15d
	movq	%rdi, %r14
	cmpl	$65535, %edx                    ## imm = 0xFFFF
	ja	LBB0_4
## %bb.1:
	movq	_ORI@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	testl	%r12d, %r12d
	jns	LBB0_7
## %bb.5:
	movq	_SIMM_MIN@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jg	LBB0_7
## %bb.6:
	movq	_ADDIU@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %r13d
	xorl	%edi, %edi
LBB0_3:
	callq	_SA
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_TA
	orl	%eax, %ebx
	movl	%r12d, %edi
	callq	_IMM
	orl	%eax, %ebx
	orl	%r13d, %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_push_inst                      ## TAILCALL
LBB0_7:
	movq	_LUI@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r15d, %edi
	callq	_TA
	movl	%eax, %ebx
	movl	%r12d, %edi
	sarl	$16, %edi
	callq	_IMM
	orl	%eax, %ebx
	orl	%r13d, %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	callq	_push_inst
	movl	%eax, %edi
	callq	_FAIL_IF
	testw	%r12w, %r12w
	je	LBB0_9
## %bb.8:
	movq	_ORI@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r15d, %edi
	jmp	LBB0_3
LBB0_9:
	movq	_SLJIT_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ORI,4,2                        ## @ORI
	.comm	_SIMM_MIN,4,2                   ## @SIMM_MIN
	.comm	_ADDIU,4,2                      ## @ADDIU
	.comm	_LUI,4,2                        ## @LUI
	.comm	_SLJIT_SUCCESS,4,2              ## @SLJIT_SUCCESS
	.comm	_DSLL32,4,2                     ## @DSLL32
	.comm	_DSLL,4,2                       ## @DSLL
	.no_dead_strip	_load_immediate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_immediate
_load_immediate:                        ; @load_immediate
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	lsr	w8, w2, #16
	cbnz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ORI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ORI@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	tbz	w21, #31, LBB0_7
; %bb.3:
Lloh2:
	adrp	x8, _SIMM_MIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SIMM_MIN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w21
	b.gt	LBB0_7
; %bb.4:
Lloh5:
	adrp	x8, _ADDIU@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ADDIU@GOTPAGEOFF]
LBB0_5:
	ldr	w22, [x8]
	mov	w0, #0
LBB0_6:
	bl	_SA
	orr	w22, w0, w22
	mov	x0, x19
	bl	_TA
	orr	w22, w22, w0
	mov	x0, x21
	bl	_IMM
	orr	w1, w22, w0
	mov	x0, x20
	mov	x2, x19
	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
	b	_push_inst
LBB0_7:
Lloh7:
	adrp	x8, _LUI@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LUI@GOTPAGEOFF]
Lloh9:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_TA
	orr	w22, w0, w22
	asr	w0, w21, #16
	bl	_IMM
	orr	w1, w22, w0
	mov	x0, x20
	mov	x2, x19
	bl	_push_inst
	bl	_FAIL_IF
	tst	w21, #0xffff
	b.eq	LBB0_9
; %bb.8:
Lloh10:
	adrp	x8, _ORI@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ORI@GOTPAGEOFF]
Lloh12:
	ldr	w22, [x8]
	mov	x0, x19
	b	LBB0_6
LBB0_9:
Lloh13:
	adrp	x8, _SLJIT_SUCCESS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SLJIT_SUCCESS@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_ORI,4,2                        ; @ORI
	.comm	_SIMM_MIN,4,2                   ; @SIMM_MIN
	.comm	_ADDIU,4,2                      ; @ADDIU
	.comm	_LUI,4,2                        ; @LUI
	.comm	_SLJIT_SUCCESS,4,2              ; @SLJIT_SUCCESS
	.comm	_DSLL32,4,2                     ; @DSLL32
	.comm	_DSLL,4,2                       ; @DSLL
	.no_dead_strip	_load_immediate
.subsections_via_symbols
