	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function osd_text8
_osd_text8:                             ## @osd_text8
	.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
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movl	%edi, %r14d
	movq	%rdx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_g_screen_width@GOTPCREL(%rip), %rbx
	addl	%eax, %eax
	addl	$-2, %eax
	leaq	8(,%rax,4), %r12
	movq	_g_screen_ptr@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	(%rbx), %eax
	imull	%r15d, %eax
	addl	%r14d, %eax
	andl	$-4, %eax
	movslq	%eax, %rdi
	addq	%r13, %rdi
	movl	$224, %esi
	movq	%r12, %rdx
	callq	_memset
	leal	1(%r15), %eax
	imull	(%rbx), %eax
	addl	%r14d, %eax
	andl	$-4, %eax
	movslq	%eax, %rdi
	addq	%r13, %rdi
	movl	$224, %esi
	movq	%r12, %rdx
	callq	_memset
	leal	2(%r15), %eax
	imull	(%rbx), %eax
	addl	%r14d, %eax
	andl	$-4, %eax
	movslq	%eax, %rdi
	addq	%r13, %rdi
	movl	$224, %esi
	movq	%r12, %rdx
	callq	_memset
	leal	3(%r15), %eax
	imull	(%rbx), %eax
	addl	%r14d, %eax
	andl	$-4, %eax
	movslq	%eax, %rdi
	addq	%r13, %rdi
	movl	$224, %esi
	movq	%r12, %rdx
	callq	_memset
	leal	4(%r15), %eax
	imull	(%rbx), %eax
	addl	%r14d, %eax
	andl	$-4, %eax
	movslq	%eax, %rdi
	addq	%r13, %rdi
	movl	$224, %esi
	movq	%r12, %rdx
	callq	_memset
	leal	5(%r15), %eax
	imull	(%rbx), %eax
	addl	%r14d, %eax
	andl	$-4, %eax
	movslq	%eax, %rdi
	addq	%r13, %rdi
	movl	$224, %esi
	movq	%r12, %rdx
	callq	_memset
	leal	6(%r15), %eax
	imull	(%rbx), %eax
	addl	%r14d, %eax
	andl	$-4, %eax
	movslq	%eax, %rdi
	addq	%r13, %rdi
	movl	$224, %esi
	movq	%r12, %rdx
	callq	_memset
	leal	7(%r15), %eax
	imull	(%rbx), %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	addl	%r14d, %eax
	andl	$-4, %eax
	movslq	%eax, %rdi
	addq	%r13, %rdi
	movl	$224, %esi
	movq	%r12, %rdx
	callq	_memset
LBB0_2:
	movl	%r14d, %edi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emu_text_out8                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_g_screen_width,4,2             ## @g_screen_width
	.comm	_g_screen_ptr,8,3               ## @g_screen_ptr
	.no_dead_strip	_osd_text8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function osd_text8
_osd_text8:                             ; @osd_text8
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	bl	_strlen
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x23, _g_screen_width@GOTPAGE
Lloh1:
	ldr	x23, [x23, _g_screen_width@GOTPAGEOFF]
	ldrsw	x8, [x23]
	lsl	w9, w0, #1
	sub	w9, w9, #2
	lsl	x9, x9, #2
	add	x22, x9, #8
Lloh2:
	adrp	x9, _g_screen_ptr@GOTPAGE
Lloh3:
	ldr	x9, [x9, _g_screen_ptr@GOTPAGEOFF]
Lloh4:
	ldr	x24, [x9]
	sxtw	x25, w20
	sxtw	x26, w21
	madd	x8, x8, x25, x26
	and	x8, x8, #0xfffffffffffffffc
	add	x0, x24, x8
	mov	w1, #224
	mov	x2, x22
	bl	_memset
	ldrsw	x8, [x23]
	madd	x8, x8, x25, x8
	add	x8, x8, x26
	and	x8, x8, #0xfffffffffffffffc
	add	x0, x24, x8
	mov	w1, #224
	mov	x2, x22
	bl	_memset
	ldrsw	x8, [x23]
	add	x9, x25, #2
	madd	x8, x8, x9, x26
	and	x8, x8, #0xfffffffffffffffc
	add	x0, x24, x8
	mov	w1, #224
	mov	x2, x22
	bl	_memset
	ldrsw	x8, [x23]
	add	x9, x25, #3
	madd	x8, x8, x9, x26
	and	x8, x8, #0xfffffffffffffffc
	add	x0, x24, x8
	mov	w1, #224
	mov	x2, x22
	bl	_memset
	ldrsw	x8, [x23]
	add	x9, x25, #4
	madd	x8, x8, x9, x26
	and	x8, x8, #0xfffffffffffffffc
	add	x0, x24, x8
	mov	w1, #224
	mov	x2, x22
	bl	_memset
	ldrsw	x8, [x23]
	add	x9, x25, #5
	madd	x8, x8, x9, x26
	and	x8, x8, #0xfffffffffffffffc
	add	x0, x24, x8
	mov	w1, #224
	mov	x2, x22
	bl	_memset
	ldrsw	x8, [x23]
	add	x9, x25, #6
	madd	x8, x8, x9, x26
	and	x8, x8, #0xfffffffffffffffc
	add	x0, x24, x8
	mov	w1, #224
	mov	x2, x22
	bl	_memset
	ldrsw	x8, [x23]
	add	x9, x25, #7
	madd	x8, x8, x9, x26
	and	x8, x8, #0xfffffffffffffffc
	add	x0, x24, x8
	mov	w1, #224
	mov	x2, x22
	bl	_memset
LBB0_2:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_emu_text_out8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_g_screen_width,4,2             ; @g_screen_width
	.comm	_g_screen_ptr,8,3               ; @g_screen_ptr
	.no_dead_strip	_osd_text8
.subsections_via_symbols
