	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function h264_frame_start
LCPI0_0:
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
LCPI0_1:
	.long	4294967292                      ## 0xfffffffc
	.long	4294967292                      ## 0xfffffffc
	.long	4294967292                      ## 0xfffffffc
	.long	4294967292                      ## 0xfffffffc
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_h264_frame_start:                      ## @h264_frame_start
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	(%rdi), %r14d
	movl	160(%rdi), %edi
	callq	_ff_thread_can_start_frame
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_release_unused_pictures
	movq	$0, 48(%r15)
	movq	%r15, %rdi
	callq	_find_unused_picture
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_10
## %bb.2:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	8(%r15), %rax
	movq	152(%r15), %r13
	movl	%ebx, %ecx
	leaq	(%rcx,%rcx,4), %r14
	shlq	$4, %r14
	xorl	%ecx, %ecx
	cmpq	$0, 144(%r15)
	cmoveq	%rax, %rcx
	movq	%rcx, (%r13,%r14)
	movslq	136(%r15), %rcx
	leal	1(%rcx), %edx
	movl	%edx, 136(%r15)
	movq	32(%r13,%r14), %rdx
	movq	%rcx, 40(%rdx)
	movq	_PICT_FRAME@GOTPCREL(%rip), %rsi
	xorl	%ecx, %ecx
	cmpq	(%rsi), %rax
	leaq	(%r13,%r14), %r12
	setne	%cl
	movl	%ecx, 8(%r13,%r14)
	movl	132(%r15), %eax
	movl	%eax, 72(%r13,%r14)
	movq	$0, 32(%rdx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%r13,%r14)
	movq	$0, 64(%r13,%r14)
	movl	64(%r15), %eax
	movl	%eax, 40(%r13,%r14)
	movq	96(%r15), %rax
	movl	20(%rax), %eax
	movl	%eax, 24(%rdx)
	movdqu	116(%r15), %xmm0
	movdqu	%xmm0, 8(%rdx)
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_alloc_picture
	testl	%eax, %eax
	js	LBB0_12
## %bb.3:
	movq	%r12, 48(%r15)
	leaq	112(%r15), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ff_h264_unref_picture
	movq	_CONFIG_ERROR_RESILIENCE@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	je	LBB0_5
## %bb.4:
	movq	96(%r15), %rdi
	addq	$16, %rdi
	xorl	%esi, %esi
	callq	_ff_h264_set_erpic
LBB0_5:
	movq	48(%r15), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_ff_h264_ref_picture
	testl	%eax, %eax
	js	LBB0_12
