	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___SYS_LoadFont                 ## -- Begin function __SYS_LoadFont
	.p2align	4, 0x90
___SYS_LoadFont:                        ## @__SYS_LoadFont
	.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	%rsi, %rbx
	movq	%rdi, %r14
	callq	___read_font
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_decode_szp
	movq	_sys_fontdata@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	movslq	(%rbx), %rax
	leaq	(%rbx,%rax,4), %rax
	movq	_sys_fontwidthtab@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	8(%rbx), %eax
	imull	4(%rbx), %eax
	movq	_sys_fontcharsinsheet@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$1, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sys_fontdata,8,3               ## @sys_fontdata
	.comm	_sys_fontwidthtab,8,3           ## @sys_fontwidthtab
	.comm	_sys_fontcharsinsheet,4,2       ## @sys_fontcharsinsheet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___SYS_LoadFont                 ; -- Begin function __SYS_LoadFont
	.p2align	2
___SYS_LoadFont:                        ; @__SYS_LoadFont
	.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
	mov	x19, x1
	mov	x20, x0
	bl	___read_font
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_decode_szp
Lloh0:
	adrp	x8, _sys_fontdata@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sys_fontdata@GOTPAGEOFF]
Lloh2:
	str	x19, [x8]
	ldp	w8, w9, [x19]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x8, x19, x8, lsl #2
Lloh3:
	adrp	x10, _sys_fontwidthtab@GOTPAGE
Lloh4:
	ldr	x10, [x10, _sys_fontwidthtab@GOTPAGEOFF]
Lloh5:
	str	x8, [x10]
	ldr	w8, [x19, #8]
	mul	w8, w8, w9
Lloh6:
	adrp	x9, _sys_fontcharsinsheet@GOTPAGE
Lloh7:
	ldr	x9, [x9, _sys_fontcharsinsheet@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
	mov	w0, #1
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sys_fontdata,8,3               ; @sys_fontdata
	.comm	_sys_fontwidthtab,8,3           ; @sys_fontwidthtab
	.comm	_sys_fontcharsinsheet,4,2       ; @sys_fontcharsinsheet
.subsections_via_symbols
