	.file	"82613.c"
	.intel_syntax noprefix
	.text
	.type	compare_window, @function
compare_window:
.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, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	QWORD PTR -88[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -24[rbp], 0
	mov	rcx, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	XInternAtom@PLT
	mov	rdi, rax
	mov	rsi, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, -16[rbp]
	push	rdx
	lea	rdx, -32[rbp]
	push	rdx
	lea	rdx, -40[rbp]
	push	rdx
	lea	rdx, -52[rbp]
	push	rdx
	lea	rdx, -48[rbp]
	push	rdx
	push	31
	mov	r9d, 0
	mov	r8d, 8192
	mov	ecx, 0
	mov	rdx, rdi
	mov	rdi, rax
	call	XGetWindowProperty@PLT
	add	rsp, 48
	test	eax, eax
	jne	.L2
	mov	rax, QWORD PTR -48[rbp]
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	XFree@PLT
.L2:
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L4
	call	__stack_chk_fail@PLT
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	compare_window, .-compare_window
	.type	find_window, @function
find_window:
.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, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	QWORD PTR -80[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -48[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	rdx, QWORD PTR -72[rbp]
	mov	rcx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r8, QWORD PTR -80[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	r8
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L6
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L13
.L6:
	lea	r8, -48[rbp]
	lea	rdi, -24[rbp]
	lea	rcx, -32[rbp]
	lea	rdx, -40[rbp]
	mov	rsi, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	call	XQueryTree@PLT
	test	eax, eax
	jne	.L9
	mov	eax, 0
	jmp	.L13
.L11:
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -44[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -44[rbp], edx
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rsi, QWORD PTR [rax]
	mov	rcx, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	find_window
	mov	QWORD PTR -16[rbp], rax
.L9:
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -48[rbp]
	cmp	edx, eax
	jnb	.L10
	cmp	QWORD PTR -16[rbp], 0
	je	.L11
.L10:
	mov	rax, QWORD PTR -24[rbp]
	test	rax, rax
	je	.L12
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	XFree@PLT
.L12:
	mov	rax, QWORD PTR -16[rbp]
.L13:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	find_window, .-find_window
	.section	.rodata
.LC0:
	.string	"SND_VERSION"
.LC1:
	.string	"SND_COMMAND"
	.text
	.type	send_snd, @function
send_snd:
.LFB8:
	.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, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rsi, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, compare_window[rip]
	lea	rdx, .LC0[rip]
	mov	rdi, rax
	call	find_window
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L17
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	eax, 1
	mov	ebx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 0
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	XInternAtom@PLT
	mov	rdx, rax
	mov	rsi, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	push	rbx
	push	QWORD PTR -48[rbp]
	mov	r9d, 0
	mov	r8d, 8
	mov	ecx, 31
	mov	rdi, rax
	call	XChangeProperty@PLT
	add	rsp, 16
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	XFlush@PLT
.L17:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	send_snd, .-send_snd
	.type	send_snd_char, @function
send_snd_char:
.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, 160
	mov	QWORD PTR -136[rbp], rdi
	mov	QWORD PTR -144[rbp], rsi
	mov	DWORD PTR -148[rbp], edx
	mov	DWORD PTR -152[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -112[rbp], 2
	mov	rax, QWORD PTR -136[rbp]
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -144[rbp]
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR -148[rbp]
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -152[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	QWORD PTR -56[rbp], 0
	mov	DWORD PTR -24[rbp], 1
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	lea	rdx, -112[rbp]
	mov	rsi, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	r8, rdx
	mov	ecx, 1
	mov	edx, 0
	mov	rdi, rax
	call	XSendEvent@PLT
	mov	DWORD PTR -116[rbp], eax
	cmp	DWORD PTR -116[rbp], 0
	je	.L21
	mov	DWORD PTR -112[rbp], 3
	mov	QWORD PTR -56[rbp], 0
	lea	rdx, -112[rbp]
	mov	rsi, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	r8, rdx
	mov	ecx, 2
	mov	edx, 1
	mov	rdi, rax
	call	XSendEvent@PLT
.L21:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	send_snd_char, .-send_snd_char
	.section	.rodata
.LC2:
	.string	"(snd-print \"hiho\")"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	edi, 0
	call	XOpenDisplay@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	send_snd
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"82613.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	compare_window, %function
compare_window:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r3, .L5
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r2, #0
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-40]
	bl	XInternAtom
	mov	r2, r0
	sub	r3, fp, #12
	str	r3, [sp, #28]
	sub	r3, fp, #20
	str	r3, [sp, #24]
	sub	r3, fp, #24
	str	r3, [sp, #20]
	sub	r3, fp, #28
	str	r3, [sp, #16]
	sub	r3, fp, #32
	str	r3, [sp, #12]
	mov	r3, #31
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #8192
	str	r3, [sp]
	mov	r3, #0
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	XGetWindowProperty
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	XFree
.L2:
	ldr	r3, [fp, #-16]
	ldr	r2, .L5
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L4
	bl	__stack_chk_fail
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.size	compare_window, .-compare_window
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_window, %function
find_window:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	blx	r3
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-12]
	b	.L15
.L8:
	sub	r1, fp, #28
	sub	r2, fp, #32
	sub	r3, fp, #24
	str	r3, [sp, #4]
	sub	r3, fp, #20
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	XQueryTree
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	mov	r3, #0
	b	.L15
.L13:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	str	r1, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	ldr	r0, [fp, #-40]
	bl	find_window
	str	r0, [fp, #-12]
.L11:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcs	.L12
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L13
.L12:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	XFree
.L14:
	ldr	r3, [fp, #-12]
.L15:
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC1
	.size	find_window, .-find_window
	.section	.rodata
	.align	2
.LC2:
	.ascii	"SND_VERSION\000"
	.align	2
.LC3:
	.ascii	"SND_COMMAND\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	send_snd, %function
send_snd:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #140]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #132]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r1, [r3, #8]
	ldr	r3, .L22
	ldr	r2, .L22+4
	ldr	r0, [fp, #-24]
	bl	find_window
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L21
	mov	r2, #0
	ldr	r1, .L22+8
	ldr	r0, [fp, #-24]
	bl	XInternAtom
	mov	r4, r0
	ldr	r0, [fp, #-28]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [sp, #12]
	ldr	r3, [fp, #-28]
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #8
	str	r3, [sp]
	mov	r3, #31
	mov	r2, r4
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	XChangeProperty
	ldr	r0, [fp, #-24]
	bl	XFlush
.L21:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L23:
	.align	2
.L22:
	.word	compare_window
	.word	.LC2
	.word	.LC3
	.size	send_snd, .-send_snd
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	send_snd_char, %function
send_snd_char:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	str	r2, [fp, #-88]
	str	r3, [fp, #-92]
	ldr	r3, .L28
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #2
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-84]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-80]
	ldr	r2, [r3, #140]
	ldr	r3, [fp, #-80]
	ldr	r3, [r3, #132]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-92]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #1
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-44]
	sub	r3, fp, #68
	str	r3, [sp]
	mov	r3, #1
	mov	r2, #0
	ldr	r1, [fp, #-84]
	ldr	r0, [fp, #-80]
	bl	XSendEvent
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	beq	.L27
	mov	r3, #3
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-40]
	sub	r3, fp, #68
	str	r3, [sp]
	mov	r3, #2
	mov	r2, #1
	ldr	r1, [fp, #-84]
	ldr	r0, [fp, #-80]
	bl	XSendEvent
.L27:
	nop
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC4
	.size	send_snd_char, .-send_snd_char
	.section	.rodata
	.align	2
.LC5:
	.ascii	"(snd-print \"hiho\")\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r0, #0
	bl	XOpenDisplay
	str	r0, [fp, #-8]
	ldr	r1, .L32
	ldr	r0, [fp, #-8]
	bl	send_snd
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
