	.file	"210910.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"usage %s -b baseValue NumOfRandChars\n"
.LC1:
	.string	"usage %s -b 16 a\n"
.LC2:
	.string	"usage %s 100\n"
.LC3:
	.string	"80"
	.align 8
.LC4:
	.string	"    default number of random characters is %s\n"
	.text
	.globl	printUsage
	.type	printUsage, @function
printUsage:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC3[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	printUsage, .-printUsage
	.section	.rodata
.LC5:
	.string	"1.1.0"
.LC6:
	.string	"%s is at version %s\n"
	.align 8
.LC7:
	.string	"Option -%c requires an argument.\n"
.LC8:
	.string	"Unknown option `-%c'.\n"
	.align 8
.LC9:
	.string	"Unknown option character `\\x%x'.\n"
.LC10:
	.string	"ab:hv"
.LC11:
	.string	"Non-option argument %s\n"
.LC12:
	.string	"strtol"
.LC13:
	.string	"No digits were found\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -40[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR opterr[rip], 0
	jmp	.L3
.L12:
	cmp	DWORD PTR -36[rbp], 118
	je	.L4
	cmp	DWORD PTR -36[rbp], 118
	jg	.L5
	cmp	DWORD PTR -36[rbp], 104
	je	.L6
	cmp	DWORD PTR -36[rbp], 104
	jg	.L5
	cmp	DWORD PTR -36[rbp], 98
	je	.L7
	cmp	DWORD PTR -36[rbp], 98
	jg	.L5
	cmp	DWORD PTR -36[rbp], 63
	je	.L6
	cmp	DWORD PTR -36[rbp], 97
	jne	.L5
	jmp	.L3
.L7:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -40[rbp], eax
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, .LC5[rip]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L22
.L6:
	mov	eax, DWORD PTR optopt[rip]
	cmp	eax, 98
	jne	.L9
	mov	edx, DWORD PTR optopt[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L10
.L9:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR optopt[rip]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 16384
	test	eax, eax
	je	.L11
	mov	edx, DWORD PTR optopt[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L10
.L11:
	mov	edx, DWORD PTR optopt[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L10:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	printUsage
	mov	eax, 1
	jmp	.L22
.L5:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	printUsage
	call	abort@PLT
.L3:
	mov	rcx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -52[rbp]
	lea	rdx, .LC10[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], -1
	jne	.L12
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -52[rbp], eax
	jne	.L13
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
.L13:
	mov	eax, DWORD PTR optind[rip]
	mov	DWORD PTR -44[rbp], eax
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -44[rbp], 1
.L14:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L15
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	edx, DWORD PTR -40[rbp]
	lea	rcx, -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR -16[rbp], rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 34
	jne	.L16
	movabs	rax, 9223372036854775807
	cmp	QWORD PTR -16[rbp], rax
	je	.L17
	movabs	rax, -9223372036854775808
	cmp	QWORD PTR -16[rbp], rax
	je	.L17
.L16:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L18
	cmp	QWORD PTR -16[rbp], 0
	jne	.L18
.L17:
	lea	rdi, .LC12[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	mov	rax, QWORD PTR -32[rbp]
	cmp	QWORD PTR -24[rbp], rax
	jne	.L19
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 21
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L19:
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	jmp	.L20
.L21:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, -1370734243
	shr	rdx, 32
	add	edx, eax
	sar	edx, 6
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 94
	sub	eax, ecx
	mov	edx, eax
	lea	eax, 33[rdx]
	mov	edi, eax
	call	putchar@PLT
.L20:
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, -1[rax]
	mov	QWORD PTR -16[rbp], rdx
	test	rax, rax
	jne	.L21
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
.L22:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"210910.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage %s -b baseValue NumOfRandChars\012\000"
	.align	2
.LC1:
	.ascii	"usage %s -b 16 a\012\000"
	.align	2
.LC2:
	.ascii	"usage %s 100\012\000"
	.align	2
.LC3:
	.ascii	"80\000"
	.align	2
.LC4:
	.ascii	"    default number of random characters is %s\012\000"
	.text
	.align	2
	.global	printUsage
	.syntax unified
	.arm
	.fpu softvfp
	.type	printUsage, %function
printUsage:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L2+4
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L2+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L2+12
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, .L2+16
	ldr	r1, .L2+20
	mov	r0, r3
	bl	fprintf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	printUsage, .-printUsage
	.section	.rodata
	.align	2
.LC5:
	.ascii	"1.1.0\000"
	.align	2
.LC6:
	.ascii	"%s is at version %s\012\000"
	.align	2
.LC7:
	.ascii	"Option -%c requires an argument.\012\000"
	.align	2
.LC8:
	.ascii	"Unknown option `-%c'.\012\000"
	.align	2
.LC9:
	.ascii	"Unknown option character `\\x%x'.\012\000"
	.align	2
.LC10:
	.ascii	"ab:hv\000"
	.align	2
.LC11:
	.ascii	"Non-option argument %s\012\000"
	.align	2
.LC12:
	.ascii	"strtol\000"
	.align	2
.LC13:
	.ascii	"No digits were found\012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L28+4
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, .L28+8
	mov	r2, #0
	str	r2, [r3]
	b	.L5
.L16:
	ldr	r3, [fp, #-12]
	cmp	r3, #63
	beq	.L6
	ldr	r3, [fp, #-12]
	cmp	r3, #63
	blt	.L7
	ldr	r3, [fp, #-12]
	cmp	r3, #118
	bgt	.L7
	ldr	r3, [fp, #-12]
	cmp	r3, #97
	blt	.L7
	ldr	r3, [fp, #-12]
	sub	r3, r3, #97
	cmp	r3, #21
	ldrls	pc, [pc, r3, asl #2]
	b	.L7
.L9:
	.word	.L5
	.word	.L10
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L6
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L8
.L10:
	ldr	r3, .L28+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-20]
	b	.L5
.L8:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	ldr	r2, .L28+16
	mov	r1, r3
	ldr	r0, .L28+20
	bl	printf
	mov	r3, #1
	b	.L26
.L6:
	ldr	r3, .L28+24
	ldr	r3, [r3]
	cmp	r3, #98
	bne	.L13
	ldr	r3, .L28+28
	ldr	r3, [r3]
	ldr	r2, .L28+24
	ldr	r2, [r2]
	ldr	r1, .L28+32
	mov	r0, r3
	bl	fprintf
	b	.L14
.L13:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, .L28+24
	ldr	r3, [r3]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #16384
	cmp	r3, #0
	beq	.L15
	ldr	r3, .L28+28
	ldr	r3, [r3]
	ldr	r2, .L28+24
	ldr	r2, [r2]
	ldr	r1, .L28+36
	mov	r0, r3
	bl	fprintf
	b	.L14
.L15:
	ldr	r3, .L28+28
	ldr	r3, [r3]
	ldr	r2, .L28+24
	ldr	r2, [r2]
	ldr	r1, .L28+40
	mov	r0, r3
	bl	fprintf
.L14:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	mov	r0, r3
	bl	printUsage
	mov	r3, #1
	b	.L26
.L7:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	mov	r0, r3
	bl	printUsage
	bl	abort
.L5:
	ldr	r2, .L28+44
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	getopt
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L16
	ldr	r3, .L28+48
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L28+48
	str	r3, [r2]
	ldr	r3, .L28+48
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bne	.L17
	ldr	r3, [fp, #-40]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-28]
.L17:
	ldr	r3, .L28+48
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	b	.L18
.L19:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L28+52
	bl	printf
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L18:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L19
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #32
	ldr	r2, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	strtol
	str	r0, [fp, #-16]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #34
	bne	.L20
	ldr	r3, [fp, #-16]
	cmn	r3, #-2147483647
	beq	.L21
	ldr	r3, [fp, #-16]
	cmp	r3, #-2147483648
	beq	.L21
.L20:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L22
.L21:
	ldr	r0, .L28+56
	bl	perror
	mov	r0, #1
	bl	exit
.L22:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bne	.L23
	ldr	r3, .L28+28
	ldr	r3, [r3]
	mov	r2, #21
	mov	r1, #1
	ldr	r0, .L28+60
	bl	fwrite
	mov	r0, #1
	bl	exit
.L23:
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	b	.L24
.L25:
	bl	rand
	mov	r1, r0
	ldr	r3, .L28+64
	smull	r2, r3, r1, r3
	add	r3, r3, r1
	asr	r2, r3, #6
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	add	r3, r2, #33
	mov	r0, r3
	bl	putchar
.L24:
	ldr	r3, [fp, #-16]
	sub	r2, r3, #1
	str	r2, [fp, #-16]
	cmp	r3, #0
	bne	.L25
	mov	r0, #10
	bl	putchar
	mov	r3, #0
.L26:
	ldr	r2, .L28
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC14
	.word	.LC3
	.word	opterr
	.word	optarg
	.word	.LC5
	.word	.LC6
	.word	optopt
	.word	stderr
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	optind
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	-1370734243
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
