	.file	"284745.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"snrvmaS:"
.LC1:
	.string	"uname"
.LC2:
	.string	"%.*s"
	.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
	sub	rsp, 432
	mov	DWORD PTR -420[rbp], edi
	mov	QWORD PTR -432[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L2
.L12:
	mov	eax, DWORD PTR -412[rbp]
	sub	eax, 83
	cmp	eax, 35
	ja	.L3
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L5[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L5[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L11-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L10-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L9-.L5
	.long	.L8-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L7-.L5
	.long	.L6-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L4-.L5
	.text
.L6:
	mov	DWORD PTR snf.5[rip], 1
	jmp	.L2
.L8:
	mov	DWORD PTR nnf.4[rip], 1
	jmp	.L2
.L7:
	mov	DWORD PTR srf.3[rip], 1
	jmp	.L2
.L4:
	mov	DWORD PTR svf.2[rip], 1
	jmp	.L2
.L9:
	mov	DWORD PTR mhf.1[rip], 1
	jmp	.L2
.L10:
	mov	DWORD PTR mhf.1[rip], 1
	mov	eax, DWORD PTR mhf.1[rip]
	mov	DWORD PTR svf.2[rip], eax
	mov	eax, DWORD PTR svf.2[rip]
	mov	DWORD PTR srf.3[rip], eax
	mov	eax, DWORD PTR srf.3[rip]
	mov	DWORD PTR nnf.4[rip], eax
	jmp	.L2
.L11:
	mov	DWORD PTR Snf.0[rip], 1
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -408[rbp], rax
	jmp	.L2
.L3:
	mov	eax, 0
	call	usage
.L2:
	mov	rcx, QWORD PTR -432[rbp]
	mov	eax, DWORD PTR -420[rbp]
	lea	rdx, .LC0[rip]
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	getopt@PLT
	mov	DWORD PTR -412[rbp], eax
	cmp	DWORD PTR -412[rbp], -1
	jne	.L12
	mov	eax, DWORD PTR snf.5[rip]
	test	eax, eax
	jne	.L13
	mov	eax, DWORD PTR nnf.4[rip]
	test	eax, eax
	jne	.L13
	mov	eax, DWORD PTR srf.3[rip]
	test	eax, eax
	jne	.L13
	mov	eax, DWORD PTR svf.2[rip]
	test	eax, eax
	jne	.L13
	mov	eax, DWORD PTR mhf.1[rip]
	test	eax, eax
	je	.L14
.L13:
	mov	eax, DWORD PTR Snf.0[rip]
	test	eax, eax
	je	.L14
	mov	eax, 0
	call	usage
.L14:
	mov	eax, DWORD PTR Snf.0[rip]
	test	eax, eax
	je	.L15
	mov	rax, QWORD PTR -408[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	changename
	jmp	.L16
.L15:
	lea	rax, -400[rbp]
	mov	rdi, rax
	call	uname@PLT
	test	eax, eax
	jns	.L17
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	mov	DWORD PTR -416[rbp], 0
	mov	eax, DWORD PTR snf.5[rip]
	test	eax, eax
	je	.L18
	lea	rax, -400[rbp]
	mov	rdx, rax
	mov	esi, 65
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -416[rbp], 1
.L18:
	mov	eax, DWORD PTR nnf.4[rip]
	test	eax, eax
	je	.L19
	cmp	DWORD PTR -416[rbp], 0
	je	.L20
	mov	edi, 32
	call	putchar@PLT
.L20:
	lea	rax, -400[rbp]
	add	rax, 65
	mov	rdx, rax
	mov	esi, 65
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -416[rbp], 1
.L19:
	mov	eax, DWORD PTR srf.3[rip]
	test	eax, eax
	je	.L21
	cmp	DWORD PTR -416[rbp], 0
	je	.L22
	mov	edi, 32
	call	putchar@PLT
.L22:
	lea	rax, -400[rbp]
	add	rax, 130
	mov	rdx, rax
	mov	esi, 65
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -416[rbp], 1
.L21:
	mov	eax, DWORD PTR svf.2[rip]
	test	eax, eax
	je	.L23
	cmp	DWORD PTR -416[rbp], 0
	je	.L24
	mov	edi, 32
	call	putchar@PLT
.L24:
	lea	rax, -400[rbp]
	add	rax, 195
	mov	rdx, rax
	mov	esi, 65
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -416[rbp], 1
.L23:
	mov	eax, DWORD PTR mhf.1[rip]
	test	eax, eax
	je	.L25
	cmp	DWORD PTR -416[rbp], 0
	je	.L26
	mov	edi, 32
	call	putchar@PLT
.L26:
	lea	rax, -400[rbp]
	add	rax, 260
	mov	rdx, rax
	mov	esi, 65
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L25:
	mov	edi, 10
	call	putchar@PLT
.L16:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC3:
	.string	"/etc/uucpname"
	.align 8
.LC4:
	.string	"uname: name must be <= 8 characters.\n"
	.text
	.globl	changename
	.type	changename, @function
changename:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 120
	.cfi_offset 3, -24
	mov	QWORD PTR -120[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 64
	jbe	.L29
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 37
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L29:
	mov	rdx, QWORD PTR -120[rbp]
	lea	rax, -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -96[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 10
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 420
	mov	esi, 514
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -108[rbp], eax
	cmp	DWORD PTR -108[rbp], 0
	jns	.L30
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L30:
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -96[rbp]
	mov	eax, DWORD PTR -108[rbp]
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	write@PLT
	movsx	rbx, eax
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	je	.L31
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L31:
	nop
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	changename, .-changename
	.section	.rodata
	.align 8
.LC5:
	.string	"usage:\tuname [-snrvma]\n\tuname [-S system_name]"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE2:
	.size	usage, .-usage
	.local	snf.5
	.comm	snf.5,4,4
	.local	nnf.4
	.comm	nnf.4,4,4
	.local	srf.3
	.comm	srf.3,4,4
	.local	svf.2
	.comm	svf.2,4,4
	.local	mhf.1
	.comm	mhf.1,4,4
	.local	Snf.0
	.comm	Snf.0,4,4
	.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	"284745.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"snrvmaS:\000"
	.align	2
.LC1:
	.ascii	"uname\000"
	.align	2
.LC2:
	.ascii	"%.*s\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 416
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #416
	str	r0, [fp, #-416]
	str	r1, [fp, #-420]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L2
.L12:
	ldr	r3, [fp, #-404]
	sub	r3, r3, #83
	cmp	r3, #35
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L11
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L10
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L9
	.word	.L8
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L7
	.word	.L6
	.word	.L3
	.word	.L3
	.word	.L4
.L6:
	ldr	r3, .L28+4
	mov	r2, #1
	str	r2, [r3]
	b	.L2
.L8:
	ldr	r3, .L28+8
	mov	r2, #1
	str	r2, [r3]
	b	.L2
.L7:
	ldr	r3, .L28+12
	mov	r2, #1
	str	r2, [r3]
	b	.L2
.L4:
	ldr	r3, .L28+16
	mov	r2, #1
	str	r2, [r3]
	b	.L2
.L9:
	ldr	r3, .L28+20
	mov	r2, #1
	str	r2, [r3]
	b	.L2
.L10:
	ldr	r3, .L28+20
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L28+20
	ldr	r3, [r3]
	ldr	r2, .L28+16
	str	r3, [r2]
	ldr	r3, .L28+16
	ldr	r3, [r3]
	ldr	r2, .L28+12
	str	r3, [r2]
	ldr	r3, .L28+12
	ldr	r3, [r3]
	ldr	r2, .L28+8
	str	r3, [r2]
	b	.L2
.L11:
	ldr	r3, .L28+24
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L28+28
	ldr	r3, [r3]
	str	r3, [fp, #-412]
	b	.L2
.L3:
	bl	usage
.L2:
	ldr	r2, .L28+32
	ldr	r1, [fp, #-420]
	ldr	r0, [fp, #-416]
	bl	getopt
	str	r0, [fp, #-404]
	ldr	r3, [fp, #-404]
	cmn	r3, #1
	bne	.L12
	ldr	r3, .L28+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L28+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L28+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L28+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L28+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L14
.L13:
	ldr	r3, .L28+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L14
	bl	usage
.L14:
	ldr	r3, .L28+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L15
	ldr	r0, [fp, #-412]
	bl	changename
	b	.L16
.L15:
	sub	r3, fp, #400
	mov	r0, r3
	bl	uname
	mov	r3, r0
	cmp	r3, #0
	bge	.L17
	ldr	r0, .L28+36
	bl	perror
	mov	r0, #1
	bl	exit
.L17:
	mov	r3, #0
	str	r3, [fp, #-408]
	ldr	r3, .L28+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L18
	sub	r3, fp, #400
	mov	r2, r3
	mov	r1, #65
	ldr	r0, .L28+40
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-408]
.L18:
	ldr	r3, .L28+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L19
	ldr	r3, [fp, #-408]
	cmp	r3, #0
	beq	.L20
	mov	r0, #32
	bl	putchar
.L20:
	sub	r3, fp, #400
	add	r3, r3, #65
	mov	r2, r3
	mov	r1, #65
	ldr	r0, .L28+40
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-408]
.L19:
	ldr	r3, .L28+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-408]
	cmp	r3, #0
	beq	.L22
	mov	r0, #32
	bl	putchar
.L22:
	sub	r3, fp, #400
	add	r3, r3, #130
	mov	r2, r3
	mov	r1, #65
	ldr	r0, .L28+40
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-408]
.L21:
	ldr	r3, .L28+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-408]
	cmp	r3, #0
	beq	.L24
	mov	r0, #32
	bl	putchar
.L24:
	sub	r3, fp, #400
	add	r3, r3, #195
	mov	r2, r3
	mov	r1, #65
	ldr	r0, .L28+40
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-408]
.L23:
	ldr	r3, .L28+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-408]
	cmp	r3, #0
	beq	.L26
	mov	r0, #32
	bl	putchar
.L26:
	sub	r3, fp, #400
	add	r3, r3, #260
	mov	r2, r3
	mov	r1, #65
	ldr	r0, .L28+40
	bl	printf
.L25:
	mov	r0, #10
	bl	putchar
.L16:
	mov	r0, #0
	bl	exit
.L29:
	.align	2
.L28:
	.word	.LC3
	.word	snf.4848
	.word	nnf.4849
	.word	srf.4850
	.word	svf.4851
	.word	mhf.4852
	.word	Snf.4853
	.word	optarg
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.section	.rodata
	.align	2
.LC4:
	.ascii	"/etc/uucpname\000"
	.align	2
.LC5:
	.ascii	"uname: name must be <= 8 characters.\012\000"
	.align	2
.LC6:
	.ascii	"\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	changename
	.syntax unified
	.arm
	.fpu softvfp
	.type	changename, %function
changename:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #92
	str	r0, [fp, #-96]
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L35+4
	str	r3, [fp, #-92]
	ldr	r0, [fp, #-96]
	bl	strlen
	mov	r3, r0
	cmp	r3, #64
	bls	.L31
	ldr	r3, .L35+8
	ldr	r3, [r3]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, .L35+12
	bl	fwrite
	mov	r0, #1
	bl	exit
.L31:
	sub	r3, fp, #84
	ldr	r1, [fp, #-96]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #84
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #84
	add	r3, r3, r2
	ldr	r2, .L35+16
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	mov	r2, #420
	ldr	r1, .L35+20
	ldr	r0, [fp, #-92]
	bl	open
	str	r0, [fp, #-88]
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bge	.L32
	ldr	r0, .L35+24
	bl	perror
	mov	r0, #1
	bl	exit
.L32:
	sub	r3, fp, #84
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #84
	mov	r1, r3
	ldr	r0, [fp, #-88]
	bl	write
	mov	r3, r0
	mov	r4, r3
	sub	r3, fp, #84
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r4, r3
	beq	.L33
	ldr	r0, .L35+24
	bl	perror
	mov	r0, #1
	bl	exit
.L33:
	nop
	ldr	r2, .L35
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC7
	.word	.LC4
	.word	stderr
	.word	.LC5
	.word	.LC6
	.word	514
	.word	.LC1
	.size	changename, .-changename
	.section	.rodata
	.align	2
.LC8:
	.ascii	"usage:\011uname [-snrvma]\012\011uname [-S system_n"
	.ascii	"ame]\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L38
	bl	puts
	mov	r0, #1
	bl	exit
.L39:
	.align	2
.L38:
	.word	.LC8
	.size	usage, .-usage
	.local	snf.4848
	.comm	snf.4848,4,4
	.local	nnf.4849
	.comm	nnf.4849,4,4
	.local	srf.4850
	.comm	srf.4850,4,4
	.local	svf.4851
	.comm	svf.4851,4,4
	.local	mhf.4852
	.comm	mhf.4852,4,4
	.local	Snf.4853
	.comm	Snf.4853,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