## %bb.6:
	movq	%r15, %r9
	movl	16(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_17
## %bb.7:
	movq	%r9, %rcx
	movq	48(%r9), %rdx
	movq	96(%r9), %r8
	movq	32(%rdx), %rdx
	movq	(%rdx), %rdx
	cmpl	$1, %eax
	jne	LBB0_13
## %bb.8:
	xorl	%esi, %esi
	jmp	LBB0_15
LBB0_9:
	movl	160(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movl	$-1, %ebx
	jmp	LBB0_36
LBB0_10:
	movl	160(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_av_log
	jmp	LBB0_36
LBB0_12:
	movl	%eax, %ebx
	jmp	LBB0_36
LBB0_13:
	movl	%eax, %edi
	andl	$-2, %edi
	leaq	28(%r8), %rbx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx), %ecx
	movl	%ecx, -28(%rbx)
	movl	4(%rdx), %ecx
	movl	%ecx, -24(%rbx)
	movl	(%rdx), %ecx
	movl	%ecx, -4(%rbx)
	movl	4(%rdx), %ecx
	movl	%ecx, (%rbx)
	addq	$2, %rsi
	addq	$48, %rbx
	cmpq	%rsi, %rdi
	jne	LBB0_14
LBB0_15:
	testb	$1, %al
	je	LBB0_17
## %bb.16:
	movl	(%rdx), %eax
	leaq	(%rsi,%rsi,2), %rcx
	movl	%eax, (%r8,%rcx,8)
	movl	4(%rdx), %eax
	movl	%eax, 4(%r8,%rcx,8)
LBB0_17:
	leaq	(%r14,%r13), %rbx
	addq	$32, %rbx
	cmpq	$0, (%r12)
	movq	%r9, %r14
	je	LBB0_20
## %bb.18:
	cmpq	$0, 104(%r14)
	je	LBB0_20
## %bb.19:
	movq	96(%r14), %rdi
	addq	$8, %rdi
	callq	_ff_er_frame_start
	movq	96(%r14), %rdi
	addq	$12, %rdi
	xorl	%esi, %esi
	callq	_ff_h264_set_erpic
	movq	96(%r14), %rdi
	addq	$8, %rdi
	xorl	%esi, %esi
	callq	_ff_h264_set_erpic
LBB0_20:
	movq	_scan8@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%rbx), %rax
	movq	(%rax), %r11
	movq	24(%r14), %rax
	leaq	256(%rax), %rbx
	leaq	64(%rsi), %rcx
	leaq	4(%r11), %r10
	cmpq	%rcx, %rax
	setb	%r8b
	cmpq	%rbx, %rsi
	setb	%r9b
	cmpq	%r10, %rax
	setb	%dl
	cmpq	%rbx, %r11
	setb	%bl
	testb	%r9b, %r8b
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jne	LBB0_23
## %bb.21:
	andb	%bl, %dl
	jne	LBB0_23
## %bb.22:
	movdqu	(%rsi), %xmm3
	movd	(%rsi), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	psubd	%xmm0, %xmm3
	movdqa	%xmm3, %xmm4
	pslld	$2, %xmm4
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [28,28,28,28]
	pand	%xmm0, %xmm4
	movd	%ecx, %xmm1
	pslld	%xmm1, %xmm4
	movd	(%r11), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	pshufd	$0, %xmm2, %xmm5                ## xmm5 = xmm2[0,0,0,0]
	psrad	$1, %xmm3
	movdqa	LCPI0_1(%rip), %xmm2            ## xmm2 = [4294967292,4294967292,4294967292,4294967292]
	pand	%xmm2, %xmm3
	pmulld	%xmm5, %xmm3
	paddd	%xmm4, %xmm3
	movdqu	%xmm3, (%rax)
	movdqu	(%rsi), %xmm3
	movd	(%rsi), %xmm4                   ## xmm4 = mem[0],zero,zero,zero
	pshufd	$0, %xmm4, %xmm4                ## xmm4 = xmm4[0,0,0,0]
	psubd	%xmm4, %xmm3
	movdqa	%xmm3, %xmm4
	pslld	$2, %xmm4
	pand	%xmm0, %xmm4
	pslld	%xmm1, %xmm4
	movd	(%r11), %xmm5                   ## xmm5 = mem[0],zero,zero,zero
	pslld	$3, %xmm5
	pshufd	$0, %xmm5, %xmm5                ## xmm5 = xmm5[0,0,0,0]
	psrad	$3, %xmm3
	pmulld	%xmm5, %xmm3
	paddd	%xmm4, %xmm3
	movdqu	%xmm3, 192(%rax)
	movdqu	16(%rsi), %xmm3
	movd	(%rsi), %xmm4                   ## xmm4 = mem[0],zero,zero,zero
	pshufd	$0, %xmm4, %xmm4                ## xmm4 = xmm4[0,0,0,0]
	psubd	%xmm4, %xmm3
	movdqa	%xmm3, %xmm4
	pslld	$2, %xmm4
	pand	%xmm0, %xmm4
	pslld	%xmm1, %xmm4
	movd	(%r11), %xmm5                   ## xmm5 = mem[0],zero,zero,zero
	pshufd	$0, %xmm5, %xmm5                ## xmm5 = xmm5[0,0,0,0]
	psrad	$1, %xmm3
	pand	%xmm2, %xmm3
	pmulld	%xmm5, %xmm3
	paddd	%xmm4, %xmm3
	movdqu	%xmm3, 16(%rax)
	movdqu	16(%rsi), %xmm3
	movd	(%rsi), %xmm4                   ## xmm4 = mem[0],zero,zero,zero
	pshufd	$0, %xmm4, %xmm4                ## xmm4 = xmm4[0,0,0,0]
	psubd	%xmm4, %xmm3
	movdqa	%xmm3, %xmm4
	pslld	$2, %xmm4
	pand	%xmm0, %xmm4
	pslld	%xmm1, %xmm4
	movd	(%r11), %xmm5                   ## xmm5 = mem[0],zero,zero,zero
	pslld	$3, %xmm5
	pshufd	$0, %xmm5, %xmm5                ## xmm5 = xmm5[0,0,0,0]
	psrad	$3, %xmm3
	pmulld	%xmm5, %xmm3
	paddd	%xmm4, %xmm3
	movdqu	%xmm3, 208(%rax)
	movdqu	32(%rsi), %xmm3
	movd	(%rsi), %xmm4                   ## xmm4 = mem[0],zero,zero,zero
	pshufd	$0, %xmm4, %xmm4                ## xmm4 = xmm4[0,0,0,0]
	psubd	%xmm4, %xmm3
	movdqa	%xmm3, %xmm4
	pslld	$2, %xmm4
	pand	%xmm0, %xmm4
	pslld	%xmm1, %xmm4
	movd	(%r11), %xmm5                   ## xmm5 = mem[0],zero,zero,zero
	pshufd	$0, %xmm5, %xmm5                ## xmm5 = xmm5[0,0,0,0]
	psrad	$1, %xmm3
	pand	%xmm2, %xmm3
	pmulld	%xmm5, %xmm3
	paddd	%xmm4, %xmm3
	movdqu	%xmm3, 32(%rax)
	movdqu	32(%rsi), %xmm3
	movd	(%rsi), %xmm4                   ## xmm4 = mem[0],zero,zero,zero
	pshufd	$0, %xmm4, %xmm4                ## xmm4 = xmm4[0,0,0,0]
	psubd	%xmm4, %xmm3
	movdqa	%xmm3, %xmm4
	pslld	$2, %xmm4
	pand	%xmm0, %xmm4
	pslld	%xmm1, %xmm4
	movd	(%r11), %xmm5                   ## xmm5 = mem[0],zero,zero,zero
	pslld	$3, %xmm5
	pshufd	$0, %xmm5, %xmm5                ## xmm5 = xmm5[0,0,0,0]
	psrad	$3, %xmm3
	pmulld	%xmm5, %xmm3
	paddd	%xmm4, %xmm3
	movdqu	%xmm3, 224(%rax)
	movdqu	48(%rsi), %xmm3
	movd	(%rsi), %xmm4                   ## xmm4 = mem[0],zero,zero,zero
	pshufd	$0, %xmm4, %xmm4                ## xmm4 = xmm4[0,0,0,0]
	psubd	%xmm4, %xmm3
	movdqa	%xmm3, %xmm4
	pslld	$2, %xmm4
	pand	%xmm0, %xmm4
	pslld	%xmm1, %xmm4
	movd	(%r11), %xmm5                   ## xmm5 = mem[0],zero,zero,zero
	pshufd	$0, %xmm5, %xmm5                ## xmm5 = xmm5[0,0,0,0]
	psrad	$1, %xmm3
	pand	%xmm2, %xmm3
	pmulld	%xmm5, %xmm3
	paddd	%xmm4, %xmm3
	movdqu	%xmm3, 48(%rax)
	movdqu	48(%rsi), %xmm2
	movd	(%rsi), %xmm3                   ## xmm3 = mem[0],zero,zero,zero
	pshufd	$0, %xmm3, %xmm3                ## xmm3 = xmm3[0,0,0,0]
	psubd	%xmm3, %xmm2
	movdqa	%xmm2, %xmm3
	pslld	$2, %xmm3
	pand	%xmm0, %xmm3
	pslld	%xmm1, %xmm3
	movd	(%r11), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pslld	$3, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	psrad	$3, %xmm2
	pmulld	%xmm0, %xmm2
	paddd	%xmm3, %xmm2
	movdqu	%xmm2, 240(%rax)
	jmp	LBB0_25
LBB0_23:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rbx,4), %edx
	subl	(%rsi), %edx
	leal	(,%rdx,4), %edi
	andl	$28, %edi
	shll	%cl, %edi
	sarl	%edx
	andl	$-4, %edx
	imull	(%r11), %edx
	addl	%edi, %edx
	movl	%edx, (%rax,%rbx,4)
	movl	(%rsi,%rbx,4), %edx
	subl	(%rsi), %edx
	leal	(,%rdx,4), %edi
	andl	$28, %edi
	shll	%cl, %edi
	shrl	$3, %edx
	imull	(%r11), %edx
	leal	(%rdi,%rdx,8), %edx
	movl	%edx, 192(%rax,%rbx,4)
	incq	%rbx
	cmpq	$16, %rbx
	jne	LBB0_24
