	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ivtvfb_restore
_ivtvfb_restore:                        ## @ivtvfb_restore
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %r14
	leaq	20(%r14), %rsi
	callq	_ivtvfb_set_var
	movl	16(%r14), %edi
	leaq	12(%r14), %rsi
	callq	_ivtvfb_blank
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movl	$10800, %esi                    ## imm = 0x2A30
	callq	_write_reg
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	movl	$10804, %esi                    ## imm = 0x2A34
	callq	_write_reg
	incq	%rbx
	cmpq	$256, %rbx                      ## imm = 0x100
	jne	LBB0_1
## %bb.2:
	movl	8(%r14), %edi
	movl	$10764, %esi                    ## imm = 0x2A0C
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_write_reg                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ivtvfb_restore
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ivtvfb_restore
_ivtvfb_restore:                        ; @ivtvfb_restore
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x20, [x0]
	add	x1, x20, #20
	bl	_ivtvfb_set_var
	ldr	w0, [x20, #16]
	add	x1, x20, #12
	bl	_ivtvfb_blank
	mov	x19, #0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #10800
	bl	_write_reg
	ldr	x8, [x20]
	ldr	w0, [x8, x19, lsl #2]
	mov	w1, #10804
	bl	_write_reg
	add	x19, x19, #1
	cmp	x19, #256
	b.ne	LBB0_1
; %bb.2:
	ldr	w0, [x20, #8]
	mov	w1, #10764
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_write_reg
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ivtvfb_restore
.subsections_via_symbols
