	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_valid_ident
_is_valid_ident:                        ## @is_valid_ident
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	cmpq	%rsi, %rdi
	jae	LBB0_14
## %bb.1:
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r13
	movsbl	(%rdi), %edi
	callq	_IS_ALPHA
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	leaq	1(%r13), %rax
	cmpq	%r12, %rax
	jae	LBB0_13
## %bb.3:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	subq	%r13, %r12
	movl	$1, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r14
	cmpq	%r14, %r12
	je	LBB0_13
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r13,%r14), %r15d
	testb	%r15b, %r15b
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movsbl	%r15b, %ebx
	movl	%ebx, %edi
	callq	_IS_ALPHA
	testq	%rax, %rax
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %edi
	callq	_IS_DIGIT
	testq	%rax, %rax
	jne	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$45, %r15b
	je	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$95, %r15b
	je	LBB0_4
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$46, %r15b
	je	LBB0_4
LBB0_15:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_13:
	movl	$1, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_is_valid_ident
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_valid_ident
_is_valid_ident:                        ; @is_valid_ident
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cmp	x0, x1
	b.hs	LBB0_12
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldrsb	w0, [x0]
	bl	_IS_ALPHA
	cbz	x0, LBB0_14
; %bb.2:
	add	x22, x21, #1
	cmp	x22, x20
	b.hs	LBB0_13
; %bb.3:
	mvn	x8, x21
	add	x21, x8, x20
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	subs	x21, x21, #1
	b.eq	LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w23, [x22]
	cbz	w23, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sxtb	w20, w23
	mov	x0, x20
	bl	_IS_ALPHA
	cbnz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_IS_DIGIT
	cbnz	x0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, #45
	b.eq	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, #95
	b.eq	LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #0
	cbz	w19, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, #46
	b.eq	LBB0_4
	b	LBB0_14
LBB0_12:
	mov	w0, #0
	b	LBB0_14
LBB0_13:
	mov	w0, #1
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_is_valid_ident
.subsections_via_symbols
