	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sym_validate_range
_sym_validate_range:                    ## @sym_validate_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_8
## %bb.3:
	movl	$16, %r14d
	jmp	LBB0_4
LBB0_1:
	movl	$10, %r14d
LBB0_4:
	movq	%r15, %rdi
	callq	_sym_get_range_prop
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %rbx
	movl	4(%r15), %edi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_strtoll
	movq	%rax, %r12
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	movl	%r14d, %esi
	callq	_sym_get_range_val
	cmpq	%rax, %r12
	jl	LBB0_7
## %bb.6:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_sym_get_range_val
	cmpq	%rax, %r12
	jle	LBB0_8
LBB0_7:
	cmpl	$128, (%r15)
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rcx, %rsi
	leaq	-112(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_sprintf
	movq	%rbx, %rdi
	callq	_strdup
	movl	%eax, 4(%r15)
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%lld"

L_.str.1:                               ## @.str.1
	.asciz	"0x%llx"

	.no_dead_strip	_sym_validate_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sym_validate_range
_sym_validate_range:                    ; @sym_validate_range
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_8
; %bb.2:
	mov	w20, #16
	b	LBB0_4
LBB0_3:
	mov	w20, #10
LBB0_4:
	mov	x0, x19
	bl	_sym_get_range_prop
	cbz	x0, LBB0_8
; %bb.5:
	mov	x21, x0
	ldr	w0, [x19, #4]
	mov	x1, #0
	mov	x2, x20
	bl	_strtoll
	mov	x22, x0
	ldr	x8, [x21]
	ldr	w0, [x8, #4]
	mov	x1, x20
	bl	_sym_get_range_val
	mov	x2, x0
	cmp	x22, x0
	b.lt	LBB0_7
; %bb.6:
	ldr	x8, [x21]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_sym_get_range_val
	mov	x2, x0
	cmp	x22, x0
	b.le	LBB0_8
LBB0_7:
	ldr	w8, [x19]
Lloh3:
	adrp	x9, l_.str.1@PAGE
Lloh4:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh5:
	adrp	x10, l_.str@PAGE
Lloh6:
	add	x10, x10, l_.str@PAGEOFF
	cmp	w8, #128
	csel	x1, x10, x9, eq
	add	x0, sp, #8
	bl	_sprintf
	add	x0, sp, #8
	bl	_strdup
	str	w0, [x19, #4]
LBB0_8:
	ldur	x8, [x29, #-40]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%lld"

l_.str.1:                               ; @.str.1
	.asciz	"0x%llx"

	.no_dead_strip	_sym_validate_range
.subsections_via_symbols
