	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_const_int
_validate_const_int:                    ## @validate_const_int
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movb	(%rsi), %al
	testb	%al, %al
	je	LBB0_4
## %bb.1:
	leaq	1(%r15), %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_ISSPACE
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_2
	jmp	LBB0_4
LBB0_5:
	movb	-1(%rbx), %al
	cmpb	$43, %al
	je	LBB0_8
## %bb.6:
	cmpb	$45, %al
	jne	LBB0_7
LBB0_8:
	movb	(%rbx), %al
	jmp	LBB0_9
LBB0_7:
	decq	%rbx
LBB0_9:
	xorl	%r12d, %r12d
	testb	%al, %al
	setne	%r12b
	je	LBB0_12
## %bb.10:
	incq	%rbx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_ISDIGIT
	testl	%eax, %eax
	cmovel	%eax, %r12d
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_11
LBB0_12:
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fatal_with_file_and_line       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid decimal constant \"%s\"\n"

	.no_dead_strip	_validate_const_int
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_const_int
_validate_const_int:                    ; @validate_const_int
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x20, x0
	ldrb	w8, [x1]
	cbz	w8, LBB0_13
; %bb.1:
	add	x21, x19, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_ISSPACE
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x21], #1
	cbnz	w8, LBB0_2
	b	LBB0_13
LBB0_4:
	mov	x9, x21
	ldrb	w8, [x9, #-1]!
	cmp	w8, #43
	b.eq	LBB0_6
; %bb.5:
	cmp	w8, #45
	b.ne	LBB0_7
LBB0_6:
	ldrb	w8, [x21]
	b	LBB0_8
LBB0_7:
	mov	x21, x9
LBB0_8:
	cmp	w8, #0
	cset	w22, ne
	cbz	w8, LBB0_11
; %bb.9:
	add	x21, x21, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_ISDIGIT
	cmp	w0, #0
	csel	w22, wzr, w22, eq
	ldrb	w8, [x21], #1
	cbnz	w8, LBB0_10
LBB0_11:
	cbz	w22, LBB0_13
; %bb.12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_13:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_fatal_with_file_and_line
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid decimal constant \"%s\"\n"

	.no_dead_strip	_validate_const_int
.subsections_via_symbols
