	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function decode_cinepak_init
LCPI0_0:
	.long	4294966784                      ## 0xfffffe00
	.long	4294966785                      ## 0xfffffe01
	.long	4294966786                      ## 0xfffffe02
	.long	4294966787                      ## 0xfffffe03
LCPI0_1:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_2:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
LCPI0_3:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_4:
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
LCPI0_5:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_decode_cinepak_init:                   ## @decode_cinepak_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$8, %edi
	callq	_heap_alloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	$0, (%rax)
	movq	_uiclp@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	jne	LBB0_4
## %bb.2:
	movq	_uiclip@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	2048(%rcx), %rsi
	movq	%rsi, (%rdx)
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [4294966784,4294966785,4294966786,4294966787]
	xorl	%edx, %edx
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm2            ## xmm2 = [255,255,255,255]
	pxor	%xmm3, %xmm3
	movdqa	LCPI0_3(%rip), %xmm4            ## xmm4 = [8,8,8,8]
	movdqa	LCPI0_4(%rip), %xmm5            ## xmm5 = [12,12,12,12]
	movdqa	LCPI0_5(%rip), %xmm6            ## xmm6 = [16,16,16,16]
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm1, %xmm7
	paddd	%xmm8, %xmm7
	movdqa	%xmm1, %xmm0
	pminsd	%xmm2, %xmm0
	pminsd	%xmm2, %xmm7
	pmaxsd	%xmm3, %xmm0
	pmaxsd	%xmm3, %xmm7
	movdqu	%xmm0, (%rcx,%rdx,4)
	movdqu	%xmm7, 16(%rcx,%rdx,4)
	movdqa	%xmm1, %xmm0
	paddd	%xmm4, %xmm0
	movdqa	%xmm1, %xmm7
	paddd	%xmm5, %xmm7
	pminsd	%xmm2, %xmm0
	pminsd	%xmm2, %xmm7
	pmaxsd	%xmm3, %xmm0
	pmaxsd	%xmm3, %xmm7
	movdqu	%xmm0, 32(%rcx,%rdx,4)
	movdqu	%xmm7, 48(%rcx,%rdx,4)
	addq	$16, %rdx
	paddd	%xmm6, %xmm1
	cmpq	$1024, %rdx                     ## imm = 0x400
	jne	LBB0_3
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_uiclp,8,3                      ## @uiclp
	.comm	_uiclip,8,3                     ## @uiclip
	.no_dead_strip	_decode_cinepak_init
.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 decode_cinepak_init
lCPI0_0:
	.long	4294966784                      ; 0xfffffe00
	.long	4294966785                      ; 0xfffffe01
	.long	4294966786                      ; 0xfffffe02
	.long	4294966787                      ; 0xfffffe03
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_decode_cinepak_init:                   ; @decode_cinepak_init
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w0, #8
	bl	_heap_alloc
	cbz	x0, LBB0_4
; %bb.1:
	str	xzr, [x0]
Lloh0:
	adrp	x10, _uiclp@GOTPAGE
Lloh1:
	ldr	x10, [x10, _uiclp@GOTPAGEOFF]
	ldr	x8, [x10]
	cbnz	x8, LBB0_4
; %bb.2:
Lloh2:
	adrp	x9, _uiclip@GOTPAGE
Lloh3:
	ldr	x9, [x9, _uiclip@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x11, x9, #2048
	str	x11, [x10]
Lloh5:
	adrp	x10, lCPI0_0@PAGE
Lloh6:
	ldr	q0, [x10, lCPI0_0@PAGEOFF]
	movi.4s	v1, #4
	movi.4s	v2, #8
	movi.4s	v3, #12
	movi.2d	v4, #0x0000ff000000ff
	movi.2d	v5, #0000000000000000
	movi.4s	v6, #16
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add.4s	v7, v0, v1
	add.4s	v16, v0, v2
	add.4s	v17, v0, v3
	smin.4s	v18, v0, v4
	smin.4s	v7, v7, v4
	smin.4s	v16, v16, v4
	smin.4s	v17, v17, v4
	smax.4s	v18, v18, v5
	smax.4s	v7, v7, v5
	smax.4s	v16, v16, v5
	smax.4s	v17, v17, v5
	add	x10, x9, x8
	stp	q18, q7, [x10]
	stp	q16, q17, [x10, #32]
	add.4s	v0, v0, v6
	add	x8, x8, #64
	cmp	x8, #1, lsl #12                 ; =4096
	b.ne	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_uiclp,8,3                      ; @uiclp
	.comm	_uiclip,8,3                     ; @uiclip
	.no_dead_strip	_decode_cinepak_init
.subsections_via_symbols
