	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_font_init
	movq	_font_ibm@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_font_load
	movl	%eax, %r15d
	movq	_font_italic@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_font_load
	movl	%eax, %ebx
	movq	_WHITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_DKGREY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SOLID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_color
	movq	_font_min@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_font_load
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_get_mode
	movq	_M_NO_SCROLL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %edi
	callq	_mode
	movl	%r15d, %edi
	callq	_font_set
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	L_str.5(%rip), %rdi
	callq	_puts
	movl	%ebx, %edi
	callq	_font_set
	leaq	L_.str.2(%rip), %rbx
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	movl	$2, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	movl	$3, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	movl	$4, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	%r14d, %edi
	callq	_font_set
	leaq	L_str.6(%rip), %rdi
	callq	_puts
	movl	%r15d, %edi
	callq	_font_set
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_font_ibm,4,2                   ## @font_ibm
	.comm	_font_italic,4,2                ## @font_italic
	.comm	_WHITE,4,2                      ## @WHITE
	.comm	_DKGREY,4,2                     ## @DKGREY
	.comm	_SOLID,4,2                      ## @SOLID
	.comm	_font_min,4,2                   ## @font_min
	.comm	_M_NO_SCROLL,4,2                ## @M_NO_SCROLL
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"In italics, line %u\n"

L_.str.4:                               ## @.str.4
	.asciz	"\nDone!"

L_str:                                  ## @str
	.asciz	"Font demo.\n"

L_str.5:                                ## @str.5
	.asciz	"IBM Font #!?123"

L_str.6:                                ## @str.6
	.asciz	"Minimal 36 tile font"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_font_init
Lloh0:
	adrp	x8, _font_ibm@GOTPAGE
Lloh1:
	ldr	x8, [x8, _font_ibm@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_font_load
	mov	x19, x0
Lloh3:
	adrp	x8, _font_italic@GOTPAGE
Lloh4:
	ldr	x8, [x8, _font_italic@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_font_load
	mov	x21, x0
Lloh6:
	adrp	x8, _WHITE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WHITE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _DKGREY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DKGREY@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _SOLID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SOLID@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	bl	_color
Lloh15:
	adrp	x8, _font_min@GOTPAGE
Lloh16:
	ldr	x8, [x8, _font_min@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_font_load
	mov	x20, x0
	bl	_get_mode
Lloh18:
	adrp	x8, _M_NO_SCROLL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _M_NO_SCROLL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	orr	w0, w8, w0
	bl	_mode
	mov	x0, x19
	bl	_font_set
Lloh21:
	adrp	x0, l_str@PAGE
Lloh22:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh23:
	adrp	x0, l_str.5@PAGE
Lloh24:
	add	x0, x0, l_str.5@PAGEOFF
	bl	_puts
	mov	x0, x21
	bl	_font_set
	mov	w8, #1
	str	x8, [sp]
Lloh25:
	adrp	x21, l_.str.2@PAGE
Lloh26:
	add	x21, x21, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_printf
	mov	w8, #2
	str	x8, [sp]
	mov	x0, x21
	bl	_printf
	mov	w8, #3
	str	x8, [sp]
	mov	x0, x21
	bl	_printf
	mov	w8, #4
	str	x8, [sp]
	mov	x0, x21
	bl	_printf
	mov	x0, x20
	bl	_font_set
Lloh27:
	adrp	x0, l_str.6@PAGE
Lloh28:
	add	x0, x0, l_str.6@PAGEOFF
	bl	_puts
	mov	x0, x19
	bl	_font_set
Lloh29:
	adrp	x0, l_.str.4@PAGE
Lloh30:
	add	x0, x0, l_.str.4@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_printf
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_font_ibm,4,2                   ; @font_ibm
	.comm	_font_italic,4,2                ; @font_italic
	.comm	_WHITE,4,2                      ; @WHITE
	.comm	_DKGREY,4,2                     ; @DKGREY
	.comm	_SOLID,4,2                      ; @SOLID
	.comm	_font_min,4,2                   ; @font_min
	.comm	_M_NO_SCROLL,4,2                ; @M_NO_SCROLL
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"In italics, line %u\n"

l_.str.4:                               ; @.str.4
	.asciz	"\nDone!"

l_str:                                  ; @str
	.asciz	"Font demo.\n"

l_str.5:                                ; @str.5
	.asciz	"IBM Font #!?123"

l_str.6:                                ; @str.6
	.asciz	"Minimal 36 tile font"

.subsections_via_symbols
