	.file	"extr_inject_randr1.5.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"getmonitors_reply"
.LC1:
	.string	"getoutputinfo_reply"
.LC2:
	.string	""
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"syntax: %s [options] <command>"
	.section	.rodata.str1.1
.LC4:
	.string	"socket(AF_UNIX)"
.LC5:
	.string	"Could not set FD_CLOEXEC"
.LC6:
	.string	"/tmp/.X11-unix/X%d"
.LC7:
	.string	"bind(%s)"
.LC8:
	.string	"Successfuly bound to %s\n"
.LC9:
	.string	"bind()"
.LC10:
	.string	"listen()"
.LC11:
	.string	"fork()"
.LC12:
	.string	":%d"
.LC13:
	.string	"DISPLAY"
.LC14:
	.string	"exec()"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	lea	r14, .LC1[rip]
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	lea	r13, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, edi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	DWORD PTR [rsp], 0
	mov	rbp, rsp
	.p2align 4,,10
	.p2align 3
.L2:
	mov	r8, rbp
	lea	rcx, long_options.2041[rip]
	mov	rsi, rbx
	mov	edi, r12d
	lea	rdx, .LC2[rip]
	call	getopt_long@PLT
	cmp	eax, -1
	je	.L26
	test	eax, eax
	jne	.L3
	movsx	rax, DWORD PTR [rsp]
	lea	rdx, long_options.2041[rip]
	mov	ecx, 18
	mov	rdi, r13
	sal	rax, 5
	mov	rdx, QWORD PTR 8[rdx+rax]
	mov	rsi, rdx
	repz cmpsb
	seta	al
	sbb	al, 0
	test	al, al
	je	.L27
	mov	ecx, 20
	mov	rsi, rdx
	mov	rdi, r14
	repz cmpsb
	seta	al
	sbb	al, 0
	test	al, al
	jne	.L2
	mov	edi, DWORD PTR optarg[rip]
	lea	rsi, getoutputinfo_reply[rip]
	call	must_read_reply@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, DWORD PTR EXIT_FAILURE[rip]
	call	exit@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L27:
	mov	edi, DWORD PTR optarg[rip]
	lea	rsi, getmonitors_reply[rip]
	call	must_read_reply@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L26:
	cmp	DWORD PTR optind[rip], r12d
	jge	.L28
.L7:
	mov	esi, DWORD PTR SOCK_STREAM[rip]
	mov	edi, DWORD PTR AF_LOCAL[rip]
	xor	edx, edx
	call	socket@PLT
	mov	r13d, eax
	cmp	eax, -1
	je	.L29
.L8:
	mov	edx, DWORD PTR FD_CLOEXEC[rip]
	mov	esi, DWORD PTR F_SETFD[rip]
	mov	edi, r13d
	call	fcntl@PLT
	test	rax, rax
	jne	.L30
.L9:
	lea	rbp, 16[rsp]
	mov	edx, 16
	xor	esi, esi
	xor	r12d, r12d
	mov	rdi, rbp
	lea	r14, .LC6[rip]
	call	memset@PLT
	mov	eax, DWORD PTR AF_UNIX[rip]
	mov	DWORD PTR 24[rsp], eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L32:
	mov	rsi, QWORD PTR 16[rsp]
	lea	rdi, .LC7[rip]
	xor	eax, eax
	add	r12d, 1
	call	warn@PLT
	cmp	r12d, 100
	je	.L31
.L11:
	mov	rdi, QWORD PTR 16[rsp]
	mov	rdx, r14
	mov	esi, 8
	mov	ecx, r12d
	call	snprintf@PLT
	mov	edx, 16
	mov	rsi, rbp
	mov	edi, r13d
	call	bind@PLT
	cmp	eax, -1
	je	.L32
	mov	rdx, QWORD PTR 16[rsp]
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	call	fprintf@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	sstrdup@PLT
	mov	DWORD PTR sun_path[rip], eax
.L13:
	mov	edi, DWORD PTR cleanup_socket[rip]
	call	atexit@PLT
	mov	esi, 1
	mov	edi, r13d
	call	listen@PLT
	cmp	eax, -1
	je	.L33
