	.file	"737845.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"this is another func."
	.text
	.globl	another_func
	.type	another_func, @function
another_func:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	another_func, .-another_func
	.section	.rodata
.LC1:
	.string	"before forking process."
	.align 8
.LC2:
	.string	"\t - pid: %d, this is child process.\n"
	.align 8
.LC3:
	.string	"\t - *test string pointer in child process: %p\n"
	.align 8
.LC4:
	.string	"\t - pid: %d, this is parent process.\n"
	.align 8
.LC5:
	.string	"\t - *test string pointer in parent process: %p\n"
.LC6:
	.string	"error: faild forking process."
	.align 8
.LC7:
	.string	"after finishing child process %d(status: %d).\n"
	.text
	.globl	main
	.type	main, @function
main:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -16[rbp]
	movabs	rdx, 2338328219631577204
	movabs	rcx, 8247343400852088180
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR 8[rax], rcx
	mov	DWORD PTR 16[rax], 778530409
	mov	BYTE PTR 20[rax], 0
	call	fork@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jne	.L4
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L4:
	cmp	DWORD PTR -20[rbp], 0
	jle	.L5
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L5:
	cmp	DWORD PTR -20[rbp], 0
	jns	.L10
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	nop
.L7:
	lea	rcx, -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	test	eax, eax
	jle	.L7
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"737845.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"this is another func.\000"
	.text
	.align	2
	.global	another_func
	.syntax unified
	.arm
	.fpu softvfp
	.type	another_func, %function
another_func:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L3
	bl	puts
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.size	another_func, .-another_func
	.section	.rodata
	.align	2
.LC1:
	.ascii	"before forking process.\000"
	.align	2
.LC2:
	.ascii	"this is test string.\000"
	.align	2
.LC3:
	.ascii	"\011 - pid: %d, this is child process.\012\000"
	.align	2
.LC4:
	.ascii	"\011 - *test string pointer in child process: %p\012"
	.ascii	"\000"
	.align	2
.LC5:
	.ascii	"\011 - pid: %d, this is parent process.\012\000"
	.align	2
.LC6:
	.ascii	"\011 - *test string pointer in parent process: %p\012"
	.ascii	"\000"
	.align	2
.LC7:
	.ascii	"error: faild forking process.\000"
	.align	2
.LC8:
	.ascii	"after finishing child process %d(status: %d).\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L13+4
	bl	puts
	ldr	r3, [fp, #-16]
	ldr	r2, .L13+8
	mov	r0, r3
	mov	r1, r2
	mov	r3, #21
	mov	r2, r3
	bl	memcpy
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L6
	ldr	r1, [fp, #-12]
	ldr	r0, .L13+12
	bl	printf
	ldr	r1, [fp, #-16]
	ldr	r0, .L13+16
	bl	printf
	mov	r0, #0
	bl	exit
.L6:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L7
	ldr	r1, [fp, #-12]
	ldr	r0, .L13+20
	bl	printf
	ldr	r1, [fp, #-16]
	ldr	r0, .L13+24
	bl	printf
	b	.L12
.L7:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L12
	ldr	r0, .L13+28
	bl	puts
	mov	r0, #1
	bl	exit
.L12:
	nop
.L9:
	sub	r3, fp, #20
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	waitpid
	mov	r3, r0
	cmp	r3, #0
	ble	.L9
	ldr	r3, [fp, #-20]
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L13+32
	bl	printf
	nop
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC9
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
