	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_image_block
_decode_image_block:                    ## @decode_image_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
	subq	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -132(%rbp)                ## 4-byte Spill
	movl	%ecx, %r15d
	movq	%rdx, -160(%rbp)                ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	addq	$20, %rsi
	callq	_rac_get_model_sym
	xorl	%r14d, %r14d
	cmpl	$-1, %eax
	jl	LBB0_4
## %bb.1:
	movl	%r15d, -144(%rbp)               ## 4-byte Spill
	leaq	16(%r12), %r15
	movl	%eax, %r14d
	addl	$2, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_rac_get_model256_sym
	movl	%eax, -64(%rbp,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_2
## %bb.3:
	cmpl	$3, %r14d
	movl	-144(%rbp), %r15d               ## 4-byte Reload
	ja	LBB0_5
LBB0_4:
	movl	%r14d, %eax
	leaq	-64(,%rax,4), %rdi
	addq	%rbp, %rdi
	movl	$3, %eax
	subl	%r14d, %eax
	leaq	4(,%rax,4), %rsi
	callq	___bzero
LBB0_5:
	movq	%r13, -184(%rbp)                ## 8-byte Spill
	movq	%r12, -144(%rbp)                ## 8-byte Spill
	leaq	-128(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$64, %edx
	callq	_memset
	cmpl	$0, -132(%rbp)                  ## 4-byte Folded Reload
	jle	LBB0_13
## %bb.6:
	movslq	%r15d, %rax
	movl	-132(%rbp), %ecx                ## 4-byte Reload
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	-144(%rbp), %r13                ## 8-byte Reload
	movq	-184(%rbp), %r14                ## 8-byte Reload
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	-148(%rbp), %ebx                ## 4-byte Reload
	incl	%ebx
	movq	-168(%rbp), %rax                ## 8-byte Reload
	addq	%rax, -160(%rbp)                ## 8-byte Folded Spill
	cmpl	-132(%rbp), %ebx                ## 4-byte Folded Reload
	je	LBB0_13
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movl	%ebx, -148(%rbp)                ## 4-byte Spill
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_rac_get_model256_sym
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx,%r15,4)
	incq	%r15
	cmpq	%r15, -176(%rbp)                ## 8-byte Folded Reload
	je	LBB0_12
LBB0_8:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
                                        ## kill: def $r12d killed $r12d killed $r12 def $r12
	leal	(%r12,%r12,4), %eax
	movl	-128(%rbp,%r15,4), %r12d
	leal	(%r12,%r12,4), %ecx
	leal	(%rax,%rax,4), %eax
	addl	%ebx, %eax
	addl	%ecx, %eax
	movslq	%eax, %rsi
	shlq	$2, %rsi
	addq	8(%r13), %rsi
	movq	%r14, %rdi
	callq	_rac_get_model_sym
	movl	%eax, %ebx
	movl	%eax, -128(%rbp,%r15,4)
	cmpl	$3, %eax
	jg	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movslq	%ebx, %rax
	movl	-64(%rbp,%rax,4), %eax
	jmp	LBB0_11
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_image_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_image_block
_decode_image_block:                    ; @decode_image_block
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	str	w4, [sp, #16]                   ; 4-byte Folded Spill
	mov	x23, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	add	x1, x1, #20
	bl	_rac_get_model_sym
	cmn	w0, #1
	b.lt	LBB0_4
; %bb.1:
	add	x24, x21, #16
	add	w19, w0, #2
	add	x25, sp, #88
	mov	x26, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_rac_get_model256_sym
	str	w0, [x25], #4
	subs	x26, x26, #1
	b.ne	LBB0_2
; %bb.3:
	cmp	w19, #3
	b.ls	LBB0_5
	b	LBB0_6
LBB0_4:
	mov	w19, #0
LBB0_5:
	add	x8, sp, #88
	add	x0, x8, w19, uxtw #2
	mov	w8, #3
	sub	w8, w8, w19
	lsl	x8, x8, #2
	add	x1, x8, #4
	bl	_bzero
LBB0_6:
	add	x24, sp, #24
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #64
	bl	_memset
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.7:
	mov	w9, #0
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	mov	w8, w8
	sbfiz	x10, x23, #2, #32
	str	x10, [sp, #8]                   ; 8-byte Folded Spill
	lsl	x27, x8, #2
	mov	w28, #25
	add	x19, sp, #88
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	add	w9, w9, #1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x20, x20, x8
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	cmp	w9, w8
	b.eq	LBB0_14
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	str	w9, [sp, #20]                   ; 4-byte Folded Spill
	mov	x26, #0
	mov	w8, #0
	mov	w23, #0
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=2
	mov	x0, x22
	mov	x1, x21
	bl	_rac_get_model256_sym
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	str	w0, [x20, x26]
	add	x26, x26, #4
	mov	x8, x25
	cmp	x27, x26
	b.eq	LBB0_8
LBB0_12:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w25, [x24, x26]
	ldr	x9, [x21, #8]
	add	w10, w25, w25, lsl #2
	madd	w8, w8, w28, w23
	add	w8, w8, w10
	add	x1, x9, w8, sxtw #2
	mov	x0, x22
	bl	_rac_get_model_sym
	mov	x23, x0
	str	w0, [x24, x26]
	cmp	w0, #3
	b.gt	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	w0, [x19, w23, sxtw #2]
	b	LBB0_11
LBB0_14:
	ldur	x8, [x29, #-88]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decode_image_block
.subsections_via_symbols
