	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_text
_draw_text:                             ## @draw_text
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movl	%r8d, %r14d
	movl	%ecx, %r15d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	%ecx, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	addl	$8, %r14d
	incq	%rbx
	movl	%r15d, %r12d
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbq	(%rbx), %rax
	cmpq	$10, %rax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%al, %al
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	12(%r13), %edx
	movl	8(%r13), %ecx
	movl	(%r13), %r9d
	movl	4(%r13), %r8d
	shlq	$3, %rax
	movq	_avpriv_cga_font@GOTPCREL(%rip), %rsi
	addq	(%rsi), %rax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	pushq	%r14
	pushq	%r12
	pushq	$0
	pushq	$0
	pushq	$8
	pushq	$8
	pushq	$1
	pushq	%rax
	callq	_ff_blend_mask
	addq	$64, %rsp
	cmpl	$0, 16(%rbp)
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	addl	$8, %r12d
	incq	%rbx
	jmp	LBB0_1
LBB0_6:
	addq	$24, %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	_draw_text
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_text
_draw_text:                             ; @draw_text
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x6
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
Lloh0:
	adrp	x26, _avpriv_cga_font@GOTPAGE
Lloh1:
	ldr	x26, [x26, _avpriv_cga_font@GOTPAGEOFF]
	mov	x27, #34359738376
	mov	x28, x3
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w21, w21, #8
	mov	x28, x22
	add	x20, x20, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x20]
	cmp	w8, #10
	b.eq	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	sxtb	x8, w8
	ldp	w3, w2, [x24, #8]
	ldp	w5, w4, [x24]
	ldr	x9, [x26]
	add	x6, x9, x8, lsl #3
	stp	w28, w21, [sp, #16]
	stp	x27, xzr, [sp]
	mov	x0, x25
	mov	x1, x23
	mov	w7, #1
	bl	_ff_blend_mask
	add	w8, w28, #8
	add	w9, w21, #8
	cmp	w19, #0
	csel	w21, w21, w9, eq
	csel	w28, w8, w22, eq
	add	x20, x20, #1
	b	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_avpriv_cga_font,8,3            ; @avpriv_cga_font
	.no_dead_strip	_draw_text
.subsections_via_symbols
