	.file	"640718.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"in4"
	.align 8
.LC2:
	.string	"Valid count is: %d\nSuper valid count is: %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	getValidCount
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	getSuperValidCount
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	getSuperValidCount
	.type	getSuperValidCount, @function
getSuperValidCount:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -16[rbp], 0
.L4:
	jmp	.L5
.L10:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L6
	jmp	.L5
.L6:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	isSuperValid
	test	eax, eax
	jne	.L8
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L4
.L8:
	add	DWORD PTR -12[rbp], 1
.L7:
	cmp	DWORD PTR -12[rbp], 7
	jle	.L9
	add	DWORD PTR -16[rbp], 1
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
.L5:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	getPassportFields
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L10
	mov	eax, DWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	getSuperValidCount, .-getSuperValidCount
	.section	.rodata
.LC3:
	.string	"byr"
.LC4:
	.string	"iyr"
.LC5:
	.string	"eyr"
.LC6:
	.string	"ecl"
.LC7:
	.string	"hgt"
.LC8:
	.string	"hcl"
.LC9:
	.string	"pid"
.LC10:
	.string	"cid"
.LC11:
	.string	"Unexpected: %s\n"
	.text
	.globl	isSuperValid
	.type	isSuperValid, @function
isSuperValid:
.LFB8:
	.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
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L13
	mov	eax, 1
	jmp	.L14
.L13:
	mov	DWORD PTR -12[rbp], 0
	mov	esi, 1
	mov	edi, 3
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 3
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L15
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	rdi, rax
	call	validateBirthyear
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L16
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	rdi, rax
	call	validateIssueYear
	jmp	.L14
.L16:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L17
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	rdi, rax
	call	validateExpirationYear
	jmp	.L14
.L17:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L18
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	rdi, rax
	call	validateEyeColor
	jmp	.L14
.L18:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	rdi, rax
	call	validateHeight
	jmp	.L14
.L19:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L20
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	rdi, rax
	call	validateHairColor
	jmp	.L14
.L20:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L21
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	rdi, rax
	call	validatePassportId
	jmp	.L14
.L21:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L22
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	rdi, rax
	call	validateCountry
	jmp	.L14
.L22:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	isSuperValid, .-isSuperValid
	.section	.rodata
.LC12:
	.string	"Got one last line"
	.text
	.globl	getPassportFields
	.type	getPassportFields, @function
getPassportFields:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	getNextPassport
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L24
	mov	eax, 0
	jmp	.L25
.L24:
	mov	esi, 8
	mov	edi, 8
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	getValidParamCount
	cmp	eax, 7
	je	.L26
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L25
.L26:
	mov	esi, 1
	mov	edi, 100
	call	calloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	jmp	.L27
.L31:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	isDelimiter
	test	eax, eax
	jne	.L28
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -36[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	jmp	.L29
.L28:
	cmp	DWORD PTR -36[rbp], 0
	jle	.L30
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rdx], rax
	mov	esi, 1
	mov	edi, 100
	call	calloc@PLT
	mov	QWORD PTR -24[rbp], rax
	add	DWORD PTR -40[rbp], 1
.L30:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, 1
	add	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -36[rbp], -1
.L29:
	add	DWORD PTR -36[rbp], 1
.L27:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L31
	cmp	DWORD PTR -36[rbp], 0
	jle	.L32
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rdx], rax
	jmp	.L33
.L32:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
.L33:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	getPassportFields, .-getPassportFields
	.section	.rodata
.LC13:
	.string	"%s"
	.text
	.globl	getNextPassport
	.type	getNextPassport, @function
