	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isvalid_fchar
_isvalid_fchar:                         ## @isvalid_fchar
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movl	%edi, %ebx
	callq	_isalpha
	testq	%rax, %rax
	je	LBB0_1
LBB0_12:
	movsbl	%bl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leal	-46(%rbx), %eax
	cmpb	$2, %al
	jb	LBB0_12
## %bb.2:
	cmpb	$95, %bl
	je	LBB0_12
## %bb.3:
	cmpb	$126, %bl
	je	LBB0_12
## %bb.4:
	movsbl	%bl, %r14d
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.5:
	movl	%r14d, %edi
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_12
LBB0_6:
	testb	%bl, %bl
	je	LBB0_7
## %bb.8:
	movl	%r14d, %edi
	callq	_isascii
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movl	%r14d, %edi
	callq	_isprint
	testl	%eax, %eax
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rdi
	cmoveq	%rax, %rdi
	jmp	LBB0_11
LBB0_7:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_9:
	leaq	L_.str(%rip), %rdi
LBB0_11:
	movl	%r14d, %esi
	callq	_warnx
	movb	$-1, %bl
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected character %#2x"

L_.str.1:                               ## @.str.1
	.asciz	"Illegal character '%c'"

	.no_dead_strip	_isvalid_fchar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isvalid_fchar
_isvalid_fchar:                         ; @isvalid_fchar
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_isalpha
	cbz	x0, LBB0_2
LBB0_1:
	sxtb	w0, w19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	sub	w8, w19, #46
	cmp	w8, #2
	b.lo	LBB0_1
; %bb.3:
	cmp	w19, #95
	b.eq	LBB0_1
; %bb.4:
	cmp	w19, #126
	b.eq	LBB0_1
; %bb.5:
	cbz	w20, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_isdigit
	cbnz	x0, LBB0_1
LBB0_7:
	cbz	w19, LBB0_1
; %bb.8:
	mov	x0, x19
	bl	_isascii
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
	cbz	w0, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_isprint
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	w0, #0
	csel	x20, x20, x8, eq
LBB0_10:
	mov	x0, x20
	mov	x1, x19
	bl	_warnx
	mov	w19, #255
	b	LBB0_1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected character %#2x"

l_.str.1:                               ; @.str.1
	.asciz	"Illegal character '%c'"

	.no_dead_strip	_isvalid_fchar
.subsections_via_symbols
