	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function event_loop
LCPI0_0:
	.quad	0x412e848000000000              ## double 1.0E+6
LCPI0_1:
	.quad	0x4059000000000000              ## double 100
LCPI0_2:
	.quad	0x404e000000000000              ## double 60
LCPI0_3:
	.quad	0xc04e000000000000              ## double -60
LCPI0_4:
	.quad	0x4024000000000000              ## double 10
LCPI0_6:
	.quad	0xc024000000000000              ## double -10
LCPI0_7:
	.quad	0xc082c00000000000              ## double -600
LCPI0_8:
	.quad	0x4082c00000000000              ## double 600
LCPI0_9:
	.quad	0xbff0000000000000              ## double -1
LCPI0_10:
	.quad	0x3fc0000000000000              ## double 0.125
LCPI0_11:
	.quad	0x4105f90000000000              ## double 1.8E+5
LCPI0_12:
	.quad	0x0000000000000000              ## double 0
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_5:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_event_loop:                            ## @event_loop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	56(%rdi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	48(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	-152(%rbp), %r12
	movl	$-130, %r13d
	leaq	LJTI0_0(%rip), %r15
	movq	_cursor_hidden@GOTPCREL(%rip), %r14
	jmp	LBB0_1
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_exit_on_keydown@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_do_exit
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_refresh_loop_wait_event
	movl	-152(%rbp), %eax
	addl	%r13d, %eax
	cmpl	$25, %eax
	ja	LBB0_1
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r15,%rax,4), %rax
	addq	%r15, %rax
	jmpq	*%rax
LBB0_63:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-132(%rbp), %eax
	cmpl	$129, %eax
	je	LBB0_67
## %bb.64:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$128, %eax
	jne	LBB0_1
## %bb.65:                              ##   in Loop: Header=BB0_1 Depth=1
	movsd	-144(%rbp), %xmm0               ## xmm0 = mem[0],zero
	movsd	%xmm0, (%rbx)
	movq	_screen_width@GOTPCREL(%rip), %rax
	movsd	%xmm0, (%rax)
	movl	-136(%rbp), %eax
	movl	%eax, 24(%rbx)
	movq	_screen_height@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_67
## %bb.66:                              ##   in Loop: Header=BB0_1 Depth=1
	callq	_SDL_DestroyTexture
	movq	$0, 16(%rbx)
LBB0_67:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, 8(%rbx)
	jmp	LBB0_1
LBB0_48:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_exit_on_mousedown@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_6
## %bb.49:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-104(%rbp), %eax
	movq	_SDL_BUTTON_LEFT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_54
