	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drawtext
_drawtext:                              ## @drawtext
	.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
                                        ## kill: def $edx killed $edx def $rdx
	leal	8(%rdx), %eax
	cmpl	(%rdi), %eax
	jge	LBB0_24
## %bb.1:
	movq	%r8, %rbx
	movq	%rcx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	_avpriv_cga_font@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	%rcx, %rdi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	callq	_strlen
	movq	%r15, %r11
	movq	-48(%rbp), %r15                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r11,%rax,8), %eax
	cmpl	4(%r13), %eax
	jge	LBB0_24
## %bb.2:
	movb	(%r14), %dl
	testb	%dl, %dl
	je	LBB0_24
## %bb.3:
	movq	8(%r13), %rax
	movq	16(%r13), %r10
	movq	(%rax), %r8
	movl	(%r10), %eax
	xorl	%r9d, %r9d
	movq	%r14, %rsi
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r9
	movl	%r9d, %ecx
	leaq	(%r14,%rcx), %rsi
	movb	(%r14,%rcx), %dl
	testb	%dl, %dl
	je	LBB0_24
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	imull	%r15d, %eax
	cltq
	leaq	(%r8,%rax,4), %rax
	leal	(%r11,%r9,8), %ecx
	shll	$2, %ecx
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%dl, %eax
	shll	$3, %eax
	movslq	%eax, %rdx
	addq	%rcx, %rdx
	testb	$-128, (%r12,%rdx,4)
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	testb	$64, (%r12,%rdx,4)
	jne	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=2
	testb	$32, (%r12,%rdx,4)
	jne	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=2
	testb	$16, (%r12,%rdx,4)
	jne	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=2
	testb	$8, (%r12,%rdx,4)
	jne	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=2
	testb	$4, (%r12,%rdx,4)
	jne	LBB0_16
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=2
	testb	$2, (%r12,%rdx,4)
	jne	LBB0_18
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=2
	testb	$1, (%r12,%rdx,4)
	je	LBB0_21
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	(%rbx), %eax
	movl	%eax, 112(%rdi)
	movl	4(%rbx), %eax
	movl	%eax, 116(%rdi)
	movl	8(%rbx), %eax
	movl	%eax, 120(%rdi)
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	(%r10), %eax
	cmpl	$7, %ecx
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_5 Depth=2
	cltq
	leaq	(%rdi,%rax,4), %rdi
	movzbl	(%rsi), %edx
	incq	%rcx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=2
	movl	(%rbx), %eax
	movl	%eax, (%rdi)
	movl	4(%rbx), %eax
	movl	%eax, 4(%rdi)
	movl	8(%rbx), %eax
	movl	%eax, 8(%rdi)
	movsbl	(%rsi), %eax
	leal	(%rcx,%rax,8), %eax
	movslq	%eax, %rdx
	testb	$64, (%r12,%rdx,4)
	je	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	movl	(%rbx), %eax
	movl	%eax, 16(%rdi)
	movl	4(%rbx), %eax
	movl	%eax, 20(%rdi)
	movl	8(%rbx), %eax
	movl	%eax, 24(%rdi)
	movsbl	(%rsi), %eax
	leal	(%rcx,%rax,8), %eax
	movslq	%eax, %rdx
	testb	$32, (%r12,%rdx,4)
	je	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	(%rbx), %eax
	movl	%eax, 32(%rdi)
	movl	4(%rbx), %eax
	movl	%eax, 36(%rdi)
	movl	8(%rbx), %eax
	movl	%eax, 40(%rdi)
	movsbl	(%rsi), %eax
	leal	(%rcx,%rax,8), %eax
	movslq	%eax, %rdx
	testb	$16, (%r12,%rdx,4)
	je	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	(%rbx), %eax
	movl	%eax, 48(%rdi)
	movl	4(%rbx), %eax
	movl	%eax, 52(%rdi)
	movl	8(%rbx), %eax
	movl	%eax, 56(%rdi)
	movsbl	(%rsi), %eax
	leal	(%rcx,%rax,8), %eax
	movslq	%eax, %rdx
	testb	$8, (%r12,%rdx,4)
	je	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	(%rbx), %eax
	movl	%eax, 64(%rdi)
	movl	4(%rbx), %eax
	movl	%eax, 68(%rdi)
	movl	8(%rbx), %eax
	movl	%eax, 72(%rdi)
	movsbl	(%rsi), %eax
	leal	(%rcx,%rax,8), %eax
	movslq	%eax, %rdx
	testb	$4, (%r12,%rdx,4)
	je	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	(%rbx), %eax
	movl	%eax, 80(%rdi)
	movl	4(%rbx), %eax
	movl	%eax, 84(%rdi)
	movl	8(%rbx), %eax
	movl	%eax, 88(%rdi)
	movsbl	(%rsi), %eax
	leal	(%rcx,%rax,8), %eax
	movslq	%eax, %rdx
	testb	$2, (%r12,%rdx,4)
	je	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	(%rbx), %eax
	movl	%eax, 96(%rdi)
	movl	4(%rbx), %eax
	movl	%eax, 100(%rdi)
	movl	8(%rbx), %eax
	movl	%eax, 104(%rdi)
	movsbl	(%rsi), %eax
	leal	(%rcx,%rax,8), %eax
	movslq	%eax, %rdx
	testb	$1, (%r12,%rdx,4)
	jne	LBB0_20
	jmp	LBB0_21
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_avpriv_cga_font,8,3            ## @avpriv_cga_font
	.no_dead_strip	_drawtext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drawtext
