	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plat_status_msg_clear          ## -- Begin function plat_status_msg_clear
	.p2align	4, 0x90
_plat_status_msg_clear:                 ## @plat_status_msg_clear
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	callq	_is_16bit_mode
	movq	_currentConfig@GOTPCREL(%rip), %rcx
	movq	_EOPT_WIZ_TEAR_FIX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_19
## %bb.1:
	movq	_gp2x_screens@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rdx
	testl	%eax, %eax
	je	LBB0_11
## %bb.2:
	movl	$464, %eax                      ## imm = 0x1D0
	xorps	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movups	%xmm0, (%rdx,%rax)
	movups	%xmm0, 480(%rdx,%rax)
	movups	%xmm0, 960(%rdx,%rax)
	movups	%xmm0, 1440(%rdx,%rax)
	movups	%xmm0, 1920(%rdx,%rax)
	movups	%xmm0, 2400(%rdx,%rax)
	movups	%xmm0, 2880(%rdx,%rax)
	movups	%xmm0, 3360(%rdx,%rax)
	movups	%xmm0, 3840(%rdx,%rax)
	movups	%xmm0, 4320(%rdx,%rax)
	addq	$4800, %rax                     ## imm = 0x12C0
	cmpl	$154064, %eax                   ## imm = 0x259D0
	jne	LBB0_3
## %bb.4:
	movq	8(%rcx), %rax
	movl	$464, %edx                      ## imm = 0x1D0
	xorps	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movups	%xmm0, (%rax,%rdx)
	movups	%xmm0, 480(%rax,%rdx)
	movups	%xmm0, 960(%rax,%rdx)
	movups	%xmm0, 1440(%rax,%rdx)
	movups	%xmm0, 1920(%rax,%rdx)
	movups	%xmm0, 2400(%rax,%rdx)
	movups	%xmm0, 2880(%rax,%rdx)
	movups	%xmm0, 3360(%rax,%rdx)
	movups	%xmm0, 3840(%rax,%rdx)
	movups	%xmm0, 4320(%rax,%rdx)
	addq	$4800, %rdx                     ## imm = 0x12C0
	cmpl	$154064, %edx                   ## imm = 0x259D0
	jne	LBB0_5
## %bb.6:
	movq	16(%rcx), %rax
	movl	$464, %edx                      ## imm = 0x1D0
	xorps	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movups	%xmm0, (%rax,%rdx)
	movups	%xmm0, 480(%rax,%rdx)
	movups	%xmm0, 960(%rax,%rdx)
	movups	%xmm0, 1440(%rax,%rdx)
	movups	%xmm0, 1920(%rax,%rdx)
	movups	%xmm0, 2400(%rax,%rdx)
	movups	%xmm0, 2880(%rax,%rdx)
	movups	%xmm0, 3360(%rax,%rdx)
	movups	%xmm0, 3840(%rax,%rdx)
	movups	%xmm0, 4320(%rax,%rdx)
	addq	$4800, %rdx                     ## imm = 0x12C0
	cmpl	$154064, %edx                   ## imm = 0x259D0
	jne	LBB0_7
## %bb.8:
	movq	24(%rcx), %rax
	movl	$464, %ecx                      ## imm = 0x1D0
	xorps	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movups	%xmm0, (%rax,%rcx)
	movups	%xmm0, 480(%rax,%rcx)
	movups	%xmm0, 960(%rax,%rcx)
	movups	%xmm0, 1440(%rax,%rcx)
	movups	%xmm0, 1920(%rax,%rcx)
	movups	%xmm0, 2400(%rax,%rcx)
	movups	%xmm0, 2880(%rax,%rcx)
	movups	%xmm0, 3360(%rax,%rcx)
	movups	%xmm0, 3840(%rax,%rcx)
	movups	%xmm0, 4320(%rax,%rcx)
	addq	$4800, %rcx                     ## imm = 0x12C0
	cmpl	$154064, %ecx                   ## imm = 0x259D0
	jne	LBB0_9
	jmp	LBB0_10
LBB0_19:
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:
	movl	$148480, %edi                   ## imm = 0x24400
	xorl	%esi, %esi
	movl	$5120, %edx                     ## imm = 0x1400
	popq	%rbp
	jmp	_gp2x_memset_all_buffers        ## TAILCALL
LBB0_11:
	movl	$1916, %esi                     ## imm = 0x77C
	movabsq	$-2242545357980376864, %rax     ## imm = 0xE0E0E0E0E0E0E0E0
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, -1684(%rdx,%rsi)
	movq	%rax, -1444(%rdx,%rsi)
	movq	%rax, -1204(%rdx,%rsi)
	movq	%rax, -964(%rdx,%rsi)
	movq	%rax, -724(%rdx,%rsi)
	movq	%rax, -484(%rdx,%rsi)
	movq	%rax, -244(%rdx,%rsi)
	movq	%rax, -4(%rdx,%rsi)
	addq	$1920, %rsi                     ## imm = 0x780
	cmpl	$78716, %esi                    ## imm = 0x1337C
	jne	LBB0_12
## %bb.13:
	movq	8(%rcx), %rdx
	movl	$1916, %esi                     ## imm = 0x77C
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, -1684(%rdx,%rsi)
	movq	%rax, -1444(%rdx,%rsi)
	movq	%rax, -1204(%rdx,%rsi)
	movq	%rax, -964(%rdx,%rsi)
	movq	%rax, -724(%rdx,%rsi)
	movq	%rax, -484(%rdx,%rsi)
	movq	%rax, -244(%rdx,%rsi)
	movq	%rax, -4(%rdx,%rsi)
	addq	$1920, %rsi                     ## imm = 0x780
	cmpl	$78716, %esi                    ## imm = 0x1337C
	jne	LBB0_14
