	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function xface_encode_frame
LCPI0_0:
	.byte	3                               ## 0x3
	.byte	2                               ## 0x2
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_xface_encode_frame:                    ## @xface_encode_frame
	.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	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	16(%rdi), %r13
	pxor	%xmm0, %xmm0
	movdqa	%xmm0, -144(%rbp)
	movq	$0, -128(%rbp)
	movq	_XFACE_PIXELS@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -160(%rbp)                ## 8-byte Spill
	movdqa	%xmm0, -112(%rbp)
	movq	_XFACE_MAX_DIGITS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r10
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	jne	LBB0_9
## %bb.1:
	cmpq	$0, 8(%rbx)
	je	LBB0_2
LBB0_9:
	movq	_XFACE_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	8(%rbx), %r8
	movq	_XFACE_HEIGHT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	%r9d, %ecx
	jne	LBB0_11
## %bb.10:
	cmpq	%rax, %r8
	je	LBB0_3
LBB0_11:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	pushq	%rax
	callq	_av_log
	addq	$16, %rsp
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_38
LBB0_2:
	movq	_XFACE_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_XFACE_HEIGHT@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
LBB0_3:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%ecx, (%rbx)
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r8, 8(%rbx)
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	(%r13), %rsi
	xorl	%ecx, %ecx
	movq	_XFACE_WIDTH@GOTPCREL(%rip), %r14
	xorl	%edi, %edi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r15), %edx
	cmpl	%ecx, %edx
	jle	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%edi, %rdi
	movslq	%ecx, %rcx
	movl	(%rax,%rdi,4), %edx
	shrl	$7, %edx
	andl	$1, %edx
	movl	%edx, (%rsi,%rcx,4)
	movl	(%rax,%rdi,4), %edx
	shrl	$6, %edx
	andl	$1, %edx
	movl	%edx, 4(%rsi,%rcx,4)
	movl	(%rax,%rdi,4), %edx
	shrl	$5, %edx
	andl	$1, %edx
	movl	%edx, 8(%rsi,%rcx,4)
	movl	(%rax,%rdi,4), %edx
	shrl	$4, %edx
	andl	$1, %edx
	movl	%edx, 12(%rsi,%rcx,4)
	movl	(%rax,%rdi,4), %edx
	shrl	$3, %edx
	andl	$1, %edx
	movl	%edx, 16(%rsi,%rcx,4)
	movl	(%rax,%rdi,4), %edx
	shrl	$2, %edx
	andl	$1, %edx
	movl	%edx, 20(%rsi,%rcx,4)
	movl	(%rax,%rdi,4), %edx
	shrl	%edx
	andl	$1, %edx
	movl	%edx, 24(%rsi,%rcx,4)
	movl	(%rax,%rdi,4), %edx
	andl	$1, %edx
	movl	%edx, 28(%rsi,%rcx,4)
	addq	$8, %rcx
	incl	%edi
	movl	(%r14), %edx
	leal	7(%rdx), %ebx
	testl	%edx, %edx
	cmovnsl	%edx, %ebx
	sarl	$3, %ebx
	cmpl	%ebx, %edi
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rdx
	movslq	(%rdx), %rdx
	leaq	(%rax,%rdx,4), %rax
	xorl	%edi, %edi
	jmp	LBB0_6
