	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_char
_draw_char:                             ## @draw_char
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r8d
	movq	16(%rdi), %rbx
	movl	(%rbx), %eax
	movl	4(%rbx), %ecx
	movl	(%rdi), %esi
	subl	%ecx, %esi
	cmpl	%esi, %eax
	jg	LBB0_3
## %bb.1:
	movq	%rdi, %r14
	movq	24(%rbx), %rsi
	movq	(%rsi), %r9
	movq	8(%rsi), %rsi
	movl	(%rsi), %esi
	imull	%esi, %eax
	cltq
	movq	8(%rbx), %rdi
	addq	(%r9), %rdi
	addq	%rax, %rdi
	movl	16(%rbx), %eax
	movl	%edx, %r9d
	andl	$15, %r9d
	sarl	$4, %edx
	movl	%edx, (%rsp)
	movl	%eax, %edx
	callq	_ff_draw_pc_font
	movq	_FONT_WIDTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 8(%rbx)
	movq	8(%r14), %rdx
	subq	%rax, %rdx
	cmpq	%rdx, %rcx
	jle	LBB0_3
## %bb.2:
	movq	$0, 8(%rbx)
	movl	4(%rbx), %eax
	addl	%eax, (%rbx)
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FONT_WIDTH,8,3                 ## @FONT_WIDTH
	.no_dead_strip	_draw_char
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_char
_draw_char:                             ; @draw_char
	.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, #16]
	ldr	w9, [x0]
	ldp	w8, w3, [x20]
	sub	w9, w9, w3
	cmp	w8, w9
	b.gt	LBB0_3
; %bb.1:
	mov	x4, x1
	mov	x19, x0
	ldr	x9, [x20, #24]
	ldp	x10, x9, [x9]
	ldr	x10, [x10]
	ldr	w1, [x9]
	mul	w8, w1, w8
	ldr	x9, [x20, #8]
	add	x9, x9, x10
	add	x0, x9, w8, sxtw
	ldr	w8, [x20, #16]
	and	w5, w2, #0xf
	asr	w6, w2, #4
	mov	x2, x8
	bl	_ff_draw_pc_font
Lloh0:
	adrp	x8, _FONT_WIDTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FONT_WIDTH@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x20, #8]
	add	x9, x9, x8
	str	x9, [x20, #8]
	ldr	x10, [x19, #8]
	sub	x8, x10, x8
	cmp	x9, x8
	b.le	LBB0_3
; %bb.2:
	str	xzr, [x20, #8]
	ldp	w9, w8, [x20]
	add	w8, w9, w8
	str	w8, [x20]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FONT_WIDTH,8,3                 ; @FONT_WIDTH
	.no_dead_strip	_draw_char
.subsections_via_symbols
