	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generate_near_jump_code
_generate_near_jump_code:               ## @generate_near_jump_code
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_JUMP_LABEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	16(%rbx), %rax
	movl	(%rax), %eax
	leal	(%rdx,%rax,4), %eax
	jmp	LBB0_3
LBB0_2:
	movl	8(%rbx), %eax
	subl	%r8d, %eax
LBB0_3:
	subl	4(%rbx), %eax
	addl	$126, %eax
	movq	_SLJIT_JUMP@GOTPCREL(%rip), %rdx
	cmpq	%rcx, (%rdx)
	jne	LBB0_4
## %bb.8:
	cmpl	$256, %eax                      ## imm = 0x100
	jae	LBB0_9
## %bb.10:
	movq	_JMP_i8@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_4:
	movq	_SLJIT_FAST_CALL@GOTPCREL(%rip), %rdx
	cmpq	%rcx, (%rdx)
	jle	LBB0_5
## %bb.6:
	cmpl	$255, %eax
	ja	LBB0_13
## %bb.7:
	movq	%rcx, %rdi
	callq	_get_jump_code
	addl	$-16, %eax
	movl	%eax, (%r14)
	incl	4(%rbx)
	jmp	LBB0_12
LBB0_9:
	movq	_JMP_i32@GOTPCREL(%rip), %rcx
LBB0_11:
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
	incl	4(%rbx)
	movl	$1, %ecx
	cmpl	$255, %eax
	ja	LBB0_15
LBB0_12:
	movq	_PATCH_MB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	addq	$20, %r14
	jmp	LBB0_16
LBB0_5:
	movq	_CALL_i32@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movl	$1, %ecx
	movl	$1, %eax
	jmp	LBB0_14
LBB0_13:
	movq	_GROUP_0F@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	%rcx, %rdi
	callq	_get_jump_code
	movl	%eax, 4(%r14)
	movl	$2, %ecx
	movl	$2, %eax
LBB0_14:
	addl	%eax, 4(%rbx)
LBB0_15:
	movq	_PATCH_MW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	leaq	(%r14,%rcx,4), %r14
	addq	$32, %r14
LBB0_16:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JUMP_LABEL,4,2                 ## @JUMP_LABEL
	.comm	_SLJIT_JUMP,8,3                 ## @SLJIT_JUMP
	.comm	_JMP_i8,4,2                     ## @JMP_i8
	.comm	_JMP_i32,4,2                    ## @JMP_i32
	.comm	_SLJIT_FAST_CALL,8,3            ## @SLJIT_FAST_CALL
	.comm	_CALL_i32,4,2                   ## @CALL_i32
	.comm	_GROUP_0F,8,3                   ## @GROUP_0F
	.comm	_PATCH_MB,4,2                   ## @PATCH_MB
	.comm	_PATCH_MW,4,2                   ## @PATCH_MW
	.comm	_HALFWORD_MAX,4,2               ## @HALFWORD_MAX
	.comm	_HALFWORD_MIN,4,2               ## @HALFWORD_MIN
	.no_dead_strip	_generate_near_jump_code
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generate_near_jump_code
_generate_near_jump_code:               ; @generate_near_jump_code
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _JUMP_LABEL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _JUMP_LABEL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
	add	w8, w2, w8, lsl #2
	b	LBB0_3
LBB0_2:
	ldr	w8, [x19, #8]
	sub	w8, w8, w4
LBB0_3:
	ldr	w9, [x19, #4]
	sub	w8, w8, w9
	add	w8, w8, #126
Lloh3:
	adrp	x9, _SLJIT_JUMP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SLJIT_JUMP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x3
	b.ne	LBB0_6
; %bb.4:
Lloh6:
	adrp	x9, _JMP_i8@GOTPAGE
Lloh7:
	ldr	x9, [x9, _JMP_i8@GOTPAGEOFF]
Lloh8:
	adrp	x10, _JMP_i32@GOTPAGE
Lloh9:
	ldr	x10, [x10, _JMP_i32@GOTPAGEOFF]
	cmp	w8, #256
	csel	x9, x9, x10, lo
	ldr	w9, [x9]
	str	w9, [x20]
	ldr	w9, [x19, #4]
	add	w9, w9, #1
	str	w9, [x19, #4]
	cmp	w8, #255
	b.ls	LBB0_9
; %bb.5:
	mov	w8, #1
	b	LBB0_13
LBB0_6:
Lloh10:
	adrp	x9, _SLJIT_FAST_CALL@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SLJIT_FAST_CALL@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x3
	b.le	LBB0_10
; %bb.7:
	cmp	w8, #255
	b.hi	LBB0_11
; %bb.8:
	mov	x0, x3
	bl	_get_jump_code
	sub	w8, w0, #16
	str	w8, [x20]
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_9:
Lloh13:
	adrp	x8, _PATCH_MB@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PATCH_MB@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	add	x0, x20, #20
	b	LBB0_14
LBB0_10:
Lloh16:
	adrp	x8, _CALL_i32@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CALL_i32@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	w9, #1
	mov	w8, #1
	b	LBB0_12
LBB0_11:
Lloh19:
	adrp	x8, _GROUP_0F@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GROUP_0F@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	str	w8, [x20]
	mov	x0, x3
	bl	_get_jump_code
	str	w0, [x20, #4]
	mov	w8, #2
	mov	x9, x8
LBB0_12:
	ldr	w10, [x19, #4]
	add	w9, w10, w9
	str	w9, [x19, #4]
LBB0_13:
Lloh22:
	adrp	x9, _PATCH_MW@GOTPAGE
Lloh23:
	ldr	x9, [x9, _PATCH_MW@GOTPAGEOFF]
	add	x8, x20, x8, lsl #2
Lloh24:
	ldr	w9, [x9]
	ldr	w10, [x19]
	orr	w9, w10, w9
	str	w9, [x19]
	add	x0, x8, #32
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_JUMP_LABEL,4,2                 ; @JUMP_LABEL
	.comm	_SLJIT_JUMP,8,3                 ; @SLJIT_JUMP
	.comm	_JMP_i8,4,2                     ; @JMP_i8
	.comm	_JMP_i32,4,2                    ; @JMP_i32
	.comm	_SLJIT_FAST_CALL,8,3            ; @SLJIT_FAST_CALL
	.comm	_CALL_i32,4,2                   ; @CALL_i32
	.comm	_GROUP_0F,8,3                   ; @GROUP_0F
	.comm	_PATCH_MB,4,2                   ; @PATCH_MB
	.comm	_PATCH_MW,4,2                   ; @PATCH_MW
	.comm	_HALFWORD_MAX,4,2               ; @HALFWORD_MAX
	.comm	_HALFWORD_MIN,4,2               ; @HALFWORD_MIN
	.no_dead_strip	_generate_near_jump_code
.subsections_via_symbols