getNextPassport:
.LFB10:
	.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	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 1000
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	jmp	.L35
.L38:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	isEndOfLine
	test	eax, eax
	jne	.L43
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	add	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC13[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -40[rbp], 0
.L35:
	mov	rdx, QWORD PTR -56[rbp]
	lea	rcx, -32[rbp]
	lea	rax, -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	test	rax, rax
	jg	.L38
	jmp	.L37
.L43:
	nop
.L37:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L39
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	jmp	.L41
.L39:
	mov	rax, QWORD PTR -16[rbp]
.L41:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	getNextPassport, .-getNextPassport
	.globl	isDelimiter
	.type	isDelimiter, @function
isDelimiter:
.LFB11:
	.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
	movsx	eax, BYTE PTR -4[rbp]
	mov	edi, eax
	call	isEndOfLine
	test	eax, eax
	jne	.L45
	cmp	BYTE PTR -4[rbp], 32
	jne	.L46
.L45:
	mov	eax, 1
	jmp	.L48
.L46:
	mov	eax, 0
.L48:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	isDelimiter, .-isDelimiter
	.globl	isEndOfLine
	.type	isEndOfLine, @function
isEndOfLine:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 0
	je	.L50
	cmp	BYTE PTR -4[rbp], 10
	je	.L50
	cmp	BYTE PTR -4[rbp], 13
	jne	.L51
.L50:
	mov	eax, 1
	jmp	.L53
.L51:
	mov	eax, 0
.L53:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	isEndOfLine, .-isEndOfLine
	.globl	getValidCount
	.type	getValidCount, @function
getValidCount:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	jmp	.L55
.L59:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L56
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L56
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 13
	jne	.L57
.L56:
	cmp	DWORD PTR -32[rbp], 7
	jne	.L58
	add	DWORD PTR -28[rbp], 1
.L58:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L55
.L57:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	getValidParamCount
	add	DWORD PTR -32[rbp], eax
.L55:
	mov	rdx, QWORD PTR -40[rbp]
	lea	rcx, -16[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	test	rax, rax
	jg	.L59
	cmp	DWORD PTR -32[rbp], 7
	jne	.L60
	add	DWORD PTR -28[rbp], 1
.L60:
	mov	eax, DWORD PTR -28[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L62
	call	__stack_chk_fail@PLT
.L62:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	getValidCount, .-getValidCount
	.globl	getValidParamCount
	.type	getValidParamCount, @function
getValidParamCount:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC5[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC7[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC8[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC6[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, .LC9[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -72[rbp], 0
	mov	DWORD PTR -68[rbp], 0
	jmp	.L64
.L66:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	rdx, QWORD PTR -64[rbp+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L65
	add	DWORD PTR -72[rbp], 1
.L65:
	add	DWORD PTR -68[rbp], 1
.L64:
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, 6
	jbe	.L66
	mov	eax, DWORD PTR -72[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L68
	call	__stack_chk_fail@PLT
.L68:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	getValidParamCount, .-getValidParamCount
	.section	.rodata
.LC14:
	.string	"%d"
	.text
	.globl	validateBirthyear
	.type	validateBirthyear, @function
validateBirthyear:
.LFB15:
	.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
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	isNumber
	test	eax, eax
	jne	.L70
	mov	eax, 0
	jmp	.L75
.L70:
	lea	rdx, -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	test	eax, eax
	jg	.L72
	mov	eax, 0
	jmp	.L75
.L72:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 1919
	jle	.L73
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 2002
	jg	.L73
	mov	eax, 1
	jmp	.L75
.L73:
	mov	eax, 0
.L75:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L76
	call	__stack_chk_fail@PLT
.L76:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	validateBirthyear, .-validateBirthyear
	.globl	validateIssueYear
	.type	validateIssueYear, @function
validateIssueYear:
.LFB16:
	.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
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	isNumber
	test	eax, eax
	jne	.L78
	mov	eax, 0
	jmp	.L83
.L78:
	lea	rdx, -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	test	eax, eax
	jg	.L80
	mov	eax, 0
	jmp	.L83
.L80:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 2009
	jle	.L81
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 2020
	jg	.L81
	mov	eax, 1
	jmp	.L83
.L81:
	mov	eax, 0
.L83:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L84
	call	__stack_chk_fail@PLT
.L84:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	validateIssueYear, .-validateIssueYear
	.globl	validateExpirationYear
	.type	validateExpirationYear, @function
validateExpirationYear:
.LFB17:
	.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
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	isNumber
	test	eax, eax
	jne	.L86
	mov	eax, 0
	jmp	.L91
.L86:
	lea	rdx, -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	test	eax, eax
	jg	.L88
	mov	eax, 0
	jmp	.L91
.L88:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 2019
	jle	.L89
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 2030
	jg	.L89
	mov	eax, 1
	jmp	.L91
.L89:
	mov	eax, 0
.L91:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L92
	call	__stack_chk_fail@PLT
.L92:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	validateExpirationYear, .-validateExpirationYear
	.section	.rodata
.LC15:
	.string	"cm"
.LC16:
	.string	"%dcm"
.LC17:
	.string	"in"
.LC18:
	.string	"%din"
	.text
	.globl	validateHeight
	.type	validateHeight, @function
validateHeight:
.LFB18:
	.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
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L94
	lea	rdx, -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	test	eax, eax
	jle	.L95
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 5
	jne	.L95
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 3
	mov	rdi, rax
	call	isNumberN
	test	eax, eax
	je	.L95
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 149
	jle	.L95
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 193
	jg	.L95
	mov	eax, 1
	jmp	.L101
.L95:
	mov	eax, 0
	jmp	.L101
.L94:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L98
	lea	rdx, -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	test	eax, eax
	jle	.L99
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 4
	jne	.L99
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	isNumberN
	test	eax, eax
	je	.L99
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 58
	jle	.L99
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 76
	jg	.L99
	mov	eax, 1
	jmp	.L101
.L99:
	mov	eax, 0
	jmp	.L101
.L98:
	mov	eax, 0
.L101:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L102
	call	__stack_chk_fail@PLT
.L102:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	validateHeight, .-validateHeight
	.globl	validateHairColor
	.type	validateHairColor, @function
validateHairColor:
.LFB19:
	.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
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	je	.L104
	mov	eax, 0
	jmp	.L105
.L104:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 7
	je	.L106
	mov	eax, 0
	jmp	.L105
.L106:
	mov	DWORD PTR -4[rbp], 1
	jmp	.L107
.L110:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	isDigit
	test	eax, eax
	jne	.L108
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 96
	jle	.L109
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 102
	jle	.L108
.L109:
	mov	eax, 0
	jmp	.L105
.L108:
	add	DWORD PTR -4[rbp], 1
.L107:
	cmp	DWORD PTR -4[rbp], 6
	jle	.L110
	mov	eax, 1
.L105:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	validateHairColor, .-validateHairColor
	.section	.rodata
.LC19:
	.string	"amb"
.LC20:
	.string	"blu"
.LC21:
	.string	"brn"
.LC22:
	.string	"gry"
.LC23:
	.string	"grn"
.LC24:
	.string	"hzl"
.LC25:
	.string	"oth"
	.text
	.globl	validateEyeColor
	.type	validateEyeColor, @function
validateEyeColor:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC19[rip]
	mov	QWORD PTR -64[rbp], rax
	lea	rax, .LC20[rip]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, .LC21[rip]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, .LC22[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC23[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rax, .LC24[rip]
	mov	QWORD PTR -24[rbp], rax
	lea	rax, .LC25[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 3
	je	.L112
	mov	eax, 0
	jmp	.L117
.L112:
	mov	DWORD PTR -68[rbp], 0
	jmp	.L114
.L116:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	rdx, QWORD PTR -64[rbp+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L115
	mov	eax, 1
	jmp	.L117
.L115:
	add	DWORD PTR -68[rbp], 1
.L114:
	cmp	DWORD PTR -68[rbp], 6
	jle	.L116
	mov	eax, 0
.L117:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L118
	call	__stack_chk_fail@PLT
.L118:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	validateEyeColor, .-validateEyeColor
	.globl	validatePassportId
	.type	validatePassportId, @function
validatePassportId:
.LFB21:
	.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 -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 9
	je	.L120
	mov	eax, 0
	jmp	.L121
.L120:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	isNumber
.L121:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	validatePassportId, .-validatePassportId
	.globl	validateCountry
	.type	validateCountry, @function
validateCountry:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	validateCountry, .-validateCountry
	.globl	isNumber
	.type	isNumber, @function
isNumber:
.LFB23:
	.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 -8[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	isNumberN
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	isNumber, .-isNumber
	.globl	isNumberN
	.type	isNumberN, @function
isNumberN:
.LFB24:
	.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
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L127
.L130:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	isDigit
	test	eax, eax
	jne	.L128
	mov	eax, 0
	jmp	.L129
.L128:
	add	DWORD PTR -4[rbp], 1
.L127:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L130
	mov	eax, 1
.L129:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	isNumberN, .-isNumberN
	.globl	isDigit
	.type	isDigit, @function
isDigit:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 47
	jle	.L132
	cmp	BYTE PTR -4[rbp], 57
	jg	.L132
	mov	eax, 1
	jmp	.L134
.L132:
	mov	eax, 0
.L134:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	isDigit, .-isDigit
	.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	"640718.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"byr\000"
	.align	2
.LC1:
	.ascii	"iyr\000"
	.align	2
.LC2:
	.ascii	"eyr\000"
	.align	2
.LC3:
	.ascii	"hgt\000"
	.align	2
.LC4:
	.ascii	"hcl\000"
	.align	2
.LC5:
	.ascii	"ecl\000"
	.align	2
.LC6:
	.ascii	"pid\000"
	.align	2
.LC8:
	.ascii	"amb\000"
	.align	2
.LC9:
	.ascii	"blu\000"
	.align	2
.LC10:
	.ascii	"brn\000"
	.align	2
.LC11:
	.ascii	"gry\000"
	.align	2
.LC12:
	.ascii	"grn\000"
	.align	2
.LC13:
	.ascii	"hzl\000"
	.align	2
.LC14:
	.ascii	"oth\000"
	.text
	.section	.rodata
	.align	2
.LC16:
	.ascii	"r\000"
	.align	2
.LC17:
	.ascii	"in4\000"
	.align	2
.LC18:
	.ascii	"Valid count is: %d\012Super valid count is: %d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r1, .L3
	ldr	r0, .L3+4
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	getValidCount
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	rewind
	ldr	r0, [fp, #-16]
	bl	getSuperValidCount
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, .L3+8
	bl	printf
	ldr	r0, [fp, #-16]
	bl	fclose
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	main, .-main
	.align	2
	.global	getSuperValidCount
	.syntax unified
	.arm
	.fpu softvfp
	.type	getSuperValidCount, %function
getSuperValidCount:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
.L6:
	b	.L7
.L12:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L8
	b	.L7
.L8:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L9
.L11:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	isSuperValid
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r0, [fp, #-8]
	bl	free
	b	.L6
.L10:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L9:
	ldr	r3, [fp, #-12]
	cmp	r3, #7
	ble	.L11
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	free
.L7:
	ldr	r0, [fp, #-24]
	bl	getPassportFields
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	getSuperValidCount, .-getSuperValidCount
	.section	.rodata
	.align	2
.LC19:
	.ascii	"cid\000"
	.align	2
.LC20:
	.ascii	"Unexpected: %s\012\000"
	.text
	.align	2
	.global	isSuperValid
	.syntax unified
	.arm
	.fpu softvfp
	.type	isSuperValid, %function
isSuperValid:
	@ 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]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L15
	mov	r3, #1
	b	.L16
.L15:
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r1, #1
	mov	r0, #3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r2, #3
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	memcpy
	ldr	r1, .L25
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	mov	r0, r3
	bl	validateBirthyear
	mov	r3, r0
	b	.L16
.L17:
	ldr	r1, .L25+4
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	mov	r0, r3
	bl	validateIssueYear
	mov	r3, r0
	b	.L16
.L18:
	ldr	r1, .L25+8
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	mov	r0, r3
	bl	validateExpirationYear
	mov	r3, r0
	b	.L16
.L19:
	ldr	r1, .L25+12
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	mov	r0, r3
	bl	validateEyeColor
	mov	r3, r0
	b	.L16
.L20:
	ldr	r1, .L25+16
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	mov	r0, r3
	bl	validateHeight
	mov	r3, r0
	b	.L16
.L21:
	ldr	r1, .L25+20
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	mov	r0, r3
	bl	validateHairColor
	mov	r3, r0
	b	.L16
.L22:
	ldr	r1, .L25+24
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	mov	r0, r3
	bl	validatePassportId
	mov	r3, r0
	b	.L16
.L23:
	ldr	r1, .L25+28
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	mov	r0, r3
	bl	validateCountry
	mov	r3, r0
	b	.L16
.L24:
	ldr	r3, .L25+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L25+36
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC5
	.word	.LC3
	.word	.LC4
	.word	.LC6
	.word	.LC19
	.word	stderr
	.word	.LC20
	.size	isSuperValid, .-isSuperValid
	.section	.rodata
	.align	2
.LC21:
	.ascii	"Got one last line\000"
	.text
	.align	2
	.global	getPassportFields
	.syntax unified
	.arm
	.fpu softvfp
	.type	getPassportFields, %function
getPassportFields:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r0, [fp, #-32]
	bl	getNextPassport
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L28
	mov	r3, #0
	b	.L29
.L28:
	mov	r1, #4
	mov	r0, #8
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-28]
	bl	getValidParamCount
	mov	r3, r0
	cmp	r3, #7
	beq	.L30
	ldr	r0, [fp, #-28]
	bl	free
	ldr	r3, [fp, #-8]
	b	.L29
.L30:
	mov	r1, #1
	mov	r0, #100
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L31
.L35:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	isDelimiter
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	b	.L33
.L32:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L34
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	mov	r1, #1
	mov	r0, #100
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L34:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	mvn	r3, #0
	str	r3, [fp, #-16]
.L33:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L31:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L35
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L36
	ldr	r0, .L38
	bl	puts
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	b	.L37
.L36:
	ldr	r0, [fp, #-24]
	bl	free
.L37:
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r3, [fp, #-8]
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC21
	.size	getPassportFields, .-getPassportFields
	.section	.rodata
	.align	2
.LC22:
	.ascii	"%s\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getNextPassport
	.syntax unified
	.arm
	.fpu softvfp
	.type	getNextPassport, %function
getNextPassport:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L50
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #1000
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L41
.L44:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	isEndOfLine
	mov	r3, r0
	cmp	r3, #0
	bne	.L49
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	ldr	r1, .L50+4
	mov	r0, r3
	bl	sprintf
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-24]
.L41:
	sub	r1, fp, #20
	sub	r3, fp, #24
	ldr	r2, [fp, #-32]
	mov	r0, r3
	bl	getline
	mov	r3, r0
	cmp	r3, #0
	bgt	.L44
	b	.L43
.L49:
	nop
.L43:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L45
	ldr	r0, [fp, #-12]
	bl	free
	mov	r3, #0
	b	.L47
.L45:
	ldr	r3, [fp, #-12]
.L47:
	ldr	r2, .L50
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L48
	bl	__stack_chk_fail
.L48:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC23
	.word	.LC22
	.size	getNextPassport, .-getNextPassport
	.align	2
	.global	isDelimiter
	.syntax unified
	.arm
	.fpu softvfp
	.type	isDelimiter, %function
isDelimiter:
	@ 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
	mov	r0, r3
	bl	isEndOfLine
	mov	r3, r0
	cmp	r3, #0
	bne	.L53
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L54
.L53:
	mov	r3, #1
	b	.L56
.L54:
	mov	r3, #0
.L56:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	isDelimiter, .-isDelimiter
	.align	2
	.global	isEndOfLine
	.syntax unified
	.arm
	.fpu softvfp
	.type	isEndOfLine, %function
isEndOfLine:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L58
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L58
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #13
	bne	.L59
.L58:
	mov	r3, #1
	b	.L61
.L59:
	mov	r3, #0
.L61:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	isEndOfLine, .-isEndOfLine
	.section	.rodata
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getValidCount
	.syntax unified
	.arm
	.fpu softvfp
	.type	getValidCount, %function
getValidCount:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L71
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L63
.L67:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L64
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L64
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	bne	.L65
.L64:
	ldr	r3, [fp, #-16]
	cmp	r3, #7
	bne	.L66
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L66:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L63
.L65:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	getValidParamCount
	mov	r2, r0
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-16]
.L63:
	sub	r1, fp, #20
	sub	r3, fp, #24
	ldr	r2, [fp, #-32]
	mov	r0, r3
	bl	getline
	mov	r3, r0
	cmp	r3, #0
	bgt	.L67
	ldr	r3, [fp, #-16]
	cmp	r3, #7
	bne	.L68
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L68:
	ldr	r3, [fp, #-12]
	ldr	r2, .L71
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L70
	bl	__stack_chk_fail
.L70:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L72:
	.align	2
.L71:
	.word	.LC24
	.size	getValidCount, .-getValidCount
	.section	.rodata
	.align	2
.LC25:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getValidParamCount
	.syntax unified
	.arm
	.fpu softvfp
	.type	getValidParamCount, %function
getValidParamCount:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	ldr	r3, .L79
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L79+4
	sub	ip, fp, #36
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L74
.L76:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-32]
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L75
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L75:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L74:
	ldr	r3, [fp, #-40]
	cmp	r3, #6
	bls	.L76
	ldr	r3, [fp, #-44]
	ldr	r2, .L79
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L78
	bl	__stack_chk_fail
.L78:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L80:
	.align	2
.L79:
	.word	.LC26
	.word	.LC25
	.size	getValidParamCount, .-getValidParamCount
	.section	.rodata
	.align	2
.LC27:
	.ascii	"%d\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	validateBirthyear
	.syntax unified
	.arm
	.fpu softvfp
	.type	validateBirthyear, %function
validateBirthyear:
	@ 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]
	ldr	r3, .L89
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-16]
	bl	isNumber
	mov	r3, r0
	cmp	r3, #0
	bne	.L82
	mov	r3, #0
	b	.L87
.L82:
	sub	r3, fp, #12
	mov	r2, r3
	ldr	r1, .L89+4
	ldr	r0, [fp, #-16]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #0
	bgt	.L84
	mov	r3, #0
	b	.L87
.L84:
	ldr	r3, [fp, #-12]
	cmp	r3, #1920
	blt	.L85
	ldr	r3, [fp, #-12]
	ldr	r2, .L89+8
	cmp	r3, r2
	bgt	.L85
	mov	r3, #1
	b	.L87
.L85:
	mov	r3, #0
.L87:
	ldr	r2, .L89
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L88
	bl	__stack_chk_fail
.L88:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L90:
	.align	2
.L89:
	.word	.LC28
	.word	.LC27
	.word	2002
	.size	validateBirthyear, .-validateBirthyear
	.section	.rodata
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	validateIssueYear
	.syntax unified
	.arm
	.fpu softvfp
	.type	validateIssueYear, %function
validateIssueYear:
	@ 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]
	ldr	r3, .L99
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-16]
	bl	isNumber
	mov	r3, r0
	cmp	r3, #0
	bne	.L92
	mov	r3, #0
	b	.L97
.L92:
	sub	r3, fp, #12
	mov	r2, r3
	ldr	r1, .L99+4
	ldr	r0, [fp, #-16]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #0
	bgt	.L94
	mov	r3, #0
	b	.L97
.L94:
	ldr	r3, [fp, #-12]
	ldr	r2, .L99+8
	cmp	r3, r2
	ble	.L95
	ldr	r3, [fp, #-12]
	ldr	r2, .L99+12
	cmp	r3, r2
	bgt	.L95
	mov	r3, #1
	b	.L97
.L95:
	mov	r3, #0
.L97:
	ldr	r2, .L99
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L98
	bl	__stack_chk_fail
.L98:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L100:
	.align	2
.L99:
	.word	.LC29
	.word	.LC27
	.word	2009
	.word	2020
	.size	validateIssueYear, .-validateIssueYear
	.section	.rodata
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	validateExpirationYear
	.syntax unified
	.arm
	.fpu softvfp
	.type	validateExpirationYear, %function
validateExpirationYear:
	@ 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]
	ldr	r3, .L109
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-16]
	bl	isNumber
	mov	r3, r0
	cmp	r3, #0
	bne	.L102
	mov	r3, #0
	b	.L107
.L102:
	sub	r3, fp, #12
	mov	r2, r3
	ldr	r1, .L109+4
	ldr	r0, [fp, #-16]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #0
	bgt	.L104
	mov	r3, #0
	b	.L107
.L104:
	ldr	r3, [fp, #-12]
	ldr	r2, .L109+8
	cmp	r3, r2
	ble	.L105
	ldr	r3, [fp, #-12]
	ldr	r2, .L109+12
	cmp	r3, r2
	bgt	.L105
	mov	r3, #1
	b	.L107
.L105:
	mov	r3, #0
.L107:
	ldr	r2, .L109
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L108
	bl	__stack_chk_fail
.L108:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L110:
	.align	2
.L109:
	.word	.LC30
	.word	.LC27
	.word	2019
	.word	2030
	.size	validateExpirationYear, .-validateExpirationYear
	.section	.rodata
	.align	2
.LC31:
	.ascii	"cm\000"
	.align	2
.LC32:
	.ascii	"%dcm\000"
	.align	2
.LC33:
	.ascii	"in\000"
	.align	2
.LC34:
	.ascii	"%din\000"
	.align	2
.LC35:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	validateHeight
	.syntax unified
	.arm
	.fpu softvfp
	.type	validateHeight, %function
validateHeight:
	@ 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]
	ldr	r3, .L121
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L121+4
	ldr	r0, [fp, #-16]
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L112
	sub	r3, fp, #12
	mov	r2, r3
	ldr	r1, .L121+8
	ldr	r0, [fp, #-16]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #0
	ble	.L113
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	cmp	r3, #5
	bne	.L113
	mov	r1, #3
	ldr	r0, [fp, #-16]
	bl	isNumberN
	mov	r3, r0
	cmp	r3, #0
	beq	.L113
	ldr	r3, [fp, #-12]
	cmp	r3, #149
	ble	.L113
	ldr	r3, [fp, #-12]
	cmp	r3, #193
	bgt	.L113
	mov	r3, #1
	b	.L119
.L113:
	mov	r3, #0
	b	.L119
.L112:
	ldr	r1, .L121+12
	ldr	r0, [fp, #-16]
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L116
	sub	r3, fp, #12
	mov	r2, r3
	ldr	r1, .L121+16
	ldr	r0, [fp, #-16]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #0
	ble	.L117
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	cmp	r3, #4
	bne	.L117
	mov	r1, #2
	ldr	r0, [fp, #-16]
	bl	isNumberN
	mov	r3, r0
	cmp	r3, #0
	beq	.L117
	ldr	r3, [fp, #-12]
	cmp	r3, #58
	ble	.L117
	ldr	r3, [fp, #-12]
	cmp	r3, #76
	bgt	.L117
	mov	r3, #1
	b	.L119
.L117:
	mov	r3, #0
	b	.L119
.L116:
	mov	r3, #0
.L119:
	ldr	r2, .L121
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L120
	bl	__stack_chk_fail
.L120:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L122:
	.align	2
.L121:
	.word	.LC35
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.size	validateHeight, .-validateHeight
	.align	2
	.global	validateHairColor
	.syntax unified
	.arm
	.fpu softvfp
	.type	validateHairColor, %function
validateHairColor:
	@ 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]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L124
	mov	r3, #0
	b	.L125
.L124:
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	cmp	r3, #7
	beq	.L126
	mov	r3, #0
	b	.L125
.L126:
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L127
.L130:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	isDigit
	mov	r3, r0
	cmp	r3, #0
	bne	.L128
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L129
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #102
	bls	.L128
.L129:
	mov	r3, #0
	b	.L125
.L128:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L127:
	ldr	r3, [fp, #-8]
	cmp	r3, #6
	ble	.L130
	mov	r3, #1
.L125:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	validateHairColor, .-validateHairColor
	.section	.rodata
	.align	2
.LC36:
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.align	2
.LC37:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	validateEyeColor
	.syntax unified
	.arm
	.fpu softvfp
	.type	validateEyeColor, %function
validateEyeColor:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	ldr	r3, .L139
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L139+4
	sub	ip, fp, #36
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r0, [fp, #-48]
	bl	strlen
	mov	r3, r0
	cmp	r3, #3
	beq	.L132
	mov	r3, #0
	b	.L137
.L132:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L134
.L136:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-32]
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L135
	mov	r3, #1
	b	.L137
.L135:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L134:
	ldr	r3, [fp, #-40]
	cmp	r3, #6
	ble	.L136
	mov	r3, #0
.L137:
	ldr	r2, .L139
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L138
	bl	__stack_chk_fail
.L138:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L140:
	.align	2
.L139:
	.word	.LC37
	.word	.LC36
	.size	validateEyeColor, .-validateEyeColor
	.align	2
	.global	validatePassportId
	.syntax unified
	.arm
	.fpu softvfp
	.type	validatePassportId, %function
validatePassportId:
	@ 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	r0, [fp, #-8]
	bl	strlen
	mov	r3, r0
	cmp	r3, #9
	beq	.L142
	mov	r3, #0
	b	.L143
.L142:
	ldr	r0, [fp, #-8]
	bl	isNumber
	mov	r3, r0
.L143:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	validatePassportId, .-validatePassportId
	.align	2
	.global	validateCountry
	.syntax unified
	.arm
	.fpu softvfp
	.type	validateCountry, %function
validateCountry:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	mov	r3, #1
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	validateCountry, .-validateCountry
	.align	2
	.global	isNumber
	.syntax unified
	.arm
	.fpu softvfp
	.type	isNumber, %function
isNumber:
	@ 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	r0, [fp, #-8]
	bl	strlen
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	isNumberN
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	isNumber, .-isNumber
	.align	2
	.global	isNumberN
	.syntax unified
	.arm
	.fpu softvfp
	.type	isNumberN, %function
isNumberN:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L149
.L152:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	isDigit
	mov	r3, r0
	cmp	r3, #0
	bne	.L150
	mov	r3, #0
	b	.L151
.L150:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L149:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L152
	mov	r3, #1
.L151:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	isNumberN, .-isNumberN
	.align	2
	.global	isDigit
	.syntax unified
	.arm
	.fpu softvfp
	.type	isDigit, %function
isDigit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L154
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L154
	mov	r3, #1
	b	.L156
.L154:
	mov	r3, #0
.L156:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	isDigit, .-isDigit
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
