	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vble_restore_plane
_vble_restore_plane:                    ## @vble_restore_plane
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, 16(%rbp)
	jle	LBB0_18
## %bb.1:
	movl	%r9d, %r15d
	movslq	%ecx, %rax
	movq	(%rsi), %rcx
	movq	8(%rsi), %rdx
	movq	(%rcx,%rax,8), %r13
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movslq	(%rdx,%rax,4), %rdx
	movslq	%r8d, %rax
	leaq	(%rcx,%rax,4), %rbx
	movq	%rdx, %rax
	negq	%rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movslq	%r9d, %rax
	movl	%eax, %r14d
	leaq	-1(%r14), %rcx
	leaq	-2(%r14), %rsi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movl	%ecx, %edi
	andl	$3, %edi
	andq	$-4, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	shlq	$2, %rdx
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-120(%rbp), %r12                ## 8-byte Reload
	testl	%r12d, %r12d
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, -52(%rbp)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	(%r13,%rcx,4), %eax
	movl	%eax, -48(%rbp)
	leaq	(,%rcx,4), %rsi
	addq	%r13, %rsi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %ecx
	leaq	-52(%rbp), %r8
	leaq	-48(%rbp), %r9
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	callq	*8(%rax)
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	-112(%rbp), %r13                ## 8-byte Folded Reload
	addq	-104(%rbp), %rbx                ## 8-byte Folded Reload
	incl	%r12d
	cmpl	16(%rbp), %r12d
	je	LBB0_18
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_16 Depth 2
	movq	%r12, -120(%rbp)                ## 8-byte Spill
	testl	%r15d, %r15d
	jle	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	incq	%r12
	cmpq	%r12, %r14
	je	LBB0_7
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx,%r12,4), %r15d
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movl	%r15d, %esi
	callq	_get_bits
	movl	$-1, %edx
	movl	%r15d, %ecx
	shll	%cl, %edx
	notl	%edx
	addl	%eax, %edx
	movl	%edx, %eax
	sarl	%eax
	andl	$1, %edx
	negl	%edx
	xorl	%eax, %edx
	movl	%edx, (%rbx,%r12,4)
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %eax
	movl	%eax, (%r13)
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	cmpl	$2, %r15d
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	jl	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %ecx
	cmpq	$3, -80(%rbp)                   ## 8-byte Folded Reload
	jb	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addl	4(%rbx,%rcx,4), %eax
	movl	%eax, 4(%r13,%rcx,4)
	addl	8(%rbx,%rcx,4), %eax
	movl	%eax, 8(%r13,%rcx,4)
	addl	12(%rbx,%rcx,4), %eax
	movl	%eax, 12(%r13,%rcx,4)
	addl	16(%rbx,%rcx,4), %eax
	movl	%eax, 16(%r13,%rcx,4)
	addq	$4, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(,%rcx,4), %rdx
	addq	%r13, %rdx
	leaq	(%rbx,%rcx,4), %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addl	(%rcx,%rsi,4), %eax
	movl	%eax, (%rdx,%rsi,4)
	incq	%rsi
	cmpq	%rsi, %rdi
	jne	LBB0_16
	jmp	LBB0_17
LBB0_18:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vble_restore_plane
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vble_restore_plane
_vble_restore_plane:                    ; @vble_restore_plane
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x0, [sp, #8]                    ; 8-byte Folded Spill
	str	w6, [sp, #36]                   ; 4-byte Folded Spill
	cmp	w6, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x20, x5
	mov	x21, x2
	mov	w26, #0
	ldp	x8, x9, [x1]
	ldr	x23, [x8, w3, sxtw #3]
	ldrsw	x8, [x9, w3, sxtw #2]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x9, [x9]
	add	x24, x9, w4, sxtw #2
	neg	x27, x8
	mov	w9, w5
	sbfiz	x10, x20, #2, #32
	lsl	x22, x9, #2
	lsl	x8, x8, #2
	stp	x8, x10, [sp, #16]              ; 16-byte Folded Spill
	mov	w28, #-1
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	w26, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_5 Depth=1
	str	wzr, [sp, #44]
	ldr	w8, [x23, x27, lsl #2]
	str	w8, [sp, #40]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	add	x1, x23, x27, lsl #2
	add	x4, sp, #44
	add	x5, sp, #40
	mov	x0, x23
	mov	x2, x24
	mov	x3, x20
	blr	x8
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x23, x23, x8
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x24, x24, x8
	add	w26, w26, #1
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cmp	w26, w8
	b.eq	LBB0_13
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
	cmp	w20, #1
	b.lt	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x19, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x19, x19, #4
	cmp	x22, x19
	b.eq	LBB0_2
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w25, [x24, x19]
	cbz	w25, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x21
	mov	x1, x25
	bl	_get_bits
	lsl	w8, w28, w25
	mvn	w8, w8
	add	w8, w0, w8
	and	w9, w8, #0x1
	neg	w9, w9
	eor	w8, w9, w8, asr #1
	str	w8, [x24, x19]
	b	LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x24]
	str	w8, [x23]
	cmp	w20, #2
	b.lt	LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	w9, #4
LBB0_12:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x24, x9]
	add	w8, w8, w10
	str	w8, [x23, x9]
	add	x9, x9, #4
	cmp	x22, x9
	b.ne	LBB0_12
	b	LBB0_4
LBB0_13:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vble_restore_plane
.subsections_via_symbols
