	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function NT5_DrawLogoffIcon
_NT5_DrawLogoffIcon:                    ## @NT5_DrawLogoffIcon
	.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	%rdi, %r14
	movq	_g_pInfo@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	8(%rax), %ebx
	movq	_IDB_MAIN_ROS_LOGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAKEINTRESOURCEW
	movq	_IMAGE_BITMAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_LR_DEFAULTCOLOR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_LoadImageW
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	leaq	-40(%rbp), %rdx
	movq	%rax, %rdi
	movl	$8, %esi
	callq	_GetObjectW
	movq	%r14, %rdi
	callq	_CreateCompatibleDC
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_SelectObject
	movq	(%r12), %rax
	movl	(%rax), %ecx
	movl	4(%rax), %eax
	movl	%ecx, %esi
	shrl	$31, %esi
	addl	%ecx, %esi
	sarl	%esi
	addl	$35, %esi
	movl	%eax, %edx
	shrl	$31, %edx
	addl	%eax, %edx
	sarl	%edx
	addl	$-72, %edx
	movl	-40(%rbp), %r8d
	movl	-36(%rbp), %ecx
	movq	_SRCCOPY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	%r15, %r9
	pushq	%rax
	pushq	$0
	pushq	$0
	callq	_BitBlt
	addq	$32, %rsp
	movq	%r15, %rdi
	callq	_DeleteDC
LBB0_3:
	movq	%rbx, %rdi
	callq	_DeleteObject
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_pInfo,8,3                    ## @g_pInfo
	.comm	_IDB_MAIN_ROS_LOGO,4,2          ## @IDB_MAIN_ROS_LOGO
	.comm	_IMAGE_BITMAP,4,2               ## @IMAGE_BITMAP
	.comm	_LR_DEFAULTCOLOR,4,2            ## @LR_DEFAULTCOLOR
	.comm	_SRCCOPY,4,2                    ## @SRCCOPY
	.no_dead_strip	_NT5_DrawLogoffIcon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function NT5_DrawLogoffIcon
_NT5_DrawLogoffIcon:                    ; @NT5_DrawLogoffIcon
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _g_pInfo@GOTPAGE
Lloh1:
	ldr	x22, [x22, _g_pInfo@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w20, [x8, #8]
Lloh2:
	adrp	x8, _IDB_MAIN_ROS_LOGO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IDB_MAIN_ROS_LOGO@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_MAKEINTRESOURCEW
	mov	x1, x0
Lloh5:
	adrp	x8, _IMAGE_BITMAP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IMAGE_BITMAP@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _LR_DEFAULTCOLOR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LR_DEFAULTCOLOR@GOTPAGEOFF]
Lloh10:
	ldr	w5, [x8]
	mov	x0, x20
	mov	w3, #0
	mov	w4, #0
	bl	_LoadImageW
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	add	x2, sp, #8
	mov	w1, #8
	bl	_GetObjectW
	mov	x0, x19
	bl	_CreateCompatibleDC
	cbz	x0, LBB0_3
; %bb.2:
	mov	x21, x0
	mov	x1, x20
	bl	_SelectObject
	ldr	x8, [x22]
	ldp	w9, w8, [x8]
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	add	w1, w9, #35
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	sub	w2, w8, #72
	ldp	w4, w3, [sp, #8]
Lloh11:
	adrp	x8, _SRCCOPY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SRCCOPY@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [sp]
	mov	x0, x19
	mov	x5, x21
	mov	w6, #0
	mov	w7, #0
	bl	_BitBlt
	mov	x0, x21
	bl	_DeleteDC
LBB0_3:
	mov	x0, x20
	bl	_DeleteObject
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_g_pInfo,8,3                    ; @g_pInfo
	.comm	_IDB_MAIN_ROS_LOGO,4,2          ; @IDB_MAIN_ROS_LOGO
	.comm	_IMAGE_BITMAP,4,2               ; @IMAGE_BITMAP
	.comm	_LR_DEFAULTCOLOR,4,2            ; @LR_DEFAULTCOLOR
	.comm	_SRCCOPY,4,2                    ; @SRCCOPY
	.no_dead_strip	_NT5_DrawLogoffIcon
.subsections_via_symbols
