	.file	"996466.c"
	.intel_syntax noprefix
	.text
	.local	dis
	.comm	dis,8,8
	.local	win
	.comm	win,8,8
	.local	pid
	.comm	pid,16,16
	.local	dbusParam
	.comm	dbusParam,128,32
	.local	destParam
	.comm	destParam,256,32
	.local	winParam
	.comm	winParam,32,32
	.local	resizeParam
	.comm	resizeParam,64,32
	.local	videoFile
	.comm	videoFile,4096,32
	.globl	wmDeleteMessage
	.bss
	.align 8
	.type	wmDeleteMessage, @object
	.size	wmDeleteMessage, 8
wmDeleteMessage:
	.zero	8
	.data
	.align 8
	.type	className, @object
	.size	className, 11
className:
	.string	"xomxplayer"
	.section	.rodata
	.align 16
	.type	omxplayerFont, @object
	.size	omxplayerFont, 30
omxplayerFont:
	.string	"/usr/share/fonts/TTF/Vera.ttf"
	.align 32
	.type	omxplayerItFont, @object
	.size	omxplayerItFont, 32
omxplayerItFont:
	.string	"/usr/share/fonts/TTF/VeraIt.ttf"
.LC0:
	.string	"omxplayer.bin"
.LC1:
	.string	"--font"
.LC2:
	.string	"--italic-font"
.LC3:
	.string	"--sid"
.LC4:
	.string	"1"
.LC5:
	.string	"--no-keys"
.LC6:
	.string	"--dbus_name"
.LC7:
	.string	"--layer"
.LC8:
	.string	"--win"
.LC9:
	.string	"--aspect-mode"
.LC10:
	.string	"Letterbox"
	.section	.data.rel.local,"aw"
	.align 32
	.type	omxplayer, @object
	.size	omxplayer, 144
omxplayer:
	.quad	.LC0
	.quad	.LC1
	.quad	omxplayerFont
	.quad	.LC2
	.quad	omxplayerItFont
	.quad	.LC3
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	dbusParam
	.quad	.LC7
	.quad	pid
	.quad	.LC8
	.quad	winParam
	.quad	.LC9
	.quad	.LC10
	.quad	videoFile
	.quad	0
	.section	.rodata
.LC11:
	.string	"dbus-send"
.LC12:
	.string	"--type=method_call"
.LC13:
	.string	"--session"
.LC14:
	.string	"/org/mpris/MediaPlayer2"
.LC15:
	.string	"org.mpris.MediaPlayer2.Quit"
	.section	.data.rel.local
	.align 32
	.type	quit_player, @object
	.size	quit_player, 56
quit_player:
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	destParam
	.quad	.LC14
	.quad	.LC15
	.quad	0
	.section	.rodata
	.align 8
.LC16:
	.string	"org.mpris.MediaPlayer2.Player.VideoPos"
.LC17:
	.string	"objpath:/not/used"
	.section	.data.rel.local
	.align 32
	.type	resize_player, @object
	.size	resize_player, 72
resize_player:
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	destParam
	.quad	.LC14
	.quad	.LC16
	.quad	.LC17
	.quad	resizeParam
	.quad	0
	.section	.rodata
	.align 8
.LC18:
	.string	"org.mpris.MediaPlayer2.Player.Action"
.LC19:
	.string	"int32:28"
	.section	.data.rel.local
	.align 32
	.type	hide_video, @object
	.size	hide_video, 64
hide_video:
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	destParam
	.quad	.LC14
	.quad	.LC18
	.quad	.LC19
	.quad	0
	.section	.rodata
.LC20:
	.string	"int32:29"
	.section	.data.rel.local
	.align 32
	.type	unhide_video, @object
	.size	unhide_video, 64
unhide_video:
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	destParam
	.quad	.LC14
	.quad	.LC18
	.quad	.LC20
	.quad	0
	.section	.rodata
.LC21:
	.string	"int32:16"
	.section	.data.rel.local
	.align 32
	.type	pause_player, @object
	.size	pause_player, 64
pause_player:
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	destParam
	.quad	.LC14
	.quad	.LC18
	.quad	.LC21
	.quad	0
	.section	.rodata
.LC22:
	.string	"int32:15"
	.section	.data.rel.local
	.align 32
	.type	stop_player, @object
	.size	stop_player, 64
stop_player:
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	destParam
	.quad	.LC14
	.quad	.LC18
	.quad	.LC22
	.quad	0
	.section	.rodata
.LC23:
	.string	"int32:19"
	.section	.data.rel.local
	.align 32
	.type	seek_back_small, @object
	.size	seek_back_small, 64
seek_back_small:
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	destParam
	.quad	.LC14
	.quad	.LC18
	.quad	.LC23
	.quad	0
	.section	.rodata
.LC24:
	.string	"int32:20"
	.section	.data.rel.local
	.align 32
	.type	seek_forward_small, @object
	.size	seek_forward_small, 64
seek_forward_small:
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	destParam
	.quad	.LC14
	.quad	.LC18
	.quad	.LC24
	.quad	0
	.section	.rodata
.LC25:
	.string	"int32:21"
	.section	.data.rel.local
	.align 32
	.type	seek_back_large, @object
	.size	seek_back_large, 64
seek_back_large:
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	destParam
	.quad	.LC14
	.quad	.LC18
	.quad	.LC25
	.quad	0
	.section	.rodata
.LC26:
	.string	"int32:22"
	.section	.data.rel.local
	.align 32
	.type	seek_forward_large, @object
	.size	seek_forward_large, 64
seek_forward_large:
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	destParam
	.quad	.LC14
	.quad	.LC18
	.quad	.LC26
	.quad	0
	.section	.rodata
.LC27:
	.string	"int32:12"
	.section	.data.rel.local
	.align 32
	.type	toggle_subtitle, @object
	.size	toggle_subtitle, 64
toggle_subtitle:
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	destParam
	.quad	.LC14
	.quad	.LC18
	.quad	.LC27
	.quad	0
	.data
	.align 8
	.type	quitKey, @object
	.size	quitKey, 8
quitKey:
	.quad	113
	.align 8
	.type	fullScreenKey, @object
	.size	fullScreenKey, 8
fullScreenKey:
	.quad	102
	.section	.data.rel.local
	.align 32
	.type	keys, @object
	.size	keys, 112
keys:
	.quad	112
	.quad	pause_player
	.quad	115
	.quad	stop_player
	.quad	65361
	.quad	seek_back_small
	.quad	65363
	.quad	seek_forward_small
	.quad	65365
	.quad	seek_forward_large
	.quad	65366
	.quad	seek_back_large
	.quad	118
	.quad	toggle_subtitle
	.section	.rodata
.LC28:
	.string	"exec "
.LC29:
	.string	"%s "
.LC30:
	.string	"xomxplayer: execvp %s"
.LC31:
	.string	" failed"
	.text
	.type	spawn, @function
spawn:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 5
	mov	esi, 1
	lea	rdi, .LC28[rip]
	call	fwrite@PLT
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -8[rbp], 1
.L2:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	call	fork@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR dis[rip]
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR dis[rip]
	mov	eax, DWORD PTR 16[rax]
	mov	edi, eax
	call	close@PLT