LBB0_7:
	movq	%r10, -64(%rbp)                 ## 8-byte Spill
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_memcpy
	movq	(%r13), %rdi
	movq	%rbx, %rsi
	callq	_ff_xface_generate_face
	movq	(%r13), %rdi
	xorl	%r12d, %r12d
	leaq	-144(%rbp), %rbx
	movl	$16, %esi
	movl	$16, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_encode_block
	movq	(%r13), %rdi
	addq	$64, %rdi
	movl	$16, %esi
	movl	$16, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_encode_block
	movq	(%r13), %rdi
	subq	$-128, %rdi
	movl	$16, %esi
	movl	$16, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_encode_block
	movslq	(%r14), %rdi
	shlq	$6, %rdi
	addq	(%r13), %rdi
	movl	$16, %esi
	movl	$16, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_encode_block
	movq	(%r13), %rax
	movslq	(%r14), %rcx
	shlq	$6, %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$64, %rdi
	movl	$16, %esi
	movl	$16, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_encode_block
	movq	(%r13), %rax
	movslq	(%r14), %rcx
	shlq	$6, %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$128, %rdi
	movl	$16, %esi
	movl	$16, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_encode_block
	movslq	(%r14), %rdi
	shlq	$7, %rdi
	addq	(%r13), %rdi
	movl	$16, %esi
	movl	$16, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_encode_block
	movq	(%r13), %rax
	movslq	(%r14), %rcx
	shlq	$7, %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$64, %rdi
	movl	$16, %esi
	movl	$16, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_encode_block
	movq	(%r13), %rax
	movslq	(%r14), %rcx
	shlq	$7, %rcx
	leaq	(%rax,%rcx), %rdi
	addq	$128, %rdi
	movl	$16, %esi
	movl	$16, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_encode_block
	movq	-144(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.12:
	leaq	-112(%rbp), %rbx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rax), %rcx
	movq	%rcx, -144(%rbp)
	leaq	-4(,%rax,4), %rsi
	addq	-136(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_push_integer
	movq	-144(%rbp), %rax
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:
	movq	-112(%rbp), %rax
	jmp	LBB0_15
LBB0_8:
	xorl	%eax, %eax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
LBB0_15:
	movq	_XFACE_MAX_WORDS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setl	%dil
	callq	_av_assert0
	cmpq	$0, -112(%rbp)
	je	LBB0_19
## %bb.16:
	xorl	%r12d, %r12d
	leaq	-84(%rbp), %rbx
	movq	_XFACE_FIRST_PRINT@GOTPCREL(%rip), %r15
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-152(%rbp), %r14                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	_XFACE_PRINTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-112(%rbp), %rdi
	movq	%rbx, %rdx
	callq	_ff_big_div
	xorl	%edi, %edi
	cmpq	%r14, %r12
	setb	%dil
	callq	_av_assert0
	movl	(%r15), %eax
	addl	-84(%rbp), %eax
	movb	%al, (%r13,%r12)
	incq	%r12
	cmpq	$0, -112(%rbp)
	jne	LBB0_17
## %bb.18:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
LBB0_19:
	leal	2(%r12), %edx
	movq	%r14, %rdi
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_ff_alloc_packet2
	testl	%eax, %eax
	js	LBB0_20
## %bb.21:
	movq	(%rbx), %rax
	testl	%r12d, %r12d
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jle	LBB0_22
## %bb.23:
	movl	%r12d, %ecx
	cmpl	$8, %r12d
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jae	LBB0_25
## %bb.24:
	movq	-64(%rbp), %r11                 ## 8-byte Reload
	jmp	LBB0_35
LBB0_20:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_38
LBB0_22:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_37
LBB0_25:
	leaq	-1(%rcx), %r10
	decl	%r12d
	cmpl	%r10d, %r12d
	movq	-64(%rbp), %r11                 ## 8-byte Reload
	jb	LBB0_35
## %bb.26:
	movq	%r10, %rdx
	shrq	$32, %rdx
	jne	LBB0_35
## %bb.27:
	movl	%ecx, %r8d
	andl	$-8, %r8d
	leaq	-8(%r8), %rdx
	movq	%rdx, %r9
	shrq	$3, %r9
	incq	%r9
	testq	%rdx, %rdx
	je	LBB0_28
## %bb.29:
	movq	%r9, %rbx
	andq	$-2, %rbx
	movl	$4294967287, %edx               ## imm = 0xFFFFFFF7
	addq	%rcx, %rdx
	xorl	%esi, %esi
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = <3,2,1,0,u,u,u,u,u,u,u,u,u,u,u,u>
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movl	%r10d, %edi
	movd	-3(%r11,%rdi), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	pshufb	%xmm0, %xmm1
	movd	-7(%r11,%rdi), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	pshufb	%xmm0, %xmm2
	pmovsxbd	%xmm1, %xmm1
	pmovsxbd	%xmm2, %xmm2
	movdqu	%xmm1, (%rax,%rsi,4)
	movdqu	%xmm2, 16(%rax,%rsi,4)
	movl	%edx, %edi
	movd	-3(%r11,%rdi), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	pshufb	%xmm0, %xmm1
	movd	-7(%r11,%rdi), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	pshufb	%xmm0, %xmm2
	pmovsxbd	%xmm1, %xmm1
	pmovsxbd	%xmm2, %xmm2
	movdqu	%xmm1, 32(%rax,%rsi,4)
	movdqu	%xmm2, 48(%rax,%rsi,4)
	addq	$16, %rsi
	addq	$-16, %rdx
	addq	$-16, %r10
	addq	$-2, %rbx
	jne	LBB0_30
## %bb.31:
	testb	$1, %r9b
	je	LBB0_33
LBB0_32:
	movl	%esi, %edx
	notl	%edx
	addl	%ecx, %edx
	movd	-3(%r11,%rdx), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = <3,2,1,0,u,u,u,u,u,u,u,u,u,u,u,u>
	pshufb	%xmm1, %xmm0
	movd	-7(%r11,%rdx), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	pshufb	%xmm1, %xmm2
	pmovsxbd	%xmm0, %xmm0
	pmovsxbd	%xmm2, %xmm1
	movdqu	%xmm0, (%rax,%rsi,4)
	movdqu	%xmm1, 16(%rax,%rsi,4)
LBB0_33:
	leaq	(%rax,%r8,4), %rax
	cmpq	%rcx, %r8
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_37
## %bb.34:
	andl	$7, %ecx
LBB0_35:
	incq	%rcx
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	leal	-2(%rcx), %edx
	movsbl	(%r11,%rdx), %edx
	movl	%edx, (%rax)
	addq	$4, %rax
	decq	%rcx
	cmpq	$1, %rcx
	ja	LBB0_36
LBB0_37:
	movq	$10, (%rax)
	movq	_AV_PKT_FLAG_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rbx)
	movl	$1, (%rsi)
	xorl	%eax, %eax
