	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_block
_init_block:                            ## @init_block
	.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
	movl	%r8d, %r15d
	movq	%rcx, %r12
	movl	%edx, %ebx
	movl	%esi, %r13d
	movq	%rdi, %r14
	xorl	%esi, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	cmpl	$2, %r13d
	je	LBB0_10
## %bb.1:
	cmpl	$1, %r13d
	je	LBB0_7
## %bb.2:
	testl	%r13d, %r13d
	jne	LBB0_11
## %bb.3:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	leal	(%r15,%r15), %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_av_lfg_get
	cltd
	idivl	%r13d
	subl	%r15d, %edx
	movl	%edx, (%r14,%rbx,4)
	incq	%rbx
	cmpq	$64, %rbx
	jne	LBB0_4
## %bb.5:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.6:
	movq	%r14, %rdi
	callq	_ff_ref_fdct
	movdqu	(%r14), %xmm0
	movdqu	16(%r14), %xmm1
	movdqu	32(%r14), %xmm2
	movdqu	48(%r14), %xmm3
	psrad	$3, %xmm0
	movdqu	%xmm0, (%r14)
	psrad	$3, %xmm1
	movdqu	%xmm1, 16(%r14)
	psrad	$3, %xmm2
	movdqu	%xmm2, 32(%r14)
	psrad	$3, %xmm3
	movdqu	%xmm3, 48(%r14)
	movdqu	64(%r14), %xmm0
	psrad	$3, %xmm0
	movdqu	%xmm0, 64(%r14)
	movdqu	80(%r14), %xmm0
	psrad	$3, %xmm0
	movdqu	%xmm0, 80(%r14)
	movdqu	96(%r14), %xmm0
	psrad	$3, %xmm0
	movdqu	%xmm0, 96(%r14)
	movdqu	112(%r14), %xmm0
	psrad	$3, %xmm0
	movdqu	%xmm0, 112(%r14)
	movdqu	128(%r14), %xmm0
	psrad	$3, %xmm0
	movdqu	%xmm0, 128(%r14)
	movdqu	144(%r14), %xmm0
	psrad	$3, %xmm0
	movdqu	%xmm0, 144(%r14)
	movdqu	160(%r14), %xmm0
	psrad	$3, %xmm0
	movdqu	%xmm0, 160(%r14)
	movdqu	176(%r14), %xmm0
	psrad	$3, %xmm0
	movdqu	%xmm0, 176(%r14)
	movdqu	192(%r14), %xmm0
	psrad	$3, %xmm0
	movdqu	%xmm0, 192(%r14)
	movdqu	208(%r14), %xmm0
	psrad	$3, %xmm0
	movdqu	%xmm0, 208(%r14)
	movdqu	224(%r14), %xmm0
	psrad	$3, %xmm0
	movdqu	%xmm0, 224(%r14)
	movdqu	240(%r14), %xmm0
	psrad	$3, %xmm0
	movdqu	%xmm0, 240(%r14)
	jmp	LBB0_11
LBB0_10:
	movq	%r12, %rdi
	callq	_av_lfg_get
	movl	%r15d, %ecx
	shll	$4, %ecx
	cltd
	idivl	%ecx
	shll	$3, %r15d
	subl	%r15d, %edx
	movl	%edx, (%r14)
	notl	%edx
	andl	$1, %edx
	movl	%edx, 252(%r14)
	jmp	LBB0_11
LBB0_7:
	movq	%r12, %rdi
	callq	_av_lfg_get
	movslq	%eax, %r13
	imulq	$1717986919, %r13, %rax         ## imm = 0x66666667
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$34, %rax
	addl	%ecx, %eax
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	subl	%eax, %r13d
	js	LBB0_11
