	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function InitLogo
_InitLogo:                              ## @InitLogo
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_GetDC
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	callq	_CreateCompatibleDC
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	callq	_CreateCompatibleDC
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$56, %esi
	callq	_ZeroMemory
	leaq	-200(%rbp), %rdi
	movl	$56, %esi
	callq	_ZeroMemory
	movq	_hInstance@GOTPCREL(%rip), %r14
	movl	(%r14), %r15d
	movq	_IDB_ROSLOGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAKEINTRESOURCEW
	movq	_IMAGE_BITMAP@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_LR_DEFAULTCOLOR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r9d
	movl	%r15d, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_LoadImageW
	movq	%rax, %r12
	movl	(%r14), %r15d
	movq	_IDB_ROSMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAKEINTRESOURCEW
	movl	(%r13), %edx
	movl	(%rbx), %r9d
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movl	%r15d, %edi
	movq	%r12, %r15
	movl	%eax, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_LoadImageW
	movq	%rax, %r12
	testq	%r15, %r15
	je	LBB0_13
## %bb.1:
	testq	%r12, %r12
	je	LBB0_13
## %bb.2:
	leaq	-72(%rbp), %rdx
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_GetObject
	leaq	-144(%rbp), %rdx
	movq	%r12, %rdi
	movl	$16, %esi
	callq	_GetObject
	movl	-72(%rbp), %eax
	cmpl	-144(%rbp), %eax
	jne	LBB0_13
## %bb.3:
	movl	-68(%rbp), %ecx
	cmpl	-140(%rbp), %ecx
	jne	LBB0_13
## %bb.4:
	movl	$56, -176(%rbp)
	movl	%ecx, -172(%rbp)
	movl	%eax, -168(%rbp)
	movabsq	$137438953473, %rdx             ## imm = 0x2000000001
	movq	%rdx, -164(%rbp)
	movq	_BI_RGB@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, -152(%rbp)
	imull	%ecx, %eax
	shll	$2, %eax
	movl	%eax, -156(%rbp)
	movq	_DIB_RGB_COLORS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-200(%rbp), %rsi
	leaq	-88(%rbp), %rcx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_CreateDIBSection
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movq	%rax, %r13
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_SelectObject
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_SelectObject
	movl	-72(%rbp), %ecx
	movl	-68(%rbp), %eax
	movl	%ecx, %edx
	testl	%ecx, %ecx
	jle	LBB0_12
