	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_htext16
_draw_htext16:                          ## @draw_htext16
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	_avpriv_cga_font@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	xorl	%r11d, %r11d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%r11
	cmpq	$4, %r11
	je	LBB0_25
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_5 Depth 3
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%r11,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_25
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movb	(%r8), %cl
	testb	%cl, %cl
	je	LBB0_24
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx,%r11,4), %edx
	imull	-52(%rbp), %edx                 ## 4-byte Folded Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rsi), %rsi
	movl	(%rsi,%r11,4), %edi
	movl	%edi, %esi
	shrl	$31, %esi
	addl	%edi, %esi
	xorps	%xmm2, %xmm2
	cvtsi2ss	%edx, %xmm2
	imull	-48(%rbp), %edi                 ## 4-byte Folded Reload
	movslq	%edi, %rdx
	mulss	%xmm0, %xmm2
	sarl	%esi
	leaq	(%rbx,%rdx), %r14
	addq	$28, %r14
	movslq	%esi, %r13
	shlq	$2, %r13
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	xorl	%r12d, %r12d
	movq	%r8, %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_4 Depth=2
	incq	%r12
	movl	%r12d, %ecx
	leaq	(%r8,%rcx), %rbx
	movb	(%r8,%rcx), %cl
	addl	$8, %r15d
	testb	%cl, %cl
	je	LBB0_24
LBB0_4:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_5 Depth 3
	movslq	%r15d, %rdx
	leaq	(%r14,%rdx,4), %r10
	xorl	%r9d, %r9d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movsbl	%cl, %ecx
	shll	$3, %ecx
	movslq	%ecx, %rcx
	addq	%r9, %rcx
	testb	$-128, (%rax,%rcx,4)
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=3
	testb	$64, (%rax,%rcx,4)
	jne	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=3
	testb	$32, (%rax,%rcx,4)
	jne	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=3
	testb	$16, (%rax,%rcx,4)
	jne	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=3
	testb	$8, (%rax,%rcx,4)
	jne	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=3
	testb	$4, (%rax,%rcx,4)
	jne	LBB0_16
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=3
	testb	$2, (%rax,%rcx,4)
	jne	LBB0_18
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=3
	testb	$1, (%rax,%rcx,4)
	jne	LBB0_20
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=3
	cmpl	$7, %r9d
	jne	LBB0_22
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=3
	movss	-28(%r10), %xmm3                ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm3
	addss	%xmm2, %xmm3
	movss	%xmm3, -28(%r10)
	movsbl	(%rbx), %ecx
	leal	(%r9,%rcx,8), %ecx
	movslq	%ecx, %rcx
	testb	$64, (%rax,%rcx,4)
	je	LBB0_9
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=3
	movss	-24(%r10), %xmm3                ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm3
	addss	%xmm2, %xmm3
	movss	%xmm3, -24(%r10)
	movsbl	(%rbx), %ecx
	leal	(%r9,%rcx,8), %ecx
	movslq	%ecx, %rcx
	testb	$32, (%rax,%rcx,4)
	je	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=3
	movss	-20(%r10), %xmm3                ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm3
	addss	%xmm2, %xmm3
	movss	%xmm3, -20(%r10)
	movsbl	(%rbx), %ecx
	leal	(%r9,%rcx,8), %ecx
	movslq	%ecx, %rcx
	testb	$16, (%rax,%rcx,4)
	je	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=3
	movss	-16(%r10), %xmm3                ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm3
	addss	%xmm2, %xmm3
	movss	%xmm3, -16(%r10)
	movsbl	(%rbx), %ecx
	leal	(%r9,%rcx,8), %ecx
	movslq	%ecx, %rcx
	testb	$8, (%rax,%rcx,4)
	je	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=3
	movss	-12(%r10), %xmm3                ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm3
	addss	%xmm2, %xmm3
	movss	%xmm3, -12(%r10)
	movsbl	(%rbx), %ecx
	leal	(%r9,%rcx,8), %ecx
	movslq	%ecx, %rcx
	testb	$4, (%rax,%rcx,4)
	je	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=3
	movss	-8(%r10), %xmm3                 ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm3
	addss	%xmm2, %xmm3
	movss	%xmm3, -8(%r10)
	movsbl	(%rbx), %ecx
	leal	(%r9,%rcx,8), %ecx
	movslq	%ecx, %rcx
	testb	$2, (%rax,%rcx,4)
	je	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=3
	movss	-4(%r10), %xmm3                 ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm3
	addss	%xmm2, %xmm3
	movss	%xmm3, -4(%r10)
	movsbl	(%rbx), %ecx
	leal	(%r9,%rcx,8), %ecx
	movslq	%ecx, %rcx
	testb	$1, (%rax,%rcx,4)
	je	LBB0_21
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=3
	movss	(%r10), %xmm3                   ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm3
	addss	%xmm2, %xmm3
	movss	%xmm3, (%r10)
	cmpl	$7, %r9d
	je	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=3
	movzbl	(%rbx), %ecx
	addq	%r13, %r10
	incq	%r9
	jmp	LBB0_5
LBB0_25:
	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_htext16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_htext16
_draw_htext16:                          ; @draw_htext16
	.cfi_startproc
; %bb.0:
	mov	x8, #0
Lloh0:
	adrp	x9, _avpriv_cga_font@GOTPAGE
