	.file	"16322.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"demo1:"
	.align 8
.LC1:
	.string	"s1: val=%s, addr=%p, len=%lu, size=%lu\n"
.LC2:
	.string	"demo2:"
.LC3:
	.string	"hello"
.LC4:
	.string	"world"
	.align 8
.LC5:
	.string	"s4: val=%s, addr=%p, len=%lu, size=%lu\n"
.LC6:
	.string	"demo3:"
.LC7:
	.string	"Hello, A!"
.LC8:
	.string	"Hello, B!"
	.align 8
.LC9:
	.string	"s7: val=%s, addr=%p, len=%lu, size=%lu\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
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 200
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -148[rbp], edi
	mov	QWORD PTR -160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	QWORD PTR -216[rbp], rax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	QWORD PTR -128[rbp], 15
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 1
	mov	r14, rax
	mov	r15d, 0
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 1
	mov	r12, rax
	mov	r13d, 0
	mov	rax, QWORD PTR -128[rbp]
	lea	rdx, 1[rax]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L2:
	cmp	rsp, rdx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L4
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L4:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	lea	rbx, 1[rax]
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rcx, rax
	mov	rdx, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR -144[rbp]
	mov	r8, rbx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 1
	mov	rdx, rax
	mov	rax, QWORD PTR -144[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -128[rbp]
	lea	rbx, 1[rax]
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rcx, rax
	mov	rdx, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR -144[rbp]
	mov	r8, rbx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, .LC3[rip]
	mov	QWORD PTR -120[rbp], rax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -112[rbp], rax
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, rbx
	lea	rbx, 1[rax]
	mov	rax, rbx
	sub	rax, 1
	mov	QWORD PTR -104[rbp], rax
	mov	QWORD PTR -176[rbp], rbx
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -192[rbp], rbx
	mov	QWORD PTR -184[rbp], 0
	mov	eax, 16
	sub	rax, 1
	add	rax, rbx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L5:
	cmp	rsp, rdx
	je	.L6
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L5
.L6:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L7
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L7:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -96[rbp], rax
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	r12, rax
	mov	rax, QWORD PTR -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, r12
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -96[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rdx, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rdx, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -1[rbx]
	mov	rdx, QWORD PTR -96[rbp]
	mov	BYTE PTR [rdx+rax], 0
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rcx, rax
	mov	rdx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -96[rbp]
	mov	r8, rbx
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rax, .LC7[rip]
	mov	QWORD PTR -88[rbp], rax
	lea	rax, .LC8[rip]
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 1
	mov	QWORD PTR -208[rbp], rax
	mov	QWORD PTR -200[rbp], 0
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 1
	mov	QWORD PTR -240[rbp], rax
	mov	QWORD PTR -232[rbp], 0
	mov	rax, QWORD PTR -128[rbp]
	lea	rdx, 1[rax]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L8:
	cmp	rsp, rdx
	je	.L9
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L8
.L9:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L10
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L10:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	mov	rcx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	rdi, rax
	call	strncat@PLT
	mov	rax, QWORD PTR -80[rbp]
	lea	rcx, 5[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	rdi, rax
	call	strncat@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -64[rbp]
	mov	BYTE PTR [rdx+rax], 0
	mov	rax, QWORD PTR -128[rbp]
	lea	rbx, 1[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rcx, rax
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	r8, rbx
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rsp, QWORD PTR -216[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"16322.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"demo1:\000"
	.align	2
.LC1:
	.ascii	"s1: val=%s, addr=%p, len=%lu, size=%lu\012\000"
	.align	2
.LC2:
	.ascii	"demo2:\000"
	.align	2
.LC3:
	.ascii	"hello\000"
	.align	2
.LC4:
	.ascii	"world\000"
	.align	2
.LC5:
	.ascii	"s4: val=%s, addr=%p, len=%lu, size=%lu\012\000"
	.align	2
.LC6:
	.ascii	"demo3:\000"
	.align	2
.LC7:
	.ascii	"Hello, A!\000"
	.align	2
.LC8:
	.ascii	"Hello, B!\000"
	.align	2
.LC9:
	.ascii	"s7: val=%s, addr=%p, len=%lu, size=%lu\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #76
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r6, r3
	ldr	r0, .L4+4
	bl	puts
	mov	r2, #15
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #0
	str	r3, [fp, #-76]
	ldr	r0, [fp, #-76]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-76]
	ldr	r1, [fp, #-76]
	ldr	r0, .L4+8
	bl	printf
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-76]
	bl	memset
	ldr	r0, [fp, #-76]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-76]
	ldr	r1, [fp, #-76]
	ldr	r0, .L4+8
	bl	printf
	ldr	r0, .L4+12
	bl	puts
	ldr	r3, .L4+16
	str	r3, [fp, #-68]
	ldr	r3, .L4+20
	str	r3, [fp, #-64]
	ldr	r0, [fp, #-68]
	bl	strlen
	mov	r4, r0
	ldr	r0, [fp, #-64]
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	add	r4, r3, #1
	mov	r3, r4
	sub	r3, r3, #1
	str	r3, [fp, #-60]
	mov	r0, r4
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r0, r4
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	add	r3, r4, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #0
	str	r3, [fp, #-56]
	ldr	r0, [fp, #-68]
	bl	strlen
	mov	r5, r0
	ldr	r0, [fp, #-64]
	bl	strlen
	mov	r3, r0
	add	r3, r5, r3
	add	r3, r3, #1
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-56]
	bl	memset
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-56]
	bl	strcat
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-56]
	bl	strcat
	sub	r3, r4, #1
	ldr	r2, [fp, #-56]
	mov	r1, #0
	strb	r1, [r2, r3]
	ldr	r0, [fp, #-56]
	bl	strlen
	mov	r3, r0
	str	r4, [sp]
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-56]
	ldr	r0, .L4+24
	bl	printf
	ldr	r0, .L4+28
	bl	puts
	ldr	r3, .L4+32
	str	r3, [fp, #-52]
	ldr	r3, .L4+36
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #0
	str	r3, [fp, #-40]
	mov	r2, #8
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-40]
	bl	strncat
	ldr	r3, [fp, #-48]
	add	r3, r3, #5
	mov	r2, #4
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	strncat
	ldr	r0, [fp, #-40]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-40]
	mov	r1, #0
	strb	r1, [r3, r2]
	ldr	r0, [fp, #-40]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-40]
	ldr	r1, [fp, #-40]
	ldr	r0, .L4+40
	bl	printf
	mov	r3, #0
	mov	sp, r6
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
