	.file	"416248.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Create: %s [-b] [-u owner] [-g group] [-t device-name] [-f tun-clone-device]\n"
	.align 8
.LC1:
	.string	"Delete: %s -d device-name [-f tun-clone-device]\n\n"
	.align 8
.LC2:
	.string	"The default tun clone device is /dev/net/tun - some systems use\n/dev/misc/net/tun instead\n\n"
	.align 8
.LC3:
	.string	"-b will result in brief output (just the device name)\n"
	.text
	.type	Usage, @function
Usage:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 91
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 54
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	Usage, .-Usage
	.section	.rodata
.LC4:
	.string	""
.LC5:
	.string	"/dev/net/tun"
	.align 8
.LC6:
	.string	"'%s' is neither a username nor a numeric uid.\n"
	.align 8
.LC7:
	.string	"'%s' is neither a groupname nor a numeric group.\n"
.LC8:
	.string	"bd:f:t:u:g:"
.LC9:
	.string	"Failed to open '%s' : "
.LC10:
	.string	"TUNSETIFF"
.LC11:
	.string	"disabling TUNSETPERSIST"
.LC12:
	.string	"Set '%s' nonpersistent\n"
.LC13:
	.string	"TUNSETOWNER"
.LC14:
	.string	"TUNSETGROUP"
.LC15:
	.string	"enabling TUNSETPERSIST"
	.align 8
.LC16:
	.string	"Set '%s' persistent and owned by"
.LC17:
	.string	" uid %d"
.LC18:
	.string	" gid %d"
	.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, 144
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -120[rbp], -1
	mov	DWORD PTR -116[rbp], -1
	mov	DWORD PTR -112[rbp], 0
	mov	DWORD PTR -108[rbp], 0
	lea	rax, .LC4[rip]
	mov	QWORD PTR -88[rbp], rax
	lea	rax, .LC5[rip]
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -72[rbp], rax
	jmp	.L3
