	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ANIMATE_PaintFrame
_ANIMATE_PaintFrame:                    ## @ANIMATE_PaintFrame
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%esi, %esi
	je	LBB0_17
## %bb.1:
	movq	%rdi, %rbx
	movq	40(%rdi), %r14
	testq	%r14, %r14
	je	LBB0_17
## %bb.2:
	movl	%esi, %r12d
	cmpq	$0, 56(%rbx)
	je	LBB0_4
## %bb.3:
	movq	48(%rbx), %r14
	leaq	4(%r14), %rax
	movq	%rbx, %rcx
	jmp	LBB0_5
LBB0_4:
	leaq	8(%rbx), %rcx
	movq	%r14, %rax
	addq	$4, %rax
LBB0_5:
	movq	(%rcx), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rax), %r15d
	movl	(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpq	$0, 24(%rbx)
	jne	LBB0_7
## %bb.6:
	movl	%r12d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	callq	_CreateCompatibleBitmap
	movq	%rax, 24(%rbx)
LBB0_7:
	movl	%r12d, %edi
	callq	_CreateCompatibleDC
	movl	%eax, %r13d
	movq	24(%rbx), %rsi
	movl	%eax, %edi
	callq	_SelectObject
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	24(%rbx), %rsi
	movq	_DIB_RGB_COLORS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movl	%r13d, %edi
	xorl	%edx, %edx
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movl	%r15d, %ecx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	%r14, %r9
	pushq	%rax
	callq	_SetDIBits
	addq	$16, %rsp
	movl	36(%rbx), %eax
	movq	_ANIMATE_COLOR_NONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_9
## %bb.8:
	movl	%r13d, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_GetPixel
	movl	%eax, 36(%rbx)
LBB0_9:
	movl	16(%rbx), %eax
	movq	_ACS_TRANSPARENT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.10:
	movl	%r12d, %edi
	callq	_CreateCompatibleDC
	movl	%eax, %r15d
	movl	%r12d, %edi
	movl	%r12d, -56(%rbp)                ## 4-byte Spill
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %esi
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edx
	callq	_CreateCompatibleBitmap
	movl	%r15d, %edi
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	callq	_SelectObject
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	%r12d, %ecx
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	movl	%r14d, %r8d
	callq	_SetRect
	movl	32(%rbx), %edx
	testl	%edx, %edx
	jne	LBB0_12
## %bb.11:
	movq	_OBJ_BRUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edi
	callq	_GetCurrentObject
	movl	%eax, %edx
	movl	%eax, 32(%rbx)
LBB0_12:
	leaq	-72(%rbp), %rsi
	movl	%r15d, %edi
	callq	_FillRect
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	callq	_ANIMATE_TransparentBlt
	movl	%r15d, %edi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_SelectObject
	movl	%r13d, %edi
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_SelectObject
	movl	%r15d, %edi
	callq	_DeleteDC
	movq	24(%rbx), %rdi
	callq	_DeleteObject
	movq	%r14, 24(%rbx)
	movl	16(%rbx), %eax
LBB0_13:
	movq	_ACS_CENTER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.15:
	movl	20(%rbx), %edi
	leaq	-72(%rbp), %rsi
	callq	_GetWindowRect
	movl	-68(%rbp), %eax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	addl	%ecx, %eax
	movl	-72(%rbp), %edx
	subl	%eax, %edx
	movl	-64(%rbp), %eax
	movl	%edx, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	sarl	%esi
	movl	-60(%rbp), %edx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	addl	%r8d, %edx
	subl	%edx, %eax
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	jmp	LBB0_16
LBB0_14:
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
LBB0_16:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	_SRCCOPY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movl	%r12d, %edi
	movl	%r13d, %r9d
	pushq	%rax
	pushq	$0
	pushq	$0
	callq	_BitBlt
	addq	$32, %rsp
	movl	%r13d, %edi
	movq	%rbx, %rsi
	callq	_SelectObject
	movl	%r13d, %edi
	callq	_DeleteDC
LBB0_17:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_DIB_RGB_COLORS,4,2             ## @DIB_RGB_COLORS
	.comm	_ANIMATE_COLOR_NONE,4,2         ## @ANIMATE_COLOR_NONE
	.comm	_ACS_TRANSPARENT,4,2            ## @ACS_TRANSPARENT
	.comm	_OBJ_BRUSH,4,2                  ## @OBJ_BRUSH
	.comm	_ACS_CENTER,4,2                 ## @ACS_CENTER
	.comm	_SRCCOPY,4,2                    ## @SRCCOPY
	.no_dead_strip	_ANIMATE_PaintFrame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ANIMATE_PaintFrame
_ANIMATE_PaintFrame:                    ; @ANIMATE_PaintFrame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	cbz	w1, LBB0_17
; %bb.1:
	mov	x22, x0
	ldr	x25, [x0, #40]
	cbz	x25, LBB0_17
; %bb.2:
	mov	x19, x1
	ldr	x8, [x22, #56]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x25, [x22, #48]
	add	x8, x25, #4
	mov	x9, x22
	b	LBB0_5
LBB0_4:
	add	x9, x22, #8
	add	x8, x25, #4
LBB0_5:
	ldr	x26, [x9]
	ldr	w20, [x8]
	ldr	w21, [x25]
	ldr	x8, [x22, #24]
	cbnz	x8, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_CreateCompatibleBitmap
	str	x0, [x22, #24]
LBB0_7:
	mov	x0, x19
	bl	_CreateCompatibleDC
	mov	x23, x0
	ldr	x1, [x22, #24]
	bl	_SelectObject
	mov	x24, x0
	ldr	x1, [x22, #24]
Lloh0:
	adrp	x8, _DIB_RGB_COLORS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIB_RGB_COLORS@GOTPAGEOFF]
Lloh2:
	ldr	w6, [x8]
	mov	x0, x23
	mov	w2, #0
	mov	x3, x20
	mov	x4, x26
	mov	x5, x25
	bl	_SetDIBits
	ldr	w8, [x22, #36]
Lloh3:
	adrp	x9, _ANIMATE_COLOR_NONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ANIMATE_COLOR_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x23
	mov	w1, #0
	mov	w2, #0
	bl	_GetPixel
	str	w0, [x22, #36]
LBB0_9:
	ldr	w8, [x22, #16]
Lloh6:
	adrp	x9, _ACS_TRANSPARENT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ACS_TRANSPARENT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.10:
	mov	x0, x19
	bl	_CreateCompatibleDC
	mov	x25, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_CreateCompatibleBitmap
	mov	x26, x0
	mov	x0, x25
	mov	x1, x26
	bl	_SelectObject
	mov	x27, x0
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #0
	mov	x3, x21
	mov	x4, x20
	bl	_SetRect
	ldr	w2, [x22, #32]
	cbnz	w2, LBB0_12
; %bb.11:
Lloh9:
	adrp	x8, _OBJ_BRUSH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OBJ_BRUSH@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_GetCurrentObject
	mov	x2, x0
	str	w0, [x22, #32]
LBB0_12:
	add	x1, sp, #16
	mov	x0, x25
	bl	_FillRect
	mov	x0, x22
	mov	x1, x25
	mov	x2, x23
	bl	_ANIMATE_TransparentBlt
	mov	x0, x25
	mov	x1, x27
	bl	_SelectObject
	mov	x0, x23
	mov	x1, x26
	bl	_SelectObject
	mov	x0, x25
	bl	_DeleteDC
	ldr	x0, [x22, #24]
	bl	_DeleteObject
	str	x26, [x22, #24]
	ldr	w8, [x22, #16]
LBB0_13:
Lloh12:
	adrp	x9, _ACS_CENTER@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ACS_CENTER@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.14:
	ldr	w0, [x22, #20]
	add	x1, sp, #16
	bl	_GetWindowRect
	ldp	w8, w9, [sp, #16]
	add	w9, w21, w9
	sub	w8, w8, w9
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w1, w8, #1
	ldp	w8, w9, [sp, #24]
	add	w9, w20, w9
	sub	w8, w8, w9
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w2, w8, #1
	b	LBB0_16
LBB0_15:
	mov	w1, #0
	mov	w2, #0
LBB0_16:
Lloh15:
	adrp	x8, _SRCCOPY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SRCCOPY@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	x0, x19
	mov	x3, x21
	mov	x4, x20
	mov	x5, x23
	mov	w6, #0
	mov	w7, #0
	bl	_BitBlt
	mov	x0, x23
	mov	x1, x24
	bl	_SelectObject
	mov	x0, x23
	bl	_DeleteDC
LBB0_17:
Lloh18:
	adrp	x8, _TRUE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_DIB_RGB_COLORS,4,2             ; @DIB_RGB_COLORS
	.comm	_ANIMATE_COLOR_NONE,4,2         ; @ANIMATE_COLOR_NONE
	.comm	_ACS_TRANSPARENT,4,2            ; @ACS_TRANSPARENT
	.comm	_OBJ_BRUSH,4,2                  ; @OBJ_BRUSH
	.comm	_ACS_CENTER,4,2                 ; @ACS_CENTER
	.comm	_SRCCOPY,4,2                    ; @SRCCOPY
	.no_dead_strip	_ANIMATE_PaintFrame
.subsections_via_symbols
