	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_immediate
_validate_immediate:                    ## @validate_immediate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movl	%edi, %eax
	leal	-128(%rsi), %ecx
	cmpl	$4, %ecx
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rcx,4), %rcx
	addq	%rsi, %rcx
	jmpq	*%rcx
LBB0_2:
	movzwl	%ax, %eax
	movq	_score_df_range@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	1024(%rcx), %rcx
	cmpl	%eax, (%rcx)
	jle	LBB0_5
	jmp	LBB0_15
LBB0_3:
	movq	__SIMM14_NEG@GOTPCREL(%rip), %rcx
	movq	__IMM16_NEG@GOTPCREL(%rip), %rdx
	movl	%eax, %edi
	negl	%edi
	cmpl	%esi, (%rdx)
	cmovel	%edi, %eax
	cmpl	%esi, (%rcx)
	cmovel	%edi, %eax
	movq	_score_df_range@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%esi, %edx
	movq	(%rcx,%rdx,8), %rcx
	cmpl	%eax, (%rcx)
	jle	LBB0_5
	jmp	LBB0_15
LBB0_4:
	shrl	$16, %eax
	movq	_score_df_range@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	1032(%rcx), %rcx
	cmpl	%eax, (%rcx)
	jg	LBB0_15
LBB0_5:
	cmpl	4(%rcx), %eax
	jg	LBB0_15
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_7:
	leal	32767(%rax), %ecx
	cmpl	$1, %edx
	jne	LBB0_12
## %bb.8:
	cmpl	$32768, %eax                    ## imm = 0x8000
	je	LBB0_15
## %bb.9:
	cmpl	$98303, %ecx                    ## imm = 0x17FFF
	jb	LBB0_13
	jmp	LBB0_15
LBB0_10:
	leal	8192(%rax), %ecx
	cmpl	$1, %edx
	jne	LBB0_14
## %bb.11:
	cmpl	$24576, %ecx                    ## imm = 0x6000
	jb	LBB0_6
	jmp	LBB0_15
LBB0_12:
	cmpl	$65536, %ecx                    ## imm = 0x10000
	jae	LBB0_15
LBB0_13:
	negl	%eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_14:
	cmpl	$16384, %ecx                    ## imm = 0x4000
	jb	LBB0_6
LBB0_15:
	movq	_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_score_df_range,8,3             ## @score_df_range
	.comm	_FAIL,8,3                       ## @FAIL
	.comm	__SIMM14_NEG,4,2                ## @_SIMM14_NEG
	.comm	__IMM16_NEG,4,2                 ## @_IMM16_NEG
	.no_dead_strip	_validate_immediate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_immediate
_validate_immediate:                    ; @validate_immediate
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	and	w0, w0, #0xffff
Lloh2:
	adrp	x8, _score_df_range@GOTPAGE
Lloh3:
	ldr	x8, [x8, _score_df_range@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x8, [x8, #1024]
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x8, __SIMM14_NEG@GOTPAGE
Lloh6:
	ldr	x8, [x8, __SIMM14_NEG@GOTPAGEOFF]
Lloh7:
	adrp	x9, __IMM16_NEG@GOTPAGE
Lloh8:
	ldr	x9, [x9, __IMM16_NEG@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	ldr	w9, [x9]
	cmp	w9, w1
	ccmp	w8, w1, #4, ne
Lloh11:
	adrp	x8, _score_df_range@GOTPAGE
Lloh12:
	ldr	x8, [x8, _score_df_range@GOTPAGEOFF]
	cneg	w0, w0, eq
Lloh13:
	ldr	x8, [x8]
	ldr	x8, [x8, w1, uxtw #3]
	b	LBB0_5
LBB0_4:
	lsr	w0, w0, #16
Lloh14:
	adrp	x8, _score_df_range@GOTPAGE
Lloh15:
	ldr	x8, [x8, _score_df_range@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	x8, [x8, #1032]
LBB0_5:
	ldr	w9, [x8]
	cmp	w9, w0
	b.gt	LBB0_16
; %bb.6:
	ldr	w8, [x8, #4]
	cmp	w0, w8
	b.gt	LBB0_16
LBB0_7:
	ret
LBB0_8:
	mov	w8, #32767
	add	w8, w0, w8
	cmp	w2, #1
	b.ne	LBB0_13
; %bb.9:
	cmp	w0, #8, lsl #12                 ; =32768
	b.eq	LBB0_16
; %bb.10:
	mov	w9, #32767
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.lo	LBB0_14
	b	LBB0_16
LBB0_11:
	add	w8, w0, #2, lsl #12             ; =8192
	cmp	w2, #1
	b.ne	LBB0_15
; %bb.12:
	cmp	w8, #6, lsl #12                 ; =24576
	b.lo	LBB0_7
	b	LBB0_16
LBB0_13:
	cmp	w8, #16, lsl #12                ; =65536
	b.hs	LBB0_16
LBB0_14:
	neg	w0, w0
	ret
LBB0_15:
	cmp	w8, #4, lsl #12                 ; =16384
	b.lo	LBB0_7
LBB0_16:
Lloh17:
	adrp	x8, _FAIL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FAIL@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_score_df_range,8,3             ; @score_df_range
	.comm	_FAIL,8,3                       ; @FAIL
	.comm	__SIMM14_NEG,4,2                ; @_SIMM14_NEG
	.comm	__IMM16_NEG,4,2                 ; @_IMM16_NEG
	.no_dead_strip	_validate_immediate
.subsections_via_symbols
