	.file	"41657.c"
	.intel_syntax noprefix
	.text
	.globl	bar
	.type	bar, @function
bar:
.LFB0:
	.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	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rdx], rcx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	bar, .-bar
	.globl	baz
	.type	baz, @function
baz:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 64
	setne	al
	movzx	eax, al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	baz, .-baz
	.globl	foo
	.type	foo, @function
foo:
.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, 40
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	eax, ecx
	mov	BYTE PTR -36[rbp], dl
	mov	BYTE PTR -40[rbp], al
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	bar
	mov	BYTE PTR -5[rbp], al
	mov	DWORD PTR -4[rbp], 0
.L10:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -4[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -5[rbp]
	mov	BYTE PTR [rdx], al
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	bar
	mov	BYTE PTR -5[rbp], al
	cmp	BYTE PTR -36[rbp], 0
	je	.L6
	cmp	BYTE PTR -5[rbp], 39
	je	.L11
.L6:
	cmp	BYTE PTR -40[rbp], 0
	je	.L8
	cmp	BYTE PTR -5[rbp], 34
	je	.L12
.L8:
	movzx	eax, BYTE PTR -36[rbp]
	xor	eax, 1
	test	al, al
	je	.L10
	movzx	eax, BYTE PTR -40[rbp]
	xor	eax, 1
	test	al, al
	je	.L10
	movsx	eax, BYTE PTR -5[rbp]
	mov	edi, eax
	call	baz
	test	eax, eax
	je	.L13
	jmp	.L10
.L11:
	nop
	jmp	.L7
.L12:
	nop
	jmp	.L7
.L13:
	nop
.L7:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	foo, .-foo
	.section	.rodata
.LC0:
	.string	"abcde'fgh"
.LC1:
	.string	"fgh"
.LC2:
	.string	"abcde"
.LC3:
	.string	"ABCDEFG\"HI"
.LC4:
	.string	"HI"
.LC5:
	.string	"ABCDEFG"
.LC6:
	.string	"abcd\"e'fgh"
.LC7:
	.string	"e'fgh"
.LC8:
	.string	"abcd"
.LC9:
	.string	"ABCDEF'G\"HI"
.LC10:
	.string	"G\"HI"
.LC11:
	.string	"ABCDEF"
.LC12:
	.string	"abcdef@gh"
.LC13:
	.string	"gh"
.LC14:
	.string	"abcdef"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR -88[rbp], rax
	lea	rsi, -80[rbp]
	lea	rax, -88[rbp]
	mov	ecx, 0
	mov	edx, 1
	mov	rdi, rax
	call	foo
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L15
	lea	rax, -80[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L16
.L15:
	call	abort@PLT
.L16:
	lea	rax, .LC3[rip]
	mov	QWORD PTR -88[rbp], rax
	lea	rsi, -80[rbp]
	lea	rax, -88[rbp]
	mov	ecx, 1
	mov	edx, 0
	mov	rdi, rax
	call	foo
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L17
	lea	rax, -80[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L18
.L17:
	call	abort@PLT
.L18:
	lea	rax, .LC6[rip]
	mov	QWORD PTR -88[rbp], rax
	lea	rsi, -80[rbp]
	lea	rax, -88[rbp]
	mov	ecx, 1
	mov	edx, 1
	mov	rdi, rax
	call	foo
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L19
	lea	rax, -80[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L20
.L19:
	call	abort@PLT
.L20:
	lea	rax, .LC9[rip]
	mov	QWORD PTR -88[rbp], rax
	lea	rsi, -80[rbp]
	lea	rax, -88[rbp]
	mov	ecx, 1
	mov	edx, 1
	mov	rdi, rax
	call	foo
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L21
	lea	rax, -80[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L22
.L21:
	call	abort@PLT
.L22:
	lea	rax, .LC12[rip]
	mov	QWORD PTR -88[rbp], rax
	lea	rsi, -80[rbp]
	lea	rax, -88[rbp]
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	foo
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L23
	lea	rax, -80[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L24
.L23:
	call	abort@PLT
.L24:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"41657.c"
	.text
	.align	2
	.global	bar
	.syntax unified
	.arm
	.fpu softvfp
	.type	bar, %function
bar:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r2, [fp, #-8]
	str	r1, [r2]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	bar, .-bar
	.align	2
	.global	baz
	.syntax unified
	.arm
	.fpu softvfp
	.type	baz, %function
baz:
	@ 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]
	ldr	r3, [fp, #-8]
	cmp	r3, #64
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	baz, .-baz
	.align	2
	.global	foo
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo, %function
foo:
	@ 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, #-16]
	str	r1, [fp, #-20]
	mov	r1, r2
	mov	r2, r3
	mov	r3, r1
	strb	r3, [fp, #-21]
	mov	r3, r2
	strb	r3, [fp, #-22]
	ldr	r0, [fp, #-16]
	bl	bar
	mov	r3, r0
	strb	r3, [fp, #-9]
	mov	r3, #0
	str	r3, [fp, #-8]
.L10:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	str	r2, [fp, #-8]
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	ldrb	r2, [fp, #-9]
	strb	r2, [r3]
	ldr	r0, [fp, #-16]
	bl	bar
	mov	r3, r0
	strb	r3, [fp, #-9]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #39
	beq	.L11
.L6:
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L8
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	cmp	r3, #34
	beq	.L12
.L8:
	ldrb	r3, [fp, #-21]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L10
	ldrb	r3, [fp, #-22]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L10
	ldrb	r3, [fp, #-9]	@ zero_extendqisi2
	mov	r0, r3
	bl	baz
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	b	.L10
.L11:
	nop
	b	.L7
.L12:
	nop
	b	.L7
.L13:
	nop
.L7:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	foo, .-foo
	.section	.rodata
	.align	2
.LC0:
	.ascii	"abcde'fgh\000"
	.align	2
.LC1:
	.ascii	"fgh\000"
	.align	2
.LC2:
	.ascii	"abcde\000"
	.align	2
.LC3:
	.ascii	"ABCDEFG\"HI\000"
	.align	2
.LC4:
	.ascii	"HI\000"
	.align	2
.LC5:
	.ascii	"ABCDEFG\000"
	.align	2
.LC6:
	.ascii	"abcd\"e'fgh\000"
	.align	2
.LC7:
	.ascii	"e'fgh\000"
	.align	2
.LC8:
	.ascii	"abcd\000"
	.align	2
.LC9:
	.ascii	"ABCDEF'G\"HI\000"
	.align	2
.LC10:
	.ascii	"G\"HI\000"
	.align	2
.LC11:
	.ascii	"ABCDEF\000"
	.align	2
.LC12:
	.ascii	"abcdef@gh\000"
	.align	2
.LC13:
	.ascii	"gh\000"
	.align	2
.LC14:
	.ascii	"abcdef\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L27+4
	str	r3, [fp, #-76]
	sub	r1, fp, #72
	sub	r0, fp, #76
	mov	r3, #0
	mov	r2, #1
	bl	foo
	ldr	r3, [fp, #-76]
	ldr	r1, .L27+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	sub	r3, fp, #72
	ldr	r1, .L27+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
.L15:
	bl	abort
.L16:
	ldr	r3, .L27+16
	str	r3, [fp, #-76]
	sub	r1, fp, #72
	sub	r0, fp, #76
	mov	r3, #1
	mov	r2, #0
	bl	foo
	ldr	r3, [fp, #-76]
	ldr	r1, .L27+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	sub	r3, fp, #72
	ldr	r1, .L27+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
.L17:
	bl	abort
.L18:
	ldr	r3, .L27+28
	str	r3, [fp, #-76]
	sub	r1, fp, #72
	sub	r0, fp, #76
	mov	r3, #1
	mov	r2, #1
	bl	foo
	ldr	r3, [fp, #-76]
	ldr	r1, .L27+32
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	sub	r3, fp, #72
	ldr	r1, .L27+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
.L19:
	bl	abort
.L20:
	ldr	r3, .L27+40
	str	r3, [fp, #-76]
	sub	r1, fp, #72
	sub	r0, fp, #76
	mov	r3, #1
	mov	r2, #1
	bl	foo
	ldr	r3, [fp, #-76]
	ldr	r1, .L27+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	sub	r3, fp, #72
	ldr	r1, .L27+48
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
.L21:
	bl	abort
.L22:
	ldr	r3, .L27+52
	str	r3, [fp, #-76]
	sub	r1, fp, #72
	sub	r0, fp, #76
	mov	r3, #0
	mov	r2, #0
	bl	foo
	ldr	r3, [fp, #-76]
	ldr	r1, .L27+56
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	sub	r3, fp, #72
	ldr	r1, .L27+60
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L24
.L23:
	bl	abort
.L24:
	mov	r3, #0
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC15
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
