	.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
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_tos@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_stack@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_die
	movq	(%r14), %rax
	movq	(%rbx), %rcx
LBB0_2:
	movq	_STACK@GOTPCREL(%rip), %rdx
	addq	(%rdx), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_4
## %bb.3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_die                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tos,8,3                        ## @tos
	.comm	_stack,8,3                      ## @stack
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"underflow in string stack"

	.comm	_STACK,8,3                      ## @STACK
L_.str.1:                               ## @.str.1
	.asciz	"overflow in string stack"

	.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:
	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
Lloh0:
	adrp	x19, _tos@GOTPAGE
Lloh1:
	ldr	x19, [x19, _tos@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh2:
	adrp	x20, _stack@GOTPAGE
Lloh3:
	ldr	x20, [x20, _stack@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ge	LBB0_2
; %bb.1:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
	ldr	x8, [x19]
	ldr	x9, [x20]
LBB0_2:
Lloh6:
	adrp	x10, _STACK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _STACK@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	add	x9, x10, x9
	cmp	x8, x9
	b.ge	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_die
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_tos,8,3                        ; @tos
	.comm	_stack,8,3                      ; @stack
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"underflow in string stack"

	.comm	_STACK,8,3                      ; @STACK
l_.str.1:                               ; @.str.1
	.asciz	"overflow in string stack"

	.no_dead_strip	_check_range
.subsections_via_symbols