## %bb.8:
	leal	(%r15,%r15), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	incl	%r13d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_av_lfg_get
	movl	%eax, %ebx
	leal	63(%rbx), %eax
	testl	%ebx, %ebx
	cmovnsl	%ebx, %eax
	andl	$-64, %eax
	subl	%eax, %ebx
	movq	%r12, %rdi
	callq	_av_lfg_get
	cltd
	idivl	-44(%rbp)                       ## 4-byte Folded Reload
	subl	%r15d, %edx
	movslq	%ebx, %rax
	movl	%edx, (%r14,%rax,4)
	decl	%r13d
	jne	LBB0_9
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_init_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_block
_init_block:                            ; @init_block
	.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	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	mov	w1, #0
	mov	w2, #256
	bl	_memset
	cmp	w23, #2
	b.eq	LBB0_7
; %bb.1:
	cmp	w23, #1
	b.eq	LBB0_8
; %bb.2:
	cbnz	w23, LBB0_11
; %bb.3:
	mov	x23, #0
	lsl	w24, w20, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_av_lfg_get
	sdiv	w8, w0, w24
	msub	w8, w8, w24, w0
	sub	w8, w8, w20
	str	w8, [x19, x23]
	add	x23, x23, #4
	cmp	x23, #256
	b.ne	LBB0_4
; %bb.5:
	cbz	w22, LBB0_11
; %bb.6:
	mov	x0, x19
	bl	_ff_ref_fdct
	ldp	q0, q1, [x19]
	sshr.4s	v0, v0, #3
	sshr.4s	v1, v1, #3
	stp	q0, q1, [x19]
	ldp	q0, q1, [x19, #32]
	sshr.4s	v0, v0, #3
	sshr.4s	v1, v1, #3
	stp	q0, q1, [x19, #32]
	ldp	q0, q1, [x19, #64]
	sshr.4s	v0, v0, #3
	sshr.4s	v1, v1, #3
	stp	q0, q1, [x19, #64]
	ldp	q0, q1, [x19, #96]
	sshr.4s	v0, v0, #3
	sshr.4s	v1, v1, #3
	stp	q0, q1, [x19, #96]
	ldp	q0, q1, [x19, #128]
	sshr.4s	v0, v0, #3
	sshr.4s	v1, v1, #3
	stp	q0, q1, [x19, #128]
	ldp	q0, q1, [x19, #160]
	sshr.4s	v0, v0, #3
	sshr.4s	v1, v1, #3
	stp	q0, q1, [x19, #160]
	ldp	q0, q1, [x19, #192]
	sshr.4s	v0, v0, #3
	sshr.4s	v1, v1, #3
	stp	q0, q1, [x19, #192]
	ldp	q0, q1, [x19, #224]
	sshr.4s	v0, v0, #3
	sshr.4s	v1, v1, #3
	stp	q0, q1, [x19, #224]
	b	LBB0_11
LBB0_7:
	mov	x0, x21
	bl	_av_lfg_get
	lsl	w8, w20, #4
	sdiv	w9, w0, w8
	msub	w8, w9, w8, w0
	sub	w8, w8, w20, lsl #3
	mvn	w9, w8
	str	w8, [x19]
	and	w8, w9, #0x1
	str	w8, [x19, #252]
	b	LBB0_11
LBB0_8:
	mov	x0, x21
	bl	_av_lfg_get
	mov	w8, #26215
	movk	w8, #26214, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #34
	add	w8, w8, w9
	mov	w9, #10
	msub	w8, w8, w9, w0
	tbnz	w8, #31, LBB0_11
; %bb.9:
	lsl	w22, w20, #1
	add	w23, w8, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_av_lfg_get
	negs	w8, w0
	and	w8, w8, #0x3f
	and	w9, w0, #0x3f
	csneg	w24, w9, w8, mi
	mov	x0, x21
	bl	_av_lfg_get
	sdiv	w8, w0, w22
	msub	w8, w8, w22, w0
	sub	w8, w8, w20
	str	w8, [x19, w24, sxtw #2]
	subs	w23, w23, #1
	b.ne	LBB0_10
LBB0_11:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_init_block
.subsections_via_symbols
