	.file	"343349.c"
	.intel_syntax noprefix
	.text
	.local	child_stack
	.comm	child_stack,1048576,32
	.type	print_nodename, @function
print_nodename:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 400
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -400[rbp]
	mov	rdi, rax
	call	uname@PLT
	lea	rax, -400[rbp]
	add	rax, 65
	mov	rdi, rax
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L2
	call	__stack_chk_fail@PLT
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print_nodename, .-print_nodename
	.section	.rodata
.LC0:
	.string	"New UTS namespace nodename: "
	.align 8
.LC1:
	.string	"Changing nodename inside new UTS namespace"
.LC2:
	.string	"GLaDOS"
	.text
	.type	child_fn, @function
child_fn:
.LFB7:
	.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]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	print_nodename
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	esi, 6
	lea	rdi, .LC2[rip]
	call	sethostname@PLT
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	print_nodename
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	child_fn, .-child_fn
	.section	.rodata
	.align 8
.LC3:
	.string	"Original UTS namespace nodename: "
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.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
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	print_nodename
	lea	rax, child_stack[rip+1048576]
	mov	ecx, 0
	mov	edx, 67108881
	mov	rsi, rax
	lea	rdi, child_fn[rip]
	mov	eax, 0
	call	clone@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	edi, 1
	call	sleep@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	print_nodename
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"343349.c"
	.text
	.local	child_stack
	.comm	child_stack,1048576,4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_nodename, %function
print_nodename:
	@ args = 0, pretend = 0, frame = 400
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #400
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #400
	mov	r0, r3
	bl	uname
	sub	r3, fp, #400
	add	r3, r3, #65
	mov	r0, r3
	bl	puts
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.size	print_nodename, .-print_nodename
	.section	.rodata
	.align	2
.LC1:
	.ascii	"New UTS namespace nodename: \000"
	.align	2
.LC2:
	.ascii	"Changing nodename inside new UTS namespace\000"
	.align	2
.LC3:
	.ascii	"GLaDOS\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	child_fn, %function
child_fn:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L7
	bl	printf
	bl	print_nodename
	ldr	r0, .L7+4
	bl	puts
	mov	r1, #6
	ldr	r0, .L7+8
	bl	sethostname
	ldr	r0, .L7
	bl	printf
	bl	print_nodename
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	child_fn, .-child_fn
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Original UTS namespace nodename: \000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L11
	bl	printf
	bl	print_nodename
	ldr	r1, .L11+4
	mov	r3, #0
	ldr	r2, .L11+8
	ldr	r0, .L11+12
	bl	clone
	str	r0, [fp, #-8]
	mov	r0, #1
	bl	sleep
	ldr	r0, .L11
	bl	printf
	bl	print_nodename
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	waitpid
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC4
	.word	child_stack+1048576
	.word	67108881
	.word	child_fn
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