.L5:
	call	setsid@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC31[rip]
	call	perror@PLT
	mov	edi, 0
	call	exit@PLT
.L4:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	spawn, .-spawn
	.type	xhints, @function
xhints:
.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, 112
	movss	DWORD PTR -100[rbp], xmm0
	movss	DWORD PTR -104[rbp], xmm1
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, className[rip]
	mov	QWORD PTR -80[rbp], rax
	lea	rax, className[rip]
	mov	QWORD PTR -72[rbp], rax
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -64[rbp], 1
	mov	DWORD PTR -56[rbp], 1
	mov	QWORD PTR -88[rbp], 0
	call	XAllocSizeHints@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR [rax], 56
	movss	xmm1, DWORD PTR -100[rbp]
	movss	xmm0, DWORD PTR .LC32[rip]
	mulss	xmm0, xmm1
	cvttss2si	edx, xmm0
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR 20[rax], edx
	movss	xmm1, DWORD PTR -104[rbp]
	movss	xmm0, DWORD PTR .LC33[rip]
	mulss	xmm0, xmm1
	cvttss2si	edx, xmm0
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR 16[rax], edx
	movss	xmm1, DWORD PTR -100[rbp]
	movss	xmm0, DWORD PTR .LC34[rip]
	mulss	xmm0, xmm1
	cvttss2si	edx, xmm0
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR 24[rax], edx
	movss	xmm1, DWORD PTR -104[rbp]
	movss	xmm0, DWORD PTR .LC35[rip]
	mulss	xmm0, xmm1
	cvttss2si	edx, xmm0
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR 28[rax], edx
	movss	xmm1, DWORD PTR -100[rbp]
	movss	xmm0, DWORD PTR .LC36[rip]
	mulss	xmm0, xmm1
	cvttss2si	edx, xmm0
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR 32[rax], edx
	movss	xmm1, DWORD PTR -104[rbp]
	movss	xmm0, DWORD PTR .LC37[rip]
	mulss	xmm0, xmm1
	cvttss2si	edx, xmm0
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR 36[rax], edx
	mov	rsi, QWORD PTR win[rip]
	mov	rax, QWORD PTR dis[rip]
	sub	rsp, 8
	lea	rdx, -80[rbp]
	push	rdx
	lea	rdx, -64[rbp]
	push	rdx
	push	QWORD PTR -88[rbp]
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	XSetWMProperties@PLT
	add	rsp, 32
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	XFree@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	xhints, .-xhints
	.section	.rodata
.LC38:
	.string	"_NET_WM_STATE"
.LC39:
	.string	"_NET_WM_STATE_FULLSCREEN"
	.text
	.type	toggleFS, @function
toggleFS:
.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, 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -208[rbp]
	mov	edx, 192
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -208[rbp], 33
	mov	rax, QWORD PTR win[rip]
	mov	QWORD PTR -176[rbp], rax
	mov	rax, QWORD PTR dis[rip]
	mov	edx, 0
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	call	XInternAtom@PLT
	mov	QWORD PTR -168[rbp], rax
	mov	DWORD PTR -160[rbp], 32
	mov	QWORD PTR -152[rbp], 2
	mov	rax, QWORD PTR dis[rip]
	mov	edx, 0
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	call	XInternAtom@PLT
	mov	QWORD PTR -144[rbp], rax
	mov	QWORD PTR -136[rbp], 0
	mov	rax, QWORD PTR dis[rip]
	mov	rdx, QWORD PTR 232[rax]
	mov	rax, QWORD PTR dis[rip]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rdx
	mov	rsi, QWORD PTR 16[rax]
	mov	rax, QWORD PTR dis[rip]
	lea	rdx, -208[rbp]
	mov	r8, rdx
	mov	ecx, 1572864
	mov	edx, 0
	mov	rdi, rax
	call	XSendEvent@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	toggleFS, .-toggleFS
	.type	keypress, @function