Lloh1:
	ldr	x9, [x9, _avpriv_cga_font@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x10, [x0, #8]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	cmp	x8, #4
	b.eq	LBB0_25
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;       Child Loop BB0_7 Depth 3
	ldr	x12, [x10, x8, lsl #3]
	cbz	x12, LBB0_25
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w6, [x4]
	cbz	w6, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x11, #0
	lsl	x13, x8, #2
	ldr	w14, [x5, x13]
	mul	w14, w14, w3
	ldr	x15, [x0]
	ldr	w13, [x15, x13]
	mul	w15, w13, w2
	add	x12, x12, w15, sxtw
	scvtf	s2, w14
	cmp	w13, #0
	cinc	w13, w13, lt
	asr	w13, w13, #1
	fmul	s2, s2, s0
	add	x12, x12, #16
	sbfiz	x13, x13, #2, #32
	mov	x14, x1
	mov	x15, x4
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x11, x11, #1
	add	x15, x4, w11, uxtw
	ldrb	w6, [x15]
	add	w14, w14, #8
	cbz	w6, LBB0_1
LBB0_6:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_7 Depth 3
	mov	x16, #0
	add	x17, x12, w14, sxtw #2
LBB0_7:                                 ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sbfiz	w6, w6, #3, #8
	add	x6, x16, w6, sxtw
	ldr	w7, [x9, x6, lsl #2]
	tbnz	w7, #7, LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=3
	ldr	w7, [x9, x6, lsl #2]
	tbnz	w7, #6, LBB0_17
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=3
	ldr	w7, [x9, x6, lsl #2]
	tbnz	w7, #5, LBB0_18
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=3
	ldr	w7, [x9, x6, lsl #2]
	tbnz	w7, #4, LBB0_19
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=3
	ldr	w7, [x9, x6, lsl #2]
	tbnz	w7, #3, LBB0_20
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=3
	ldr	w7, [x9, x6, lsl #2]
	tbnz	w7, #2, LBB0_21
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=3
	ldr	w7, [x9, x6, lsl #2]
	tbnz	w7, #1, LBB0_22
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=3
	ldr	w6, [x9, x6, lsl #2]
	tbnz	w6, #0, LBB0_23
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=3
	cmp	w16, #7
	b.ne	LBB0_24
	b	LBB0_5
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=3
	ldur	s3, [x17, #-16]
	fmadd	s3, s3, s1, s2
	stur	s3, [x17, #-16]
	ldrsb	w6, [x15]
	add	w6, w16, w6, lsl #3
	sxtw	x6, w6
	ldr	w7, [x9, x6, lsl #2]
	tbz	w7, #6, LBB0_9
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=3
	ldur	s3, [x17, #-12]
	fmadd	s3, s3, s1, s2
	stur	s3, [x17, #-12]
	ldrsb	w6, [x15]
	add	w6, w16, w6, lsl #3
	sxtw	x6, w6
	ldr	w7, [x9, x6, lsl #2]
	tbz	w7, #5, LBB0_10
LBB0_18:                                ;   in Loop: Header=BB0_7 Depth=3
	ldur	s3, [x17, #-8]
	fmadd	s3, s3, s1, s2
	stur	s3, [x17, #-8]
	ldrsb	w6, [x15]
	add	w6, w16, w6, lsl #3
	sxtw	x6, w6
	ldr	w7, [x9, x6, lsl #2]
	tbz	w7, #4, LBB0_11
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=3
	ldur	s3, [x17, #-4]
	fmadd	s3, s3, s1, s2
	stur	s3, [x17, #-4]
	ldrsb	w6, [x15]
	add	w6, w16, w6, lsl #3
	sxtw	x6, w6
	ldr	w7, [x9, x6, lsl #2]
	tbz	w7, #3, LBB0_12
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=3
	ldr	s3, [x17]
	fmadd	s3, s3, s1, s2
	str	s3, [x17]
	ldrsb	w6, [x15]
	add	w6, w16, w6, lsl #3
	sxtw	x6, w6
	ldr	w7, [x9, x6, lsl #2]
	tbz	w7, #2, LBB0_13
LBB0_21:                                ;   in Loop: Header=BB0_7 Depth=3
	ldr	s3, [x17, #4]
	fmadd	s3, s3, s1, s2
	str	s3, [x17, #4]
	ldrsb	w6, [x15]
	add	w6, w16, w6, lsl #3
	sxtw	x6, w6
	ldr	w7, [x9, x6, lsl #2]
	tbz	w7, #1, LBB0_14
LBB0_22:                                ;   in Loop: Header=BB0_7 Depth=3
	ldr	s3, [x17, #8]
	fmadd	s3, s3, s1, s2
	str	s3, [x17, #8]
	ldrsb	w6, [x15]
	add	w6, w16, w6, lsl #3
	sxtw	x6, w6
	ldr	w6, [x9, x6, lsl #2]
	tbz	w6, #0, LBB0_15
LBB0_23:                                ;   in Loop: Header=BB0_7 Depth=3
	ldr	s3, [x17, #12]
	fmadd	s3, s3, s1, s2
	str	s3, [x17, #12]
	cmp	w16, #7
	b.eq	LBB0_5
LBB0_24:                                ;   in Loop: Header=BB0_7 Depth=3
	ldrb	w6, [x15]
	add	x16, x16, #1
	add	x17, x17, x13
	b	LBB0_7
LBB0_25:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_avpriv_cga_font,8,3            ; @avpriv_cga_font
	.no_dead_strip	_draw_htext16
.subsections_via_symbols