.L14:
	call	fork@PLT
	mov	r14d, eax
	cmp	eax, -1
	je	.L34
	lea	r15, 8[rsp]
	test	eax, eax
	je	.L35
.L16:
	xor	edi, edi
	lea	r12, 4[rsp]
	call	ev_default_loop@PLT
	mov	esi, DWORD PTR child_cb[rip]
	xor	ecx, ecx
	mov	edx, r14d
	mov	rbp, rax
	mov	rdi, r12
	call	ev_child_init@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	ev_child_start@PLT
	mov	ecx, DWORD PTR EV_READ[rip]
	mov	edx, r13d
	mov	rdi, r15
	mov	esi, DWORD PTR uds_connection_cb[rip]
	call	ev_io_init@PLT
	mov	rsi, r15
	mov	rdi, rbp
	call	ev_io_start@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	ev_run@PLT
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L36
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L35:
	.cfi_restore_state
	mov	edx, r12d
	mov	rdi, r15
	lea	rsi, .LC12[rip]
	call	sasprintf@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	edx, 1
	lea	rdi, .LC13[rip]
	call	setenv@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	free@PLT
	movsx	rax, DWORD PTR optind[rip]
	lea	rax, [rbx+rax*8]
	mov	rdi, QWORD PTR [rax]
	mov	rsi, rax
	call	execvp@PLT
	mov	edi, DWORD PTR EXIT_FAILURE[rip]
	lea	rsi, .LC14[rip]
	call	err@PLT
	jmp	.L16
.L30:
	lea	rdi, .LC5[rip]
	xor	eax, eax
	call	warn@PLT
	jmp	.L9
.L28:
	mov	rdx, QWORD PTR [rbx]
	mov	edi, DWORD PTR EXIT_FAILURE[rip]
	lea	rsi, .LC3[rip]
	call	errx@PLT
	jmp	.L7
.L33:
	mov	edi, DWORD PTR EXIT_FAILURE[rip]
	lea	rsi, .LC10[rip]
	call	err@PLT
	jmp	.L14
.L34:
	mov	edi, DWORD PTR EXIT_FAILURE[rip]
	lea	rsi, .LC11[rip]
	lea	r15, 8[rsp]
	call	err@PLT
	jmp	.L16
.L29:
	mov	edi, DWORD PTR EXIT_FAILURE[rip]
	lea	rsi, .LC4[rip]
	call	err@PLT
	jmp	.L8
.L31:
	mov	edi, DWORD PTR EXIT_FAILURE[rip]
	lea	rsi, .LC9[rip]
	call	err@PLT
	jmp	.L13
.L36:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.data.rel.local,"aw"
	.align 32
	.type	long_options.2041, @object
	.size	long_options.2041, 96
long_options.2041:
	.quad	.LC0
	.quad	128
	.long	0
	.long	0
	.zero	8
	.quad	.LC1
	.quad	128
	.long	0
	.long	0
	.zero	8
	.quad	0
	.quad	0
	.long	0
	.long	0
	.zero	8
	.comm	uds_connection_cb,4,4
	.comm	sun_path,4,4
	.comm	stderr,4,4
	.comm	optind,4,4
	.comm	optarg,4,4
	.comm	getoutputinfo_reply,4,4
	.comm	getmonitors_reply,4,4
	.comm	cleanup_socket,4,4
	.comm	child_cb,4,4
	.comm	SOCK_STREAM,4,4
	.comm	F_SETFD,4,4
	.comm	FD_CLOEXEC,4,4
	.comm	EXIT_FAILURE,4,4
	.comm	EV_READ,4,4
	.comm	AF_UNIX,4,4
	.comm	AF_LOCAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_inject_randr1.5.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"getmonitors_reply\000"
	.align	2
.LC1:
	.ascii	"getoutputinfo_reply\000"
	.align	2
.LC2:
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"syntax: %s [options] <command>\000"
	.align	2
.LC4:
	.ascii	"socket(AF_UNIX)\000"
	.align	2
.LC5:
	.ascii	"Could not set FD_CLOEXEC\000"
	.align	2