## %bb.6:
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movl	%edx, %r15d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$2, -128(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_11
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movl	%r15d, %edx
	movq	%rdx, %rcx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	leal	-1(%rdx), %r15d
	testl	%eax, %eax
	jle	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	xorl	%r12d, %r12d
	movl	%r15d, -76(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r14d, %edi
	movl	%r12d, %esi
	movl	%r15d, %edx
	callq	_GetPixel
	movl	%eax, %r13d
	movzbl	%r13b, %r14d
	movl	%ebx, %edi
	movl	%r12d, %esi
	movl	%r15d, %edx
	callq	_GetPixel
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_GetRValue
	imull	%r14d, %eax
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movslq	%eax, %rbx
	imulq	$-2139062143, %rbx, %rax        ## imm = 0x80808081
	shrq	$32, %rax
	addl	%eax, %ebx
	movl	%ebx, %eax
	shrl	$31, %eax
	shrl	$7, %ebx
	addl	%eax, %ebx
	movl	%r15d, %edi
	callq	_GetGValue
	imull	%r14d, %eax
	movslq	%eax, %r14
	imulq	$-2139062143, %r14, %rax        ## imm = 0x80808081
	shrq	$32, %rax
	addl	%eax, %r14d
	movl	%r14d, %eax
	shrl	$31, %eax
	shrl	$7, %r14d
	addl	%eax, %r14d
	movl	%r15d, %edi
	movl	-76(%rbp), %r15d                ## 4-byte Reload
	callq	_GetBValue
	imull	-44(%rbp), %eax                 ## 4-byte Folded Reload
	cltq
	imulq	$-2139062143, %rax, %rcx        ## imm = 0x80808081
	shrq	$32, %rcx
	addl	%ecx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$7, %eax
	addl	%ecx, %eax
	shll	$8, %r14d
	orl	%eax, %r14d
	shll	$16, %ebx
	shll	$24, %r13d
	orl	%ebx, %r13d
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	orl	%r14d, %r13d
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	movq	-88(%rbp), %rax
	leaq	4(%rax), %rcx
	movq	%rcx, -88(%rbp)
	movl	%r13d, (%rax)
	incl	%r12d
	movl	-68(%rbp), %eax
	cmpl	%eax, %r12d
	jl	LBB0_10
	jmp	LBB0_7
LBB0_11:
	movl	-72(%rbp), %edx
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	-96(%rbp), %r13                 ## 8-byte Reload
LBB0_12:
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	%r13, 16(%rcx)
	movl	%eax, (%rcx)
	movl	%edx, 4(%rcx)
	movl	-60(%rbp), %eax
	movl	%eax, 12(%rcx)
	movl	-64(%rbp), %eax
	movl	%eax, 8(%rcx)
LBB0_13:
	movq	%r12, %rdi
	callq	_DeleteObject
	movq	%r15, %rdi
	callq	_DeleteObject
	movl	%r14d, %edi
	callq	_DeleteDC
	movl	%ebx, %edi
	callq	_DeleteDC
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hInstance,4,2                  ## @hInstance
	.comm	_IDB_ROSLOGO,4,2                ## @IDB_ROSLOGO
	.comm	_IMAGE_BITMAP,4,2               ## @IMAGE_BITMAP
	.comm	_LR_DEFAULTCOLOR,4,2            ## @LR_DEFAULTCOLOR
	.comm	_IDB_ROSMASK,4,2                ## @IDB_ROSMASK
	.comm	_BI_RGB,4,2                     ## @BI_RGB
	.comm	_DIB_RGB_COLORS,4,2             ## @DIB_RGB_COLORS
	.no_dead_strip	_InitLogo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function InitLogo
lCPI0_0:
	.long	1                               ; 0x1
	.long	32                              ; 0x20
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_InitLogo:                              ; @InitLogo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.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
	mov	x20, x0
	mov	x0, x1
	bl	_GetDC
	mov	x24, x0
	mov	x0, #0
	bl	_CreateCompatibleDC
	mov	x19, x0
	mov	x0, #0
	bl	_CreateCompatibleDC
	mov	x21, x0
	str	x20, [sp, #32]                  ; 8-byte Folded Spill
	mov	x0, x20
	mov	w1, #56
	bl	_ZeroMemory
	add	x0, sp, #56
	mov	w1, #56
	bl	_ZeroMemory
Lloh0:
	adrp	x20, _hInstance@GOTPAGE
Lloh1:
	ldr	x20, [x20, _hInstance@GOTPAGEOFF]
	ldr	w22, [x20]
Lloh2:
	adrp	x8, _IDB_ROSLOGO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IDB_ROSLOGO@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_MAKEINTRESOURCEW
	mov	x1, x0
Lloh5:
	adrp	x25, _IMAGE_BITMAP@GOTPAGE
Lloh6:
	ldr	x25, [x25, _IMAGE_BITMAP@GOTPAGEOFF]
	ldr	w2, [x25]
Lloh7:
	adrp	x26, _LR_DEFAULTCOLOR@GOTPAGE
Lloh8:
	ldr	x26, [x26, _LR_DEFAULTCOLOR@GOTPAGEOFF]
	ldr	w5, [x26]
	mov	x0, x22
	mov	w3, #0
	mov	w4, #0
	bl	_LoadImageW
	mov	x22, x0
	ldr	w23, [x20]
Lloh9:
	adrp	x8, _IDB_ROSMASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IDB_ROSMASK@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_MAKEINTRESOURCEW
	mov	x1, x0
	ldr	w2, [x25]
	mov	x20, x22
	ldr	w5, [x26]
	mov	x0, x23
	mov	w3, #0
	mov	w4, #0
	bl	_LoadImageW
	mov	x22, x0
	cmp	x20, #0
	ccmp	x0, #0, #4, ne
	b.eq	LBB0_13
; %bb.1:
	sub	x2, x29, #96
	mov	x0, x20
	mov	w1, #16
	bl	_GetObject
	add	x2, sp, #112
	mov	x0, x22
	mov	w1, #16
	bl	_GetObject
	ldur	w8, [x29, #-96]
	ldr	w9, [sp, #112]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.2:
	ldur	w9, [x29, #-92]
	ldr	w10, [sp, #116]
	cmp	w9, w10
	b.ne	LBB0_13
; %bb.3:
	mov	w10, #56
	stp	w10, w9, [sp, #80]
	str	w8, [sp, #88]
Lloh12:
	adrp	x10, lCPI0_0@PAGE
Lloh13:
	ldr	d0, [x10, lCPI0_0@PAGEOFF]
	stur	d0, [sp, #92]
Lloh14:
	adrp	x10, _BI_RGB@GOTPAGE
Lloh15:
	ldr	x10, [x10, _BI_RGB@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	mul	w8, w8, w9
	lsl	w8, w8, #2
	stp	w8, w10, [sp, #100]
Lloh17:
	adrp	x8, _DIB_RGB_COLORS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DIB_RGB_COLORS@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	add	x1, sp, #56
	add	x3, sp, #48
	mov	x0, x24
	mov	w4, #0
	mov	w5, #0
	bl	_CreateDIBSection
	cbz	x0, LBB0_13
; %bb.4:
	mov	x23, x0
	mov	x0, x19
	str	x20, [sp, #24]                  ; 8-byte Folded Spill
	mov	x1, x20
	bl	_SelectObject
	mov	x0, x21
	str	x22, [sp, #16]                  ; 8-byte Folded Spill
	mov	x1, x22
	bl	_SelectObject
	ldp	w25, w8, [x29, #-96]
	cmp	w25, #1
	b.lt	LBB0_12
; %bb.5:
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
	mov	w24, #32897
	movk	w24, #32896, lsl #16
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	cmp	w9, #1
	b.le	LBB0_11
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x9, x25
	sub	w25, w25, #1
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	str	w9, [sp, #44]                   ; 4-byte Folded Spill
	mov	w26, #0
LBB0_9:                                 ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	mov	x1, x26
	mov	x2, x25
	bl	_GetPixel
	mov	x27, x0
	and	w22, w0, #0xff
	mov	x0, x19
	mov	x1, x26
	mov	x2, x25
	bl	_GetPixel
	mov	x28, x0
	bl	_GetRValue
	mul	w8, w0, w22
	smull	x9, w8, w24
	lsr	x9, x9, #32
	add	w8, w9, w8
	lsr	w9, w8, #7
	add	w23, w9, w8, lsr #31
	mov	x0, x28
	bl	_GetGValue
	mul	w8, w0, w22
	smull	x9, w8, w24
	lsr	x9, x9, #32
	add	w8, w9, w8
	lsr	w9, w8, #7
	add	w20, w9, w8, lsr #31
	mov	x0, x28
	bl	_GetBValue
	mul	w8, w0, w22
	smull	x9, w8, w24
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #7
	add	w8, w9, w8, lsr #31
	lsl	w9, w23, #16
	orr	w9, w9, w27, lsl #24
	orr	w9, w9, w20, lsl #8
	orr	w8, w9, w8
	ldr	x9, [sp, #48]
	str	w8, [x9], #4
	str	x9, [sp, #48]
	add	w26, w26, #1
	ldur	w8, [x29, #-92]
	cmp	w26, w8
	b.lt	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [sp, #44]                   ; 4-byte Folded Reload
	b	LBB0_6
LBB0_11:
	ldur	w25, [x29, #-96]
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
LBB0_12:
	ldp	x20, x9, [sp, #24]              ; 16-byte Folded Reload
	str	x23, [x9, #16]
	stp	w8, w25, [x9]
	ldur	d0, [x29, #-88]
	str	d0, [x9, #8]
	ldr	x22, [sp, #16]                  ; 8-byte Folded Reload
LBB0_13:
	mov	x0, x22
	bl	_DeleteObject
	mov	x0, x20
	bl	_DeleteObject
	mov	x0, x21
	bl	_DeleteDC
	mov	x0, x19
	bl	_DeleteDC
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdrp	Lloh12, Lloh14
	.loh AdrpLdr	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_hInstance,4,2                  ; @hInstance
	.comm	_IDB_ROSLOGO,4,2                ; @IDB_ROSLOGO
	.comm	_IMAGE_BITMAP,4,2               ; @IMAGE_BITMAP
	.comm	_LR_DEFAULTCOLOR,4,2            ; @LR_DEFAULTCOLOR
	.comm	_IDB_ROSMASK,4,2                ; @IDB_ROSMASK
	.comm	_BI_RGB,4,2                     ; @BI_RGB
	.comm	_DIB_RGB_COLORS,4,2             ; @DIB_RGB_COLORS
	.no_dead_strip	_InitLogo
.subsections_via_symbols