## %bb.50:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_av_gettime_relative
	subl	_event_loop.last_mouse_left_click(%rip), %eax
	cmpl	$500000, %eax                   ## imm = 0x7A120
	jg	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_toggle_full_screen
	movl	$1, 8(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_53
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	-96(%rbp), %eax
	movq	_SDLK_ESCAPE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_SDLK_q@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	ucomisd	LCPI0_12(%rip), %xmm0
	jne	LBB0_8
	jnp	LBB0_1
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	addl	$-135, %eax
	cmpl	$19, %eax
	ja	LBB0_1
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movsd	LCPI0_2(%rip), %xmm2            ## xmm2 = mem[0],zero
	jmpq	*%rax
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_toggle_pause
	jmp	LBB0_1
LBB0_52:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_av_gettime_relative
LBB0_53:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, _event_loop.last_mouse_left_click(%rip)
LBB0_54:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, (%r14)
	je	LBB0_56
## %bb.55:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edi
	callq	_SDL_ShowCursor
	movl	$0, (%r14)
LBB0_56:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_av_gettime_relative
	movq	_cursor_last_shown@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	cmpl	$133, -152(%rbp)
	jne	LBB0_58
## %bb.57:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-104(%rbp), %ecx
	leaq	-112(%rbp), %rax
	movq	_SDL_BUTTON_RIGHT@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_1
	jmp	LBB0_59
LBB0_58:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_SDL_BUTTON_RMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-120(%rbp), %rax
	testl	%ecx, -128(%rbp)
	je	LBB0_1
LBB0_59:                                ##   in Loop: Header=BB0_1 Depth=1
	movsd	(%rax), %xmm2                   ## xmm2 = mem[0],zero
	movq	_seek_by_bytes@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	32(%rbx), %rax
	jne	LBB0_61
## %bb.60:                              ##   in Loop: Header=BB0_1 Depth=1
	movsd	24(%rax), %xmm0                 ## xmm0 = mem[0],zero
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm0, %xmm1
	jae	LBB0_61
## %bb.62:                              ##   in Loop: Header=BB0_1 Depth=1
	divsd	LCPI0_0(%rip), %xmm0
	cvttsd2si	%xmm0, %eax
	movslq	%eax, %r10
	imulq	$-1851608123, %r10, %rax        ## imm = 0x91A2B3C5
	shrq	$32, %rax
	addl	%r10d, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$11, %eax
	addl	%ecx, %eax
	imull	$3600, %eax, %ecx               ## imm = 0xE10
	movl	%r10d, %edx
	subl	%ecx, %edx
	movswl	%dx, %ecx
	imull	$-30583, %ecx, %ecx             ## imm = 0x8889
	shrl	$16, %ecx
	addl	%edx, %ecx
	movzwl	%cx, %ecx
	movswl	%cx, %edx
	shrl	$15, %ecx
	sarl	$5, %edx
	addl	%ecx, %edx
	movswl	%dx, %r11d
	imulq	$-2004318071, %r10, %rcx        ## imm = 0x88888889
	shrq	$32, %rcx
	addl	%r10d, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$5, %ecx
	addl	%edx, %ecx
	imull	$60, %ecx, %ecx
	subl	%ecx, %r10d
	divsd	(%rbx), %xmm2
	movsd	%xmm2, -64(%rbp)                ## 8-byte Spill
	cvttpd2dq	%xmm0, %xmm0
	cvtdq2pd	%xmm0, %xmm0
	mulsd	%xmm2, %xmm0
	cvttsd2si	%xmm0, %ecx
	movslq	%ecx, %r9
	imulq	$-1851608123, %r9, %rcx         ## imm = 0x91A2B3C5
	shrq	$32, %rcx
	addl	%r9d, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$11, %ecx
	addl	%edx, %ecx
	imull	$3600, %ecx, %edx               ## imm = 0xE10
	movl	%r9d, %esi
	subl	%edx, %esi
	movswl	%si, %edx
	imull	$-30583, %edx, %edx             ## imm = 0x8889
	shrl	$16, %edx
	addl	%esi, %edx
	movzwl	%dx, %edx
	movswl	%dx, %esi
	shrl	$15, %edx
	sarl	$5, %esi
	addl	%edx, %esi
	movswl	%si, %r8d
	imulq	$-2004318071, %r9, %rdx         ## imm = 0x88888889
	shrq	$32, %rdx
	addl	%r9d, %edx
	movl	%edx, %esi
	shrl	$31, %esi
	sarl	$5, %edx
	addl	%esi, %edx
	imull	$60, %edx, %edx
	subl	%edx, %r9d
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movapd	%xmm2, %xmm0
	mulsd	LCPI0_1(%rip), %xmm0
	subq	$8, %rsp
	xorl	%edi, %edi
	leaq	L_.str(%rip), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
                                        ## kill: def $r9d killed $r9d killed $r9
	pushq	%r10
	pushq	%r11
	pushq	%rax
	callq	_av_log
	addq	$32, %rsp
	movq	32(%rbx), %rax
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	mulsd	24(%rax), %xmm0
	cvttsd2si	%xmm0, %ecx
	movl	16(%rax), %esi
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	movl	$0, %eax
	cmovel	%eax, %esi
	addl	%ecx, %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
LBB0_47:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ecx, %ecx
	callq	_stream_seek
	jmp	LBB0_1
LBB0_61:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	32(%rax), %edi
	movsd	%xmm2, -64(%rbp)                ## 8-byte Spill
	callq	_avio_size
	movsd	-64(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	mulsd	%xmm0, %xmm1
	divsd	(%rbx), %xmm1
	cvttsd2si	%xmm1, %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
LBB0_38:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %ecx
	callq	_stream_seek
	jmp	LBB0_1
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_SDL_VOLUME_STEP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_update_volume
	jmp	LBB0_1
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_SDL_VOLUME_STEP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_update_volume
	jmp	LBB0_1
LBB0_21:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_toggle_audio_display
	jmp	LBB0_1
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_step_to_next_frame
	jmp	LBB0_1
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_toggle_mute
	jmp	LBB0_1
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_toggle_full_screen
	movl	$1, 8(%rbx)
	jmp	LBB0_1
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_stream_cycle_channel
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_stream_cycle_channel
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_AVMEDIA_TYPE_SUBTITLE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rax
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_stream_cycle_channel
	jmp	LBB0_1
LBB0_27:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_seek_interval@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movapd	%xmm0, %xmm2
	cmpneqsd	LCPI0_12(%rip), %xmm2
	andpd	%xmm2, %xmm0
	movsd	LCPI0_4(%rip), %xmm1            ## xmm1 = mem[0],zero
	jmp	LBB0_28
LBB0_22:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	32(%rbx), %rax
	cmpl	$2, (%rax)
	movsd	LCPI0_8(%rip), %xmm2            ## xmm2 = mem[0],zero
	jl	LBB0_30
## %bb.23:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_seek_chapter
	jmp	LBB0_1
LBB0_24:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	32(%rbx), %rax
	cmpl	$2, (%rax)
	movsd	LCPI0_7(%rip), %xmm2            ## xmm2 = mem[0],zero
	jl	LBB0_30
## %bb.25:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_seek_chapter
	jmp	LBB0_1
LBB0_26:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_seek_interval@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm2                   ## xmm2 = mem[0],zero
	movapd	%xmm2, %xmm0
	xorpd	LCPI0_5(%rip), %xmm0
	cmpneqsd	%xmm0, %xmm2
	andpd	%xmm2, %xmm0
	movsd	LCPI0_6(%rip), %xmm1            ## xmm1 = mem[0],zero
LBB0_28:                                ##   in Loop: Header=BB0_1 Depth=1
	andnpd	%xmm1, %xmm2
	orpd	%xmm0, %xmm2
	jmp	LBB0_30
LBB0_29:                                ##   in Loop: Header=BB0_1 Depth=1
	movsd	LCPI0_3(%rip), %xmm2            ## xmm2 = mem[0],zero
LBB0_30:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_seek_by_bytes@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movapd	%xmm2, -64(%rbp)                ## 16-byte Spill
	je	LBB0_39
## %bb.31:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 60(%rbx)
	movsd	LCPI0_9(%rip), %xmm0            ## xmm0 = mem[0],zero
	js	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_frame_queue_last_pos
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_35
LBB0_33:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 52(%rbx)
	js	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_frame_queue_last_pos
LBB0_35:                                ##   in Loop: Header=BB0_1 Depth=1
	xorpd	%xmm3, %xmm3
	ucomisd	%xmm0, %xmm3
	jbe	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	32(%rbx), %rax
	movl	32(%rax), %edi
	callq	_avio_tell
	xorpd	%xmm3, %xmm3
LBB0_37:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	32(%rbx), %rax
	movsd	8(%rax), %xmm1                  ## xmm1 = mem[0],zero
	movapd	%xmm1, %xmm2
	mulsd	LCPI0_10(%rip), %xmm2
	cmpneqsd	%xmm3, %xmm1
	andpd	%xmm1, %xmm2
	movsd	LCPI0_11(%rip), %xmm3           ## xmm3 = mem[0],zero
	andnpd	%xmm3, %xmm1
	orpd	%xmm2, %xmm1
	movapd	-64(%rbp), %xmm2                ## 16-byte Reload
	mulsd	%xmm1, %xmm2
	addsd	%xmm2, %xmm0
	cvttsd2si	%xmm0, %esi
	cvttsd2si	%xmm2, %edx
	movq	%rbx, %rdi
	jmp	LBB0_38
LBB0_39:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_get_master_clock
	movsd	%xmm0, -88(%rbp)                ## 8-byte Spill
	callq	_isnan
	testl	%eax, %eax
	je	LBB0_40
## %bb.41:                              ##   in Loop: Header=BB0_1 Depth=1
	xorps	%xmm3, %xmm3
	cvtsi2sdq	40(%rbx), %xmm3
	movq	_AV_TIME_BASE@GOTPCREL(%rip), %rax
	divsd	(%rax), %xmm3
	movapd	-64(%rbp), %xmm2                ## 16-byte Reload
	jmp	LBB0_42
LBB0_40:                                ##   in Loop: Header=BB0_1 Depth=1
	movapd	-64(%rbp), %xmm2                ## 16-byte Reload
	movsd	-88(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
LBB0_42:                                ##   in Loop: Header=BB0_1 Depth=1
	addsd	%xmm2, %xmm3
	movq	32(%rbx), %rax
	movl	16(%rax), %eax
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_AV_TIME_BASE@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	jmp	LBB0_46
LBB0_44:                                ##   in Loop: Header=BB0_1 Depth=1
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	movq	_AV_TIME_BASE@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	divsd	%xmm0, %xmm1
	ucomisd	%xmm3, %xmm1
	jbe	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_1 Depth=1
	movapd	%xmm1, %xmm3
LBB0_46:                                ##   in Loop: Header=BB0_1 Depth=1
	mulsd	%xmm0, %xmm3
	cvttsd2si	%xmm3, %esi
	mulsd	%xmm0, %xmm2
	cvttsd2si	%xmm2, %edx
	movq	%rbx, %rdi
	jmp	LBB0_47
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_63, LBB0_63-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_54, LBB0_54-LJTI0_0
.set L0_0_set_48, LBB0_48-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
LJTI0_0:
	.long	L0_0_set_63
	.long	L0_0_set_6
	.long	L0_0_set_54
	.long	L0_0_set_48
	.long	L0_0_set_3
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_6
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_18, LBB0_18-LJTI0_1
.set L0_1_set_20, LBB0_20-LJTI0_1
.set L0_1_set_15, LBB0_15-LJTI0_1
.set L0_1_set_11, LBB0_11-LJTI0_1
.set L0_1_set_12, LBB0_12-LJTI0_1
.set L0_1_set_10, LBB0_10-LJTI0_1
.set L0_1_set_19, LBB0_19-LJTI0_1
.set L0_1_set_16, LBB0_16-LJTI0_1
.set L0_1_set_30, LBB0_30-LJTI0_1
.set L0_1_set_27, LBB0_27-LJTI0_1
.set L0_1_set_22, LBB0_22-LJTI0_1
.set L0_1_set_24, LBB0_24-LJTI0_1
.set L0_1_set_26, LBB0_26-LJTI0_1
.set L0_1_set_13, LBB0_13-LJTI0_1
.set L0_1_set_14, LBB0_14-LJTI0_1
.set L0_1_set_29, LBB0_29-LJTI0_1
LJTI0_1:
	.long	L0_1_set_21
	.long	L0_1_set_18
	.long	L0_1_set_20
	.long	L0_1_set_15
	.long	L0_1_set_11
	.long	L0_1_set_12
	.long	L0_1_set_10
	.long	L0_1_set_19
	.long	L0_1_set_16
	.long	L0_1_set_30
	.long	L0_1_set_11
	.long	L0_1_set_27
	.long	L0_1_set_22
	.long	L0_1_set_24
	.long	L0_1_set_26
	.long	L0_1_set_13
	.long	L0_1_set_14
	.long	L0_1_set_29
	.long	L0_1_set_14
	.long	L0_1_set_13
	.end_data_region
                                        ## -- End function
	.comm	_exit_on_keydown,4,2            ## @exit_on_keydown
	.comm	_SDLK_ESCAPE,4,2                ## @SDLK_ESCAPE
	.comm	_SDLK_q,4,2                     ## @SDLK_q
	.comm	_SDL_VOLUME_STEP,4,2            ## @SDL_VOLUME_STEP
	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ## @AVMEDIA_TYPE_AUDIO
	.comm	_AVMEDIA_TYPE_VIDEO,4,2         ## @AVMEDIA_TYPE_VIDEO
	.comm	_AVMEDIA_TYPE_SUBTITLE,4,2      ## @AVMEDIA_TYPE_SUBTITLE
	.comm	_seek_interval,8,3              ## @seek_interval
	.comm	_seek_by_bytes,4,2              ## @seek_by_bytes
	.comm	_AV_TIME_BASE,8,3               ## @AV_TIME_BASE
	.comm	_AV_NOPTS_VALUE,4,2             ## @AV_NOPTS_VALUE
	.comm	_exit_on_mousedown,4,2          ## @exit_on_mousedown
	.comm	_SDL_BUTTON_LEFT,4,2            ## @SDL_BUTTON_LEFT
.zerofill __DATA,__bss,_event_loop.last_mouse_left_click,4,2 ## @event_loop.last_mouse_left_click
	.comm	_cursor_hidden,4,2              ## @cursor_hidden
	.comm	_cursor_last_shown,4,2          ## @cursor_last_shown
	.comm	_SDL_BUTTON_RIGHT,4,2           ## @SDL_BUTTON_RIGHT
	.comm	_SDL_BUTTON_RMASK,4,2           ## @SDL_BUTTON_RMASK
	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Seek to %2.0f%% (%2d:%02d:%02d) of total duration (%2d:%02d:%02d)       \n"

	.comm	_screen_width,8,3               ## @screen_width
	.comm	_screen_height,4,2              ## @screen_height
	.comm	_SHOW_MODE_VIDEO,4,2            ## @SHOW_MODE_VIDEO
	.comm	_nb_vfilters,4,2                ## @nb_vfilters
	.no_dead_strip	_event_loop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function event_loop
_event_loop:                            ; @event_loop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	d13, d12, [sp, #96]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #112]            ; 16-byte Folded Spill
	stp	d9, d8, [sp, #128]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	mov	x19, x0
	add	x8, sp, #32
	add	x23, x8, #32
	add	x24, x8, #40
	add	x9, x0, #56
	add	x8, x0, #48
	stp	x8, x9, [sp, #16]               ; 16-byte Folded Spill
Lloh0:
	adrp	x27, _cursor_hidden@GOTPAGE
Lloh1:
	ldr	x27, [x27, _cursor_hidden@GOTPAGEOFF]
Lloh2:
	adrp	x28, _cursor_last_shown@GOTPAGE
Lloh3:
	ldr	x28, [x28, _cursor_last_shown@GOTPAGEOFF]
Lloh4:
	adrp	x20, _seek_by_bytes@GOTPAGE
Lloh5:
	ldr	x20, [x20, _seek_by_bytes@GOTPAGEOFF]
	mov	w22, #1
Lloh6:
	adrp	x26, _exit_on_mousedown@GOTPAGE
Lloh7:
	ldr	x26, [x26, _exit_on_mousedown@GOTPAGEOFF]
Lloh8:
	adrp	x21, _exit_on_keydown@GOTPAGE
Lloh9:
	ldr	x21, [x21, _exit_on_keydown@GOTPAGEOFF]
	fmov	d9, #0.12500000
Lloh10:
	adrp	x25, lJTI0_0@PAGE
Lloh11:
	add	x25, x25, lJTI0_0@PAGEOFF
	fmov	d10, #10.00000000
	fmov	d11, #-10.00000000
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x21]
	cbz	w8, LBB0_14
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_do_exit
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #32
	mov	x0, x19
	bl	_refresh_loop_wait_event
	ldr	w8, [sp, #32]
	sub	w8, w8, #130
	cmp	w8, #25
	b.hi	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #52]
	cmp	w8, #129
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	d0, [sp, #40]
	str	d0, [x19]
Lloh12:
	adrp	x8, _screen_width@GOTPAGE
Lloh13:
	ldr	x8, [x8, _screen_width@GOTPAGEOFF]
Lloh14:
	str	d0, [x8]
	ldr	w8, [sp, #48]
	str	w8, [x19, #24]
Lloh15:
	adrp	x9, _screen_height@GOTPAGE
Lloh16:
	ldr	x9, [x9, _screen_height@GOTPAGEOFF]
Lloh17:
	str	w8, [x9]
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_SDL_DestroyTexture
	str	xzr, [x19, #16]
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	w22, [x19, #8]
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x26]
	cbnz	w8, LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #80]
Lloh18:
	adrp	x9, _SDL_BUTTON_LEFT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SDL_BUTTON_LEFT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_21
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_av_gettime_relative
Lloh21:
	adrp	x8, _event_loop.last_mouse_left_click@PAGE
Lloh22:
	ldr	w8, [x8, _event_loop.last_mouse_left_click@PAGEOFF]
	sub	w8, w0, w8
	mov	w9, #41248
	movk	w9, #7, lsl #16
	cmp	w8, w9
	b.gt	LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_toggle_full_screen
	mov	w0, #0
	str	w22, [x19, #8]
	b	LBB0_20
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp, #88]
Lloh23:
	adrp	x9, _SDLK_ESCAPE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _SDLK_ESCAPE@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
Lloh26:
	adrp	x10, _SDLK_q@GOTPAGE
Lloh27:
	ldr	x10, [x10, _SDLK_q@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.eq	LBB0_2
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	d0, [x19]
	fcmp	d0, #0.0
	b.eq	LBB0_3
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	sub	w8, w8, #135
	cmp	w8, #19
	b.hi	LBB0_3
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x9, #4633641066610819072
	fmov	d12, x9
Lloh29:
	adrp	x11, lJTI0_1@PAGE
Lloh30:
	add	x11, x11, lJTI0_1@PAGEOFF
	adr	x9, LBB0_18
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_toggle_pause
	b	LBB0_3
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_av_gettime_relative
LBB0_20:                                ;   in Loop: Header=BB0_3 Depth=1
	adrp	x8, _event_loop.last_mouse_left_click@PAGE
	str	w0, [x8, _event_loop.last_mouse_left_click@PAGEOFF]
LBB0_21:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x27]
	cbz	w8, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #1
	bl	_SDL_ShowCursor
	str	wzr, [x27]
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_av_gettime_relative
	str	w0, [x28]
	ldr	w8, [sp, #32]
	cmp	w8, #133
	b.ne	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [sp, #80]
Lloh31:
	adrp	x8, _SDL_BUTTON_RIGHT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _SDL_BUTTON_RIGHT@GOTPAGEOFF]
Lloh33:
	ldr	w10, [x8]
	mov	x8, x24
	cmp	w9, w10
	b.ne	LBB0_3
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [sp, #56]
Lloh34:
	adrp	x8, _SDL_BUTTON_RMASK@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SDL_BUTTON_RMASK@GOTPAGEOFF]
Lloh36:
	ldr	w10, [x8]
	mov	x8, x23
	tst	w10, w9
	b.eq	LBB0_3
LBB0_26:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	d8, [x8]
	ldr	w9, [x20]
	ldr	x8, [x19, #32]
	cbnz	w9, LBB0_30
; %bb.27:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	d0, [x8, #24]
	fcmp	d0, #0.0
	b.ls	LBB0_30
; %bb.28:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #145685290680320
	movk	x8, #16686, lsl #48
	fmov	d1, x8
	fdiv	d0, d0, d1
	fcvtzs	w8, d0
	mov	w11, #46021
	movk	w11, #37282, lsl #16
	smull	x9, w8, w11
	lsr	x9, x9, #32
	add	w9, w9, w8
	asr	w10, w9, #11
	add	w6, w10, w9, lsr #31
	mov	w12, #3600
	msub	w9, w6, w12, w8
	sxth	w10, w9
	mov	w13, #-30583
	mul	w10, w10, w13
	add	w9, w9, w10, lsr #16
	and	w10, w9, #0x8000
	sbfx	w9, w9, #5, #11
	add	w7, w9, w10, lsr #15
	mov	w14, #34953
	movk	w14, #34952, lsl #16
	smull	x9, w8, w14
	lsr	x9, x9, #32
	add	w9, w9, w8
	asr	w10, w9, #5
	add	w9, w10, w9, lsr #31
	mov	w15, #60
	msub	w9, w9, w15, w8
	ldr	d0, [x19]
	fdiv	d8, d8, d0
	scvtf	d0, w8
	fmul	d0, d8, d0
	fcvtzs	w8, d0
	smull	x10, w8, w11
	lsr	x10, x10, #32
	add	w10, w10, w8
	asr	w11, w10, #11
	add	w3, w11, w10, lsr #31
	msub	w10, w3, w12, w8
	sxth	w11, w10
	mul	w11, w11, w13
	add	w10, w10, w11, lsr #16
	and	w11, w10, #0x8000
	sbfx	w10, w10, #5, #11
	add	w4, w10, w11, lsr #15
	smull	x10, w8, w14
	lsr	x10, x10, #32
	add	w10, w10, w8
	asr	w11, w10, #5
	add	w10, w11, w10, lsr #31
	msub	w5, w10, w15, w8
Lloh37:
	adrp	x8, _AV_LOG_INFO@GOTPAGE
Lloh38:
	ldr	x8, [x8, _AV_LOG_INFO@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x8, #4636737291354636288
	fmov	d0, x8
	fmul	d0, d8, d0
	str	w9, [sp]
	mov	x0, #0
Lloh40:
	adrp	x2, l_.str@PAGE
Lloh41:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	ldr	x8, [x19, #32]
	ldr	d0, [x8, #24]
	fmul	d0, d8, d0
	fcvtzs	w9, d0
	ldr	w8, [x8, #16]
Lloh42:
	adrp	x10, _AV_NOPTS_VALUE@GOTPAGE
Lloh43:
	ldr	x10, [x10, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh44:
	ldr	w10, [x10]
	cmp	w8, w10
	csel	w8, wzr, w8, eq
	add	w1, w8, w9
	mov	x0, x19
	mov	w2, #0
LBB0_29:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w3, #0
	bl	_stream_seek
	b	LBB0_3
LBB0_30:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x8, #32]
	bl	_avio_size
	fmul	d0, d8, d0
	ldr	d1, [x19]
	fdiv	d0, d0, d1
	fcvtzs	w1, d0
	mov	x0, x19
	mov	w2, #0
LBB0_31:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w3, #1
	bl	_stream_seek
	b	LBB0_3
LBB0_32:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh45:
	adrp	x8, _SDL_VOLUME_STEP@GOTPAGE
Lloh46:
	ldr	x8, [x8, _SDL_VOLUME_STEP@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #1
	bl	_update_volume
	b	LBB0_3
LBB0_33:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh48:
	adrp	x8, _SDL_VOLUME_STEP@GOTPAGE
Lloh49:
	ldr	x8, [x8, _SDL_VOLUME_STEP@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #-1
	bl	_update_volume
	b	LBB0_3
LBB0_34:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_toggle_audio_display
	b	LBB0_3
LBB0_35:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh51:
	adrp	x8, _AVMEDIA_TYPE_VIDEO@GOTPAGE
Lloh52:
	ldr	x8, [x8, _AVMEDIA_TYPE_VIDEO@GOTPAGEOFF]
	b	LBB0_42
LBB0_36:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_step_to_next_frame
	b	LBB0_3
LBB0_37:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_toggle_mute
	b	LBB0_3
LBB0_38:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_toggle_full_screen
	str	w22, [x19, #8]
	b	LBB0_3
LBB0_39:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh53:
	adrp	x8, _AVMEDIA_TYPE_VIDEO@GOTPAGE
Lloh54:
	ldr	x8, [x8, _AVMEDIA_TYPE_VIDEO@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_stream_cycle_channel
Lloh56:
	adrp	x8, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh57:
	ldr	x8, [x8, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_stream_cycle_channel
LBB0_40:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh59:
	adrp	x8, _AVMEDIA_TYPE_SUBTITLE@GOTPAGE
Lloh60:
	ldr	x8, [x8, _AVMEDIA_TYPE_SUBTITLE@GOTPAGEOFF]
	b	LBB0_42
LBB0_41:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh61:
	adrp	x8, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh62:
	ldr	x8, [x8, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
LBB0_42:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x8]
	mov	x0, x19
	bl	_stream_cycle_channel
	b	LBB0_3
LBB0_43:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh63:
	adrp	x8, _seek_interval@GOTPAGE
Lloh64:
	ldr	x8, [x8, _seek_interval@GOTPAGEOFF]
Lloh65:
	ldr	d0, [x8]
	fcmp	d0, #0.0
	fcsel	d12, d0, d10, ne
	ldr	w8, [x20]
	cbnz	w8, LBB0_50
	b	LBB0_60
LBB0_44:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #32]
	ldr	w8, [x8]
	cmp	w8, #2
	b.ge	LBB0_67
; %bb.45:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #211106232532992
	movk	x8, #16514, lsl #48
	b	LBB0_59
LBB0_46:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #32]
	ldr	w8, [x8]
	cmp	w8, #2
	b.ge	LBB0_68
; %bb.47:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #211106232532992
	movk	x8, #49282, lsl #48
	b	LBB0_59
LBB0_48:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh66:
	adrp	x8, _seek_interval@GOTPAGE
Lloh67:
	ldr	x8, [x8, _seek_interval@GOTPAGEOFF]
Lloh68:
	ldr	d0, [x8]
	fneg	d1, d0
	fcmp	d0, #0.0
	fcsel	d12, d1, d11, ne
LBB0_49:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20]
	cbz	w8, LBB0_60
LBB0_50:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #60]
	tbnz	w8, #31, LBB0_57
; %bb.51:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_frame_queue_last_pos
	fcmp	d0, #0.0
	b.pl	LBB0_54
; %bb.52:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19, #52]
	tbnz	w8, #31, LBB0_54
LBB0_53:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_frame_queue_last_pos
LBB0_54:                                ;   in Loop: Header=BB0_3 Depth=1
	fcmp	d0, #0.0
	b.pl	LBB0_56
; %bb.55:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #32]
	ldr	w0, [x8, #32]
	bl	_avio_tell
LBB0_56:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #32]
	ldr	d1, [x8, #8]
	fmul	d2, d1, d9
	fcmp	d1, #0.0
	mov	x8, #273778395316224
	movk	x8, #16645, lsl #48
	fmov	d1, x8
	fcsel	d1, d2, d1, ne
	fmul	d1, d12, d1
	fadd	d0, d0, d1
	fcvtzs	w1, d0
	fcvtzs	w2, d1
	mov	x0, x19
	b	LBB0_31
LBB0_57:                                ;   in Loop: Header=BB0_3 Depth=1
	fmov	d0, #-1.00000000
	ldr	w8, [x19, #52]
	tbz	w8, #31, LBB0_53
	b	LBB0_54
LBB0_58:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #-4589730970243956736
LBB0_59:                                ;   in Loop: Header=BB0_3 Depth=1
	fmov	d12, x8
	ldr	w8, [x20]
	cbnz	w8, LBB0_50
LBB0_60:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_get_master_clock
	fmov	d8, d0
	bl	_isnan
	cbz	w0, LBB0_62
; %bb.61:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	d0, [x19, #40]
	scvtf	d0, d0
Lloh69:
	adrp	x8, _AV_TIME_BASE@GOTPAGE
Lloh70:
	ldr	x8, [x8, _AV_TIME_BASE@GOTPAGEOFF]
Lloh71:
	ldr	d1, [x8]
	fdiv	d8, d0, d1
LBB0_62:                                ;   in Loop: Header=BB0_3 Depth=1
	fadd	d0, d12, d8
	ldr	x8, [x19, #32]
	ldr	w8, [x8, #16]
Lloh72:
	adrp	x9, _AV_NOPTS_VALUE@GOTPAGE
Lloh73:
	ldr	x9, [x9, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh74:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_64
; %bb.63:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh75:
	adrp	x8, _AV_TIME_BASE@GOTPAGE
Lloh76:
	ldr	x8, [x8, _AV_TIME_BASE@GOTPAGEOFF]
Lloh77:
	ldr	d1, [x8]
	b	LBB0_66
LBB0_64:                                ;   in Loop: Header=BB0_3 Depth=1
	scvtf	d2, w8
Lloh78:
	adrp	x8, _AV_TIME_BASE@GOTPAGE
Lloh79:
	ldr	x8, [x8, _AV_TIME_BASE@GOTPAGEOFF]
Lloh80:
	ldr	d1, [x8]
	fdiv	d2, d2, d1
	fcmp	d0, d2
	b.pl	LBB0_66
; %bb.65:                               ;   in Loop: Header=BB0_3 Depth=1
	fmov	d0, d2
LBB0_66:                                ;   in Loop: Header=BB0_3 Depth=1
	fmul	d0, d0, d1
	fcvtzs	w1, d0
	fmul	d0, d12, d1
	fcvtzs	w2, d0
	mov	x0, x19
	b	LBB0_29
LBB0_67:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	w1, #1
	bl	_seek_chapter
	b	LBB0_3
LBB0_68:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	w1, #-1
	bl	_seek_chapter
	b	LBB0_3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdr	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_21-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
lJTI0_1:
	.byte	(LBB0_34-LBB0_18)>>2
	.byte	(LBB0_35-LBB0_18)>>2
	.byte	(LBB0_40-LBB0_18)>>2
	.byte	(LBB0_36-LBB0_18)>>2
	.byte	(LBB0_18-LBB0_18)>>2
	.byte	(LBB0_37-LBB0_18)>>2
	.byte	(LBB0_38-LBB0_18)>>2
	.byte	(LBB0_39-LBB0_18)>>2
	.byte	(LBB0_41-LBB0_18)>>2
	.byte	(LBB0_49-LBB0_18)>>2
	.byte	(LBB0_18-LBB0_18)>>2
	.byte	(LBB0_43-LBB0_18)>>2
	.byte	(LBB0_44-LBB0_18)>>2
	.byte	(LBB0_46-LBB0_18)>>2
	.byte	(LBB0_48-LBB0_18)>>2
	.byte	(LBB0_32-LBB0_18)>>2
	.byte	(LBB0_33-LBB0_18)>>2
	.byte	(LBB0_58-LBB0_18)>>2
	.byte	(LBB0_33-LBB0_18)>>2
	.byte	(LBB0_32-LBB0_18)>>2
                                        ; -- End function
	.comm	_exit_on_keydown,4,2            ; @exit_on_keydown
	.comm	_SDLK_ESCAPE,4,2                ; @SDLK_ESCAPE
	.comm	_SDLK_q,4,2                     ; @SDLK_q
	.comm	_SDL_VOLUME_STEP,4,2            ; @SDL_VOLUME_STEP
	.comm	_AVMEDIA_TYPE_AUDIO,4,2         ; @AVMEDIA_TYPE_AUDIO
	.comm	_AVMEDIA_TYPE_VIDEO,4,2         ; @AVMEDIA_TYPE_VIDEO
	.comm	_AVMEDIA_TYPE_SUBTITLE,4,2      ; @AVMEDIA_TYPE_SUBTITLE
	.comm	_seek_interval,8,3              ; @seek_interval
	.comm	_seek_by_bytes,4,2              ; @seek_by_bytes
	.comm	_AV_TIME_BASE,8,3               ; @AV_TIME_BASE
	.comm	_AV_NOPTS_VALUE,4,2             ; @AV_NOPTS_VALUE
	.comm	_exit_on_mousedown,4,2          ; @exit_on_mousedown
	.comm	_SDL_BUTTON_LEFT,4,2            ; @SDL_BUTTON_LEFT
.zerofill __DATA,__bss,_event_loop.last_mouse_left_click,4,2 ; @event_loop.last_mouse_left_click
	.comm	_cursor_hidden,4,2              ; @cursor_hidden
	.comm	_cursor_last_shown,4,2          ; @cursor_last_shown
	.comm	_SDL_BUTTON_RIGHT,4,2           ; @SDL_BUTTON_RIGHT
	.comm	_SDL_BUTTON_RMASK,4,2           ; @SDL_BUTTON_RMASK
	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Seek to %2.0f%% (%2d:%02d:%02d) of total duration (%2d:%02d:%02d)       \n"

	.comm	_screen_width,8,3               ; @screen_width
	.comm	_screen_height,4,2              ; @screen_height
	.comm	_SHOW_MODE_VIDEO,4,2            ; @SHOW_MODE_VIDEO
	.comm	_nb_vfilters,4,2                ; @nb_vfilters
	.no_dead_strip	_event_loop
.subsections_via_symbols
