	.file	"1117688.c"
	.intel_syntax noprefix
	.text
	.globl	soundex_code
	.type	soundex_code, @function
soundex_code:
.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, 32
	mov	eax, edi
	mov	BYTE PTR -20[rbp], al
	mov	BYTE PTR -1[rbp], 32
	movsx	eax, BYTE PTR -20[rbp]
	mov	edi, eax
	call	tolower@PLT
	sub	eax, 98
	cmp	eax, 24
	ja	.L2
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L4[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L4[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L5-.L4
	.long	.L3-.L4
	.long	.L6-.L4
	.long	.L2-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.long	.L2-.L4
	.long	.L2-.L4
	.long	.L3-.L4
	.long	.L3-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L8-.L4
	.long	.L2-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.long	.L7-.L4
	.long	.L3-.L4
	.long	.L6-.L4
	.long	.L2-.L4
	.long	.L5-.L4
	.long	.L2-.L4
	.long	.L3-.L4
	.long	.L2-.L4
	.long	.L3-.L4
	.text
.L5:
	mov	BYTE PTR -1[rbp], 49
	jmp	.L10
.L3:
	mov	BYTE PTR -1[rbp], 50
	jmp	.L10
.L6:
	mov	BYTE PTR -1[rbp], 51
	jmp	.L10
.L9:
	mov	BYTE PTR -1[rbp], 52
	jmp	.L10
.L8:
	mov	BYTE PTR -1[rbp], 53
	jmp	.L10
.L7:
	mov	BYTE PTR -1[rbp], 54
	jmp	.L10
.L2:
	mov	BYTE PTR -1[rbp], 0
	nop
.L10:
	movzx	eax, BYTE PTR -1[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	soundex_code, .-soundex_code
	.globl	soundex
	.type	soundex, @function
soundex:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	mov	ecx, eax
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -14[rbp], al
	mov	DWORD PTR -8[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	jmp	.L13
.L16:
	mov	eax, DWORD PTR -8[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	soundex_code
	mov	BYTE PTR -13[rbp], al
	cmp	BYTE PTR -13[rbp], 0
	je	.L14
	movzx	eax, BYTE PTR -14[rbp]
	cmp	al, BYTE PTR -13[rbp]
	je	.L14
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -13[rbp]
	mov	BYTE PTR [rdx], al
.L14:
	movzx	eax, BYTE PTR -13[rbp]
	mov	BYTE PTR -14[rbp], al
	add	DWORD PTR -8[rbp], 1
.L13:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jge	.L17
	cmp	DWORD PTR -12[rbp], 3
	jle	.L16
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 48
.L17:
	cmp	DWORD PTR -12[rbp], 3
	jle	.L18
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 4
	mov	BYTE PTR [rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	soundex, .-soundex
	.section	.rodata
.LC0:
	.string	"Soundex result %s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 288
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -272[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	je	.L20
	lea	rdx, -277[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	soundex
.L20:
	lea	rax, -277[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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	"1117688.c"
	.text
	.align	2
	.global	soundex_code
	.syntax unified
	.arm
	.fpu softvfp
	.type	soundex_code, %function
soundex_code:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, r0
	strb	r3, [fp, #-13]
	mov	r3, #32
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r0, r3
	bl	tolower
	mov	r3, r0
	sub	r3, r3, #98
	cmp	r3, #24
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L5
	.word	.L3
	.word	.L6
	.word	.L2
	.word	.L5
	.word	.L3
	.word	.L2
	.word	.L2
	.word	.L3
	.word	.L3
	.word	.L9
	.word	.L8
	.word	.L8
	.word	.L2
	.word	.L5
	.word	.L3
	.word	.L7
	.word	.L3
	.word	.L6
	.word	.L2
	.word	.L5
	.word	.L2
	.word	.L3
	.word	.L2
	.word	.L3
.L5:
	mov	r3, #49
	strb	r3, [fp, #-5]
	b	.L10
.L3:
	mov	r3, #50
	strb	r3, [fp, #-5]
	b	.L10
.L6:
	mov	r3, #51
	strb	r3, [fp, #-5]
	b	.L10
.L9:
	mov	r3, #52
	strb	r3, [fp, #-5]
	b	.L10
.L8:
	mov	r3, #53
	strb	r3, [fp, #-5]
	b	.L10
.L7:
	mov	r3, #54
	strb	r3, [fp, #-5]
	b	.L10
.L2:
	mov	r3, #0
	strb	r3, [fp, #-5]
	nop
.L10:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	soundex_code, .-soundex_code
	.align	2
	.global	soundex
	.syntax unified
	.arm
	.fpu softvfp
	.type	soundex, %function
soundex:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r1, r0
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	and	r2, r1, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]
	strb	r3, [fp, #-18]
	mov	r3, #1
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	b	.L13
.L16:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	soundex_code
	mov	r3, r0
	strb	r3, [fp, #-17]
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L14
	ldrb	r2, [fp, #-18]	@ zero_extendqisi2
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L14
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	ldrb	r2, [fp, #-17]
	strb	r2, [r3]
.L14:
	ldrb	r3, [fp, #-17]
	strb	r3, [fp, #-18]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L13:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bge	.L17
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	ble	.L16
	b	.L17
.L18:
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	str	r2, [fp, #-16]
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r2
	mov	r2, #48
	strb	r2, [r3]
.L17:
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	ble	.L18
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	mov	r2, #0
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	soundex, .-soundex
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Soundex result %s\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L23+4
	ldr	r2, [r3]
	sub	r3, fp, #264
	mov	r1, #256
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	sub	r2, fp, #272
	sub	r3, fp, #264
	mov	r1, r2
	mov	r0, r3
	bl	soundex
.L20:
	sub	r3, fp, #272
	mov	r1, r3
	ldr	r0, .L23+8
	bl	printf
	mov	r3, #0
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC1
	.word	stdin
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
