	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function build_vlc
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_2:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_build_vlc:                             ## @build_vlc
	.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	$3096, %rsp                     ## imm = 0xC18
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %ebx
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -3136(%rbp)                ## 8-byte Spill
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, -3128(%rbp)               ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-1072(%rbp), %r15
	movl	$1024, %esi                     ## imm = 0x400
	movq	%r15, %rdi
	callq	___bzero
	xorl	%edi, %edi
	cmpl	$257, %r12d                     ## imm = 0x101
	setl	%dil
	callq	_av_assert0
	leaq	-2096(%rbp), %rax
	movq	%r15, %rdi
	movq	%rax, %r15
	movq	%rax, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	callq	_ff_mjpeg_build_huffman_codes
	movl	%ebx, %eax
	shll	$4, %eax
	movd	%ebx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	pslld	$4, %xmm0
	orl	$4, %eax
	movd	%eax, %xmm1
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = [0,1,2,3]
	xorl	%eax, %eax
	movdqa	LCPI0_1(%rip), %xmm3            ## xmm3 = [8,8,8,8]
	movdqa	LCPI0_2(%rip), %xmm4            ## xmm4 = [16,16,16,16]
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm5
	paddd	%xmm2, %xmm5
	movdqa	%xmm1, %xmm6
	paddd	%xmm2, %xmm6
	movdqa	%xmm5, -3120(%rbp,%rax,4)
	movdqa	%xmm6, -3104(%rbp,%rax,4)
	movdqa	%xmm2, %xmm5
	paddd	%xmm3, %xmm5
	movdqa	%xmm0, %xmm6
	paddd	%xmm5, %xmm6
	paddd	%xmm1, %xmm5
	movdqa	%xmm6, -3088(%rbp,%rax,4)
	movdqa	%xmm5, -3072(%rbp,%rax,4)
	addq	$16, %rax
	paddd	%xmm4, %xmm2
	cmpq	$256, %rax                      ## imm = 0x100
	jne	LBB0_1
## %bb.2:
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	movl	$4096, -3120(%rbp)              ## imm = 0x1000
LBB0_4:
	subq	$8, %rsp
	leaq	-3120(%rbp), %rax
	leaq	-1072(%rbp), %rcx
	movq	-3128(%rbp), %rdi               ## 8-byte Reload
	movl	$9, %esi
	movl	%r12d, %edx
	movl	$1, %r8d
	movl	$1, %r9d
	pushq	-3136(%rbp)                     ## 8-byte Folded Reload
	pushq	$2
	pushq	$2
	pushq	%rax
	pushq	$2
	pushq	$2
	pushq	%r15
	callq	_ff_init_vlc_sparse
	addq	$64, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_6
## %bb.5:
	addq	$3096, %rsp                     ## imm = 0xC18
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_build_vlc
.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 build_vlc
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_build_vlc:                             ; @build_vlc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #3120
	mov	x22, x5
	mov	x21, x4
	mov	x19, x3
	mov	x23, x2
	mov	x24, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	add	x0, sp, #2088
	mov	w1, #1024
	bl	_bzero
	cmp	w19, #257
	cset	w0, lt
	bl	_av_assert0
	add	x0, sp, #2088
	add	x1, sp, #1064
	mov	x2, x24
	mov	x3, x23
	bl	_ff_mjpeg_build_huffman_codes
	mov	x8, #0
	lsl	w9, w22, #4
	dup.4s	v0, w9
	mov	w9, #4
	bfi	w9, w22, #4, #28
	dup.4s	v1, w9
	mov	w9, #8
	bfi	w9, w22, #4, #28
	dup.4s	v2, w9
	mov	w9, #12
	bfi	w9, w22, #4, #28
	dup.4s	v3, w9
Lloh3:
	adrp	x9, lCPI0_0@PAGE
Lloh4:
	ldr	q4, [x9, lCPI0_0@PAGEOFF]
	add	x9, sp, #40
	movi.4s	v5, #16
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add.4s	v6, v0, v4
	add.4s	v7, v1, v4
	add.4s	v16, v2, v4
	add.4s	v17, v3, v4
	add	x10, x9, x8
	stp	q6, q7, [x10]
	stp	q16, q17, [x10, #32]
	add.4s	v4, v4, v5
	add	x8, x8, #64
	cmp	x8, #1024
	b.ne	LBB0_1
; %bb.2:
	cbz	w22, LBB0_4
; %bb.3:
	mov	w8, #4096
	str	w8, [sp, #40]
LBB0_4:
	str	w21, [sp, #24]
	mov	x8, #8589934594
	add	x9, sp, #40
	stp	x9, x8, [sp, #8]
	mov	w8, #2
	str	w8, [sp]
	add	x3, sp, #2088
	add	x6, sp, #1064
	mov	x0, x20
	mov	w1, #9
	mov	x2, x19
	mov	w4, #1
	mov	w5, #1
	mov	w7, #2
	bl	_ff_init_vlc_sparse
	ldur	x8, [x29, #-72]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	add	sp, sp, #3120
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_build_vlc
.subsections_via_symbols