LBB0_25:
	leaq	64(%rax), %rdx
	leaq	384(%rax), %rbx
	addq	$8, %r11
	cmpq	%rsi, %rax
	setb	%r8b
	cmpq	%rbx, %rsi
	setb	%r9b
	cmpq	%r11, %rdx
	setb	%dl
	cmpq	%rbx, %r10
	setb	%bl
	testb	%r9b, %r8b
	jne	LBB0_28
## %bb.26:
	andb	%bl, %dl
	jne	LBB0_28
## %bb.27:
	movdqu	(%rsi), %xmm3
	movd	(%rsi), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	psubd	%xmm0, %xmm3
	movdqa	%xmm3, %xmm4
	pslld	$2, %xmm4
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [28,28,28,28]
	pand	%xmm0, %xmm4
	movd	%ecx, %xmm1
	pslld	%xmm1, %xmm4
	movd	(%r10), %xmm2                   ## xmm2 = mem[0],zero,zero,zero
	pshufd	$0, %xmm2, %xmm5                ## xmm5 = xmm2[0,0,0,0]
	psrad	$1, %xmm3
	movdqa	LCPI0_1(%rip), %xmm2            ## xmm2 = [4294967292,4294967292,4294967292,4294967292]
	pand	%xmm2, %xmm3
	pmulld	%xmm5, %xmm3
	paddd	%xmm4, %xmm3
	movdqu	%xmm3, 128(%rax)
	movdqu	%xmm3, 64(%rax)
	movdqu	(%rsi), %xmm3
	movd	(%rsi), %xmm4                   ## xmm4 = mem[0],zero,zero,zero
	pshufd	$0, %xmm4, %xmm4                ## xmm4 = xmm4[0,0,0,0]
	psubd	%xmm4, %xmm3
	movdqa	%xmm3, %xmm4
	pslld	$2, %xmm4
	pand	%xmm0, %xmm4
	pslld	%xmm1, %xmm4
	movd	(%r10), %xmm5                   ## xmm5 = mem[0],zero,zero,zero
	pslld	$3, %xmm5
	pshufd	$0, %xmm5, %xmm5                ## xmm5 = xmm5[0,0,0,0]
	psrad	$3, %xmm3
	pmulld	%xmm5, %xmm3
	paddd	%xmm4, %xmm3
	movdqu	%xmm3, 320(%rax)
	movdqu	%xmm3, 256(%rax)
	movdqu	16(%rsi), %xmm3
	movd	(%rsi), %xmm4                   ## xmm4 = mem[0],zero,zero,zero
	pshufd	$0, %xmm4, %xmm4                ## xmm4 = xmm4[0,0,0,0]
	psubd	%xmm4, %xmm3
	movdqa	%xmm3, %xmm4
	pslld	$2, %xmm4
	pand	%xmm0, %xmm4
	pslld	%xmm1, %xmm4
	movd	(%r10), %xmm5                   ## xmm5 = mem[0],zero,zero,zero
	pshufd	$0, %xmm5, %xmm5                ## xmm5 = xmm5[0,0,0,0]
	psrad	$1, %xmm3
	pand	%xmm2, %xmm3
	pmulld	%xmm5, %xmm3
	paddd	%xmm4, %xmm3
	movdqu	%xmm3, 144(%rax)
	movdqu	%xmm3, 80(%rax)
	movdqu	16(%rsi), %xmm3
	movd	(%rsi), %xmm4                   ## xmm4 = mem[0],zero,zero,zero
	pshufd	$0, %xmm4, %xmm4                ## xmm4 = xmm4[0,0,0,0]
	psubd	%xmm4, %xmm3
	movdqa	%xmm3, %xmm4
	pslld	$2, %xmm4
	pand	%xmm0, %xmm4
	pslld	%xmm1, %xmm4
	movd	(%r10), %xmm5                   ## xmm5 = mem[0],zero,zero,zero
	pslld	$3, %xmm5
	pshufd	$0, %xmm5, %xmm5                ## xmm5 = xmm5[0,0,0,0]
	psrad	$3, %xmm3
	pmulld	%xmm5, %xmm3
	paddd	%xmm4, %xmm3
	movdqu	%xmm3, 336(%rax)
	movdqu	%xmm3, 272(%rax)
	movdqu	32(%rsi), %xmm3
	movd	(%rsi), %xmm4                   ## xmm4 = mem[0],zero,zero,zero
	pshufd	$0, %xmm4, %xmm4                ## xmm4 = xmm4[0,0,0,0]
	psubd	%xmm4, %xmm3
	movdqa	%xmm3, %xmm4
	pslld	$2, %xmm4
	pand	%xmm0, %xmm4
	pslld	%xmm1, %xmm4
	movd	(%r10), %xmm5                   ## xmm5 = mem[0],zero,zero,zero
	pshufd	$0, %xmm5, %xmm5                ## xmm5 = xmm5[0,0,0,0]
	psrad	$1, %xmm3
	pand	%xmm2, %xmm3
	pmulld	%xmm5, %xmm3
	paddd	%xmm4, %xmm3
	movdqu	%xmm3, 160(%rax)
	movdqu	%xmm3, 96(%rax)
	movdqu	32(%rsi), %xmm3
	movd	(%rsi), %xmm4                   ## xmm4 = mem[0],zero,zero,zero
	pshufd	$0, %xmm4, %xmm4                ## xmm4 = xmm4[0,0,0,0]
	psubd	%xmm4, %xmm3
	movdqa	%xmm3, %xmm4
	pslld	$2, %xmm4
	pand	%xmm0, %xmm4
	pslld	%xmm1, %xmm4
	movd	(%r10), %xmm5                   ## xmm5 = mem[0],zero,zero,zero
	pslld	$3, %xmm5
	pshufd	$0, %xmm5, %xmm5                ## xmm5 = xmm5[0,0,0,0]
	psrad	$3, %xmm3
	pmulld	%xmm5, %xmm3
	paddd	%xmm4, %xmm3
	movdqu	%xmm3, 352(%rax)
	movdqu	%xmm3, 288(%rax)
	movdqu	48(%rsi), %xmm3
	movd	(%rsi), %xmm4                   ## xmm4 = mem[0],zero,zero,zero
	pshufd	$0, %xmm4, %xmm4                ## xmm4 = xmm4[0,0,0,0]
	psubd	%xmm4, %xmm3
	movdqa	%xmm3, %xmm4
	pslld	$2, %xmm4
	pand	%xmm0, %xmm4
	pslld	%xmm1, %xmm4
	movd	(%r10), %xmm5                   ## xmm5 = mem[0],zero,zero,zero
	pshufd	$0, %xmm5, %xmm5                ## xmm5 = xmm5[0,0,0,0]
	psrad	$1, %xmm3
	pand	%xmm2, %xmm3
	pmulld	%xmm5, %xmm3
	paddd	%xmm4, %xmm3
	movdqu	%xmm3, 176(%rax)
	movdqu	%xmm3, 112(%rax)
	movdqu	48(%rsi), %xmm2
	movd	(%rsi), %xmm3                   ## xmm3 = mem[0],zero,zero,zero
	pshufd	$0, %xmm3, %xmm3                ## xmm3 = xmm3[0,0,0,0]
	psubd	%xmm3, %xmm2
	movdqa	%xmm2, %xmm3
	pslld	$2, %xmm3
	pand	%xmm0, %xmm3
	pslld	%xmm1, %xmm3
	movd	(%r10), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pslld	$3, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	psrad	$3, %xmm2
	pmulld	%xmm0, %xmm2
	paddd	%xmm3, %xmm2
	movdqu	%xmm2, 368(%rax)
	movdqu	%xmm2, 304(%rax)
	jmp	LBB0_30
