	.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
	movq	_SIMM_MAX@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jl	LBB0_5
## %bb.1:
	movq	_SIMM_MIN@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jg	LBB0_5
## %bb.2:
	movq	_ADDI@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r15d, %edi
	callq	_D
	movl	%eax, %ebx
	xorl	%edi, %edi
	jmp	LBB0_3
LBB0_5:
	cmpl	$65535, %r12d                   ## imm = 0xFFFF
	ja	LBB0_7
## %bb.6:
	movq	_ORI@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_TMP_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_S
	movl	%eax, %r13d
	movl	%r15d, %edi
	callq	_A
	orl	%eax, %ebx
	orl	%r13d, %ebx
	movl	%r12d, %edi
	callq	_IMM
	orl	%eax, %ebx
	jmp	LBB0_4
LBB0_7:
	movq	_ADDIS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%r15d, %edi
	callq	_D
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_A
	orl	%eax, %ebx
	movl	%r12d, %edi
	sarl	$16, %edi
	callq	_IMM
	orl	%eax, %ebx
	orl	%r13d, %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	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
	callq	_S
	movl	%eax, %ebx
	movl	%r15d, %edi
LBB0_3:
	callq	_A
	orl	%eax, %ebx
	movl	%r12d, %edi
	callq	_IMM
	orl	%eax, %ebx
	orl	%r13d, %ebx
LBB0_4:
	movq	%r14, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_push_inst                      ## TAILCALL
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	_SIMM_MAX,4,2                   ## @SIMM_MAX
	.comm	_SIMM_MIN,4,2                   ## @SIMM_MIN
	.comm	_ADDI,4,2                       ## @ADDI
	.comm	_ORI,4,2                        ## @ORI
	.comm	_TMP_ZERO,4,2                   ## @TMP_ZERO
	.comm	_ADDIS,4,2                      ## @ADDIS
	.comm	_SLJIT_SUCCESS,4,2              ## @SLJIT_SUCCESS
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _SIMM_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIMM_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SIMM_MIN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SIMM_MIN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w2
	ccmp	w9, w2, #0, ge
	b.le	LBB0_3
; %bb.1:
	lsr	w8, w20, #16
	cbnz	w8, LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _ORI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ORI@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
Lloh9:
	adrp	x8, _TMP_ZERO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TMP_ZERO@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_6
LBB0_3:
Lloh12:
	adrp	x8, _ADDI@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ADDI@GOTPAGEOFF]
Lloh14:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_D
	orr	w21, w0, w22
	mov	w0, #0
	bl	_A
	orr	w21, w21, w0
	b	LBB0_7
LBB0_4:
Lloh15:
	adrp	x8, _ADDIS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ADDIS@GOTPAGEOFF]
Lloh17:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_D
	orr	w22, w0, w22
	mov	w0, #0
	bl	_A
	orr	w22, w22, w0
	asr	w0, w20, #16
	bl	_IMM
	orr	w1, w22, w0
	mov	x0, x19
	bl	_push_inst
	bl	_FAIL_IF
	tst	w20, #0xffff
	b.eq	LBB0_8
; %bb.5:
Lloh18:
	adrp	x8, _ORI@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ORI@GOTPAGEOFF]
Lloh20:
	ldr	w22, [x8]
	mov	x0, x21
LBB0_6:
	bl	_S
	orr	w22, w0, w22
	mov	x0, x21
	bl	_A
	orr	w21, w22, w0
LBB0_7:
	mov	x0, x20
	bl	_IMM
	orr	w1, w21, w0
	mov	x0, 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_8:
Lloh21:
	adrp	x8, _SLJIT_SUCCESS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SLJIT_SUCCESS@GOTPAGEOFF]
Lloh23:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_SIMM_MAX,4,2                   ; @SIMM_MAX
	.comm	_SIMM_MIN,4,2                   ; @SIMM_MIN
	.comm	_ADDI,4,2                       ; @ADDI
	.comm	_ORI,4,2                        ; @ORI
	.comm	_TMP_ZERO,4,2                   ; @TMP_ZERO
	.comm	_ADDIS,4,2                      ; @ADDIS
	.comm	_SLJIT_SUCCESS,4,2              ; @SLJIT_SUCCESS
	.no_dead_strip	_load_immediate
.subsections_via_symbols
