	.file	"98724.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"gethostid: %d\n"
.LC1:
	.string	"errno: %d\n\n"
.LC2:
	.string	"gethostname/2 ret: %d\n"
.LC3:
	.string	"gethostname/2: %s\n"
.LC4:
	.string	"gethostname/256 ret: %d\n"
.LC5:
	.string	"gethostname/256: %s\n"
.LC6:
	.string	"login: %s\n"
.LC7:
	.string	"login_r/2 ret: %d\n"
.LC8:
	.string	"login_r/2: %s\n"
.LC9:
	.string	"login_r/256 ret: %d\n"
.LC10:
	.string	"login_r/256: %s\n"
.LC11:
	.string	"errno: %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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
	sub	rsp, 528
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	movabs	r14, 3255307777713450285
	movabs	r15, 3255307777713450285
	mov	QWORD PTR -560[rbp], r14
	mov	QWORD PTR -552[rbp], r15
	movabs	r12, 3255307777713450285
	mov	r13d, 11565
	mov	QWORD PTR -544[rbp], r12
	mov	QWORD PTR -536[rbp], r13
	mov	QWORD PTR -528[rbp], 0
	mov	QWORD PTR -520[rbp], 0
	mov	QWORD PTR -512[rbp], 0
	mov	QWORD PTR -504[rbp], 0
	mov	QWORD PTR -496[rbp], 0
	mov	QWORD PTR -488[rbp], 0
	mov	QWORD PTR -480[rbp], 0
	mov	QWORD PTR -472[rbp], 0
	mov	QWORD PTR -464[rbp], 0
	mov	QWORD PTR -456[rbp], 0
	mov	QWORD PTR -448[rbp], 0
	mov	QWORD PTR -440[rbp], 0
	mov	QWORD PTR -432[rbp], 0
	mov	QWORD PTR -424[rbp], 0
	mov	QWORD PTR -416[rbp], 0
	mov	QWORD PTR -408[rbp], 0
	mov	QWORD PTR -400[rbp], 0
	mov	QWORD PTR -392[rbp], 0
	mov	QWORD PTR -384[rbp], 0
	mov	QWORD PTR -376[rbp], 0
	mov	QWORD PTR -368[rbp], 0
	mov	QWORD PTR -360[rbp], 0
	mov	QWORD PTR -352[rbp], 0
	mov	QWORD PTR -344[rbp], 0
	mov	QWORD PTR -336[rbp], 0
	mov	QWORD PTR -328[rbp], 0
	mov	QWORD PTR -320[rbp], 0
	mov	QWORD PTR -312[rbp], 0
	call	gethostid@PLT
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	lea	rax, -560[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	gethostname@PLT
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -560[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	lea	rax, -560[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	gethostname@PLT
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -560[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	QWORD PTR -304[rbp], r14
	mov	QWORD PTR -296[rbp], r15
	mov	QWORD PTR -288[rbp], r12
	mov	QWORD PTR -280[rbp], r13
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 0
	mov	QWORD PTR -256[rbp], 0
	mov	QWORD PTR -248[rbp], 0
	mov	QWORD PTR -240[rbp], 0
	mov	QWORD PTR -232[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	call	getlogin@PLT
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	lea	rax, -304[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	getlogin_r@PLT
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -304[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	lea	rax, -304[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	getlogin_r@PLT
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -304[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	eax, 0
	mov	rdx, QWORD PTR -40[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	add	rsp, 528
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"98724.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"gethostid: %d\012\000"
	.align	2
.LC2:
	.ascii	"errno: %d\012\012\000"
	.align	2
.LC3:
	.ascii	"gethostname/2 ret: %d\012\000"
	.align	2
.LC4:
	.ascii	"gethostname/2: %s\012\000"
	.align	2
.LC5:
	.ascii	"gethostname/256 ret: %d\012\000"
	.align	2
.LC6:
	.ascii	"gethostname/256: %s\012\000"
	.align	2
.LC7:
	.ascii	"login: %s\012\000"
	.align	2
.LC8:
	.ascii	"login_r/2 ret: %d\012\000"
	.align	2
.LC9:
	.ascii	"login_r/2: %s\012\000"
	.align	2
.LC10:
	.ascii	"login_r/256 ret: %d\012\000"
	.align	2
.LC11:
	.ascii	"login_r/256: %s\012\000"
	.align	2
.LC12:
	.ascii	"errno: %d\012\000"
	.align	2
.LC0:
	.ascii	"--------------------------\000"
	.space	229
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 520
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #520
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L4+4
	sub	ip, fp, #520
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stmia	ip!, {r0, r1}
	strh	r2, [ip]	@ movhi
	add	ip, ip, #2
	lsr	r3, r2, #16
	strb	r3, [ip]
	sub	r3, fp, #492
	sub	r3, r3, #1
	mov	r2, #229
	mov	r1, #0
	mov	r0, r3
	bl	memset
	bl	gethostid
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L4+8
	bl	printf
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L4+12
	bl	printf
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #520
	mov	r1, #2
	mov	r0, r3
	bl	gethostname
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L4+16
	bl	printf
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, .L4+20
	bl	printf
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L4+12
	bl	printf
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #520
	mov	r1, #256
	mov	r0, r3
	bl	gethostname
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L4+24
	bl	printf
	sub	r3, fp, #520
	mov	r1, r3
	ldr	r0, .L4+28
	bl	printf
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L4+12
	bl	printf
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L4+4
	sub	ip, fp, #264
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stmia	ip!, {r0, r1}
	strh	r2, [ip]	@ movhi
	add	ip, ip, #2
	lsr	r3, r2, #16
	strb	r3, [ip]
	sub	r3, fp, #237
	mov	r2, #229
	mov	r1, #0
	mov	r0, r3
	bl	memset
	bl	getlogin
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L4+32
	bl	printf
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L4+12
	bl	printf
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #264
	mov	r1, #2
	mov	r0, r3
	bl	getlogin_r
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L4+36
	bl	printf
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L4+40
	bl	printf
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L4+12
	bl	printf
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #264
	mov	r1, #256
	mov	r0, r3
	bl	getlogin_r
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L4+44
	bl	printf
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, .L4+48
	bl	printf
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L4+52
	bl	printf
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC13
	.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
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
