	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function R_CreateDefaultImage
LCPI0_0:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_R_CreateDefaultImage:                  ## @R_CreateDefaultImage
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_DEFAULT_SIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %r15d
	movq	%r15, %rbx
	imulq	%r15, %rbx
	movq	%rbx, %rax
	shlq	$4, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	shll	$4, %ebx
	movq	%r14, %rdi
	movl	$32, %esi
	movl	%ebx, %edx
	callq	_Com_Memset
	movl	(%r12), %ecx
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.1:
	leal	-1(%rcx), %r8d
	movq	%r8, %rdx
	imulq	%r15, %rdx
	shlq	$4, %rdx
	cmpl	$1, %ecx
	jne	LBB0_3
## %bb.2:
	xorl	%esi, %esi
	jmp	LBB0_5
LBB0_3:
	movl	%ecx, %r9d
	andl	$-2, %r9d
	leaq	16(%r14), %rbx
	movq	%r15, %r11
	shlq	$4, %r11
	movq	%r8, %r12
	shlq	$4, %r12
	leaq	(%r11,%r12), %r10
	movq	%r15, %rax
	shlq	$5, %rax
	xorl	%esi, %esi
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [255,255,255,255]
	movq	%r14, %rdi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movaps	%xmm0, -16(%rbx)
	movaps	%xmm0, (%rdi)
	movaps	%xmm0, -16(%rbx,%rdx)
	movaps	%xmm0, (%rdi,%r12)
	movaps	%xmm0, (%rbx)
	movaps	%xmm0, (%rdi,%r11)
	movaps	%xmm0, (%rbx,%rdx)
	movaps	%xmm0, (%rdi,%r10)
	addq	$2, %rsi
	addq	$32, %rbx
	addq	%rax, %rdi
	cmpq	%rsi, %r9
	jne	LBB0_4
LBB0_5:
	testb	$1, %cl
	je	LBB0_7
## %bb.6:
	addq	%r14, %rdx
	movq	%rsi, %rax
	shlq	$4, %rax
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [255,255,255,255]
	movaps	%xmm0, (%r14,%rax)
	imulq	%rsi, %r15
	shlq	$4, %r15
	movq	%r14, %rsi
	addq	%r15, %rsi
	movaps	%xmm0, (%r14,%r15)
	movaps	%xmm0, (%rdx,%rax)
	shlq	$4, %r8
	movaps	%xmm0, (%r8,%rsi)
LBB0_7:
	movq	_IMGTYPE_COLORALPHA@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_IMGFLAG_MIPMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	subq	$8, %rsp
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	%ecx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	pushq	$0
	callq	_R_CreateImage
	addq	$16, %rsp
	movq	_tr@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DEFAULT_SIZE,4,2               ## @DEFAULT_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"*default"

	.comm	_IMGTYPE_COLORALPHA,4,2         ## @IMGTYPE_COLORALPHA
	.comm	_IMGFLAG_MIPMAP,4,2             ## @IMGFLAG_MIPMAP
	.comm	_tr,4,2                         ## @tr
	.no_dead_strip	_R_CreateDefaultImage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function R_CreateDefaultImage
_R_CreateDefaultImage:                  ; @R_CreateDefaultImage
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x21, _DEFAULT_SIZE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _DEFAULT_SIZE@GOTPAGEOFF]
	ldr	w20, [x21]
	mul	x12, x20, x20
	lsl	x8, x12, #4
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x19, x9, x8
	mov	sp, x19
	lsl	w2, w12, #4
	mov	x0, x19
	mov	w1, #32
	bl	_Com_Memset
	ldr	w2, [x21]
	cmp	w2, #1
	b.lt	LBB0_3
; %bb.1:
	sub	w8, w2, #1
	mul	x9, x20, x8
	lsl	x10, x20, #4
	movi.2d	v0, #0x0000ff000000ff
	mov	x11, x2
	mov	x12, x19
	mov	x13, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	q0, [x13]
	str	q0, [x12]
	str	q0, [x13, x9, lsl #4]
	add	x13, x13, #16
	str	q0, [x12, x8, lsl #4]
	add	x12, x12, x10
	subs	x11, x11, #1
	b.ne	LBB0_2
LBB0_3:
Lloh7:
	adrp	x8, _IMGTYPE_COLORALPHA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IMGTYPE_COLORALPHA@GOTPAGEOFF]
Lloh9:
	ldr	w4, [x8]
Lloh10:
	adrp	x8, _IMGFLAG_MIPMAP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IMGFLAG_MIPMAP@GOTPAGEOFF]
Lloh12:
	ldr	w5, [x8]
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x3, x2
	mov	w6, #0
	bl	_R_CreateImage
Lloh15:
	adrp	x8, _tr@GOTPAGE
Lloh16:
	ldr	x8, [x8, _tr@GOTPAGEOFF]
Lloh17:
	str	w0, [x8]
	ldur	x8, [x29, #-40]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DEFAULT_SIZE,4,2               ; @DEFAULT_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"*default"

	.comm	_IMGTYPE_COLORALPHA,4,2         ; @IMGTYPE_COLORALPHA
	.comm	_IMGFLAG_MIPMAP,4,2             ; @IMGFLAG_MIPMAP
	.comm	_tr,4,2                         ; @tr
	.no_dead_strip	_R_CreateDefaultImage
.subsections_via_symbols