.L16:
	mov	eax, DWORD PTR -104[rbp]
	sub	eax, 98
	cmp	eax, 19
	ja	.L4
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L6[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L6[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L11-.L6
	.long	.L4-.L6
	.long	.L10-.L6
	.long	.L4-.L6
	.long	.L9-.L6
	.long	.L8-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L7-.L6
	.long	.L5-.L6
	.text
.L11:
	mov	DWORD PTR -108[rbp], 1
	jmp	.L3
.L10:
	mov	DWORD PTR -112[rbp], 1
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -88[rbp], rax
	jmp	.L3
.L9:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -80[rbp], rax
	jmp	.L3
.L5:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	getpwnam@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	je	.L12
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -120[rbp], eax
	jmp	.L3
.L12:
	mov	rax, QWORD PTR optarg[rip]
	lea	rcx, -96[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -120[rbp], eax
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L3
	mov	rdx, QWORD PTR optarg[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	Usage
	jmp	.L3
.L8:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	getgrnam@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	je	.L14
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -116[rbp], eax
	jmp	.L3
.L14:
	mov	rax, QWORD PTR optarg[rip]
	lea	rcx, -96[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -116[rbp], eax
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L3
	mov	rdx, QWORD PTR optarg[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	Usage
	jmp	.L3
.L7:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -88[rbp], rax
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	Usage
.L3:
	mov	rcx, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR -132[rbp]
	lea	rdx, .LC8[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -104[rbp], eax
	cmp	DWORD PTR -104[rbp], 0
	jg	.L16
	mov	eax, DWORD PTR optind[rip]
	cdqe
	sal	rax, 3
	add	QWORD PTR -144[rbp], rax
	mov	eax, DWORD PTR optind[rip]
	sub	DWORD PTR -132[rbp], eax
	cmp	DWORD PTR -132[rbp], 0
	jle	.L17
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	Usage
.L17:
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -100[rbp], eax
	cmp	DWORD PTR -100[rbp], 0
	jns	.L18
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -80[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC4[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	lea	rax, -48[rbp]
	mov	edx, 40
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -32[rbp], 4098
	mov	rcx, QWORD PTR -88[rbp]
	lea	rax, -48[rbp]
	mov	edx, 15
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	esi, 1074025674
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	jns	.L19
	lea	rdi, .LC10[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L19:
	cmp	DWORD PTR -112[rbp], 0
	je	.L20
	mov	eax, DWORD PTR -100[rbp]
	mov	edx, 0
	mov	esi, 1074025675
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	jns	.L21
	lea	rdi, .LC11[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L21:
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L22
.L20:
	cmp	DWORD PTR -120[rbp], -1
	jne	.L23
	cmp	DWORD PTR -116[rbp], -1
	jne	.L23
	call	geteuid@PLT
	mov	DWORD PTR -120[rbp], eax
.L23:
	cmp	DWORD PTR -120[rbp], -1
	je	.L24
	mov	edx, DWORD PTR -120[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	esi, 1074025676
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	jns	.L24
	lea	rdi, .LC13[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L24:
	cmp	DWORD PTR -116[rbp], -1
	je	.L25
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	esi, 1074025678
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	jns	.L25
	lea	rdi, .LC14[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L25:
	mov	eax, DWORD PTR -100[rbp]
	mov	edx, 1
	mov	esi, 1074025675
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	jns	.L26
	lea	rdi, .LC15[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L26:
	cmp	DWORD PTR -108[rbp], 0
	je	.L27
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	puts@PLT
	jmp	.L22
.L27:
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -120[rbp], -1
	je	.L28
	mov	eax, DWORD PTR -120[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
.L28:
	cmp	DWORD PTR -116[rbp], -1
	je	.L29
	mov	eax, DWORD PTR -116[rbp]
	mov	esi, eax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
.L29:
	mov	edi, 10
	call	putchar@PLT
.L22:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	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	"416248.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Create: %s [-b] [-u owner] [-g group] [-t device-na"
	.ascii	"me] [-f tun-clone-device]\012\000"
	.align	2
.LC1:
	.ascii	"Delete: %s -d device-name [-f tun-clone-device]\012"
	.ascii	"\012\000"
	.align	2
.LC2:
	.ascii	"The default tun clone device is /dev/net/tun - some"
	.ascii	" systems use\012/dev/misc/net/tun instead\012\012\000"
	.align	2
.LC3:
	.ascii	"-b will result in brief output (just the device nam"
	.ascii	"e)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	Usage, %function
Usage:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L2+4
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L2+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #91
	mov	r1, #1
	ldr	r0, .L2+12
	bl	fwrite
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #54
	mov	r1, #1
	ldr	r0, .L2+16
	bl	fwrite
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	Usage, .-Usage
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\000"
	.align	2
.LC5:
	.ascii	"/dev/net/tun\000"
	.align	2
.LC6:
	.ascii	"'%s' is neither a username nor a numeric uid.\012\000"
	.align	2
.LC7:
	.ascii	"'%s' is neither a groupname nor a numeric group.\012"
	.ascii	"\000"
	.align	2
.LC8:
	.ascii	"bd:f:t:u:g:\000"
	.align	2
.LC9:
	.ascii	"Failed to open '%s' : \000"
	.align	2
.LC10:
	.ascii	"TUNSETIFF\000"
	.align	2
.LC11:
	.ascii	"disabling TUNSETPERSIST\000"
	.align	2
.LC12:
	.ascii	"Set '%s' nonpersistent\012\000"
	.align	2
.LC13:
	.ascii	"TUNSETOWNER\000"
	.align	2
.LC14:
	.ascii	"TUNSETGROUP\000"
	.align	2
.LC15:
	.ascii	"enabling TUNSETPERSIST\000"
	.align	2
.LC16:
	.ascii	"Set '%s' persistent and owned by\000"
	.align	2
.LC17:
	.ascii	" uid %d\000"
	.align	2
.LC18:
	.ascii	" gid %d\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-84]
	mvn	r3, #0
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-72]
	ldr	r3, .L34+4
	str	r3, [fp, #-68]
	ldr	r3, .L34+8
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-100]
	ldr	r3, [r3]
	str	r3, [fp, #-60]
	b	.L5
.L18:
	ldr	r3, [fp, #-56]
	sub	r3, r3, #98
	cmp	r3, #19
	ldrls	pc, [pc, r3, asl #2]
	b	.L6
.L8:
	.word	.L13
	.word	.L6
	.word	.L12
	.word	.L6
	.word	.L11
	.word	.L10
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L9
	.word	.L7
.L13:
	mov	r3, #1
	str	r3, [fp, #-72]
	b	.L5
.L12:
	mov	r3, #1
	str	r3, [fp, #-76]
	ldr	r3, .L34+12
	ldr	r3, [r3]
	str	r3, [fp, #-68]
	b	.L5
.L11:
	ldr	r3, .L34+12
	ldr	r3, [r3]
	str	r3, [fp, #-64]
	b	.L5
.L7:
	ldr	r3, .L34+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	getpwnam
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-84]
	b	.L5
.L14:
	ldr	r3, .L34+12
	ldr	r3, [r3]
	sub	r1, fp, #88
	mov	r2, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-88]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L34+16
	ldr	r3, [r3]
	ldr	r2, .L34+12
	ldr	r2, [r2]
	ldr	r1, .L34+20
	mov	r0, r3
	bl	fprintf
	ldr	r0, [fp, #-60]
	bl	Usage
	b	.L5
.L10:
	ldr	r3, .L34+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	getgrnam
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-80]
	b	.L5
.L16:
	ldr	r3, .L34+12
	ldr	r3, [r3]
	sub	r1, fp, #88
	mov	r2, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-88]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L34+16
	ldr	r3, [r3]
	ldr	r2, .L34+12
	ldr	r2, [r2]
	ldr	r1, .L34+24
	mov	r0, r3
	bl	fprintf
	ldr	r0, [fp, #-60]
	bl	Usage
	b	.L5
.L9:
	ldr	r3, .L34+12
	ldr	r3, [r3]
	str	r3, [fp, #-68]
	b	.L5
.L6:
	ldr	r0, [fp, #-60]
	bl	Usage
.L5:
	ldr	r2, .L34+28
	ldr	r1, [fp, #-100]
	ldr	r0, [fp, #-96]
	bl	getopt
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bgt	.L18
	ldr	r3, .L34+32
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-100]
	add	r3, r2, r3
	str	r3, [fp, #-100]
	ldr	r3, .L34+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-96]
	sub	r3, r2, r3
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	ble	.L19
	ldr	r0, [fp, #-60]
	bl	Usage
.L19:
	mov	r1, #2
	ldr	r0, [fp, #-64]
	bl	open
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bge	.L20
	ldr	r3, .L34+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-64]
	ldr	r1, .L34+36
	mov	r0, r3
	bl	fprintf
	ldr	r0, .L34+4
	bl	perror
	mov	r0, #1
	bl	exit
.L20:
	sub	r3, fp, #40
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L34+40
	strh	r3, [fp, #-24]	@ movhi
	sub	r3, fp, #40
	mov	r2, #15
	ldr	r1, [fp, #-68]
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #40
	mov	r2, r3
	ldr	r1, .L34+44
	ldr	r0, [fp, #-52]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L21
	ldr	r0, .L34+48
	bl	perror
	mov	r0, #1
	bl	exit
.L21:
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	beq	.L22
	mov	r2, #0
	ldr	r1, .L34+52
	ldr	r0, [fp, #-52]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L23
	ldr	r0, .L34+56
	bl	perror
	mov	r0, #1
	bl	exit
.L23:
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L34+60
	bl	printf
	b	.L24
.L22:
	ldr	r3, [fp, #-84]
	cmn	r3, #1
	bne	.L25
	ldr	r3, [fp, #-80]
	cmn	r3, #1
	bne	.L25
	bl	geteuid
	str	r0, [fp, #-84]
.L25:
	ldr	r3, [fp, #-84]
	cmn	r3, #1
	beq	.L26
	ldr	r2, [fp, #-84]
	ldr	r1, .L34+64
	ldr	r0, [fp, #-52]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L26
	ldr	r0, .L34+68
	bl	perror
	mov	r0, #1
	bl	exit
.L26:
	ldr	r3, [fp, #-80]
	cmn	r3, #1
	beq	.L27
	ldr	r2, [fp, #-80]
	ldr	r1, .L34+72
	ldr	r0, [fp, #-52]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L27
	ldr	r0, .L34+76
	bl	perror
	mov	r0, #1
	bl	exit
.L27:
	mov	r2, #1
	ldr	r1, .L34+52
	ldr	r0, [fp, #-52]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L28
	ldr	r0, .L34+80
	bl	perror
	mov	r0, #1
	bl	exit
.L28:
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	beq	.L29
	sub	r3, fp, #40
	mov	r0, r3
	bl	puts
	b	.L24
.L29:
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L34+84
	bl	printf
	ldr	r3, [fp, #-84]
	cmn	r3, #1
	beq	.L30
	ldr	r1, [fp, #-84]
	ldr	r0, .L34+88
	bl	printf
.L30:
	ldr	r3, [fp, #-80]
	cmn	r3, #1
	beq	.L31
	ldr	r1, [fp, #-80]
	ldr	r0, .L34+92
	bl	printf
.L31:
	mov	r0, #10
	bl	putchar
.L24:
	mov	r3, #0
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC19
	.word	.LC4
	.word	.LC5
	.word	optarg
	.word	stderr
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	optind
	.word	.LC9
	.word	4098
	.word	1074025674
	.word	.LC10
	.word	1074025675
	.word	.LC11
	.word	.LC12
	.word	1074025676
	.word	.LC13
	.word	1074025678
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
