	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_convert_argb_pixels            ## -- Begin function convert_argb_pixels
	.p2align	4, 0x90
_convert_argb_pixels:                   ## @convert_argb_pixels
	.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
	subq	$216, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -120(%rbp)                 ## 8-byte Spill
	movq	%r8, %rbx
	movq	%rcx, %r14
	movl	%edx, -144(%rbp)                ## 4-byte Spill
	movl	%esi, %r12d
	movq	%rdi, -200(%rbp)                ## 8-byte Spill
	movq	40(%rbp), %r15
	movq	32(%rbp), %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-80(%rbp), %rdi
	movl	$32, %esi
	callq	_ZeroMemory
	leaq	-160(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_init_argb_conversion_info
	movl	(%r14), %edi
	movl	(%r13), %esi
	callq	_min
	movl	%eax, -164(%rbp)                ## 4-byte Spill
	movl	4(%r14), %edi
	movl	4(%r13), %esi
	callq	_min
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	movl	8(%r14), %edi
	movl	8(%r13), %esi
	callq	_min
	movl	%eax, %r13d
	cmpq	$0, 48(%rbp)
	je	LBB0_1
## %bb.2:
	movq	_D3DFMT_A8R8G8B8@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_format_info
	leaq	-176(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movq	%rax, %rsi
	callq	_init_argb_conversion_info
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
LBB0_3:
	testl	%r13d, %r13d
	movq	40(%rbp), %r15
	jle	LBB0_36
## %bb.4:
	movslq	%r12d, %rax
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	movslq	16(%rbp), %rax
	movq	%rax, -240(%rbp)                ## 8-byte Spill
	movslq	-144(%rbp), %rax                ## 4-byte Folded Reload
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movslq	24(%rbp), %rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movl	%r13d, %eax
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	movl	-100(%rbp), %eax                ## 4-byte Reload
	movq	%rax, -232(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	%rbx, -256(%rbp)                ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	incq	%rcx
	movq	%rcx, %rax
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	cmpq	-208(%rbp), %rcx                ## 8-byte Folded Reload
	je	LBB0_36
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
	cmpl	$0, -100(%rbp)                  ## 4-byte Folded Reload
	jle	LBB0_33
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, %rax
	imulq	-192(%rbp), %rax                ## 8-byte Folded Reload
	imulq	-184(%rbp), %rcx                ## 8-byte Folded Reload
	movq	-200(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rax,4), %rax
	movq	%rax, -224(%rbp)                ## 8-byte Spill
	movq	-120(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rcx,4), %rax
	movq	%rax, -248(%rbp)                ## 8-byte Spill
	xorl	%edx, %edx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	incq	%rdx
	cmpq	-232(%rbp), %rdx                ## 8-byte Folded Reload
	je	LBB0_33
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
	movq	%rdx, %rax
	imulq	-240(%rbp), %rax                ## 8-byte Folded Reload
	movq	-248(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r12
	movl	-164(%rbp), %r14d               ## 4-byte Reload
	testl	%r14d, %r14d
	movq	%rdx, -144(%rbp)                ## 8-byte Spill
	jle	LBB0_30
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	%rdx, %rax
	imulq	-216(%rbp), %rax                ## 8-byte Folded Reload
	movq	-224(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r13
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	cmpq	$0, 24(%rbx)
	jne	LBB0_18
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=3
	cmpq	$0, 16(%r15)
	jne	LBB0_18
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=3
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_18
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=3
	cmpl	$4, 8(%rbx)
	jg	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=3
	cmpl	$4, 8(%r15)
	jg	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=3
	leaq	-160(%rbp), %rdi
	movq	%r13, %rsi
	leaq	-80(%rbp), %r15
	movq	%r15, %rdx
	callq	_get_relevant_argb_components
	leaq	-160(%rbp), %rdi
	movq	%r15, %rsi
	callq	_make_argb_color
	movq	%rax, -112(%rbp)
	cmpq	$0, 48(%rbp)
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=3
	leaq	-176(%rbp), %rdi
	movq	%r13, %rsi
	leaq	-80(%rbp), %r15
	movq	%r15, %rdx
	callq	_get_relevant_argb_components
	leaq	-176(%rbp), %rdi
	movq	%r15, %rsi
	callq	_make_argb_color
	cmpq	48(%rbp), %rax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_9 Depth=3
	movq	-160(%rbp), %rax
	movq	(%rax), %rax
	notq	%rax
	andq	%rax, -112(%rbp)
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=3
	movq	40(%rbp), %r15
	movl	8(%r15), %edx
	movq	%r12, %rdi
	leaq	-112(%rbp), %rsi
	callq	_memcpy
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_9 Depth=3
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%rbx, %r15
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rdx
	callq	_format_to_vec4
	movq	24(%r15), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_9 Depth=3
	movq	%rbx, %rdi
	leaq	-88(%rbp), %rsi
	movq	56(%rbp), %rdx
	callq	*%rax
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_9 Depth=3
	movl	-96(%rbp), %eax
	movl	%eax, -88(%rbp)
LBB0_21:                                ##   in Loop: Header=BB0_9 Depth=3
	cmpq	$0, -152(%rbp)                  ## 8-byte Folded Reload
	movq	40(%rbp), %r15
	je	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_9 Depth=3
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	leaq	-88(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	callq	_format_from_vec4
	movq	48(%rbp), %rax
	cmpq	%rax, -112(%rbp)
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_9 Depth=3
	movl	$0, -88(%rbp)
LBB0_24:                                ##   in Loop: Header=BB0_9 Depth=3
	movq	40(%rbp), %r15
LBB0_25:                                ##   in Loop: Header=BB0_9 Depth=3
	movq	16(%r15), %rax
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_9 Depth=3
	leaq	-88(%rbp), %rdi
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rsi
	callq	*%rax
	movq	40(%rbp), %r15
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_9 Depth=3
	movl	-88(%rbp), %eax
	movl	%eax, -96(%rbp)
	leaq	-96(%rbp), %rbx
LBB0_28:                                ##   in Loop: Header=BB0_9 Depth=3
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_format_from_vec4
	movq	-256(%rbp), %rbx                ## 8-byte Reload
LBB0_29:                                ##   in Loop: Header=BB0_9 Depth=3
	movslq	8(%rbx), %rax
	leaq	(%r13,%rax,4), %r13
	movslq	8(%r15), %rax
	leaq	(%r12,%rax,4), %r12
	decl	%r14d
	jne	LBB0_9
LBB0_30:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	32(%rbp), %rax
	movl	(%rax), %edx
	movq	-136(%rbp), %rax                ## 8-byte Reload
	subl	(%rax), %edx
	jle	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_7 Depth=2
	imull	8(%r15), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	40(%rbp), %r15
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movl	4(%rax), %eax
	movq	32(%rbp), %rcx
	movl	4(%rcx), %edx
	subl	%eax, %edx
	jle	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	16(%rbp), %esi
	imull	%esi, %eax
	cltq
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdi
	imull	%esi, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	40(%rbp), %r15
	jmp	LBB0_35
LBB0_36:
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movl	8(%rax), %eax
	movq	32(%rbp), %rcx
	movl	8(%rcx), %edx
	subl	%eax, %edx
	jle	LBB0_38
## %bb.37:
	movl	24(%rbp), %esi
	imull	%esi, %eax
	cltq
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdi
	imull	%esi, %edx
	xorl	%esi, %esi
	callq	_memset
LBB0_38:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_40
## %bb.39:
	addq	$216, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_40:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_D3DFMT_A8R8G8B8,4,2            ## @D3DFMT_A8R8G8B8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_convert_argb_pixels            ; -- Begin function convert_argb_pixels
	.p2align	2
_convert_argb_pixels:                   ; @convert_argb_pixels
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x28, x27, [sp, #224]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #240]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #256]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	x7, x6, [sp, #8]                ; 16-byte Folded Spill
	str	x5, [sp, #64]                   ; 8-byte Folded Spill
	mov	x23, x4
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	ldp	x25, x27, [x29, #24]
	ldr	x24, [x29, #16]
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	sub	x0, x29, #128
	mov	w1, #32
	bl	_ZeroMemory
	sub	x2, x29, #136
	mov	x0, x23
	mov	x1, x25
	bl	_init_argb_conversion_info
	ldr	w0, [x22]
	ldr	w1, [x24]
	bl	_min
	mov	x20, x0
	ldr	w0, [x22, #4]
	ldr	w1, [x24, #4]
	bl	_min
	str	w0, [sp, #60]                   ; 4-byte Folded Spill
	stp	x24, x22, [sp, #120]            ; 16-byte Folded Spill
	ldr	w0, [x22, #8]
	ldr	w1, [x24, #8]
	bl	_min
	mov	x24, x0
	cbz	x27, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _D3DFMT_A8R8G8B8@GOTPAGE
Lloh4:
	ldr	x8, [x8, _D3DFMT_A8R8G8B8@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_get_format_info
	mov	x28, x0
	sub	x2, x29, #144
	mov	x0, x23
	mov	x1, x28
	bl	_init_argb_conversion_info
	cmp	w24, #1
	b.ge	LBB0_3
	b	LBB0_33
LBB0_2:
	mov	x28, #0
	cmp	w24, #1
	b.lt	LBB0_33
LBB0_3:
	sxtw	x8, w19
	stp	xzr, x8, [sp, #72]              ; 16-byte Folded Spill
	ldr	x19, [x29, #40]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	sxtw	x9, w8
	sxtw	x10, w21
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	sxtw	x8, w8
	stp	x8, x10, [sp, #24]              ; 16-byte Folded Spill
	mov	w8, w24
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	mov	w8, w8
	stp	x8, x9, [sp, #96]               ; 16-byte Folded Spill
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	add	x8, x8, #1
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	cmp	x8, x9
	b.eq	LBB0_33
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;       Child Loop BB0_10 Depth 3
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_31
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, #0
	ldr	x10, [sp, #72]                  ; 8-byte Folded Reload
	ldp	x8, x9, [sp, #32]               ; 16-byte Folded Reload
	mul	x8, x10, x8
	add	x8, x9, x8, lsl #2
	str	x8, [sp, #88]                   ; 8-byte Folded Spill
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	mul	x8, x10, x8
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	add	x8, x9, x8, lsl #2
	str	x8, [sp, #112]                  ; 8-byte Folded Spill
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x22, x22, #1
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	cmp	x22, x8
	b.eq	LBB0_31
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_10 Depth 3
	ldp	x8, x9, [sp, #104]              ; 16-byte Folded Reload
	mul	x8, x22, x8
	add	x24, x9, x8, lsl #2
	cmp	w20, #1
	b.lt	LBB0_29
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldp	x8, x9, [sp, #80]               ; 16-byte Folded Reload
	mul	x8, x22, x8
	add	x21, x9, x8, lsl #2
	mov	x26, x20
LBB0_10:                                ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_8 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x8, [x23, #24]
	cbnz	x8, LBB0_19
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=3
	ldr	x8, [x25, #16]
	cbnz	x8, LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=3
	ldr	x8, [x23]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=3
	ldr	w8, [x23, #8]
	cmp	w8, #4
	b.gt	LBB0_19
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=3
	ldr	w8, [x25, #8]
	cmp	w8, #4
	b.gt	LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=3
	sub	x0, x29, #136
	sub	x2, x29, #128
	mov	x1, x21
	bl	_get_relevant_argb_components
	sub	x0, x29, #136
	sub	x1, x29, #128
	bl	_make_argb_color
	str	x0, [sp, #152]
	cbz	x27, LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=3
	sub	x0, x29, #144
	sub	x2, x29, #128
	mov	x1, x21
	bl	_get_relevant_argb_components
	sub	x0, x29, #144
	sub	x1, x29, #128
	bl	_make_argb_color
	cmp	x0, x27
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=3
	ldur	x8, [x29, #-136]
	ldr	x8, [x8]
	ldr	x9, [sp, #152]
	bic	x8, x9, x8
	str	x8, [sp, #152]
LBB0_18:                                ;   in Loop: Header=BB0_10 Depth=3
	ldr	w2, [x25, #8]
	add	x1, sp, #152
	mov	x0, x24
	bl	_memcpy
	b	LBB0_28
LBB0_19:                                ;   in Loop: Header=BB0_10 Depth=3
	add	x2, sp, #144
	mov	x0, x23
	mov	x1, x21
	bl	_format_to_vec4
	ldr	x8, [x23, #24]
	cbz	x8, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_10 Depth=3
	add	x0, sp, #144
	add	x1, sp, #136
	mov	x2, x19
	blr	x8
	cbnz	x28, LBB0_22
	b	LBB0_24
LBB0_21:                                ;   in Loop: Header=BB0_10 Depth=3
	ldr	w8, [sp, #144]
	str	w8, [sp, #136]
	cbz	x28, LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_10 Depth=3
	add	x1, sp, #136
	add	x2, sp, #152
	mov	x0, x28
	bl	_format_from_vec4
	ldr	x8, [sp, #152]
	cmp	x8, x27
	b.ne	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_10 Depth=3
	str	wzr, [sp, #136]
LBB0_24:                                ;   in Loop: Header=BB0_10 Depth=3
	ldr	x8, [x25, #16]
	cbz	x8, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_10 Depth=3
	add	x0, sp, #136
	add	x1, sp, #144
	blr	x8
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_10 Depth=3
	ldr	w8, [sp, #136]
	str	w8, [sp, #144]
LBB0_27:                                ;   in Loop: Header=BB0_10 Depth=3
	add	x1, sp, #144
	mov	x0, x25
	mov	x2, x24
	bl	_format_from_vec4
LBB0_28:                                ;   in Loop: Header=BB0_10 Depth=3
	ldrsw	x8, [x23, #8]
	add	x21, x21, x8, lsl #2
	ldrsw	x8, [x25, #8]
	add	x24, x24, x8, lsl #2
	subs	w26, w26, #1
	b.ne	LBB0_10
LBB0_29:                                ;   in Loop: Header=BB0_8 Depth=2
	ldp	x9, x8, [sp, #120]              ; 16-byte Folded Reload
	ldr	w8, [x8]
	ldr	w9, [x9]
	subs	w8, w9, w8
	b.le	LBB0_7
; %bb.30:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	w9, [x25, #8]
	mul	w2, w9, w8
	mov	x0, x24
	mov	w1, #0
	bl	_memset
	b	LBB0_7
LBB0_31:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	x9, x8, [sp, #120]              ; 16-byte Folded Reload
	ldr	w8, [x8, #4]
	ldr	w9, [x9, #4]
	subs	w9, w9, w8
	b.le	LBB0_4
; %bb.32:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x11, [sp, #16]                  ; 8-byte Folded Reload
	mul	w8, w8, w11
	ldr	x10, [sp, #64]                  ; 8-byte Folded Reload
	add	x0, x10, w8, sxtw #2
	mul	w2, w9, w11
	mov	w1, #0
	bl	_memset
	b	LBB0_4
LBB0_33:
	ldp	x9, x8, [sp, #120]              ; 16-byte Folded Reload
	ldr	w8, [x8, #8]
	ldr	w9, [x9, #8]
	subs	w9, w9, w8
	b.le	LBB0_35
; %bb.34:
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	mul	w8, w8, w10
	ldr	x11, [sp, #64]                  ; 8-byte Folded Reload
	add	x0, x11, w8, sxtw #2
	mul	w2, w9, w10
	mov	w1, #0
	bl	_memset
LBB0_35:
	ldur	x8, [x29, #-96]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_37
; %bb.36:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #256]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #240]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #224]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_37:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_D3DFMT_A8R8G8B8,4,2            ; @D3DFMT_A8R8G8B8
.subsections_via_symbols
