	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plat_sdl_overlay_clear         ## -- Begin function plat_sdl_overlay_clear
	.p2align	4, 0x90
_plat_sdl_overlay_clear:                ## @plat_sdl_overlay_clear
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_plat_sdl_overlay@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	4(%rcx), %eax
	imull	(%rcx), %eax
	testl	%eax, %eax
	jle	LBB0_2
## %bb.1:
	movq	8(%rcx), %rcx
	movq	(%rcx), %rdi
	cmpl	$8, %eax
	movl	$8, %ecx
	cmovll	%eax, %ecx
	negl	%ecx
	leal	(%rax,%rcx), %edx
	addl	$7, %edx
	shrl	$3, %edx
	shlq	$4, %rdx
	addq	$16, %rdx
	leaq	L_.memset_pattern(%rip), %rsi
	callq	_memset_pattern16
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_plat_sdl_overlay,8,3           ## @plat_sdl_overlay
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.long	276828288                       ## 0x10801080
	.long	276828288                       ## 0x10801080
	.long	276828288                       ## 0x10801080
	.long	276828288                       ## 0x10801080

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_plat_sdl_overlay_clear         ; -- Begin function plat_sdl_overlay_clear
	.p2align	2
_plat_sdl_overlay_clear:                ; @plat_sdl_overlay_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
Lloh0:
	adrp	x8, _plat_sdl_overlay@GOTPAGE
Lloh1:
	ldr	x8, [x8, _plat_sdl_overlay@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldp	w8, w10, [x9]
	mul	w8, w10, w8
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x9, [x9, #8]
	ldr	x0, [x9]
	mov	w9, #8
	cmp	w8, #8
	csel	w9, w8, w9, lt
	sub	w8, w8, w9
	add	w8, w8, #7
	lsr	w8, w8, #3
	lsl	x8, x8, #4
	add	x2, x8, #16
Lloh3:
	adrp	x1, l_.memset_pattern@PAGE
Lloh4:
	add	x1, x1, l_.memset_pattern@PAGEOFF
	bl	_memset_pattern16
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_plat_sdl_overlay,8,3           ; @plat_sdl_overlay
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.long	276828288                       ; 0x10801080
	.long	276828288                       ; 0x10801080
	.long	276828288                       ; 0x10801080
	.long	276828288                       ; 0x10801080

.subsections_via_symbols
