	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function font_renderer_get_slot
_font_renderer_get_slot:                ## @font_renderer_get_slot
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	_FT_ATLAS_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%r11d, %r11d
	movq	8(%rdi), %r10
	cmpl	$2, %r8d
	jl	LBB0_10
## %bb.1:
	movl	%r8d, %eax
	decq	%r8
	cmpl	$2, %eax
	jne	LBB0_3
## %bb.2:
	movl	$1, %eax
LBB0_7:
	testb	$1, %r8b
	je	LBB0_9
## %bb.8:
	leaq	(%rax,%rax,2), %rcx
	movl	%r11d, %edx
	leaq	(%rdx,%rdx,2), %rdx
	movq	(%r10,%rdx,8), %rdx
	cmpq	(%r10,%rcx,8), %rdx
	cmovlel	%r11d, %eax
	movl	%eax, %r11d
LBB0_9:
	movl	%r11d, %r11d
LBB0_10:
	leaq	(%r11,%r11,2), %rcx
	leaq	(%r10,%rcx,8), %rdx
	movzbl	8(%r10,%rcx,8), %r8d
	movq	16(%rdi), %rax
	movq	(%rax,%r8,8), %rsi
	cmpq	%rdx, %rsi
	je	LBB0_11
## %bb.12:
	testq	%rsi, %rsi
	je	LBB0_16
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%rsi, %rax
	movq	16(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpq	%rdx, %rsi
	jne	LBB0_13
LBB0_15:
	movq	16(%r10,%rcx,8), %rdx
	movq	%rdx, 16(%rax)
	jmp	LBB0_16
LBB0_11:
	movq	16(%r10,%rcx,8), %rdx
	movq	%rdx, (%rax,%r8,8)
	movq	8(%rdi), %r10
LBB0_16:
	leaq	(%r10,%rcx,8), %rax
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	%r8, %r9
	andq	$-2, %r9
	leaq	48(%r10), %rdx
	xorl	%r11d, %r11d
	movl	$1, %eax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$2, %rax
	addq	$48, %rdx
	cmpq	%r9, %rcx
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r11d, %ecx
	leaq	(%rcx,%rcx,2), %rcx
	movq	(%r10,%rcx,8), %rcx
	cmpq	-24(%rdx), %rcx
	movl	%eax, %esi
	cmovlel	%r11d, %esi
	leaq	(%rsi,%rsi,2), %rcx
	movq	(%r10,%rcx,8), %rbx
	leaq	1(%rax), %rcx
	movl	%ecx, %r11d
	cmpq	(%rdx), %rbx
	jg	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%esi, %r11d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_FT_ATLAS_SIZE,4,2              ## @FT_ATLAS_SIZE
	.no_dead_strip	_font_renderer_get_slot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function font_renderer_get_slot
_font_renderer_get_slot:                ; @font_renderer_get_slot
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _FT_ATLAS_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FT_ATLAS_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
	ldr	x8, [x0, #8]
	cmp	w10, #2
	b.lt	LBB0_3
; %bb.1:
	mov	w9, #0
	add	x11, x8, #24
	mov	w12, #1
	mov	w13, #24
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x11], #24
	umull	x15, w9, w13
	ldr	x15, [x8, x15]
	cmp	x15, x14
	csel	w9, w12, w9, gt
	add	x12, x12, #1
	cmp	x10, x12
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x9, #0
LBB0_4:
	mov	w10, #24
	madd	x10, x9, x10, x8
	ldrb	w12, [x10, #8]
	ldr	x13, [x0, #16]
	ldr	x11, [x13, x12, lsl #3]
	cmp	x11, x10
	b.eq	LBB0_8
; %bb.5:
	cbz	x11, LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x12, x11
	ldr	x11, [x11, #16]
	cmp	x11, #0
	ccmp	x11, x10, #4, ne
	b.ne	LBB0_6
; %bb.7:
	mov	w10, #24
	madd	x10, x9, x10, x8
	ldr	x10, [x10, #16]
	str	x10, [x12, #16]
	b	LBB0_9
LBB0_8:
	mov	w10, #24
	madd	x8, x9, x10, x8
	ldr	x8, [x8, #16]
	str	x8, [x13, x12, lsl #3]
	ldr	x8, [x0, #8]
LBB0_9:
	mov	w10, #24
	madd	x0, x9, x10, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FT_ATLAS_SIZE,4,2              ; @FT_ATLAS_SIZE
	.no_dead_strip	_font_renderer_get_slot
.subsections_via_symbols
