	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function video_thread_handle_packet
_video_thread_handle_packet:            ## @video_thread_handle_packet
	.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	%rbx
	subq	$216, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	-192(%rbp), %rdi
	movl	$168, %edx
	callq	_memcpy
	xorl	%r14d, %r14d
	movl	-192(%rbp), %eax
	addl	$-128, %eax
	cmpl	$17, %eax
	ja	LBB0_41
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	40(%rbx), %rcx
	xorl	%r14d, %r14d
	movl	$0, %eax
	testq	%rcx, %rcx
	je	LBB0_36
## %bb.3:
	movq	8(%rcx), %rcx
	movl	$0, %eax
	testq	%rcx, %rcx
	je	LBB0_36
## %bb.4:
	movq	16(%rbx), %rdi
	movl	-44(%rbp), %edx
	movl	-40(%rbp), %esi
	callq	*%rcx
	jmp	LBB0_36
LBB0_5:
	movq	40(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_41
## %bb.6:
	movq	32(%rax), %rax
	jmp	LBB0_21
LBB0_7:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -224(%rbp)
	movq	$0, -208(%rbp)
	movq	16(%rbx), %rdi
	movq	40(%rbx), %rax
	leaq	-224(%rbp), %r15
	movq	%r15, %rsi
	callq	*24(%rax)
	leaq	56(%rbx), %rsi
	movq	%r15, %rdi
	movl	$24, %edx
	callq	_string_is_equal_fast
	testl	%eax, %eax
	je	LBB0_37
## %bb.8:
	movl	$1, 48(%rbx)
	movq	40(%rbx), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_38
## %bb.9:
	movq	16(%rbx), %rdi
	movq	-32(%rbp), %rsi
	movl	52(%rbx), %edx
	callq	*%rcx
	jmp	LBB0_39
LBB0_10:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_41
## %bb.11:
	movq	24(%rax), %rax
	testq	%rax, %rax
	je	LBB0_41
## %bb.12:
	movq	16(%rbx), %rdi
	movl	-76(%rbp), %esi
	movl	-84(%rbp), %ecx
	movl	-80(%rbp), %edx
	callq	*%rax
	jmp	LBB0_41
LBB0_13:
	leaq	-224(%rbp), %rdi
	callq	_video_driver_build_info
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_41
## %bb.14:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_41
## %bb.15:
	movq	16(%rbx), %rdi
	leaq	-104(%rbp), %rcx
	movl	-100(%rbp), %edx
	leaq	-224(%rbp), %rsi
	xorl	%r8d, %r8d
	callq	*%rax
	jmp	LBB0_41
LBB0_16:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_41
## %bb.17:
	movq	16(%rax), %rax
	testq	%rax, %rax
	je	LBB0_41
## %bb.18:
	movq	16(%rbx), %rdi
	movl	-92(%rbp), %edx
	movl	-88(%rbp), %esi
	callq	*%rax
	jmp	LBB0_41
LBB0_19:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_41
## %bb.20:
	movq	8(%rax), %rax
LBB0_21:
	testq	%rax, %rax
	je	LBB0_41
## %bb.22:
	movq	16(%rbx), %rdi
	movl	-96(%rbp), %esi
	callq	*%rax
	jmp	LBB0_41
LBB0_23:
	movq	40(%rbx), %rax
	leaq	92(%rbx), %rdi
	movl	88(%rbx), %esi
	movl	84(%rbx), %edx
	callq	*48(%rax)
	movq	%rax, 16(%rbx)
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, -184(%rbp)
	movq	40(%rbx), %rcx
	leaq	60(%rbx), %rsi
	movq	%rax, %rdi
	callq	*24(%rcx)
	jmp	LBB0_41
LBB0_24:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.25:
	movq	40(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_28
## %bb.26:
	movq	40(%rax), %rax
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	callq	*%rax
LBB0_28:
	movq	$0, 16(%rbx)
	leaq	-192(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_video_thread_reply
	movl	$1, %r14d
	jmp	LBB0_42
LBB0_29:
	movq	-120(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_41
## %bb.30:
	movl	-128(%rbp), %edi
	movl	-132(%rbp), %esi
	movl	-136(%rbp), %edx
	movl	-140(%rbp), %ecx
	movl	-144(%rbp), %r8d
	movl	-152(%rbp), %r10d
	movl	-148(%rbp), %r9d
	movl	%r10d, (%rsp)
	callq	*%rax
	movl	%eax, -112(%rbp)
	jmp	LBB0_41
LBB0_31:
	movq	-168(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_41
## %bb.32:
	movl	-176(%rbp), %edi
	callq	*%rax
	movl	%eax, -160(%rbp)
	jmp	LBB0_41
LBB0_33:
	movq	40(%rbx), %rcx
	xorl	%r14d, %r14d
	movl	$0, %eax
	testq	%rcx, %rcx
	je	LBB0_36
## %bb.34:
	movq	16(%rcx), %rcx
	movl	$0, %eax
	testq	%rcx, %rcx
	je	LBB0_36
## %bb.35:
	movq	16(%rbx), %rdi
	callq	*%rcx
LBB0_36:
	movl	%eax, -184(%rbp)
	jmp	LBB0_41
LBB0_37:
	leaq	-184(%rbp), %rcx
	jmp	LBB0_40
LBB0_38:
	xorl	%eax, %eax
LBB0_39:
	leaq	48(%rbx), %rcx
	movl	%eax, -184(%rbp)
LBB0_40:
	movl	$0, (%rcx)
LBB0_41:
	leaq	-192(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_video_thread_reply
LBB0_42:
	movl	%r14d, %eax
	addq	$216, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_42, LBB0_42-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
LJTI0_0:
	.long	L0_0_set_42
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_16
	.long	L0_0_set_19
	.long	L0_0_set_41
	.long	L0_0_set_41
	.long	L0_0_set_41
	.long	L0_0_set_41
	.long	L0_0_set_41
	.long	L0_0_set_23
	.long	L0_0_set_24
	.long	L0_0_set_29
	.long	L0_0_set_31
	.long	L0_0_set_33
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_video_thread_handle_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function video_thread_handle_packet
_video_thread_handle_packet:            ; @video_thread_handle_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	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
	mov	x19, x0
	add	x8, sp, #32
	ldp	q0, q1, [x1, #128]
	ldp	q3, q2, [x1, #96]
	stp	q2, q0, [x8, #112]
	str	q1, [x8, #144]
	ldr	x8, [x1, #160]
	str	x8, [sp, #192]
	ldp	q0, q1, [x1, #64]
	stp	q0, q1, [sp, #96]
	str	q3, [sp, #128]
	ldp	q0, q1, [x1]
	stp	q0, q1, [sp, #32]
	ldp	q1, q0, [x1, #32]
	stp	q1, q0, [sp, #64]
	ldr	w8, [sp, #32]
	sub	w8, w8, #128
	cmp	w8, #17
	b.hi	LBB0_38
; %bb.1:
	mov	w0, #0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_35
; %bb.3:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_35
; %bb.4:
	ldr	x0, [x19, #16]
	ldp	w2, w1, [sp, #180]
	blr	x8
	str	w0, [sp, #40]
	b	LBB0_38
LBB0_5:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_38
; %bb.6:
	ldr	x8, [x8, #32]
	cbnz	x8, LBB0_21
	b	LBB0_38
LBB0_7:
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
	ldr	x8, [x19, #40]
	ldr	x8, [x8, #24]
	ldr	x0, [x19, #16]
	add	x1, sp, #8
	blr	x8
	add	x1, x19, #56
	add	x0, sp, #8
	mov	w2, #24
	bl	_string_is_equal_fast
	cbz	w0, LBB0_36
; %bb.8:
	mov	w8, #1
	mov	x20, x19
	str	w8, [x20, #48]!
	ldur	x8, [x20, #-8]
	ldr	x8, [x8]
	cbz	x8, LBB0_37
; %bb.9:
	ldr	x0, [x19, #16]
	ldr	x1, [sp, #192]
	ldr	w2, [x19, #52]
	blr	x8
	str	w0, [sp, #40]
	str	wzr, [x20]
	b	LBB0_38
LBB0_10:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_38
; %bb.11:
	ldr	x8, [x8, #24]
	cbz	x8, LBB0_38
; %bb.12:
	ldr	x0, [x19, #16]
	ldp	w2, w1, [sp, #144]
	ldr	w3, [sp, #140]
	blr	x8
	b	LBB0_38
LBB0_13:
	add	x0, sp, #8
	bl	_video_driver_build_info
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_38
; %bb.14:
	ldr	x8, [x8]
	cbz	x8, LBB0_38
; %bb.15:
	ldr	x0, [x19, #16]
	add	x9, sp, #32
	add	x3, x9, #88
	ldr	w2, [sp, #124]
	add	x1, sp, #8
	mov	x4, #0
	blr	x8
	b	LBB0_38
LBB0_16:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_38
; %bb.17:
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_38
; %bb.18:
	ldr	x0, [x19, #16]
	ldp	w2, w1, [sp, #132]
	blr	x8
	b	LBB0_38
LBB0_19:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_38
; %bb.20:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_38
LBB0_21:
	ldr	x0, [x19, #16]
	ldr	w1, [sp, #128]
	blr	x8
	b	LBB0_38
LBB0_22:
	ldr	x8, [x19, #40]
	ldr	x8, [x8, #48]
	add	x0, x19, #92
	ldp	w2, w1, [x19, #84]
	blr	x8
	str	x0, [x19, #16]
	cmp	x0, #0
	cset	w8, ne
	str	w8, [sp, #40]
	ldr	x8, [x19, #40]
	ldr	x8, [x8, #24]
	add	x1, x19, #60
	blr	x8
	b	LBB0_38
LBB0_23:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_27
; %bb.24:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_27
; %bb.25:
	ldr	x8, [x8, #40]
	cbz	x8, LBB0_27
; %bb.26:
	blr	x8
LBB0_27:
	str	xzr, [x19, #16]
	add	x1, sp, #32
	mov	x0, x19
	bl	_video_thread_reply
	mov	w0, #1
	b	LBB0_39
LBB0_28:
	ldr	x8, [sp, #104]
	cbz	x8, LBB0_38
; %bb.29:
	ldp	w1, w0, [sp, #92]
	ldp	w3, w2, [sp, #84]
	ldp	w5, w4, [sp, #76]
	ldr	w6, [sp, #72]
	blr	x8
	str	w0, [sp, #112]
	b	LBB0_38
LBB0_30:
	ldr	x8, [sp, #56]
	cbz	x8, LBB0_38
; %bb.31:
	ldr	w0, [sp, #48]
	blr	x8
	str	w0, [sp, #64]
	b	LBB0_38
LBB0_32:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_35
; %bb.33:
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_35
; %bb.34:
	ldr	x0, [x19, #16]
	blr	x8
	str	w0, [sp, #40]
	b	LBB0_38
LBB0_35:
	mov	w0, #0
	str	wzr, [sp, #40]
	b	LBB0_38
LBB0_36:
	add	x8, sp, #32
	orr	x20, x8, #0x8
	str	wzr, [x20]
	b	LBB0_38
LBB0_37:
	mov	w0, #0
	str	wzr, [sp, #40]
	str	wzr, [x20]
LBB0_38:
	add	x1, sp, #32
	mov	x0, x19
	bl	_video_thread_reply
	mov	w0, #0
LBB0_39:
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_39-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_19-LBB0_2)>>2
	.byte	(LBB0_38-LBB0_2)>>2
	.byte	(LBB0_38-LBB0_2)>>2
	.byte	(LBB0_38-LBB0_2)>>2
	.byte	(LBB0_38-LBB0_2)>>2
	.byte	(LBB0_38-LBB0_2)>>2
	.byte	(LBB0_22-LBB0_2)>>2
	.byte	(LBB0_23-LBB0_2)>>2
	.byte	(LBB0_28-LBB0_2)>>2
	.byte	(LBB0_30-LBB0_2)>>2
	.byte	(LBB0_32-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_video_thread_handle_packet
.subsections_via_symbols