LBB0_38:
	movq	%r14, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_40
## %bb.39:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	xorl	%esi, %esi
	testb	$1, %r9b
	jne	LBB0_32
	jmp	LBB0_33
LBB0_40:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_XFACE_PIXELS,4,2               ## @XFACE_PIXELS
	.comm	_XFACE_MAX_DIGITS,4,2           ## @XFACE_MAX_DIGITS
	.comm	_XFACE_WIDTH,4,2                ## @XFACE_WIDTH
	.comm	_XFACE_HEIGHT,8,3               ## @XFACE_HEIGHT
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Size value %dx%d not supported, only accepts a size of %dx%d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_XFACE_MAX_WORDS,8,3            ## @XFACE_MAX_WORDS
	.comm	_XFACE_PRINTS,4,2               ## @XFACE_PRINTS
	.comm	_XFACE_FIRST_PRINT,4,2          ## @XFACE_FIRST_PRINT
	.comm	_AV_PKT_FLAG_KEY,4,2            ## @AV_PKT_FLAG_KEY
	.no_dead_strip	_xface_encode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function xface_encode_frame
lCPI0_0:
	.long	10                              ; 0xa
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_xface_encode_frame:                    ; @xface_encode_frame
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #64
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x26, [x0, #16]
	stp	xzr, xzr, [x29, #-112]
	stur	xzr, [x29, #-96]
Lloh3:
	adrp	x12, _XFACE_PIXELS@GOTPAGE
Lloh4:
	ldr	x12, [x12, _XFACE_PIXELS@GOTPAGEOFF]
	ldr	w8, [x12]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	stp	xzr, xzr, [x29, #-128]
Lloh7:
	adrp	x8, _XFACE_MAX_DIGITS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _XFACE_MAX_DIGITS@GOTPAGEOFF]
Lloh9:
	ldr	w22, [x8]
	mov	x9, x22
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x25, x8, x9
	mov	sp, x25
	ldr	w3, [x0]
Lloh12:
	adrp	x27, _XFACE_WIDTH@GOTPAGE
Lloh13:
	ldr	x27, [x27, _XFACE_WIDTH@GOTPAGEOFF]
	cbnz	w3, LBB0_2
; %bb.1:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_4
LBB0_2:
	ldr	w5, [x27]
	ldr	x4, [x21, #8]
Lloh14:
	adrp	x8, _XFACE_HEIGHT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _XFACE_HEIGHT@GOTPAGEOFF]
Lloh16:
	ldr	x6, [x8]
	cmp	w3, w5
	ccmp	x4, x6, #0, eq
	b.eq	LBB0_5
; %bb.3:
Lloh17:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x2, l_.str@PAGE
Lloh21:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_av_log
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_24
LBB0_4:
	ldr	w3, [x27]
Lloh25:
	adrp	x8, _XFACE_HEIGHT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _XFACE_HEIGHT@GOTPAGEOFF]
Lloh27:
	ldr	x4, [x8]
LBB0_5:
	mov	x10, #0
	mov	w9, #0
	str	w3, [x21]
	str	x4, [x21, #8]
	ldr	x8, [x2]
	ldr	x11, [x8]
	ldr	x1, [x26]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	sxtw	x8, w10
	add	x10, x8, #8
	ldr	w8, [x12]
	cmp	w8, w10
	b.le	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sbfiz	x8, x9, #2, #32
	lsl	x13, x10, #32
	ldr	w14, [x11, x8]
	ubfx	w14, w14, #7, #1
	add	x13, x1, x13, asr #30
	str	w14, [x13]
	ldr	w14, [x11, x8]
	ubfx	w14, w14, #6, #1
	str	w14, [x13, #4]
	ldr	w14, [x11, x8]
	ubfx	w14, w14, #5, #1
	str	w14, [x13, #8]
	ldr	w14, [x11, x8]
	ubfx	w14, w14, #4, #1
	str	w14, [x13, #12]
	ldr	w14, [x11, x8]
	ubfx	w14, w14, #3, #1
	str	w14, [x13, #16]
	ldr	w14, [x11, x8]
	ubfx	w14, w14, #2, #1
	str	w14, [x13, #20]
	ldr	w14, [x11, x8]
	ubfx	w14, w14, #1, #1
	str	w14, [x13, #24]
	ldr	w8, [x11, x8]
	and	w8, w8, #0x1
	str	w8, [x13, #28]
	add	w9, w9, #1
	ldr	w8, [x27]
	add	w13, w8, #7
	cmp	w8, #0
	csel	w8, w13, w8, lt
	cmp	w9, w8, asr #3
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w9, #0
	ldr	x8, [x2, #8]
	ldrsw	x8, [x8]
	add	x11, x11, x8, lsl #2
	b	LBB0_6
LBB0_9:
	mov	x0, x23
	mov	x2, x8
	bl	_memcpy
	ldr	x0, [x26]
	mov	x1, x23
	bl	_ff_xface_generate_face
	ldr	x0, [x26]
	sub	x4, x29, #112
	mov	w1, #16
	mov	w2, #16
	mov	w3, #0
	bl	_encode_block
	ldr	x8, [x26]
	add	x0, x8, #64
	sub	x4, x29, #112
	mov	w1, #16
	mov	w2, #16
	mov	w3, #0
	bl	_encode_block
	ldr	x8, [x26]
	add	x0, x8, #128
	sub	x4, x29, #112
	mov	w1, #16
	mov	w2, #16
	mov	w3, #0
	bl	_encode_block
	ldr	x8, [x26]
	ldrsw	x9, [x27]
	add	x0, x8, x9, lsl #6
	sub	x4, x29, #112
	mov	w1, #16
	mov	w2, #16
	mov	w3, #0
	bl	_encode_block
	ldr	x8, [x26]
	ldrsw	x9, [x27]
	add	x8, x8, x9, lsl #6
	add	x0, x8, #64
	sub	x4, x29, #112
	mov	w1, #16
	mov	w2, #16
	mov	w3, #0
	bl	_encode_block
	ldr	x8, [x26]
	ldrsw	x9, [x27]
	add	x8, x8, x9, lsl #6
	add	x0, x8, #128
	sub	x4, x29, #112
	mov	w1, #16
	mov	w2, #16
	mov	w3, #0
	bl	_encode_block
	ldr	x8, [x26]
	ldrsw	x9, [x27]
	add	x0, x8, x9, lsl #7
	sub	x4, x29, #112
	mov	w1, #16
	mov	w2, #16
	mov	w3, #0
	bl	_encode_block
	ldr	x8, [x26]
	ldrsw	x9, [x27]
	add	x8, x8, x9, lsl #7
	add	x0, x8, #64
	sub	x4, x29, #112
	mov	w1, #16
	mov	w2, #16
	mov	w3, #0
	bl	_encode_block
	ldr	x8, [x26]
	ldrsw	x9, [x27]
	add	x8, x8, x9, lsl #7
	add	x0, x8, #128
	sub	x4, x29, #112
	mov	w1, #16
	mov	w2, #16
	mov	w3, #0
	bl	_encode_block
	ldur	x8, [x29, #-112]
	cbz	x8, LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldur	x9, [x29, #-104]
	sub	x8, x8, #1
	stur	x8, [x29, #-112]
	add	x1, x9, x8, lsl #2
	sub	x0, x29, #128
	bl	_push_integer
	ldur	x8, [x29, #-112]
	cbnz	x8, LBB0_10
; %bb.11:
	ldur	x8, [x29, #-128]
LBB0_12:
Lloh28:
	adrp	x9, _XFACE_MAX_WORDS@GOTPAGE
Lloh29:
	ldr	x9, [x9, _XFACE_MAX_WORDS@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, lt
	bl	_av_assert0
	ldur	x8, [x29, #-128]
	cbz	x8, LBB0_15
; %bb.13:
	mov	x23, #0
Lloh31:
	adrp	x26, _XFACE_PRINTS@GOTPAGE
Lloh32:
	ldr	x26, [x26, _XFACE_PRINTS@GOTPAGEOFF]
Lloh33:
	adrp	x27, _XFACE_FIRST_PRINT@GOTPAGE
Lloh34:
	ldr	x27, [x27, _XFACE_FIRST_PRINT@GOTPAGEOFF]
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x28, x23
	ldr	w1, [x26]
	sub	x0, x29, #128
	sub	x2, x29, #132
	bl	_ff_big_div
	cmp	x23, x22
	cset	w0, lo
	bl	_av_assert0
	ldur	w8, [x29, #-132]
	ldr	w9, [x27]
	add	w8, w9, w8
	add	x23, x23, #1
	strb	w8, [x25, x28]
	ldur	x8, [x29, #-128]
	cbnz	x8, LBB0_14
	b	LBB0_16
LBB0_15:
	mov	w23, #0
LBB0_16:
	add	w2, w23, #2
	mov	x0, x21
	mov	x1, x20
	mov	w3, #0
	bl	_ff_alloc_packet2
	tbnz	w0, #31, LBB0_24
; %bb.17:
	ldr	x13, [x20]
	subs	w8, w23, #1
	b.lt	LBB0_22
; %bb.18:
	mov	w9, w23
	cmp	w23, #8
	b.hs	LBB0_26
LBB0_19:
	mov	x10, x9
	mov	x8, x13
LBB0_20:
	add	x9, x10, #1
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	sub	w10, w9, #2
	ldrsb	w10, [x25, w10, uxtw]
	str	w10, [x8], #4
	sub	x9, x9, #1
	cmp	x9, #1
	b.hi	LBB0_21
	b	LBB0_23
LBB0_22:
	mov	x8, x13
LBB0_23:
	mov	w0, #0
Lloh35:
	adrp	x9, lCPI0_0@PAGE
Lloh36:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x8]
Lloh37:
	adrp	x8, _AV_PKT_FLAG_KEY@GOTPAGE
Lloh38:
	ldr	x8, [x8, _AV_PKT_FLAG_KEY@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	ldr	w9, [x20, #8]
	orr	w8, w9, w8
	str	w8, [x20, #8]
	mov	w8, #1
	str	w8, [x19]
LBB0_24:
	mov	sp, x24
	ldur	x8, [x29, #-88]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.25:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_26:
	sub	x11, x9, #1
	cmp	w8, w11
	b.lo	LBB0_19
; %bb.27:
	lsr	x8, x11, #32
	cbnz	x8, LBB0_19
; %bb.28:
	and	x12, x9, #0xfffffff8
	and	x10, x9, #0x7
	add	x8, x13, x12, lsl #2
	add	x13, x13, #16
	mov	x14, x12
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	add	x15, x25, w11, uxtw
	ld1.b	{ v0 }[0], [x15]
	sub	x16, x15, #1
	ld1.b	{ v0 }[4], [x16]
	sub	x16, x15, #2
	ld1.b	{ v1 }[0], [x16]
	sub	x16, x15, #3
	ld1.b	{ v1 }[4], [x16]
	sub	x16, x15, #4
	ld1.b	{ v2 }[0], [x16]
	sub	x16, x15, #5
	ld1.b	{ v2 }[4], [x16]
	sub	x16, x15, #6
	ld1.b	{ v3 }[0], [x16]
	sub	x15, x15, #7
	ld1.b	{ v3 }[4], [x15]
	shl.2s	v0, v0, #24
	sshr.2s	v0, v0, #24
	shl.2s	v1, v1, #24
	sshr.2s	v1, v1, #24
	shl.2s	v2, v2, #24
	sshr.2s	v2, v2, #24
	shl.2s	v3, v3, #24
	stur	d0, [x13, #-16]
	stur	d1, [x13, #-8]
	sshr.2s	v0, v3, #24
	str	d2, [x13]
	str	d0, [x13, #8]
	sub	x11, x11, #8
	add	x13, x13, #32
	subs	x14, x14, #8
	b.ne	LBB0_29
; %bb.30:
	cmp	x12, x9
	b.ne	LBB0_20
	b	LBB0_23
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdr	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_XFACE_PIXELS,4,2               ; @XFACE_PIXELS
	.comm	_XFACE_MAX_DIGITS,4,2           ; @XFACE_MAX_DIGITS
	.comm	_XFACE_WIDTH,4,2                ; @XFACE_WIDTH
	.comm	_XFACE_HEIGHT,8,3               ; @XFACE_HEIGHT
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Size value %dx%d not supported, only accepts a size of %dx%d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_XFACE_MAX_WORDS,8,3            ; @XFACE_MAX_WORDS
	.comm	_XFACE_PRINTS,4,2               ; @XFACE_PRINTS
	.comm	_XFACE_FIRST_PRINT,4,2          ; @XFACE_FIRST_PRINT
	.comm	_AV_PKT_FLAG_KEY,4,2            ; @AV_PKT_FLAG_KEY
	.no_dead_strip	_xface_encode_frame
.subsections_via_symbols