keypress:
.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 -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 84[rax]
	movzx	ecx, al
	mov	rax, QWORD PTR dis[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	XKeycodeToKeysym@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR quitKey[rip]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L12
	lea	rdi, quit_player[rip]
	call	spawn
	mov	eax, 0
	jmp	.L13
.L12:
	mov	rax, QWORD PTR fullScreenKey[rip]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L14
	mov	eax, 0
	call	toggleFS
	mov	eax, 1
	jmp	.L13
.L14:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L15
.L18:
	mov	eax, DWORD PTR -20[rbp]
	sal	rax, 4
	mov	rdx, rax
	lea	rax, keys[rip]
	mov	rax, QWORD PTR [rdx+rax]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L16
	mov	eax, DWORD PTR -20[rbp]
	sal	rax, 4
	mov	rdx, rax
	lea	rax, keys[rip+8]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	call	spawn
	jmp	.L17
.L16:
	add	DWORD PTR -20[rbp], 1
.L15:
	cmp	DWORD PTR -20[rbp], 6
	jbe	.L18
.L17:
	mov	eax, 1
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	keypress, .-keypress
	.section	.rodata
.LC40:
	.string	"%i"
	.align 8
.LC41:
	.string	"org.mpris.MediaPlayer2.omxplayer"
.LC42:
	.string	"WM_DELETE_WINDOW"
	.text
	.type	initX, @function
initX:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	movss	DWORD PTR -12[rbp], xmm0
	movss	DWORD PTR -16[rbp], xmm1
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 4095
	mov	rsi, rax
	lea	rdi, videoFile[rip]
	call	strncpy@PLT
	call	getpid@PLT
	mov	ecx, eax
	lea	rdx, .LC40[rip]
	mov	esi, 15
	lea	rdi, pid[rip]
	mov	eax, 0
	call	snprintf@PLT
	mov	edx, 96
	lea	rsi, .LC41[rip]
	lea	rdi, dbusParam[rip]
	call	strncpy@PLT
	mov	edx, 8
	lea	rsi, pid[rip]
	lea	rdi, dbusParam[rip]
	call	strncat@PLT
	movabs	rax, 17298012550475053
	mov	QWORD PTR destParam[rip], rax
	mov	edx, 128
	lea	rsi, dbusParam[rip]
	lea	rdi, destParam[rip]
	call	strncat@PLT
	mov	edi, 0
	call	XOpenDisplay@PLT
	mov	QWORD PTR dis[rip], rax
	mov	rax, QWORD PTR dis[rip]
	mov	rax, QWORD PTR 232[rax]
	mov	rcx, QWORD PTR 96[rax]
	mov	rax, QWORD PTR dis[rip]
	mov	rax, QWORD PTR 232[rax]
	mov	rdx, QWORD PTR 96[rax]
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC32[rip]
	mulss	xmm0, xmm1
	cvttss2si	eax, xmm0
	mov	r8d, eax
	movss	xmm1, DWORD PTR -12[rbp]
	movss	xmm0, DWORD PTR .LC33[rip]
	mulss	xmm0, xmm1
	cvttss2si	eax, xmm0
	mov	edi, eax
	mov	rax, QWORD PTR dis[rip]
	mov	rsi, QWORD PTR 232[rax]
	mov	rax, QWORD PTR dis[rip]
	mov	eax, DWORD PTR 224[rax]
	cdqe
	sal	rax, 7
	add	rax, rsi
	mov	rsi, QWORD PTR 16[rax]
	mov	rax, QWORD PTR dis[rip]
	sub	rsp, 8
	push	rcx
	push	rdx
	push	0
	mov	r9d, r8d
	mov	r8d, edi
	mov	ecx, 1
	mov	edx, 1
	mov	rdi, rax
	call	XCreateSimpleWindow@PLT
	add	rsp, 32
	mov	QWORD PTR win[rip], rax
	mov	rsi, QWORD PTR win[rip]
	mov	rax, QWORD PTR dis[rip]
	push	0
	push	0
	mov	r9d, 0
	mov	r8d, 0
	lea	rcx, videoFile[rip]
	lea	rdx, videoFile[rip]
	mov	rdi, rax
	call	XSetStandardProperties@PLT
	add	rsp, 16
	mov	rcx, QWORD PTR win[rip]
	mov	rax, QWORD PTR dis[rip]
	mov	edx, 196609
	mov	rsi, rcx
	mov	rdi, rax
	call	XSelectInput@PLT
	movss	xmm0, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -12[rbp]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	xhints
	mov	rax, QWORD PTR dis[rip]
	mov	edx, 0
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	call	XInternAtom@PLT
	mov	QWORD PTR wmDeleteMessage[rip], rax
	mov	rsi, QWORD PTR win[rip]
	mov	rax, QWORD PTR dis[rip]
	mov	ecx, 1
	lea	rdx, wmDeleteMessage[rip]
	mov	rdi, rax
	call	XSetWMProtocols@PLT
	mov	rdx, QWORD PTR win[rip]
	mov	rax, QWORD PTR dis[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	XMapWindow@PLT
	mov	rax, QWORD PTR dis[rip]
	mov	rdi, rax
	call	XFlush@PLT
	mov	rax, QWORD PTR dis[rip]
	mov	eax, DWORD PTR 16[rax]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	initX, .-initX
	.section	.rodata
.LC43:
	.string	"/dev/fb0"
	.align 8
.LC44:
	.string	"setScale: Error opening %s; not setting scale factor.\n"
	.align 8
.LC45:
	.string	"setScale: Error reading screen info; not setting scale factor."
	.text
	.type	setScale, @function
setScale:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 208
	mov	QWORD PTR -200[rbp], rdi
	mov	QWORD PTR -208[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -180[rbp], 0
	mov	esi, 0
	lea	rdi, .LC43[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -180[rbp], eax
	cmp	DWORD PTR -180[rbp], -1
	jne	.L22
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC43[rip]
	lea	rsi, .LC44[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L29
.L22:
	lea	rdx, -176[rbp]
	mov	eax, DWORD PTR -180[rbp]
	mov	esi, 17920
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	je	.L24
	lea	rdi, .LC45[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -180[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 1
	jmp	.L29
.L24:
	mov	eax, DWORD PTR -176[rbp]
	mov	eax, eax
	test	rax, rax
	js	.L25
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L26
.L25:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L26:
	movss	xmm1, DWORD PTR .LC36[rip]
	divss	xmm0, xmm1
	mov	rax, QWORD PTR -200[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -172[rbp]
	mov	eax, eax
	test	rax, rax
	js	.L27
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L28
.L27:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L28:
	movss	xmm1, DWORD PTR .LC37[rip]
	divss	xmm0, xmm1
	mov	rax, QWORD PTR -208[rbp]
	movss	DWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -180[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L29:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	setScale, .-setScale
	.section	.rodata
.LC47:
	.string	"Usage: %s <video file>\n"
.LC48:
	.string	"Scale factor=(%f,%f)\n"
.LC49:
	.string	"%i %i %i %i"
.LC50:
	.string	"string:"
	.align 8
.LC51:
	.string	"Child with pid %i finished with exit code %i.\n"
	.align 8
.LC52:
	.string	"ERROR: xomxplayer: omxplayer not responding, sending SIGTERM.\n"
	.align 8
.LC53:
	.string	"ERROR: xomxplayer: SIGTERM ignored, sending SIGKILL.\n"
	.align 8
.LC54:
	.string	"ERROR: xomxplayer: Can't stop omxplayer!\n"
	.align 8
.LC55:
	.string	"ERROR: xomxplayer stopped unexpectedly.\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB12:
	.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
	mov	QWORD PTR -360[rbp], 0
	mov	DWORD PTR -380[rbp], 2
	movss	xmm0, DWORD PTR .LC46[rip]
	movss	DWORD PTR -412[rbp], xmm0
	movss	xmm0, DWORD PTR .LC46[rip]
	movss	DWORD PTR -408[rbp], xmm0
	cmp	DWORD PTR -420[rbp], 2
	je	.L32
	mov	rax, QWORD PTR -432[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC47[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L60
.L32:
	lea	rdx, -408[rbp]
	lea	rax, -412[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	setScale
	movss	xmm0, DWORD PTR -408[rbp]
	cvtss2sd	xmm0, xmm0
	movss	xmm1, DWORD PTR -412[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm1
	movq	rax, xmm2
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC48[rip]
	mov	eax, 2
	call	printf@PLT
	movss	xmm0, DWORD PTR -408[rbp]
	mov	edx, DWORD PTR -412[rbp]
	mov	rax, QWORD PTR -432[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	movaps	xmm1, xmm0
	movd	xmm0, edx
	mov	rdi, rax
	call	initX
	mov	DWORD PTR -372[rbp], eax
	jmp	.L34
.L53:
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -336[rbp]
	mov	rdi, rdx
#APP
# 262 "the_stack_data/996466.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -368[rbp], edx
	mov	DWORD PTR -364[rbp], eax
	mov	eax, DWORD PTR -372[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -336[rbp+rax*8]
	mov	eax, DWORD PTR -372[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -336[rbp+rax*8], rdx
	mov	QWORD PTR -344[rbp], 500000
	mov	QWORD PTR -352[rbp], 0
	mov	eax, DWORD PTR -372[rbp]
	lea	edi, 1[rax]
	lea	rdx, -352[rbp]
	lea	rax, -336[rbp]
	mov	r8, rdx
	mov	ecx, 0
	mov	edx, 0
	mov	rsi, rax
	call	select@PLT
	cmp	eax, -1
	je	.L35
	test	eax, eax
	jne	.L43
	cmp	QWORD PTR -360[rbp], 0
	je	.L37
	mov	edx, DWORD PTR -400[rbp]
	mov	eax, DWORD PTR -392[rbp]
	add	edx, eax
	mov	ecx, DWORD PTR -404[rbp]
	mov	eax, DWORD PTR -396[rbp]
	lea	esi, [rcx+rax]
	mov	ecx, DWORD PTR -400[rbp]
	mov	eax, DWORD PTR -404[rbp]
	sub	rsp, 8
	push	rdx
	mov	r9d, esi
	mov	r8d, ecx
	mov	ecx, eax
	lea	rdx, .LC49[rip]
	mov	esi, 30
	lea	rdi, winParam[rip]
	mov	eax, 0
	call	snprintf@PLT
	add	rsp, 16
	cmp	DWORD PTR -380[rbp], 2
	jne	.L38
	lea	rdi, omxplayer[rip]
	call	spawn
	mov	DWORD PTR -388[rbp], eax
	cmp	DWORD PTR -388[rbp], 0
	jg	.L39
	mov	DWORD PTR -380[rbp], 0
	jmp	.L37
.L39:
	mov	DWORD PTR -380[rbp], 1
	jmp	.L37
.L38:
	mov	edx, 10
	lea	rsi, .LC50[rip]
	lea	rdi, resizeParam[rip]
	call	strncpy@PLT
	mov	edx, 30
	lea	rsi, winParam[rip]
	lea	rdi, resizeParam[rip]
	call	strncat@PLT
	lea	rdi, resize_player[rip]
	call	spawn
.L37:
	mov	QWORD PTR -360[rbp], 0
	lea	rax, -416[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	edi, -1
	call	waitpid@PLT
	mov	DWORD PTR -384[rbp], eax
	cmp	DWORD PTR -384[rbp], 0
	jle	.L62
	mov	eax, DWORD PTR -416[rbp]
	and	eax, 127
	test	eax, eax
	jne	.L41
	mov	eax, DWORD PTR -416[rbp]
	sar	eax, 8
	movzx	ecx, al
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -384[rbp]
	lea	rsi, .LC51[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L41:
	cmp	DWORD PTR -380[rbp], 1
	jne	.L62
	mov	eax, DWORD PTR -384[rbp]
	cmp	eax, DWORD PTR -388[rbp]
	jne	.L62
	mov	DWORD PTR -380[rbp], 0
	mov	DWORD PTR -388[rbp], 0
	jmp	.L62
.L35:
	cmp	DWORD PTR -380[rbp], 1
	jne	.L63
	lea	rdi, quit_player[rip]
	call	spawn
	mov	DWORD PTR -380[rbp], 0
	jmp	.L63
.L62:
	nop
	jmp	.L43
.L63:
	nop
	jmp	.L43
.L52:
	mov	rax, QWORD PTR dis[rip]
	lea	rdx, -208[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	XNextEvent@PLT
	mov	eax, DWORD PTR -208[rbp]
	cmp	eax, 33
	je	.L44
	cmp	eax, 33
	jg	.L43
	cmp	eax, 22
	je	.L45
	cmp	eax, 22
	jg	.L43
	cmp	eax, 2
	je	.L46
	cmp	eax, 15
	je	.L47
	jmp	.L43
.L46:
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	keypress
	mov	DWORD PTR -380[rbp], eax
	jmp	.L43
.L44:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR wmDeleteMessage[rip]
	cmp	rax, rdx
	jne	.L43
	lea	rdi, quit_player[rip]
	call	spawn
	mov	DWORD PTR -380[rbp], 0
	jmp	.L43
.L45:
	mov	eax, DWORD PTR -160[rbp]
	test	eax, eax
	js	.L43
	mov	eax, DWORD PTR -156[rbp]
	test	eax, eax
	js	.L43
	mov	eax, DWORD PTR -152[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	xmm1, DWORD PTR -412[rbp]
	divss	xmm0, xmm1
	cvttss2si	rax, xmm0
	mov	DWORD PTR -396[rbp], eax
	mov	eax, DWORD PTR -148[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	xmm1, DWORD PTR -408[rbp]
	divss	xmm0, xmm1
	cvttss2si	rax, xmm0
	mov	DWORD PTR -392[rbp], eax
	mov	eax, DWORD PTR -160[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	xmm1, DWORD PTR -412[rbp]
	divss	xmm0, xmm1
	cvttss2si	eax, xmm0
	mov	DWORD PTR -404[rbp], eax
	mov	eax, DWORD PTR -156[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	xmm1, DWORD PTR -408[rbp]
	divss	xmm0, xmm1
	cvttss2si	eax, xmm0
	mov	DWORD PTR -400[rbp], eax
	add	QWORD PTR -360[rbp], 1
	jmp	.L43
.L47:
	mov	eax, DWORD PTR -168[rbp]
	cmp	eax, 2
	jne	.L50
	lea	rdi, hide_video[rip]
	call	spawn
	jmp	.L65
.L50:
	mov	eax, DWORD PTR -168[rbp]
	test	eax, eax
	jne	.L65
	lea	rdi, unhide_video[rip]
	call	spawn
.L65:
	nop
.L43:
	mov	rax, QWORD PTR dis[rip]
	mov	rdi, rax
	call	XPending@PLT
	test	eax, eax
	jne	.L52
.L34:
	cmp	DWORD PTR -380[rbp], 0
	jg	.L53
	cmp	DWORD PTR -388[rbp], 0
	je	.L54
	mov	DWORD PTR -376[rbp], 0
	jmp	.L55
.L58:
	lea	rcx, -416[rbp]
	mov	eax, DWORD PTR -388[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	DWORD PTR -384[rbp], eax
	cmp	DWORD PTR -384[rbp], 0
	jg	.L64
	mov	edi, 1
	call	sleep@PLT
	add	DWORD PTR -376[rbp], 1
.L55:
	cmp	DWORD PTR -376[rbp], 2
	jle	.L58
	jmp	.L57
.L64:
	nop
.L57:
	mov	eax, DWORD PTR -384[rbp]
	cmp	eax, DWORD PTR -388[rbp]
	je	.L59
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 62
	mov	esi, 1
	lea	rdi, .LC52[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -388[rbp]
	mov	esi, 15
	mov	edi, eax
	call	kill@PLT
	mov	edi, 1
	call	sleep@PLT
	lea	rcx, -416[rbp]
	mov	eax, DWORD PTR -388[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	DWORD PTR -384[rbp], eax
	mov	eax, DWORD PTR -384[rbp]
	cmp	eax, DWORD PTR -388[rbp]
	je	.L59
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 53
	mov	esi, 1
	lea	rdi, .LC53[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -388[rbp]
	mov	esi, 9
	mov	edi, eax
	call	kill@PLT
	mov	edi, 1
	call	sleep@PLT
	lea	rcx, -416[rbp]
	mov	eax, DWORD PTR -388[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	DWORD PTR -384[rbp], eax
	mov	eax, DWORD PTR -384[rbp]
	cmp	eax, DWORD PTR -388[rbp]
	je	.L59
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 41
	mov	esi, 1
	lea	rdi, .LC54[rip]
	call	fwrite@PLT
	jmp	.L59
.L54:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 40
	mov	esi, 1
	lea	rdi, .LC55[rip]
	call	fwrite@PLT
.L59:
	mov	rdx, QWORD PTR win[rip]
	mov	rax, QWORD PTR dis[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	XDestroyWindow@PLT
	mov	rax, QWORD PTR dis[rip]
	mov	rdi, rax
	call	XCloseDisplay@PLT
	mov	eax, 0
.L60:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L61
	call	__stack_chk_fail@PLT
.L61:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC32:
	.long	1141899264
	.align 4
.LC33:
	.long	1149239296
	.align 4
.LC34:
	.long	1134559232
	.align 4
.LC35:
	.long	1131413504
	.align 4
.LC36:
	.long	1156579328
	.align 4
.LC37:
	.long	1149698048
	.align 4
.LC46:
	.long	1065353216
	.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	"996466.c"
	.text
	.local	dis
	.comm	dis,4,4
	.local	win
	.comm	win,4,4
	.local	pid
	.comm	pid,16,4
	.local	dbusParam
	.comm	dbusParam,128,4
	.local	destParam
	.comm	destParam,256,4
	.local	winParam
	.comm	winParam,32,4
	.local	resizeParam
	.comm	resizeParam,64,4
	.local	videoFile
	.comm	videoFile,4096,4
	.comm	wmDeleteMessage,4,4
	.data
	.align	2
	.type	className, %object
	.size	className, 11
className:
	.ascii	"xomxplayer\000"
	.section	.rodata
	.align	2
	.type	omxplayerFont, %object
	.size	omxplayerFont, 30
omxplayerFont:
	.ascii	"/usr/share/fonts/TTF/Vera.ttf\000"
	.align	2
	.type	omxplayerItFont, %object
	.size	omxplayerItFont, 32
omxplayerItFont:
	.ascii	"/usr/share/fonts/TTF/VeraIt.ttf\000"
	.align	2
.LC1:
	.ascii	"omxplayer.bin\000"
	.align	2
.LC2:
	.ascii	"--font\000"
	.align	2
.LC3:
	.ascii	"--italic-font\000"
	.align	2
.LC4:
	.ascii	"--sid\000"
	.align	2
.LC5:
	.ascii	"1\000"
	.align	2
.LC6:
	.ascii	"--no-keys\000"
	.align	2
.LC7:
	.ascii	"--dbus_name\000"
	.align	2
.LC8:
	.ascii	"--layer\000"
	.align	2
.LC9:
	.ascii	"--win\000"
	.align	2
.LC10:
	.ascii	"--aspect-mode\000"
	.align	2
.LC11:
	.ascii	"Letterbox\000"
	.data
	.align	2
	.type	omxplayer, %object
	.size	omxplayer, 72
omxplayer:
	.word	.LC1
	.word	.LC2
	.word	omxplayerFont
	.word	.LC3
	.word	omxplayerItFont
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	dbusParam
	.word	.LC8
	.word	pid
	.word	.LC9
	.word	winParam
	.word	.LC10
	.word	.LC11
	.word	videoFile
	.word	0
	.section	.rodata
	.align	2
.LC12:
	.ascii	"dbus-send\000"
	.align	2
.LC13:
	.ascii	"--type=method_call\000"
	.align	2
.LC14:
	.ascii	"--session\000"
	.align	2
.LC15:
	.ascii	"/org/mpris/MediaPlayer2\000"
	.align	2
.LC16:
	.ascii	"org.mpris.MediaPlayer2.Quit\000"
	.data
	.align	2
	.type	quit_player, %object
	.size	quit_player, 28
quit_player:
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	destParam
	.word	.LC15
	.word	.LC16
	.word	0
	.section	.rodata
	.align	2
.LC17:
	.ascii	"org.mpris.MediaPlayer2.Player.VideoPos\000"
	.align	2
.LC18:
	.ascii	"objpath:/not/used\000"
	.data
	.align	2
	.type	resize_player, %object
	.size	resize_player, 36
resize_player:
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	destParam
	.word	.LC15
	.word	.LC17
	.word	.LC18
	.word	resizeParam
	.word	0
	.section	.rodata
	.align	2
.LC19:
	.ascii	"org.mpris.MediaPlayer2.Player.Action\000"
	.align	2
.LC20:
	.ascii	"int32:28\000"
	.data
	.align	2
	.type	hide_video, %object
	.size	hide_video, 32
hide_video:
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	destParam
	.word	.LC15
	.word	.LC19
	.word	.LC20
	.word	0
	.section	.rodata
	.align	2
.LC21:
	.ascii	"int32:29\000"
	.data
	.align	2
	.type	unhide_video, %object
	.size	unhide_video, 32
unhide_video:
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	destParam
	.word	.LC15
	.word	.LC19
	.word	.LC21
	.word	0
	.section	.rodata
	.align	2
.LC22:
	.ascii	"int32:16\000"
	.data
	.align	2
	.type	pause_player, %object
	.size	pause_player, 32
pause_player:
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	destParam
	.word	.LC15
	.word	.LC19
	.word	.LC22
	.word	0
	.section	.rodata
	.align	2
.LC23:
	.ascii	"int32:15\000"
	.data
	.align	2
	.type	stop_player, %object
	.size	stop_player, 32
stop_player:
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	destParam
	.word	.LC15
	.word	.LC19
	.word	.LC23
	.word	0
	.section	.rodata
	.align	2
.LC24:
	.ascii	"int32:19\000"
	.data
	.align	2
	.type	seek_back_small, %object
	.size	seek_back_small, 32
seek_back_small:
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	destParam
	.word	.LC15
	.word	.LC19
	.word	.LC24
	.word	0
	.section	.rodata
	.align	2
.LC25:
	.ascii	"int32:20\000"
	.data
	.align	2
	.type	seek_forward_small, %object
	.size	seek_forward_small, 32
seek_forward_small:
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	destParam
	.word	.LC15
	.word	.LC19
	.word	.LC25
	.word	0
	.section	.rodata
	.align	2
.LC26:
	.ascii	"int32:21\000"
	.data
	.align	2
	.type	seek_back_large, %object
	.size	seek_back_large, 32
seek_back_large:
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	destParam
	.word	.LC15
	.word	.LC19
	.word	.LC26
	.word	0
	.section	.rodata
	.align	2
.LC27:
	.ascii	"int32:22\000"
	.data
	.align	2
	.type	seek_forward_large, %object
	.size	seek_forward_large, 32
seek_forward_large:
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	destParam
	.word	.LC15
	.word	.LC19
	.word	.LC27
	.word	0
	.section	.rodata
	.align	2
.LC28:
	.ascii	"int32:12\000"
	.data
	.align	2
	.type	toggle_subtitle, %object
	.size	toggle_subtitle, 32
toggle_subtitle:
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	destParam
	.word	.LC15
	.word	.LC19
	.word	.LC28
	.word	0
	.align	2
	.type	quitKey, %object
	.size	quitKey, 4
quitKey:
	.word	113
	.align	2
	.type	fullScreenKey, %object
	.size	fullScreenKey, 4
fullScreenKey:
	.word	102
	.align	2
	.type	keys, %object
	.size	keys, 56
keys:
	.word	112
	.word	pause_player
	.word	115
	.word	stop_player
	.word	65361
	.word	seek_back_small
	.word	65363
	.word	seek_forward_small
	.word	65365
	.word	seek_forward_large
	.word	65366
	.word	seek_back_large
	.word	118
	.word	toggle_subtitle
	.section	.rodata
	.align	2
.LC29:
	.ascii	"exec \000"
	.align	2
.LC30:
	.ascii	"%s \000"
	.align	2
.LC31:
	.ascii	"xomxplayer: execvp %s\000"
	.align	2
.LC32:
	.ascii	" failed\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	spawn, %function
spawn:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L7
	ldr	r3, [r3]
	mov	r2, #5
	mov	r1, #1
	ldr	r0, .L7+4
	bl	fwrite
	b	.L2
.L3:
	ldr	r3, .L7
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L7+8
	bl	fprintf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
	ldr	r3, .L7
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L7+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L7+12
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	close
.L5:
	bl	setsid
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	execvp
	ldr	r3, .L7
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L7+16
	bl	fprintf
	ldr	r0, .L7+20
	bl	perror
	mov	r0, #0
	bl	exit
.L4:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	stderr
	.word	.LC29
	.word	.LC30
	.word	dis
	.word	.LC31
	.word	.LC32
	.size	spawn, .-spawn
	.global	__aeabi_fmul
	.global	__aeabi_f2iz
	.section	.rodata
	.align	2
.LC33:
	.word	className
	.word	className
	.align	2
.LC34:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xhints, %function
xhints:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-64]	@ float
	str	r1, [fp, #-68]	@ float
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L11+4
	sub	r3, fp, #52
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	sub	r3, fp, #44
	mov	r2, #36
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	str	r3, [fp, #-44]
	mov	r3, #1
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-56]
	bl	XAllocSizeHints
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	mov	r2, #56
	str	r2, [r3]
	ldr	r1, .L11+8
	ldr	r0, [fp, #-64]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-56]
	str	r2, [r3, #16]
	ldr	r1, .L11+12
	ldr	r0, [fp, #-68]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-56]
	str	r2, [r3, #12]
	ldr	r1, .L11+16
	ldr	r0, [fp, #-64]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-56]
	str	r2, [r3, #20]
	ldr	r1, .L11+20
	ldr	r0, [fp, #-68]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-56]
	str	r2, [r3, #24]
	ldr	r1, .L11+24
	ldr	r0, [fp, #-64]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-56]
	str	r2, [r3, #28]
	ldr	r1, .L11+28
	ldr	r0, [fp, #-68]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-56]
	str	r2, [r3, #32]
	ldr	r3, .L11+32
	ldr	r0, [r3]
	ldr	r3, .L11+36
	ldr	r1, [r3]
	sub	r3, fp, #52
	str	r3, [sp, #16]
	sub	r3, fp, #44
	str	r3, [sp, #12]
	ldr	r3, [fp, #-56]
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	XSetWMProperties
	ldr	r0, [fp, #-56]
	bl	XFree
	nop
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC34
	.word	.LC33
	.word	1141899264
	.word	1149239296
	.word	1134559232
	.word	1131413504
	.word	1156579328
	.word	1149698048
	.word	dis
	.word	win
	.size	xhints, .-xhints
	.section	.rodata
	.align	2
.LC35:
	.ascii	"_NET_WM_STATE\000"
	.align	2
.LC36:
	.ascii	"_NET_WM_STATE_FULLSCREEN\000"
	.align	2
.LC37:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	toggleFS, %function
toggleFS:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #104
	mov	r2, #96
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #33
	str	r3, [fp, #-104]
	ldr	r3, .L15+4
	ldr	r3, [r3]
	str	r3, [fp, #-88]
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, .L15+12
	mov	r0, r3
	bl	XInternAtom
	mov	r3, r0
	str	r3, [fp, #-84]
	mov	r3, #32
	str	r3, [fp, #-80]
	mov	r3, #2
	str	r3, [fp, #-76]
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, .L15+16
	mov	r0, r3
	bl	XInternAtom
	mov	r3, r0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-68]
	ldr	r3, .L15+8
	ldr	r0, [r3]
	ldr	r3, .L15+8
	ldr	r3, [r3]
	ldr	r2, [r3, #140]
	ldr	r3, .L15+8
	ldr	r3, [r3]
	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]
	sub	r3, fp, #104
	str	r3, [sp]
	mov	r3, #1572864
	mov	r2, #0
	bl	XSendEvent
	nop
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC37
	.word	win
	.word	dis
	.word	.LC35
	.word	.LC36
	.size	toggleFS, .-toggleFS
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	keypress, %function
keypress:
	@ 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, #-24]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
	ldr	r3, .L25
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #52]
	and	r3, r3, #255
	mov	r2, #0
	mov	r1, r3
	bl	XKeycodeToKeysym
	str	r0, [fp, #-8]
	ldr	r3, .L25+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L18
	ldr	r0, .L25+8
	bl	spawn
	mov	r3, #0
	b	.L19
.L18:
	ldr	r3, .L25+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L20
	bl	toggleFS
	mov	r3, #1
	b	.L19
.L20:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L21
.L24:
	ldr	r2, .L25+16
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bne	.L22
	ldr	r2, .L25+16
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	spawn
	b	.L23
.L22:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L21:
	ldr	r3, [fp, #-16]
	cmp	r3, #6
	bls	.L24
.L23:
	mov	r3, #1
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	dis
	.word	quitKey
	.word	quit_player
	.word	fullScreenKey
	.word	keys
	.size	keypress, .-keypress
	.section	.rodata
	.align	2
.LC38:
	.ascii	"%i\000"
	.align	2
.LC39:
	.ascii	"org.mpris.MediaPlayer2.omxplayer\000"
	.align	2
.LC40:
	.ascii	"--dest=\000"
	.align	2
.LC41:
	.ascii	"WM_DELETE_WINDOW\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	initX, %function
initX:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #44
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]	@ float
	str	r2, [fp, #-32]	@ float
	ldr	r2, .L29
	ldr	r1, [fp, #-24]
	ldr	r0, .L29+4
	bl	strncpy
	bl	getpid
	mov	r3, r0
	ldr	r2, .L29+8
	mov	r1, #15
	ldr	r0, .L29+12
	bl	snprintf
	mov	r2, #96
	ldr	r1, .L29+16
	ldr	r0, .L29+20
	bl	strncpy
	mov	r2, #8
	ldr	r1, .L29+12
	ldr	r0, .L29+20
	bl	strncat
	ldr	r3, .L29+24
	ldr	r2, .L29+28
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	mov	r2, #128
	ldr	r1, .L29+20
	ldr	r0, .L29+24
	bl	strncat
	mov	r0, #0
	bl	XOpenDisplay
	mov	r3, r0
	ldr	r2, .L29+32
	str	r3, [r2]
	ldr	r3, .L29+32
	ldr	r4, [r3]
	ldr	r3, .L29+32
	ldr	r3, [r3]
	ldr	r2, [r3, #140]
	ldr	r3, .L29+32
	ldr	r3, [r3]
	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	r5, [r3, #8]
	ldr	r1, .L29+36
	ldr	r0, [fp, #-28]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	mov	r6, r3
	ldr	r1, .L29+40
	ldr	r0, [fp, #-32]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	mov	r1, r3
	ldr	r3, .L29+32
	ldr	r3, [r3]
	ldr	r3, [r3, #140]
	ldr	r3, [r3, #56]
	ldr	r2, .L29+32
	ldr	r2, [r2]
	ldr	r2, [r2, #140]
	ldr	r2, [r2, #56]
	str	r2, [sp, #16]
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	str	r1, [sp, #4]
	str	r6, [sp]
	mov	r3, #1
	mov	r2, #1
	mov	r1, r5
	mov	r0, r4
	bl	XCreateSimpleWindow
	mov	r3, r0
	ldr	r2, .L29+44
	str	r3, [r2]
	ldr	r3, .L29+32
	ldr	r0, [r3]
	ldr	r3, .L29+44
	ldr	r1, [r3]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L29+4
	ldr	r2, .L29+4
	bl	XSetStandardProperties
	ldr	r3, .L29+32
	ldr	r3, [r3]
	ldr	r2, .L29+44
	ldr	r1, [r2]
	ldr	r2, .L29+48
	mov	r0, r3
	bl	XSelectInput
	ldr	r1, [fp, #-32]	@ float
	ldr	r0, [fp, #-28]	@ float
	bl	xhints
	ldr	r3, .L29+32
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, .L29+52
	mov	r0, r3
	bl	XInternAtom
	mov	r3, r0
	ldr	r2, .L29+56
	str	r3, [r2]
	ldr	r3, .L29+32
	ldr	r0, [r3]
	ldr	r3, .L29+44
	ldr	r1, [r3]
	mov	r3, #1
	ldr	r2, .L29+56
	bl	XSetWMProtocols
	ldr	r3, .L29+32
	ldr	r3, [r3]
	ldr	r2, .L29+44
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	XMapWindow
	ldr	r3, .L29+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	XFlush
	ldr	r3, .L29+32
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L30:
	.align	2
.L29:
	.word	4095
	.word	videoFile
	.word	.LC38
	.word	pid
	.word	.LC39
	.word	dbusParam
	.word	destParam
	.word	.LC40
	.word	dis
	.word	1149239296
	.word	1141899264
	.word	win
	.word	196609
	.word	.LC41
	.word	wmDeleteMessage
	.size	initX, .-initX
	.section	.rodata
	.align	2
.LC42:
	.ascii	"/dev/fb0\000"
	.align	2
.LC43:
	.ascii	"setScale: Error opening %s; not setting scale facto"
	.ascii	"r.\012\000"
	.align	2
.LC44:
	.ascii	"setScale: Error reading screen info; not setting sc"
	.ascii	"ale factor.\000"
	.global	__aeabi_ui2f
	.global	__aeabi_fdiv
	.align	2
.LC45:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	setScale, %function
setScale:
	@ args = 0, pretend = 0, frame = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #176
	str	r0, [fp, #-176]
	str	r1, [fp, #-180]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-172]
	mov	r1, #0
	ldr	r0, .L37+4
	bl	open
	str	r0, [fp, #-172]
	ldr	r3, [fp, #-172]
	cmn	r3, #1
	bne	.L32
	ldr	r3, .L37+8
	ldr	r3, [r3]
	ldr	r2, .L37+4
	ldr	r1, .L37+12
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L35
.L32:
	sub	r3, fp, #168
	mov	r2, r3
	mov	r1, #17920
	ldr	r0, [fp, #-172]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	beq	.L34
	ldr	r0, .L37+16
	bl	puts
	ldr	r0, [fp, #-172]
	bl	close
	mov	r3, #1
	b	.L35
.L34:
	ldr	r3, [fp, #-168]
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	ldr	r1, .L37+20
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-176]
	str	r2, [r3]	@ float
	ldr	r3, [fp, #-164]
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	ldr	r1, .L37+24
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-180]
	str	r2, [r3]	@ float
	ldr	r0, [fp, #-172]
	bl	close
	mov	r3, #0
.L35:
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC45
	.word	.LC42
	.word	stderr
	.word	.LC43
	.word	.LC44
	.word	1156579328
	.word	1149698048
	.size	setScale, .-setScale
	.section	.rodata
	.align	2
.LC46:
	.ascii	"Usage: %s <video file>\012\000"
	.global	__aeabi_f2d
	.align	2
.LC47:
	.ascii	"Scale factor=(%f,%f)\012\000"
	.align	2
.LC48:
	.ascii	"%i %i %i %i\000"
	.align	2
.LC49:
	.ascii	"string:\000"
	.align	2
.LC50:
	.ascii	"Child with pid %i finished with exit code %i.\012\000"
	.global	__aeabi_i2f
	.global	__aeabi_f2uiz
	.align	2
.LC51:
	.ascii	"ERROR: xomxplayer: omxplayer not responding, sendin"
	.ascii	"g SIGTERM.\012\000"
	.align	2
.LC52:
	.ascii	"ERROR: xomxplayer: SIGTERM ignored, sending SIGKILL"
	.ascii	".\012\000"
	.align	2
.LC53:
	.ascii	"ERROR: xomxplayer: Can't stop omxplayer!\012\000"
	.align	2
.LC54:
	.ascii	"ERROR: xomxplayer stopped unexpectedly.\012\000"
	.align	2
.LC55:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 304
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #320
	str	r0, [fp, #-312]
	str	r1, [fp, #-316]
	ldr	r3, .L78
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-280]
	mov	r3, #2
	str	r3, [fp, #-268]
	mov	r3, #1065353216
	str	r3, [fp, #-304]	@ float
	mov	r3, #1065353216
	str	r3, [fp, #-300]	@ float
	ldr	r3, [fp, #-312]
	cmp	r3, #2
	beq	.L40
	ldr	r3, [fp, #-316]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L78+4
	bl	printf
	mov	r3, #1
	b	.L72
.L40:
	sub	r2, fp, #300
	sub	r3, fp, #304
	mov	r1, r2
	mov	r0, r3
	bl	setScale
	ldr	r3, [fp, #-304]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-300]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L78+8
	bl	printf
	ldr	r3, [fp, #-316]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, [fp, #-304]	@ float
	ldr	r2, [fp, #-300]	@ float
	mov	r0, r3
	bl	initX
	str	r0, [fp, #-256]
	b	.L42
.L65:
	sub	r3, fp, #144
	str	r3, [fp, #-252]
	mov	r3, #0
	str	r3, [fp, #-260]
	b	.L43
.L44:
	ldr	r3, [fp, #-252]
	ldr	r2, [fp, #-260]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
.L43:
	ldr	r3, [fp, #-260]
	cmp	r3, #31
	bls	.L44
	ldr	r3, [fp, #-256]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	ldr	r1, [r3, #-132]
	ldr	r3, [fp, #-256]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	str	r1, [r3, #-132]
	ldr	r3, .L78+12
	str	r3, [fp, #-244]
	mov	r3, #0
	str	r3, [fp, #-248]
	ldr	r3, [fp, #-256]
	add	r0, r3, #1
	sub	r1, fp, #144
	sub	r3, fp, #248
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	bl	select
	mov	r3, r0
	cmn	r3, #1
	beq	.L45
	cmp	r3, #0
	bne	.L74
	ldr	r3, [fp, #-280]
	cmp	r3, #0
	beq	.L47
	ldr	r2, [fp, #-296]
	ldr	r3, [fp, #-288]
	add	r3, r2, r3
	ldr	r1, [fp, #-292]
	ldr	r2, [fp, #-284]
	add	r2, r1, r2
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-292]
	str	r3, [sp]
	ldr	r3, [fp, #-296]
	ldr	r2, .L78+16
	mov	r1, #30
	ldr	r0, .L78+20
	bl	snprintf
	ldr	r3, [fp, #-268]
	cmp	r3, #2
	bne	.L48
	ldr	r0, .L78+24
	bl	spawn
	str	r0, [fp, #-276]
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	bgt	.L49
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L47
.L49:
	mov	r3, #1
	str	r3, [fp, #-268]
	b	.L47
.L48:
	mov	r2, #10
	ldr	r1, .L78+28
	ldr	r0, .L78+32
	bl	strncpy
	mov	r2, #30
	ldr	r1, .L78+20
	ldr	r0, .L78+32
	bl	strncat
	ldr	r0, .L78+36
	bl	spawn
.L47:
	mov	r3, #0
	str	r3, [fp, #-280]
	sub	r3, fp, #308
	mov	r2, #1
	mov	r1, r3
	mvn	r0, #0
	bl	waitpid
	str	r0, [fp, #-272]
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	ble	.L75
	ldr	r3, [fp, #-308]
	and	r3, r3, #127
	cmp	r3, #0
	bne	.L51
	ldr	r3, .L78+40
	ldr	r0, [r3]
	ldr	r3, [fp, #-308]
	asr	r3, r3, #8
	and	r3, r3, #255
	ldr	r2, [fp, #-272]
	ldr	r1, .L78+44
	bl	fprintf
.L51:
	ldr	r3, [fp, #-268]
	cmp	r3, #1
	bne	.L75
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-276]
	cmp	r2, r3
	bne	.L75
	mov	r3, #0
	str	r3, [fp, #-268]
	mov	r3, #0
	str	r3, [fp, #-276]
	b	.L75
.L45:
	ldr	r3, [fp, #-268]
	cmp	r3, #1
	bne	.L76
	ldr	r0, .L78+48
	bl	spawn
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L76
.L75:
	nop
	b	.L74
.L76:
	nop
	b	.L74
.L64:
	ldr	r3, .L78+52
	ldr	r3, [r3]
	sub	r2, fp, #240
	mov	r1, r2
	mov	r0, r3
	bl	XNextEvent
	ldr	r3, [fp, #-240]
	sub	r3, r3, #2
	cmp	r3, #31
	ldrls	pc, [pc, r3, asl #2]
	b	.L54
.L56:
	.word	.L59
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L58
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L57
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L54
	.word	.L55
.L59:
	sub	r3, fp, #240
	mov	r0, r3
	bl	keypress
	str	r0, [fp, #-268]
	b	.L54
.L55:
	ldr	r3, [fp, #-212]
	ldr	r2, .L78+56
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L54
	ldr	r0, .L78+48
	bl	spawn
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L54
.L57:
	ldr	r3, [fp, #-216]
	cmp	r3, #0
	blt	.L54
	ldr	r3, [fp, #-212]
	cmp	r3, #0
	blt	.L54
	ldr	r3, [fp, #-208]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r2, r0
	ldr	r3, [fp, #-304]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2uiz
	mov	r3, r0
	str	r3, [fp, #-288]
	ldr	r3, [fp, #-204]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r2, r0
	ldr	r3, [fp, #-300]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2uiz
	mov	r3, r0
	str	r3, [fp, #-284]
	ldr	r3, [fp, #-216]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r2, r0
	ldr	r3, [fp, #-304]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-296]
	ldr	r3, [fp, #-212]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r2, r0
	ldr	r3, [fp, #-300]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-292]
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
	b	.L54
.L58:
	ldr	r3, [fp, #-220]
	cmp	r3, #2
	bne	.L62
	ldr	r0, .L78+60
	bl	spawn
	b	.L54
.L62:
	ldr	r3, [fp, #-220]
	cmp	r3, #0
	bne	.L54
	ldr	r0, .L78+64
	bl	spawn
	b	.L54
.L74:
	nop
.L54:
	ldr	r3, .L78+52
	ldr	r3, [r3]
	mov	r0, r3
	bl	XPending
	mov	r3, r0
	cmp	r3, #0
	bne	.L64
.L42:
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	bgt	.L65
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	beq	.L66
	mov	r3, #0
	str	r3, [fp, #-264]
	b	.L67
.L70:
	sub	r3, fp, #308
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-276]
	bl	waitpid
	str	r0, [fp, #-272]
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	bgt	.L77
	mov	r0, #1
	bl	sleep
	ldr	r3, [fp, #-264]
	add	r3, r3, #1
	str	r3, [fp, #-264]
.L67:
	ldr	r3, [fp, #-264]
	cmp	r3, #2
	ble	.L70
	b	.L69
.L77:
	nop
.L69:
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-276]
	cmp	r2, r3
	beq	.L71
	ldr	r3, .L78+40
	ldr	r3, [r3]
	mov	r2, #62
	mov	r1, #1
	ldr	r0, .L78+68
	bl	fwrite
	mov	r1, #15
	ldr	r0, [fp, #-276]
	bl	kill
	mov	r0, #1
	bl	sleep
	sub	r3, fp, #308
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-276]
	bl	waitpid
	str	r0, [fp, #-272]
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-276]
	cmp	r2, r3
	beq	.L71
	ldr	r3, .L78+40
	ldr	r3, [r3]
	mov	r2, #53
	mov	r1, #1
	ldr	r0, .L78+72
	bl	fwrite
	mov	r1, #9
	ldr	r0, [fp, #-276]
	bl	kill
	mov	r0, #1
	bl	sleep
	sub	r3, fp, #308
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-276]
	bl	waitpid
	str	r0, [fp, #-272]
	ldr	r2, [fp, #-272]
	ldr	r3, [fp, #-276]
	cmp	r2, r3
	beq	.L71
	ldr	r3, .L78+40
	ldr	r3, [r3]
	mov	r2, #41
	mov	r1, #1
	ldr	r0, .L78+76
	bl	fwrite
	b	.L71
.L66:
	ldr	r3, .L78+40
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #1
	ldr	r0, .L78+80
	bl	fwrite
.L71:
	ldr	r3, .L78+52
	ldr	r3, [r3]
	ldr	r2, .L78+84
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	XDestroyWindow
	ldr	r3, .L78+52
	ldr	r3, [r3]
	mov	r0, r3
	bl	XCloseDisplay
	mov	r3, #0
.L72:
	ldr	r2, .L78
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L73
	bl	__stack_chk_fail
.L73:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L79:
	.align	2
.L78:
	.word	.LC55
	.word	.LC46
	.word	.LC47
	.word	500000
	.word	.LC48
	.word	winParam
	.word	omxplayer
	.word	.LC49
	.word	resizeParam
	.word	resize_player
	.word	stderr
	.word	.LC50
	.word	quit_player
	.word	dis
	.word	wmDeleteMessage
	.word	hide_video
	.word	unhide_video
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	win
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
