	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_video_thread_font_init         ## -- Begin function video_thread_font_init
	.p2align	4, 0x90
_video_thread_font_init:                ## @video_thread_font_init
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	$1, %edi
	callq	_video_driver_get_ptr
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	16(%rbp), %ecx
	movq	_CMD_FONT_INIT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, -56(%rbp)
	movl	%r12d, -64(%rbp)
	movq	%r14, -112(%rbp)
	movq	%rbx, -104(%rbp)
	movq	%r13, -72(%rbp)
	movq	%r15, -96(%rbp)
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -88(%rbp)
	movl	%ecx, -84(%rbp)
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, -80(%rbp)
	leaq	-112(%rbp), %rsi
	movq	%rax, %rdi
	callq	_video_thread_send_and_wait
	movl	-76(%rbp), %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_FONT_INIT,4,2              ## @CMD_FONT_INIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_video_thread_font_init         ; -- Begin function video_thread_font_init
	.p2align	2
_video_thread_font_init:                ; @video_thread_font_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d9, d8, [sp, #64]               ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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 b8, -88
	.cfi_offset b9, -96
	mov	x19, x6
	mov	x22, x5
	mov	x20, x4
	fmov	s8, s0
	mov	x21, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	mov	w0, #1
	bl	_video_driver_get_ptr
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _CMD_FONT_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_FONT_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #56]
	str	w22, [sp, #48]
	stp	x25, x24, [sp]
	str	x23, [sp, #40]
	str	x21, [sp, #16]
	str	s8, [sp, #24]
	stp	w19, w20, [sp, #28]
	mov	x1, sp
	bl	_video_thread_send_and_wait
	ldr	w0, [sp, #36]
LBB0_2:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_FONT_INIT,4,2              ; @CMD_FONT_INIT
.subsections_via_symbols