.LC6:
	.ascii	"/tmp/.X11-unix/X%d\000"
	.align	2
.LC7:
	.ascii	"bind(%s)\000"
	.align	2
.LC8:
	.ascii	"Successfuly bound to %s\012\000"
	.align	2
.LC9:
	.ascii	"bind()\000"
	.align	2
.LC10:
	.ascii	"listen()\000"
	.align	2
.LC11:
	.ascii	"fork()\000"
	.align	2
.LC12:
	.ascii	":%d\000"
	.align	2
.LC13:
	.ascii	"DISPLAY\000"
	.align	2
.LC14:
	.ascii	"exec()\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC15:
	.word	__stack_chk_guard
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	r2, .L34
	sub	sp, sp, #36
	ldr	r8, .L34+4
	ldr	r6, .L34+8
	ldr	r10, .L34+12
	ldr	fp, .L34+16
	ldr	r2, [r2]
	str	r2, [sp, #28]
	mov	r2,#0
	add	r7, sp, #8
	str	r3, [sp, #8]
.L2:
	mov	r3, r8
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	str	r7, [sp]
	bl	getopt_long
	cmn	r0, #1
	beq	.L25
	cmp	r0, #0
	bne	.L3
	ldr	r3, [sp, #8]
	ldr	r2, .L34+4
	add	r3, r3, r3, lsl #2
	add	r3, r2, r3, lsl #2
	ldr	r9, [r3, #4]
	mov	r1, r10
	mov	r0, r9
	bl	strcmp
	cmp	r0, #0
	beq	.L26
	mov	r0, r9
	mov	r1, fp
	bl	strcmp
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L34+20
	ldr	r1, .L34+24
	ldr	r0, [r3]
	bl	must_read_reply
	b	.L2
.L3:
	ldr	r3, .L34+28
	ldr	r0, [r3]
	bl	exit
	b	.L2
.L26:
	ldr	r3, .L34+20
	ldr	r1, .L34+32
	ldr	r0, [r3]
	bl	must_read_reply
	b	.L2
.L25:
	ldr	r8, .L34+36
	ldr	r3, [r8]
	cmp	r3, r4
	bge	.L27
.L7:
	ldr	r2, .L34+40
	ldr	r3, .L34+44
	ldr	r1, [r2]
	ldr	r0, [r3]
	mov	r2, #0
	bl	socket
	cmn	r0, #1
	mov	r6, r0
	beq	.L28
.L8:
	ldr	r3, .L34+48
	ldr	r2, .L34+52
	mov	r0, r6
	ldr	r2, [r2]
	ldr	r1, [r3]
	bl	fcntl
	cmp	r0, #0
	bne	.L29
.L9:
	mov	r3, #0
	ldr	r2, .L34+56
	mov	r0, r3
	ldr	r2, [r2]
	mov	r4, r3
	ldr	r7, .L34+60
	ldr	r9, .L34+64
	str	r3, [sp, #20]
	str	r2, [sp, #24]
	b	.L12
.L30:
	mov	r0, r9
	ldr	r1, [sp, #20]
	add	r4, r4, #1
	bl	warn
	cmp	r4, #100
	beq	.L11
	ldr	r0, [sp, #20]
.L12:
	mov	r3, r4
	mov	r2, r7
	mov	r1, #4
	bl	snprintf
	mov	r2, #8
	mov	r0, r6
	add	r1, sp, #20
	bl	bind
	cmn	r0, #1
	beq	.L30
	ldr	r3, .L34+68
	ldr	r2, [sp, #20]
	ldr	r0, [r3]
	ldr	r1, .L34+72
	bl	fprintf
	ldr	r0, [sp, #20]
	bl	sstrdup
	ldr	r3, .L34+76
	str	r0, [r3]
.L13:
	ldr	r3, .L34+80
	ldr	r0, [r3]
	bl	atexit
	mov	r1, #1
	mov	r0, r6
	bl	listen
	cmn	r0, #1
	beq	.L31
.L14:
	bl	fork
	cmn	r0, #1
	mov	r7, r0
	beq	.L32
	cmp	r0, #0
	add	r9, sp, #16
	beq	.L22
.L16:
	mov	r0, #0
	bl	ev_default_loop
	mov	r4, r0
	ldr	r3, .L34+84
	mov	r2, r7
	ldr	r1, [r3]
	add	r0, sp, #12
	mov	r3, #0
	bl	ev_child_init
	add	r1, sp, #12
	mov	r0, r4
	bl	ev_child_start
	ldr	r3, .L34+88
	ldr	r1, .L34+92
	mov	r2, r6
	ldr	r3, [r3]
	ldr	r1, [r1]
	mov	r0, r9
	bl	ev_io_init
	mov	r1, r9
	mov	r0, r4
	bl	ev_io_start
	mov	r0, r4
	mov	r1, #0
	bl	ev_run
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L33
	mov	r0, #0
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L22:
	mov	r2, r4
	mov	r0, r9
	ldr	r1, .L34+96
	bl	sasprintf
	mov	r2, #1
	ldr	r1, [sp, #16]
	ldr	r0, .L34+100
	bl	setenv
	ldr	r0, [sp, #16]
	bl	free
	ldr	r3, [r8]
	add	r1, r5, r3, lsl #2
	ldr	r0, [r5, r3, lsl #2]
	bl	execvp
	ldr	r3, .L34+28
	ldr	r1, .L34+104
	ldr	r0, [r3]
	bl	err
	b	.L16
.L29:
	ldr	r0, .L34+108
	bl	warn
	b	.L9
.L27:
	ldr	r3, .L34+28
	ldr	r2, [r5]
	ldr	r0, [r3]
	ldr	r1, .L34+112
	bl	errx
	b	.L7
.L31:
	ldr	r3, .L34+28
	ldr	r1, .L34+116
	ldr	r0, [r3]
	bl	err
	b	.L14
.L32:
	ldr	r3, .L34+28
	ldr	r1, .L34+120
	ldr	r0, [r3]
	bl	err
	add	r9, sp, #16
	b	.L16
.L28:
	ldr	r3, .L34+28
	ldr	r1, .L34+124
	ldr	r0, [r3]
	bl	err
	b	.L8
.L11:
	ldr	r3, .L34+28
	ldr	r1, .L34+128
	ldr	r0, [r3]
	bl	err
	b	.L13
.L33:
	bl	__stack_chk_fail
.L35:
	.align	2
.L34:
	.word	.LC15
	.word	.LANCHOR0
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	optarg
	.word	getoutputinfo_reply
	.word	EXIT_FAILURE
	.word	getmonitors_reply
	.word	optind
	.word	SOCK_STREAM
	.word	AF_LOCAL
	.word	F_SETFD
	.word	FD_CLOEXEC
	.word	AF_UNIX
	.word	.LC6
	.word	.LC7
	.word	stderr
	.word	.LC8
	.word	sun_path
	.word	cleanup_socket
	.word	child_cb
	.word	EV_READ
	.word	uds_connection_cb
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC5
	.word	.LC3
	.word	.LC10
	.word	.LC11
	.word	.LC4
	.word	.LC9
	.size	main, .-main
	.comm	uds_connection_cb,4,4
	.comm	sun_path,4,4
	.comm	stderr,4,4
	.comm	optind,4,4
	.comm	optarg,4,4
	.comm	getoutputinfo_reply,4,4
	.comm	getmonitors_reply,4,4
	.comm	cleanup_socket,4,4
	.comm	child_cb,4,4
	.comm	SOCK_STREAM,4,4
	.comm	F_SETFD,4,4
	.comm	FD_CLOEXEC,4,4
	.comm	EXIT_FAILURE,4,4
	.comm	EV_READ,4,4
	.comm	AF_UNIX,4,4
	.comm	AF_LOCAL,4,4
	.data
	.align	2
	.set	.LANCHOR0,. + 0
	.type	long_options.4325, %object
	.size	long_options.4325, 60
long_options.4325:
	.word	.LC0
	.word	128
	.word	0
	.word	0
	.space	4
	.word	.LC1
	.word	128
	.word	0
	.word	0
	.space	4
	.word	0
	.word	0
	.word	0
	.word	0
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