## %bb.15:
	movq	16(%rcx), %rdx
	movl	$1916, %esi                     ## imm = 0x77C
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, -1684(%rdx,%rsi)
	movq	%rax, -1444(%rdx,%rsi)
	movq	%rax, -1204(%rdx,%rsi)
	movq	%rax, -964(%rdx,%rsi)
	movq	%rax, -724(%rdx,%rsi)
	movq	%rax, -484(%rdx,%rsi)
	movq	%rax, -244(%rdx,%rsi)
	movq	%rax, -4(%rdx,%rsi)
	addq	$1920, %rsi                     ## imm = 0x780
	cmpl	$78716, %esi                    ## imm = 0x1337C
	jne	LBB0_16
## %bb.17:
	movq	24(%rcx), %rcx
	movl	$1916, %edx                     ## imm = 0x77C
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, -1684(%rcx,%rdx)
	movq	%rax, -1444(%rcx,%rdx)
	movq	%rax, -1204(%rcx,%rdx)
	movq	%rax, -964(%rcx,%rdx)
	movq	%rax, -724(%rcx,%rdx)
	movq	%rax, -484(%rcx,%rdx)
	movq	%rax, -244(%rcx,%rdx)
	movq	%rax, -4(%rcx,%rdx)
	addq	$1920, %rdx                     ## imm = 0x780
	cmpl	$78716, %edx                    ## imm = 0x1337C
	jne	LBB0_18
LBB0_10:
	popq	%rbp
	retq
LBB0_21:
	movl	$74240, %edi                    ## imm = 0x12200
	movl	$224, %esi
	movl	$2560, %edx                     ## imm = 0xA00
	popq	%rbp
	jmp	_gp2x_memset_all_buffers        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_currentConfig,4,2              ## @currentConfig
	.comm	_EOPT_WIZ_TEAR_FIX,4,2          ## @EOPT_WIZ_TEAR_FIX
	.comm	_gp2x_screens,8,3               ## @gp2x_screens
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plat_status_msg_clear          ; -- Begin function plat_status_msg_clear
	.p2align	2
_plat_status_msg_clear:                 ; @plat_status_msg_clear
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_is_16bit_mode
Lloh0:
	adrp	x8, _currentConfig@GOTPAGE
Lloh1:
	ldr	x8, [x8, _currentConfig@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _EOPT_WIZ_TEAR_FIX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EOPT_WIZ_TEAR_FIX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.1:
Lloh6:
	adrp	x8, _gp2x_screens@GOTPAGE
Lloh7:
	ldr	x8, [x8, _gp2x_screens@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x9, [x8]
	cbz	w0, LBB0_12
; %bb.2:
	add	x10, x9, #464
	mov	w9, #321
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	stp	xzr, xzr, [x10], #480
	sub	w9, w9, #1
	cmp	w9, #1
	b.hi	LBB0_3
; %bb.4:
	ldr	x9, [x8, #8]
	add	x10, x9, #464
	mov	w9, #321
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	stp	xzr, xzr, [x10], #480
	sub	w9, w9, #1
	cmp	w9, #1
	b.hi	LBB0_5
; %bb.6:
	ldr	x9, [x8, #16]
	add	x10, x9, #464
	mov	w9, #321
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	stp	xzr, xzr, [x10], #480
	sub	w9, w9, #1
	cmp	w9, #1
	b.hi	LBB0_7
; %bb.8:
	ldr	x8, [x8, #24]
	add	x9, x8, #464
	mov	w8, #321
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	stp	xzr, xzr, [x9], #480
	sub	w8, w8, #1
	cmp	w8, #1
	b.hi	LBB0_9
	b	LBB0_20
LBB0_10:
	cbz	w0, LBB0_21
; %bb.11:
	mov	w0, #17408
	movk	w0, #2, lsl #16
	mov	w1, #0
	mov	w2, #5120
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_gp2x_memset_all_buffers
LBB0_12:
	mov	w10, #320
	movi.8b	v0, #224
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	str	d0, [x9, #232]
	str	d0, [x9, #472]
	str	d0, [x9, #712]
	str	d0, [x9, #952]
	add	x9, x9, #960
	subs	x10, x10, #4
	b.ne	LBB0_13
; %bb.14:
	ldr	x9, [x8, #8]
	mov	w10, #320
	movi.8b	v0, #224
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	str	d0, [x9, #232]
	str	d0, [x9, #472]
	str	d0, [x9, #712]
	str	d0, [x9, #952]
	add	x9, x9, #960
	subs	x10, x10, #4
	b.ne	LBB0_15
; %bb.16:
	ldr	x9, [x8, #16]
	mov	w10, #320
	movi.8b	v0, #224
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	str	d0, [x9, #232]
	str	d0, [x9, #472]
	str	d0, [x9, #712]
	str	d0, [x9, #952]
	add	x9, x9, #960
	subs	x10, x10, #4
	b.ne	LBB0_17
; %bb.18:
	ldr	x8, [x8, #24]
	mov	w9, #320
	movi.8b	v0, #224
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	str	d0, [x8, #232]
	str	d0, [x8, #472]
	str	d0, [x8, #712]
	str	d0, [x8, #952]
	add	x8, x8, #960
	subs	x9, x9, #4
	b.ne	LBB0_19
LBB0_20:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_21:
	mov	w0, #8704
	movk	w0, #1, lsl #16
	mov	w1, #224
	mov	w2, #2560
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_gp2x_memset_all_buffers
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_currentConfig,4,2              ; @currentConfig
	.comm	_EOPT_WIZ_TEAR_FIX,4,2          ; @EOPT_WIZ_TEAR_FIX
	.comm	_gp2x_screens,8,3               ; @gp2x_screens
.subsections_via_symbols
