	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_range
_check_range:                           ## @check_range
	.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 $edi killed $edi def $rdi
	xorl	%eax, %eax
	addl	$-128, %edi
	cmpl	$9, %edi
	ja	LBB0_24
## %bb.1:
	leaq	LJTI0_0(%rip), %r9
	movslq	(%r9,%rdi,4), %rdi
	addq	%r9, %rdi
	jmpq	*%rdi
LBB0_5:
	cmpl	%edx, %r8d
	jg	LBB0_22
## %bb.6:
	cmpl	%edx, %esi
	jg	LBB0_22
## %bb.7:
	testl	%ecx, %ecx
	je	LBB0_22
## %bb.8:
	cmpl	%esi, %r8d
	jl	LBB0_22
LBB0_24:
	popq	%rbp
	retq
LBB0_12:
	cmpl	%edx, %r8d
	jg	LBB0_22
## %bb.13:
	cmpl	%edx, %esi
	jg	LBB0_22
## %bb.14:
	cmpl	%esi, %r8d
	jl	LBB0_22
## %bb.15:
	testl	%ecx, %ecx
	je	LBB0_24
## %bb.16:
	btl	%r8d, %ecx
	jae	LBB0_24
## %bb.17:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_23
LBB0_18:
	testl	%esi, %esi
	js	LBB0_22
## %bb.19:
	cmpl	%edx, %esi
	jg	LBB0_22
## %bb.20:
	testl	%ecx, %ecx
	jle	LBB0_22
## %bb.21:
	testl	%r8d, %r8d
	je	LBB0_24
	jmp	LBB0_22
LBB0_2:
	testl	%esi, %esi
	js	LBB0_22
## %bb.3:
	cmpl	$1, %edx
	jg	LBB0_22
## %bb.4:
	cmpl	$1, %ecx
	je	LBB0_5
	jmp	LBB0_22
LBB0_9:
	testl	%edx, %edx
	je	LBB0_22
## %bb.10:
	orl	%esi, %ecx
	jne	LBB0_22
## %bb.11:
	notl	%edx
	testl	%r8d, %edx
	je	LBB0_24
LBB0_22:
	movq	_ERANGE@GOTPCREL(%rip), %rcx
LBB0_23:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_18
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_check_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_range
_check_range:                           ; @check_range
	.cfi_startproc
; %bb.0:
	sub	w8, w0, #128
	cmp	w8, #9
	b.hi	LBB0_6
; %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:
	cmp	w4, w2
	b.gt	LBB0_23
; %bb.3:
	cmp	w1, w2
	b.gt	LBB0_23
; %bb.4:
	cbz	w3, LBB0_23
; %bb.5:
	cmp	w4, w1
	b.lt	LBB0_23
LBB0_6:
	mov	w0, #0
	ret
LBB0_7:
	cmp	w4, w2
	b.gt	LBB0_23
; %bb.8:
	cmp	w1, w2
	b.gt	LBB0_23
; %bb.9:
	cmp	w4, w1
	b.lt	LBB0_23
; %bb.10:
	cbz	w3, LBB0_6
; %bb.11:
	lsr	w8, w3, w4
	tbz	w8, #0, LBB0_6
; %bb.12:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_24
LBB0_13:
	tbnz	w1, #31, LBB0_23
; %bb.14:
	cmp	w1, w2
	b.gt	LBB0_23
; %bb.15:
	cmp	w3, #1
	b.lt	LBB0_23
; %bb.16:
	cbz	w4, LBB0_6
	b	LBB0_23
LBB0_17:
	tbnz	w1, #31, LBB0_23
; %bb.18:
	cmp	w2, #1
	b.gt	LBB0_23
; %bb.19:
	cmp	w3, #1
	b.eq	LBB0_2
	b	LBB0_23
LBB0_20:
	cbz	w2, LBB0_23
; %bb.21:
	orr	w8, w3, w1
	cbnz	w8, LBB0_23
; %bb.22:
	bics	wzr, w4, w2
	b.eq	LBB0_6
LBB0_23:
Lloh4:
	adrp	x8, _ERANGE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
LBB0_24:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_20-LBB0_2)>>2
                                        ; -- End function
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_check_range
.subsections_via_symbols