LBB0_28:
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rdi,4), %edx
	subl	(%rsi), %edx
	leal	(,%rdx,4), %ebx
	andl	$28, %ebx
	shll	%cl, %ebx
	sarl	%edx
	andl	$-4, %edx
	imull	(%r10), %edx
	addl	%ebx, %edx
	movl	%edx, 128(%rax,%rdi,4)
	movl	%edx, 64(%rax,%rdi,4)
	movl	(%rsi,%rdi,4), %edx
	subl	(%rsi), %edx
	leal	(,%rdx,4), %ebx
	andl	$28, %ebx
	shll	%cl, %ebx
	shrl	$3, %edx
	imull	(%r10), %edx
	leal	(%rbx,%rdx,8), %edx
	movl	%edx, 320(%rax,%rdi,4)
	movl	%edx, 256(%rax,%rdi,4)
	incq	%rdi
	cmpq	$16, %rdi
	jne	LBB0_29
LBB0_30:
	movq	48(%r14), %rax
	movq	$0, (%rax)
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	24(%rax), %rdx
	movl	%ecx, 4(%rdx)
	movl	%ecx, (%rdx)
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, 80(%r14)
	movq	72(%r14), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_32
## %bb.31:
	movq	8(%r14), %rdx
	xorl	%ecx, %ecx
	movq	_PICT_FRAME@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	sete	%cl
	jmp	LBB0_33
