	.file	"895015.c"
	.intel_syntax noprefix
	.text
	.globl	helpstr
	.section	.rodata
	.align 8
.LC0:
	.ascii	"usage:\n\t%s [ -h | -x | -X ]\n\ndescription:\n\tA simple co"
	.ascii	"lor picker for X11 - Changes mouse cursor to color picker. L"
	.ascii	"eft click anywhere on your screen to obtain "
	.string	"the color code to stdout. Right click (and other mouse buttons) cancel the action.\n\nflags:\n\t-h\tprints this help and exits\n\t-x\tchange color output to be in hexadecimal format\n\t-X\tsame as -x but with capital hexadecimal digits\n\t-c\tuse tool in continuous mode"
	.section	.data.rel.local,"aw"
	.align 8
	.type	helpstr, @object
	.size	helpstr, 8
helpstr:
	.quad	.LC0
	.section	.rodata
	.align 8
.LC1:
	.string	"error: Argument parsing failed.\n"
.LC2:
	.string	"the_stack_data/895015.c"
.LC3:
	.string	"dpy"
.LC4:
	.string	"#%02x%02x%02x\n"
.LC5:
	.string	"#%02X%02X%02X\n"
.LC6:
	.string	"(%d, %d, %d)\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 272
	mov	DWORD PTR -260[rbp], edi
	mov	QWORD PTR -272[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -272[rbp]
	mov	ecx, DWORD PTR -260[rbp]
	lea	rax, -252[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	parse_argv
	mov	DWORD PTR -248[rbp], eax
	cmp	DWORD PTR -248[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L11
.L2:
	mov	eax, DWORD PTR -252[rbp]
	and	eax, 1
	test	eax, eax
	je	.L4
	mov	rax, QWORD PTR -272[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR helpstr[rip]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L11
.L4:
	mov	edi, 0
	call	XOpenDisplay@PLT
	mov	QWORD PTR -232[rbp], rax
	cmp	QWORD PTR -232[rbp], 0
	jne	.L5
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 58
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L5:
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	wait_input
	mov	DWORD PTR -244[rbp], eax
	cmp	DWORD PTR -244[rbp], 0
	jne	.L13
	mov	edx, DWORD PTR -132[rbp]
	mov	esi, DWORD PTR -136[rbp]
	lea	rcx, -224[rbp]
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	pixel_color
	mov	eax, DWORD PTR -252[rbp]
	and	eax, 2
	test	eax, eax
	je	.L8
	lea	rax, .LC4[rip]
	mov	QWORD PTR -240[rbp], rax
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -252[rbp]
	and	eax, 4
	test	eax, eax
	je	.L10
	lea	rax, .LC5[rip]
	mov	QWORD PTR -240[rbp], rax
	jmp	.L9
.L10:
	lea	rax, .LC6[rip]
	mov	QWORD PTR -240[rbp], rax
.L9:
	movzx	eax, WORD PTR -212[rbp]
	movzx	eax, ax
	imul	eax, eax, 32897
	shr	eax, 16
	shr	ax, 7
	movzx	ecx, ax
	movzx	eax, WORD PTR -214[rbp]
	movzx	eax, ax
	imul	eax, eax, 32897
	shr	eax, 16
	shr	ax, 7
	movzx	edx, ax
	movzx	eax, WORD PTR -216[rbp]
	movzx	eax, ax
	imul	eax, eax, 32897
	shr	eax, 16
	shr	ax, 7
	movzx	esi, ax
	mov	rax, QWORD PTR -240[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -252[rbp]
	and	eax, 8
	test	eax, eax
	jne	.L5
	jmp	.L7
.L13:
	nop
.L7:
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	XCloseDisplay@PLT
	mov	eax, 0
.L11:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	wait_input
	.type	wait_input, @function
wait_input:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	XDefaultRootWindow@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 34
	mov	rdi, rax
	call	XCreateFontCursor@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rsi, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	sub	rsp, 8
	push	0
	push	QWORD PTR -8[rbp]
	push	QWORD PTR -16[rbp]
	mov	r9d, 1
	mov	r8d, 1
	mov	ecx, 8
	mov	edx, 0
	mov	rdi, rax
	call	XGrabPointer@PLT
	add	rsp, 32
	mov	DWORD PTR -20[rbp], 0
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -24[rbp], eax
	jmp	.L15
.L16:
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XNextEvent@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 5
	jne	.L15
	mov	DWORD PTR -24[rbp], 1
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR 84[rax]
	cmp	eax, 1
	je	.L15
	mov	DWORD PTR -20[rbp], 1
.L15:
	cmp	DWORD PTR -24[rbp], 0
	je	.L16
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	XUngrabPointer@PLT
	mov	eax, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	wait_input, .-wait_input
	.globl	pixel_color
	.type	pixel_color, @function
pixel_color:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	QWORD PTR -56[rbp], rcx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	XDefaultRootWindow@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	XDefaultScreen@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	ecx, DWORD PTR -48[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	rsi, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	push	1
	push	-1
	mov	r9d, 1
	mov	r8d, 1
	mov	rdi, rax
	call	XGetImage@PLT
	add	rsp, 16
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR 104[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	rcx
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR [rdx], rax
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	XDefaultColormap@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -56[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	XQueryColor@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	pixel_color, .-pixel_color
	.section	.rodata
.LC7:
	.string	"-h"
.LC8:
	.string	"--help"
.LC9:
	.string	"-x"
.LC10:
	.string	"-X"
.LC11:
	.string	"-c"
	.text
	.globl	parse_argv
	.type	parse_argv, @function
parse_argv:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 0
	sub	DWORD PTR -28[rbp], 1
	add	QWORD PTR -40[rbp], 8
	jmp	.L20
.L30:
	mov	rax, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L21
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L22
.L21:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	or	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L23
.L22:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L24
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, 4
	test	eax, eax
	jne	.L25
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	or	eax, 2
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L23
.L25:
	mov	eax, 0
	jmp	.L26
.L24:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L27
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, 2
	test	eax, eax
	jne	.L28
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	or	eax, 4
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L23
.L28:
	mov	eax, 0
	jmp	.L26
.L27:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	or	eax, 8
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	jmp	.L23
.L29:
	mov	eax, 0
	jmp	.L26
.L23:
	sub	DWORD PTR -28[rbp], 1
	add	QWORD PTR -40[rbp], 8
.L20:
	cmp	DWORD PTR -28[rbp], 0
	jg	.L30
	mov	eax, 1
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	parse_argv, .-parse_argv
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 5
__PRETTY_FUNCTION__.0:
	.string	"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	"895015.c"
	.text
	.global	helpstr
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage:\012\011%s [ -h | -x | -X ]\012\012descriptio"
	.ascii	"n:\012\011A simple color picker for X11 - Changes m"
	.ascii	"ouse cursor to color picker. Left click anywhere on"
	.ascii	" your screen to obtain the color code to stdout. Ri"
	.ascii	"ght click (and other mouse buttons) cancel the acti"
	.ascii	"on.\012\012flags:\012\011-h\011prints this help and"
	.ascii	" exits\012\011-x\011change color output to be in he"
	.ascii	"xadecimal format\012\011-X\011same as -x but with c"
	.ascii	"apital hexadecimal digits\012\011-c\011use tool in "
	.ascii	"continuous mode\000"
	.data
	.align	2
	.type	helpstr, %object
	.size	helpstr, 4
helpstr:
	.word	.LC0
	.section	.rodata
	.align	2
.LC1:
	.ascii	"error: Argument parsing failed.\012\000"
	.align	2
.LC2:
	.ascii	"the_stack_data/895015.c\000"
	.align	2
.LC3:
	.ascii	"dpy\000"
	.align	2
.LC4:
	.ascii	"#%02x%02x%02x\012\000"
	.align	2
.LC5:
	.ascii	"#%02X%02X%02X\012\000"
	.align	2
.LC6:
	.ascii	"(%d, %d, %d)\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	str	r0, [fp, #-144]
	str	r1, [fp, #-148]
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #136
	ldr	r2, [fp, #-148]
	ldr	r1, [fp, #-144]
	mov	r0, r3
	bl	parse_argv
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L14+4
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L14+8
	bl	fwrite
	mov	r3, #1
	b	.L11
.L2:
	ldr	r3, [fp, #-136]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L14+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-148]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	printf
	mov	r3, #0
	b	.L11
.L4:
	mov	r0, #0
	bl	XOpenDisplay
	str	r0, [fp, #-124]
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L14+16
	mov	r2, #58
	ldr	r1, .L14+20
	ldr	r0, .L14+24
	bl	__assert_fail
.L5:
	sub	r3, fp, #104
	mov	r1, r3
	ldr	r0, [fp, #-124]
	bl	wait_input
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bne	.L13
	ldr	r1, [fp, #-64]
	ldr	r2, [fp, #-60]
	sub	r3, fp, #116
	ldr	r0, [fp, #-124]
	bl	pixel_color
	ldr	r3, [fp, #-136]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L8
	ldr	r3, .L14+28
	str	r3, [fp, #-132]
	b	.L9
.L8:
	ldr	r3, [fp, #-136]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L14+32
	str	r3, [fp, #-132]
	b	.L9
.L10:
	ldr	r3, .L14+36
	str	r3, [fp, #-132]
.L9:
	ldrh	r3, [fp, #-112]
	ldr	r2, .L14+40
	umull	r1, r3, r2, r3
	lsr	r3, r3, #7
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r1, r3
	ldrh	r3, [fp, #-110]
	ldr	r2, .L14+40
	umull	r0, r3, r2, r3
	lsr	r3, r3, #7
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r0, r3
	ldrh	r3, [fp, #-108]
	ldr	r2, .L14+40
	umull	ip, r3, r2, r3
	lsr	r3, r3, #7
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r2, r0
	ldr	r0, [fp, #-132]
	bl	printf
	ldr	r3, [fp, #-136]
	and	r3, r3, #8
	cmp	r3, #0
	bne	.L5
	b	.L7
.L13:
	nop
.L7:
	ldr	r0, [fp, #-124]
	bl	XCloseDisplay
	mov	r3, #0
.L11:
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC7
	.word	stderr
	.word	.LC1
	.word	helpstr
	.word	__PRETTY_FUNCTION__.8807
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	-2139062143
	.size	main, .-main
	.align	2
	.global	wait_input
	.syntax unified
	.arm
	.fpu softvfp
	.type	wait_input, %function
wait_input:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	XDefaultRootWindow
	str	r0, [fp, #-12]
	mov	r1, #34
	ldr	r0, [fp, #-24]
	bl	XCreateFontCursor
	str	r0, [fp, #-8]
	mov	r3, #0
	str	r3, [sp, #16]
	ldr	r3, [fp, #-8]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-12]
	str	r3, [sp, #8]
	mov	r3, #1
	str	r3, [sp, #4]
	mov	r3, #1
	str	r3, [sp]
	mov	r3, #8
	mov	r2, #0
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-24]
	bl	XGrabPointer
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	b	.L17
.L18:
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	XNextEvent
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	cmp	r3, #5
	bne	.L17
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #52]
	cmp	r3, #1
	beq	.L17
	mov	r3, #1
	str	r3, [fp, #-16]
.L17:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L18
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	XUngrabPointer
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	wait_input, .-wait_input
	.align	2
	.global	pixel_color
	.syntax unified
	.arm
	.fpu softvfp
	.type	pixel_color, %function
pixel_color:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r0, [fp, #-24]
	bl	XDefaultRootWindow
	str	r0, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	XDefaultScreen
	str	r0, [fp, #-16]
	mov	r3, #1
	str	r3, [sp, #12]
	mvn	r3, #0
	str	r3, [sp, #8]
	mov	r3, #1
	str	r3, [sp, #4]
	mov	r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	XGetImage
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #72]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-12]
	blx	r3
	mov	r2, r0
	ldr	r3, [fp, #-36]
	str	r2, [r3]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	XDefaultColormap
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-24]
	bl	XQueryColor
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pixel_color, .-pixel_color
	.section	.rodata
	.align	2
.LC8:
	.ascii	"-h\000"
	.align	2
.LC9:
	.ascii	"--help\000"
	.align	2
.LC10:
	.ascii	"-x\000"
	.align	2
.LC11:
	.ascii	"-X\000"
	.align	2
.LC12:
	.ascii	"-c\000"
	.text
	.align	2
	.global	parse_argv
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_argv, %function
parse_argv:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	str	r3, [fp, #-24]
	b	.L22
.L32:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r1, .L33
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldr	r1, .L33+4
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L24
.L23:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	orr	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	b	.L25
.L24:
	ldr	r1, .L33+8
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	and	r3, r3, #4
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	orr	r2, r3, #2
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	b	.L25
.L27:
	mov	r3, #0
	b	.L28
.L26:
	ldr	r1, .L33+12
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	and	r3, r3, #2
	cmp	r3, #0
	bne	.L30
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	orr	r2, r3, #4
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	b	.L25
.L30:
	mov	r3, #0
	b	.L28
.L29:
	ldr	r1, .L33+16
	ldr	r0, [fp, #-8]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	orr	r2, r3, #8
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	b	.L25
.L31:
	mov	r3, #0
	b	.L28
.L25:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	str	r3, [fp, #-24]
.L22:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L32
	mov	r3, #1
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	parse_argv, .-parse_argv
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.8807, %object
	.size	__PRETTY_FUNCTION__.8807, 5
__PRETTY_FUNCTION__.8807:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