_drawtext:                              ; @drawtext
	.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
	add	w8, w2, #8
	ldr	w9, [x0]
	cmp	w8, w9
	b.ge	LBB0_24
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _avpriv_cga_font@GOTPAGE
Lloh1:
	ldr	x8, [x8, _avpriv_cga_font@GOTPAGEOFF]
Lloh2:
	ldr	x24, [x8]
	mov	x0, x3
	bl	_strlen
	add	w8, w22, w0, lsl #3
	ldr	w9, [x23, #4]
	cmp	w8, w9
	b.ge	LBB0_24
; %bb.2:
	ldrb	w14, [x20]
	cbz	w14, LBB0_24
; %bb.3:
	mov	x8, #0
	ldp	x10, x9, [x23, #8]
	ldr	x10, [x10]
	ldr	w15, [x9]
	mov	x11, x20
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, #1
	add	x11, x20, w8, uxtw
	ldrb	w14, [x11]
	cbz	w14, LBB0_24
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x12, #0
	mul	w13, w15, w21
	add	x13, x10, w13, sxtw #2
	add	w15, w22, w8, lsl #3
	lsl	w15, w15, #2
	add	x13, x13, w15, sxtw #2
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sbfiz	w14, w14, #3, #8
	add	x14, x12, w14, sxtw
	ldr	w15, [x24, x14, lsl #2]
	tbnz	w15, #7, LBB0_17
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w15, [x24, x14, lsl #2]
	tbnz	w15, #6, LBB0_18
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=2
	ldr	w15, [x24, x14, lsl #2]
	tbnz	w15, #5, LBB0_19
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=2
	ldr	w15, [x24, x14, lsl #2]
	tbnz	w15, #4, LBB0_20
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w15, [x24, x14, lsl #2]
	tbnz	w15, #3, LBB0_21
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w15, [x24, x14, lsl #2]
	tbnz	w15, #2, LBB0_22
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w15, [x24, x14, lsl #2]
	tbnz	w15, #1, LBB0_23
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w14, [x24, x14, lsl #2]
	tbz	w14, #0, LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w14, [x19]
	str	w14, [x13, #112]
	ldr	w14, [x19, #4]
	str	w14, [x13, #116]
	ldr	w14, [x19, #8]
	str	w14, [x13, #120]
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w15, [x9]
	cmp	w12, #7
	b.eq	LBB0_4
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=2
	sub	w14, w15, #32
	add	x13, x13, w14, sxtw #2
	add	x13, x13, #128
	ldrb	w14, [x11]
	add	x12, x12, #1
	b	LBB0_6
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w14, [x19]
	str	w14, [x13]
	ldr	w14, [x19, #4]
	str	w14, [x13, #4]
	ldr	w14, [x19, #8]
	str	w14, [x13, #8]
	ldrsb	w14, [x11]
	add	w14, w12, w14, lsl #3
	sxtw	x14, w14
	ldr	w15, [x24, x14, lsl #2]
	tbz	w15, #6, LBB0_8
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w14, [x19]
	str	w14, [x13, #16]
	ldr	w14, [x19, #4]
	str	w14, [x13, #20]
	ldr	w14, [x19, #8]
	str	w14, [x13, #24]
	ldrsb	w14, [x11]
	add	w14, w12, w14, lsl #3
	sxtw	x14, w14
	ldr	w15, [x24, x14, lsl #2]
	tbz	w15, #5, LBB0_9
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w14, [x19]
	str	w14, [x13, #32]
	ldr	w14, [x19, #4]
	str	w14, [x13, #36]
	ldr	w14, [x19, #8]
	str	w14, [x13, #40]
	ldrsb	w14, [x11]
	add	w14, w12, w14, lsl #3
	sxtw	x14, w14
	ldr	w15, [x24, x14, lsl #2]
	tbz	w15, #4, LBB0_10
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w14, [x19]
	str	w14, [x13, #48]
	ldr	w14, [x19, #4]
	str	w14, [x13, #52]
	ldr	w14, [x19, #8]
	str	w14, [x13, #56]
	ldrsb	w14, [x11]
	add	w14, w12, w14, lsl #3
	sxtw	x14, w14
	ldr	w15, [x24, x14, lsl #2]
	tbz	w15, #3, LBB0_11
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w14, [x19]
	str	w14, [x13, #64]
	ldr	w14, [x19, #4]
	str	w14, [x13, #68]
	ldr	w14, [x19, #8]
	str	w14, [x13, #72]
	ldrsb	w14, [x11]
	add	w14, w12, w14, lsl #3
	sxtw	x14, w14
	ldr	w15, [x24, x14, lsl #2]
	tbz	w15, #2, LBB0_12
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w14, [x19]
	str	w14, [x13, #80]
	ldr	w14, [x19, #4]
	str	w14, [x13, #84]
	ldr	w14, [x19, #8]
	str	w14, [x13, #88]
	ldrsb	w14, [x11]
	add	w14, w12, w14, lsl #3
	sxtw	x14, w14
	ldr	w15, [x24, x14, lsl #2]
	tbz	w15, #1, LBB0_13
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w14, [x19]
	str	w14, [x13, #96]
	ldr	w14, [x19, #4]
	str	w14, [x13, #100]
	ldr	w14, [x19, #8]
	str	w14, [x13, #104]
	ldrsb	w14, [x11]
	add	w14, w12, w14, lsl #3
	sxtw	x14, w14
	ldr	w14, [x24, x14, lsl #2]
	tbnz	w14, #0, LBB0_14
	b	LBB0_15
LBB0_24:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_avpriv_cga_font,8,3            ; @avpriv_cga_font
	.no_dead_strip	_drawtext
.subsections_via_symbols