LBB0_32:
	xorl	%ecx, %ecx
LBB0_33:
	movl	%ecx, 32(%r14)
	movq	56(%r14), %rcx
	testq	%rcx, %rcx
	js	LBB0_35
## %bb.34:
	movq	%rcx, 40(%r14)
LBB0_35:
	xorl	%edi, %edi
	cmpq	$0, 16(%rax)
	sete	%dil
	callq	_assert
	xorl	%ebx, %ebx
LBB0_36:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Attempt to start a frame outside SETUP state\n"

L_.str.1:                               ## @.str.1
	.asciz	"no frame buffer available\n"

	.comm	_PICT_FRAME,8,3                 ## @PICT_FRAME
	.comm	_CONFIG_ERROR_RESILIENCE,8,3    ## @CONFIG_ERROR_RESILIENCE
	.comm	_scan8,8,3                      ## @scan8
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.no_dead_strip	_h264_frame_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function h264_frame_start
lCPI0_0:
	.long	3                               ; 0x3
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_h264_frame_start:                      ; @h264_frame_start
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	w23, [x0]
	ldr	w0, [x0, #160]
	bl	_ff_thread_can_start_frame
	cbz	w0, LBB0_15
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	bl	_release_unused_pictures
	str	xzr, [x19, #48]
	mov	x0, x19
	bl	_find_unused_picture
	mov	x20, x0
	tbnz	w0, #31, LBB0_16
; %bb.2:
	mov	w8, #80
	ldp	x10, x9, [x19, #144]
	umaddl	x21, w20, w8, x9
	ldr	x8, [x19, #8]
	cmp	x10, #0
	csel	x9, x8, xzr, eq
	str	x9, [x21]
	ldp	w10, w9, [x19, #132]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	w11, w9, #1
	str	w11, [x19, #136]
Lloh0:
	adrp	x22, _PICT_FRAME@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PICT_FRAME@GOTPAGEOFF]
	ldr	x11, [x22]
	cmp	x8, x11
	mov	x24, x21
	cset	w8, ne
	str	w8, [x21, #8]
	ldr	x8, [x24, #32]!
	str	w10, [x21, #72]
	stp	xzr, x9, [x8, #32]
	stp	xzr, xzr, [x21, #56]
	str	xzr, [x21, #48]
	ldr	w9, [x19, #64]
	str	w9, [x21, #40]
	ldr	x9, [x19, #96]
	ldr	w9, [x9, #20]
	str	w9, [x8, #24]
	ldur	q0, [x19, #116]
	stur	q0, [x8, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_alloc_picture
	tbnz	w0, #31, LBB0_17
; %bb.3:
	str	x21, [x19, #48]
	add	x20, x19, #112
	mov	x0, x19
	mov	x1, x20
	bl	_ff_h264_unref_picture
Lloh2:
	adrp	x21, _CONFIG_ERROR_RESILIENCE@GOTPAGE
Lloh3:
	ldr	x21, [x21, _CONFIG_ERROR_RESILIENCE@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	x8, [x19, #96]
	add	x0, x8, #16
	mov	x1, #0
	bl	_ff_h264_set_erpic
LBB0_5:
	ldr	x2, [x19, #48]
	mov	x0, x19
	mov	x1, x20
	bl	_ff_h264_ref_picture
	tbnz	w0, #31, LBB0_17
; %bb.6:
	ldr	w8, [x19, #16]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	ldr	x9, [x19, #48]
	ldr	x9, [x9, #32]
	ldr	x9, [x9]
	ldr	x10, [x19, #96]
	add	x10, x10, #4
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	stur	w11, [x10, #-4]
	ldr	w11, [x9, #4]
	str	w11, [x10], #24
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	ldr	x8, [x21]
	cbz	x8, LBB0_12
; %bb.10:
	ldr	x8, [x19, #104]
	cbz	x8, LBB0_12
; %bb.11:
	ldr	x8, [x19, #96]
	add	x0, x8, #8
	bl	_ff_er_frame_start
	ldr	x8, [x19, #96]
	add	x0, x8, #12
	mov	x1, #0
	bl	_ff_h264_set_erpic
	ldr	x8, [x19, #96]
	add	x0, x8, #8
	mov	x1, #0
	bl	_ff_h264_set_erpic
LBB0_12:
Lloh4:
	adrp	x8, _scan8@GOTPAGE
Lloh5:
	ldr	x8, [x8, _scan8@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldr	x9, [x24]
	ldr	x11, [x9]
	ldr	x9, [x19, #24]
	add	x10, x9, #256
	add	x12, x8, #64
	add	x13, x11, #4
	cmp	x9, x13
	ccmp	x11, x10, #2, lo
	cset	w13, lo
	cmp	x8, x10
	ccmp	x9, x12, #2, lo
	ccmp	w13, #0, #0, hs
	dup.4s	v0, w23
	adrp	x10, lCPI0_0@PAGE
	b.eq	LBB0_18
; %bb.13:
	mov	x12, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x8, x12]
	ldr	w14, [x8]
	sub	w13, w13, w14
	ubfiz	w14, w13, #2, #3
	lsl	w14, w14, w23
	ldr	w15, [x11]
	asr	w13, w13, #1
	and	w13, w13, #0xfffffffc
	madd	w13, w13, w15, w14
	add	x14, x9, x12
	str	w13, [x14]
	ldr	w13, [x8, x12]
	ldr	w15, [x8]
	sub	w13, w13, w15
	ubfiz	w15, w13, #2, #3
	lsl	w15, w15, w23
	ldr	w16, [x11]
	lsr	w13, w13, #3
	mul	w13, w16, w13
	add	w13, w15, w13, lsl #3
	str	w13, [x14, #192]
	add	x12, x12, #4
	cmp	x12, #64
	b.ne	LBB0_14
	b	LBB0_19
LBB0_15:
	ldr	w0, [x19, #160]
Lloh7:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	mov	w20, #-1
	b	LBB0_29
LBB0_16:
	ldr	w0, [x19, #160]
Lloh12:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str.1@PAGE
Lloh16:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_av_log
	b	LBB0_29
LBB0_17:
	mov	x20, x0
	b	LBB0_29
LBB0_18:
	movi.4s	v1, #28
	ldr	w12, [x11]
	ld1r.4s	{ v2 }, [x8]
	ldp	q3, q4, [x8]
	sub.4s	v3, v3, v2
	sshr.4s	v5, v3, #1
	bic.4s	v5, #3
	dup.4s	v6, w12
	shl.4s	v7, v3, #2
	and.16b	v7, v7, v1
	ushl.4s	v7, v7, v0
	mov.16b	v16, v7
	mla.4s	v16, v5, v6
	ldr	q5, [x10, lCPI0_0@PAGEOFF]
	sshr.4s	v3, v3, #3
	fmov	s17, w12
	ushl.4s	v5, v17, v5
	mla.4s	v7, v3, v5[0]
	sub.4s	v3, v4, v2
	sshr.4s	v4, v3, #1
	bic.4s	v4, #3
	shl.4s	v17, v3, #2
	and.16b	v17, v17, v1
	ushl.4s	v17, v17, v0
	mov.16b	v18, v17
	mla.4s	v18, v4, v6
	stp	q16, q18, [x9]
	sshr.4s	v3, v3, #3
	mla.4s	v17, v3, v5[0]
	stp	q7, q17, [x9, #192]
	ldp	q3, q4, [x8, #32]
	sub.4s	v3, v3, v2
	shl.4s	v7, v3, #2
	and.16b	v7, v7, v1
	ushl.4s	v7, v7, v0
	sshr.4s	v16, v3, #1
	bic.4s	v16, #3
	mov.16b	v17, v7
	mla.4s	v17, v16, v6
	sshr.4s	v3, v3, #3
	mla.4s	v7, v3, v5[0]
	sub.4s	v2, v4, v2
	shl.4s	v3, v2, #2
	and.16b	v1, v3, v1
	ushl.4s	v1, v1, v0
	sshr.4s	v3, v2, #1
	bic.4s	v3, #3
	mov.16b	v4, v1
	mla.4s	v4, v3, v6
	stp	q17, q4, [x9, #32]
	sshr.4s	v2, v2, #3
	mla.4s	v1, v2, v5[0]
	stp	q7, q1, [x9, #224]
LBB0_19:
	add	x12, x11, #4
	add	x13, x9, #64
	add	x14, x9, #384
	add	x11, x11, #8
	cmp	x13, x11
	ccmp	x12, x14, #2, lo
	cset	w11, lo
	cmp	x8, x14
	ccmp	x9, x8, #2, lo
	b.lo	LBB0_22
; %bb.20:
	cbnz	w11, LBB0_22
; %bb.21:
	movi.4s	v1, #28
	ldr	w11, [x12]
	ld1r.4s	{ v2 }, [x8]
	ldp	q3, q4, [x8]
	sub.4s	v3, v3, v2
	sshr.4s	v5, v3, #1
	dup.4s	v6, w11
	bic.4s	v5, #3
	shl.4s	v7, v3, #2
	and.16b	v7, v7, v1
	ushl.4s	v7, v7, v0
	mov.16b	v16, v7
	mla.4s	v16, v5, v6
	ldr	q5, [x10, lCPI0_0@PAGEOFF]
	sshr.4s	v3, v3, #3
	fmov	s17, w11
	ushl.4s	v17, v17, v5
	mla.4s	v7, v3, v17[0]
	sub.4s	v3, v4, v2
	sshr.4s	v4, v3, #1
	bic.4s	v4, #3
	shl.4s	v18, v3, #2
	and.16b	v18, v18, v1
	ushl.4s	v18, v18, v0
	mov.16b	v19, v18
	mla.4s	v19, v4, v6
	stp	q16, q19, [x9, #128]
	stp	q16, q19, [x9, #64]
	sshr.4s	v3, v3, #3
	mla.4s	v18, v3, v17[0]
	stp	q7, q18, [x9, #320]
	stp	q7, q18, [x9, #256]
	ldp	q3, q4, [x8, #32]
	sub.4s	v2, v3, v2
	shl.4s	v3, v2, #2
	and.16b	v3, v3, v1
	ushl.4s	v3, v3, v0
	sshr.4s	v7, v2, #1
	bic.4s	v7, #3
	mov.16b	v16, v3
	mla.4s	v16, v7, v6
	sshr.4s	v2, v2, #3
	ld1r.4s	{ v6 }, [x8]
	mla.4s	v3, v2, v17[0]
	sub.4s	v2, v4, v6
	shl.4s	v4, v2, #2
	and.16b	v1, v4, v1
	ushl.4s	v0, v1, v0
	ldr	w8, [x12]
	dup.4s	v1, w8
	sshr.4s	v4, v2, #1
	bic.4s	v4, #3
	mov.16b	v6, v0
	mla.4s	v6, v4, v1
	stp	q16, q6, [x9, #160]
	stp	q16, q6, [x9, #96]
	fmov	s1, w8
	ushl.4s	v1, v1, v5
	sshr.4s	v2, v2, #3
	mla.4s	v0, v2, v1[0]
	stp	q3, q0, [x9, #352]
	stp	q3, q0, [x9, #288]
	b	LBB0_24
LBB0_22:
	mov	x10, #0
	add	x9, x9, #320
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8, x10]
	ldr	w13, [x8]
	sub	w11, w11, w13
	ubfiz	w13, w11, #2, #3
	lsl	w13, w13, w23
	ldr	w14, [x12]
	asr	w11, w11, #1
	and	w11, w11, #0xfffffffc
	madd	w11, w11, w14, w13
	add	x13, x9, x10
	stur	w11, [x13, #-192]
	stur	w11, [x13, #-256]
	ldr	w11, [x8, x10]
	ldr	w14, [x8]
	sub	w11, w11, w14
	ubfiz	w14, w11, #2, #3
	lsl	w14, w14, w23
	ldr	w15, [x12]
	lsr	w11, w11, #3
	mul	w11, w15, w11
	add	w11, w14, w11, lsl #3
	str	w11, [x13]
	stur	w11, [x13, #-64]
	add	x10, x10, #4
	cmp	x10, #64
	b.ne	LBB0_23
LBB0_24:
	ldr	x8, [x19, #48]
	str	xzr, [x8]
Lloh17:
	adrp	x9, _INT_MAX@GOTPAGE
Lloh18:
	ldr	x9, [x9, _INT_MAX@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	ldr	x10, [x8, #24]
	stp	w9, w9, [x10]
	stp	xzr, xzr, [x19, #80]
	ldr	x9, [x19, #72]
	ldr	x9, [x9]
	cbz	x9, LBB0_26
; %bb.25:
	ldr	x9, [x19, #8]
	ldr	x10, [x22]
	cmp	x9, x10
	cset	w9, eq
LBB0_26:
	str	w9, [x19, #32]
	ldr	x9, [x19, #56]
	tbnz	x9, #63, LBB0_28
; %bb.27:
	str	x9, [x19, #40]
LBB0_28:
	ldr	x8, [x8, #16]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	mov	w20, #0
LBB0_29:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Attempt to start a frame outside SETUP state\n"

l_.str.1:                               ; @.str.1
	.asciz	"no frame buffer available\n"

	.comm	_PICT_FRAME,8,3                 ; @PICT_FRAME
	.comm	_CONFIG_ERROR_RESILIENCE,8,3    ; @CONFIG_ERROR_RESILIENCE
	.comm	_scan8,8,3                      ; @scan8
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.no_dead_strip	_h264_frame_start
.subsections_via_symbols
