	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stbtt__GetGlyfOffset
_stbtt__GetGlyfOffset:                  ## @stbtt__GetGlyfOffset
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %eax
	cmpl	%esi, (%rdi)
	jle	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	movl	4(%rdi), %ecx
	cmpl	$1, %ecx
	jg	LBB0_6
## %bb.2:
	movl	8(%rbx), %r15d
	movq	24(%rbx), %rdi
	movq	16(%rbx), %rax
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.4:
	shll	$2, %esi
	movslq	%esi, %r12
	addq	%r12, %rdi
	addq	%rax, %rdi
	callq	_ttULONG
	movl	%eax, %r14d
	movl	8(%rbx), %r13d
	movq	16(%rbx), %rax
	addq	24(%rbx), %r12
	leaq	(%rax,%r12), %rdi
	addq	$4, %rdi
	callq	_ttULONG
	addl	%r13d, %eax
	jmp	LBB0_5
LBB0_3:
	addl	%esi, %esi
	movslq	%esi, %r12
	addq	%r12, %rdi
	addq	%rax, %rdi
	callq	_ttUSHORT
	movl	%eax, %r14d
	addl	%eax, %r14d
	movl	8(%rbx), %r13d
	movq	16(%rbx), %rax
	addq	24(%rbx), %r12
	leaq	(%rax,%r12), %rdi
	addq	$2, %rdi
	callq	_ttUSHORT
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r13,%rax,2), %eax
LBB0_5:
	addl	%r15d, %r14d
	cmpl	%eax, %r14d
	movl	$-1, %eax
	cmovnel	%r14d, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stbtt__GetGlyfOffset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stbtt__GetGlyfOffset
_stbtt__GetGlyfOffset:                  ; @stbtt__GetGlyfOffset
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	w8, [x0]
	cmp	w8, w1
	b.le	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	w10, [x0, #4]
	cmp	w10, #1
	b.le	LBB0_3
LBB0_2:
	mov	w0, #-1
	b	LBB0_7
LBB0_3:
	ldr	w21, [x19, #8]
	ldp	x8, x9, [x19, #16]
	cbz	w10, LBB0_5
; %bb.4:
	lsl	w10, w1, #2
	sxtw	x22, w10
	add	x9, x9, x22
	add	x0, x9, x8
	bl	_ttULONG
	mov	x20, x0
	ldr	w23, [x19, #8]
	ldp	x9, x8, [x19, #16]
	add	x8, x22, x8
	add	x8, x8, x9
	add	x0, x8, #4
	bl	_ttULONG
	add	w8, w0, w23
	b	LBB0_6
LBB0_5:
	lsl	w10, w1, #1
	sxtw	x22, w10
	add	x9, x9, x22
	add	x0, x9, x8
	bl	_ttUSHORT
	lsl	w20, w0, #1
	ldr	w23, [x19, #8]
	ldp	x9, x8, [x19, #16]
	add	x8, x22, x8
	add	x8, x8, x9
	add	x0, x8, #2
	bl	_ttUSHORT
	add	w8, w23, w0, lsl #1
LBB0_6:
	add	w9, w20, w21
	cmp	w9, w8
	csinv	w0, w9, wzr, ne
LBB0_7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stbtt__GetGlyfOffset
.subsections_via_symbols
