	.file	"148577165.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%s is a postal code\n"
.LC1:
	.string	"%s is not a postal code\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 15272440389908556
	mov	QWORD PTR -33[rbp], rax
	movabs	rax, 3834324924398712908
	mov	QWORD PTR -17[rbp], rax
	mov	BYTE PTR -9[rbp], 0
	mov	DWORD PTR -40[rbp], 875968588
	mov	WORD PTR -36[rbp], 13890
	mov	BYTE PTR -34[rbp], 0
	movabs	rax, 20057514993727564
	mov	QWORD PTR -25[rbp], rax
	lea	rax, -33[rbp]
	mov	rdi, rax
	call	is_postal_code
	test	al, al
	je	.L2
	lea	rax, -33[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L2:
	lea	rax, -33[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	lea	rax, -17[rbp]
	mov	rdi, rax
	call	is_postal_code
	test	al, al
	je	.L4
	lea	rax, -17[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L4:
	lea	rax, -17[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	lea	rax, -40[rbp]
	mov	rdi, rax
	call	is_postal_code
	test	al, al
	je	.L6
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L7
.L6:
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L7:
	lea	rax, -25[rbp]
	mov	rdi, rax
	call	is_postal_code
	test	al, al
	je	.L8
	lea	rax, -25[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L9
.L8:
	lea	rax, -25[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L9:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	is_postal_code
	.type	is_postal_code, @function
is_postal_code:
.LFB1:
	.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, 7
	je	.L13
	mov	eax, 0
	jmp	.L14
.L13:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	jne	.L15
	mov	eax, 0
	jmp	.L14
.L15:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L16
	mov	eax, 0
	jmp	.L14
.L16:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	jne	.L17
	mov	eax, 0
	jmp	.L14
.L17:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L18
	mov	eax, 0
	jmp	.L14
.L18:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L19
	mov	eax, 0
	jmp	.L14
.L19:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 5
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	jne	.L20
	mov	eax, 0
	jmp	.L14
.L20:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 6
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L21
	mov	eax, 0
	jmp	.L14
.L21:
	mov	eax, 1
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	is_postal_code, .-is_postal_code
	.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	"148577165.c"
	.text
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%s is a postal code\012\000"
	.align	2
.LC5:
	.ascii	"%s is not a postal code\012\000"
	.align	2
.LC0:
	.ascii	"L8K 4B6\000"
	.align	2
.LC1:
	.ascii	"L86 4B65\000"
	.align	2
.LC2:
	.ascii	"L864B6\000"
	.align	2
.LC3:
	.ascii	"L8G 4BG\000"
	.align	2
.LC6:
	.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
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L12+4
	sub	r3, fp, #36
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r2, .L12+8
	sub	r3, fp, #20
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strb	r2, [r3]
	ldr	r2, .L12+12
	sub	r3, fp, #44
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r1, #16
	strb	r2, [r3]
	ldr	r2, .L12+16
	sub	r3, fp, #28
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	sub	r3, fp, #36
	mov	r0, r3
	bl	is_postal_code
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L12+20
	bl	printf
	b	.L3
.L2:
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, .L12+24
	bl	printf
.L3:
	sub	r3, fp, #20
	mov	r0, r3
	bl	is_postal_code
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L12+20
	bl	printf
	b	.L5
.L4:
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L12+24
	bl	printf
.L5:
	sub	r3, fp, #44
	mov	r0, r3
	bl	is_postal_code
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L12+20
	bl	printf
	b	.L7
.L6:
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L12+24
	bl	printf
.L7:
	sub	r3, fp, #28
	mov	r0, r3
	bl	is_postal_code
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L12+20
	bl	printf
	b	.L9
.L8:
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L12+24
	bl	printf
.L9:
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.align	2
	.global	is_postal_code
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_postal_code, %function
is_postal_code:
	@ 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, #7
	beq	.L15
	mov	r3, #0
	b	.L16
.L15:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	bne	.L17
	mov	r3, #0
	b	.L16
.L17:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L18
	mov	r3, #0
	b	.L16
.L18:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	bne	.L19
	mov	r3, #0
	b	.L16
.L19:
	ldr	r3, [fp, #-8]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L20
	mov	r3, #0
	b	.L16
.L20:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L21
	mov	r3, #0
	b	.L16
.L21:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #5
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	bne	.L22
	mov	r3, #0
	b	.L16
.L22:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #6
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L23
	mov	r3, #0
	b	.L16
.L23:
	mov	r3, #1
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	is_postal_code, .-is_postal_code
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
