	.file	"320267.c"
	.intel_syntax noprefix
	.text
	.globl	isuscoreoralpha
	.type	isuscoreoralpha, @function
isuscoreoralpha:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 95
	je	.L2
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -4[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L3
.L2:
	mov	eax, 1
	jmp	.L5
.L3:
	mov	eax, 0
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	isuscoreoralpha, .-isuscoreoralpha
	.globl	isuscoreoralnum
	.type	isuscoreoralnum, @function
isuscoreoralnum:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 95
	je	.L7
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -4[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	je	.L8
.L7:
	mov	eax, 1
	jmp	.L10
.L8:
	mov	eax, 0
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	isuscoreoralnum, .-isuscoreoralnum
	.section	.rodata
	.align 8
.LC0:
	.string	"%s has invalid first character.\n"
	.align 8
.LC1:
	.string	"%s : Non-letter-or-underscore found.\n"
.LC2:
	.string	"%s is a valid name.\n"
	.text
	.globl	validname
	.type	validname, @function
validname:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L12
.L16:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	isuscoreoralpha
	test	eax, eax
	jne	.L13
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -20[rbp], 1
	jmp	.L14
.L13:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	isuscoreoralnum
	test	eax, eax
	jne	.L15
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -20[rbp], 1
	jmp	.L14
.L15:
	add	DWORD PTR -24[rbp], 1
.L12:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L16
.L14:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L18
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L18:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	validname, .-validname
	.section	.rodata
.LC3:
	.string	"_1test"
.LC4:
	.string	"foo_42"
.LC5:
	.string	"5bar"
.LC6:
	.string	"abf$"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	lea	rax, .LC3[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, .LC5[rip]
	mov	QWORD PTR -16[rbp], rax
	lea	rax, .LC6[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	validname
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	validname
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	validname
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	validname
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"320267.c"
	.text
	.align	2
	.global	isuscoreoralpha
	.syntax unified
	.arm
	.fpu softvfp
	.type	isuscoreoralpha, %function
isuscoreoralpha:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #95
	beq	.L2
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L3
.L2:
	mov	r3, #1
	b	.L5
.L3:
	mov	r3, #0
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	isuscoreoralpha, .-isuscoreoralpha
	.align	2
	.global	isuscoreoralnum
	.syntax unified
	.arm
	.fpu softvfp
	.type	isuscoreoralnum, %function
isuscoreoralnum:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #95
	beq	.L7
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L8
.L7:
	mov	r3, #1
	b	.L10
.L8:
	mov	r3, #0
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	isuscoreoralnum, .-isuscoreoralnum
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s has invalid first character.\012\000"
	.align	2
.LC1:
	.ascii	"%s : Non-letter-or-underscore found.\012\000"
	.align	2
.LC2:
	.ascii	"%s is a valid name.\012\000"
	.text
	.align	2
	.global	validname
	.syntax unified
	.arm
	.fpu softvfp
	.type	validname, %function
validname:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L12
.L16:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	isuscoreoralpha
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	ldr	r1, [fp, #-16]
	ldr	r0, .L19
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L14
.L13:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	isuscoreoralnum
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	ldr	r1, [fp, #-16]
	ldr	r0, .L19+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L14
.L15:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L12:
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bhi	.L16
.L14:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L18
	ldr	r1, [fp, #-16]
	ldr	r0, .L19+8
	bl	printf
.L18:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	validname, .-validname
	.section	.rodata
	.align	2
.LC3:
	.ascii	"_1test\000"
	.align	2
.LC4:
	.ascii	"foo_42\000"
	.align	2
.LC5:
	.ascii	"5bar\000"
	.align	2
.LC6:
	.ascii	"abf$\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L23
	str	r3, [fp, #-20]
	ldr	r3, .L23+4
	str	r3, [fp, #-16]
	ldr	r3, .L23+8
	str	r3, [fp, #-12]
	ldr	r3, .L23+12
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-20]
	bl	validname
	ldr	r0, [fp, #-16]
	bl	validname
	ldr	r0, [fp, #-12]
	bl	validname
	ldr	r0, [fp, #-8]
	bl	validname
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
