	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_load_imm64
_emit_load_imm64:                       ## @emit_load_imm64
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movl	$7, %esi
	callq	_ensure_buf
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_FAIL_IF
	movl	$6, %edi
	callq	_INC_SIZE
	movq	_REX_W@GOTPCREL(%rip), %rcx
	movq	_reg_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%edx, %edx
	cmpl	$8, (%rax,%r15,4)
	jl	LBB0_2
## %bb.1:
	movq	_REX_B@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_2:
	orl	(%rcx), %edx
	movl	%edx, (%rbx)
	movq	_MOV_r_i32@GOTPCREL(%rip), %rcx
	movl	(%rax,%r15,4), %eax
	andl	$7, %eax
	addl	(%rcx), %eax
	movl	%eax, 4(%rbx)
	addq	$8, %rbx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_sljit_unaligned_store_sw
	movq	_SLJIT_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REX_W,4,2                      ## @REX_W
	.comm	_reg_map,8,3                    ## @reg_map
	.comm	_REX_B,4,2                      ## @REX_B
	.comm	_MOV_r_i32,4,2                  ## @MOV_r_i32
	.comm	_SLJIT_SUCCESS,8,3              ## @SLJIT_SUCCESS
	.no_dead_strip	_emit_load_imm64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_load_imm64
_emit_load_imm64:                       ; @emit_load_imm64
	.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	x19, x2
	mov	x20, x1
	mov	w1, #7
	bl	_ensure_buf
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_FAIL_IF
	mov	w0, #6
	bl	_INC_SIZE
Lloh0:
	adrp	x8, _REX_W@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REX_W@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _reg_map@GOTPAGE
Lloh4:
	ldr	x9, [x9, _reg_map@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	lsl	x10, x20, #2
	ldr	w11, [x9, x10]
Lloh6:
	adrp	x12, _REX_B@GOTPAGE
Lloh7:
	ldr	x12, [x12, _REX_B@GOTPAGEOFF]
Lloh8:
	ldr	w12, [x12]
	cmp	w11, #8
	csel	w11, wzr, w12, lt
	orr	w8, w11, w8
	str	w8, [x21]
Lloh9:
	adrp	x8, _MOV_r_i32@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MOV_r_i32@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x9, x10]
	and	w9, w9, #0x7
	add	w8, w9, w8
	add	x0, x21, #8
	str	w8, [x21, #4]
	mov	x1, x19
	bl	_sljit_unaligned_store_sw
Lloh12:
	adrp	x8, _SLJIT_SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SLJIT_SUCCESS@GOTPAGEOFF]
Lloh14:
	ldr	x0, [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	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REX_W,4,2                      ; @REX_W
	.comm	_reg_map,8,3                    ; @reg_map
	.comm	_REX_B,4,2                      ; @REX_B
	.comm	_MOV_r_i32,4,2                  ; @MOV_r_i32
	.comm	_SLJIT_SUCCESS,8,3              ; @SLJIT_SUCCESS
	.no_dead_strip	_emit_load_imm64
.subsections_via_symbols
