	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function OnPaint
_OnPaint:                               ## @OnPaint
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r13d
	movq	_Globals@GOTPCREL(%rip), %r14
	movl	8(%r14), %edi
	callq	_OpenClipboard
	testl	%eax, %eax
	je	LBB0_14
## %bb.1:
	leaq	-56(%rbp), %rsi
	movl	%r13d, %edi
	callq	_BeginPaint
	movl	%eax, %r12d
	cmpq	$0, -48(%rbp)
	je	LBB0_3
## %bb.2:
	movl	-56(%rbp), %edi
	leaq	-52(%rbp), %rsi
	movq	_COLOR_WINDOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	incl	%edx
	callq	_FillRect
LBB0_3:
	movl	-56(%rbp), %ebx
	movq	_COLOR_WINDOW@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_GetSysColor
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SetBkColor
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	-56(%rbp), %ebx
	movq	_COLOR_WINDOWTEXT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_GetSysColor
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SetTextColor
	movl	%eax, %r15d
	movl	-56(%rbp), %edi
	callq	_RealizeClipboardPalette
	movl	(%r14), %edi
	leal	-128(%rdi), %eax
	cmpl	$13, %eax
	ja	LBB0_12
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	movq	_Scrollstate@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdx
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_DrawTextFromClipboard
	jmp	LBB0_13
LBB0_8:
	leaq	-60(%rbp), %rbx
	movl	%r13d, %edi
	movq	%rbx, %rsi
	callq	_GetClientRect
	movl	%r12d, %edi
	movq	%rbx, %rsi
	callq	_PlayMetaFileFromClipboard
	jmp	LBB0_13
LBB0_9:
	leaq	-60(%rbp), %rbx
	movl	%r13d, %edi
	movq	%rbx, %rsi
	callq	_GetClientRect
	movl	%r12d, %edi
	movq	%rbx, %rsi
	callq	_PlayEnhMetaFileFromClipboard
	jmp	LBB0_13
LBB0_6:
	movq	_Scrollstate@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SRCCOPY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	callq	_BitBltFromClipboard
	jmp	LBB0_13
LBB0_7:
	movq	_Scrollstate@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_DIB_RGB_COLORS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdx
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_SetDIBitsToDeviceFromClipboard
	jmp	LBB0_13
LBB0_12:
	leaq	-60(%rbp), %rbx
	movl	%r13d, %edi
	movq	%rbx, %rsi
	callq	_GetClientRect
	movl	4(%r14), %edi
	movq	_ERROR_UNSUPPORTED_FORMAT@GOTPCREL(%rip), %rax
	movq	_DT_CENTER@GOTPCREL(%rip), %rcx
	movq	_DT_WORDBREAK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	(%rcx), %r8d
	movl	(%rax), %esi
	movq	_DT_NOPREFIX@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movl	%r12d, %edx
	movq	%rbx, %rcx
	callq	_DrawTextFromResource
	jmp	LBB0_13
LBB0_10:
	movq	_GMEM_MOVEABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$16, %esi
	callq	_GlobalAlloc
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_GlobalLock
	leaq	-56(%rbp), %rsi
	movl	%eax, %edi
	movl	$16, %edx
	callq	_CopyMemory
	movl	%r12d, %edi
	callq	_GlobalUnlock
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_WM_PAINTCLIPBOARD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	callq	_SendClipboardOwnerMessage
	movl	%r12d, %edi
	callq	_GlobalFree
LBB0_13:
	movl	-56(%rbp), %edi
	movl	%r15d, %esi
	callq	_SetTextColor
	movl	-56(%rbp), %edi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	callq	_SetBkColor
	leaq	-56(%rbp), %rsi
	movl	%r13d, %edi
	callq	_EndPaint
	xorl	%eax, %eax
	callq	_CloseClipboard
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_5
	.long	L0_0_set_13
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_Globals,12,2                   ## @Globals
	.comm	_COLOR_WINDOW,8,3               ## @COLOR_WINDOW
	.comm	_COLOR_WINDOWTEXT,8,3           ## @COLOR_WINDOWTEXT
	.comm	_Scrollstate,4,2                ## @Scrollstate
	.comm	_SRCCOPY,4,2                    ## @SRCCOPY
	.comm	_DIB_RGB_COLORS,4,2             ## @DIB_RGB_COLORS
	.comm	_GMEM_MOVEABLE,4,2              ## @GMEM_MOVEABLE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_WM_PAINTCLIPBOARD,4,2          ## @WM_PAINTCLIPBOARD
	.comm	_ERROR_UNSUPPORTED_FORMAT,4,2   ## @ERROR_UNSUPPORTED_FORMAT
	.comm	_DT_CENTER,4,2                  ## @DT_CENTER
	.comm	_DT_WORDBREAK,4,2               ## @DT_WORDBREAK
	.comm	_DT_NOPREFIX,4,2                ## @DT_NOPREFIX
	.no_dead_strip	_OnPaint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function OnPaint
_OnPaint:                               ; @OnPaint
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
Lloh0:
	adrp	x23, _Globals@GOTPAGE
Lloh1:
	ldr	x23, [x23, _Globals@GOTPAGEOFF]
	ldr	w0, [x23, #8]
	bl	_OpenClipboard
	cbz	w0, LBB0_14
; %bb.1:
	add	x20, sp, #16
	add	x1, sp, #16
	mov	x0, x19
	bl	_BeginPaint
	mov	x22, x0
	ldr	x8, [sp, #24]
Lloh2:
	adrp	x21, _COLOR_WINDOW@GOTPAGE
Lloh3:
	ldr	x21, [x21, _COLOR_WINDOW@GOTPAGEOFF]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w0, [sp, #16]
	orr	x1, x20, #0x4
	ldr	w8, [x21]
	add	w2, w8, #1
	bl	_FillRect
LBB0_3:
	ldr	w20, [sp, #16]
	ldr	x0, [x21]
	bl	_GetSysColor
	mov	x1, x0
	mov	x0, x20
	bl	_SetBkColor
	mov	x20, x0
	ldr	w21, [sp, #16]
Lloh4:
	adrp	x8, _COLOR_WINDOWTEXT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _COLOR_WINDOWTEXT@GOTPAGEOFF]
Lloh6:
	ldr	x0, [x8]
	bl	_GetSysColor
	mov	x1, x0
	mov	x0, x21
	bl	_SetTextColor
	mov	x21, x0
	ldr	w0, [sp, #16]
	bl	_RealizeClipboardPalette
	ldr	w0, [x23]
	sub	w8, w0, #128
	cmp	w8, #13
	b.hi	LBB0_10
; %bb.4:
Lloh7:
	adrp	x9, lJTI0_0@PAGE
Lloh8:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
Lloh9:
	adrp	x8, _Scrollstate@GOTPAGE
Lloh10:
	ldr	x8, [x8, _Scrollstate@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	ldp	x1, x2, [sp, #16]
	bl	_DrawTextFromClipboard
	b	LBB0_13
LBB0_6:
	add	x1, sp, #12
	mov	x0, x19
	bl	_GetClientRect
	add	x1, sp, #12
	mov	x0, x22
	bl	_PlayMetaFileFromClipboard
	b	LBB0_13
LBB0_7:
	add	x1, sp, #12
	mov	x0, x19
	bl	_GetClientRect
	add	x1, sp, #12
	mov	x0, x22
	bl	_PlayEnhMetaFileFromClipboard
	b	LBB0_13
LBB0_8:
Lloh12:
	adrp	x8, _Scrollstate@GOTPAGE
Lloh13:
	ldr	x8, [x8, _Scrollstate@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _SRCCOPY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SRCCOPY@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	ldp	x0, x1, [sp, #16]
	bl	_BitBltFromClipboard
	b	LBB0_13
LBB0_9:
Lloh18:
	adrp	x8, _Scrollstate@GOTPAGE
Lloh19:
	ldr	x8, [x8, _Scrollstate@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
Lloh21:
	adrp	x8, _DIB_RGB_COLORS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DIB_RGB_COLORS@GOTPAGEOFF]
Lloh23:
	ldr	w4, [x8]
	ldp	x1, x2, [sp, #16]
	bl	_SetDIBitsToDeviceFromClipboard
	b	LBB0_13
LBB0_10:
	add	x1, sp, #12
	mov	x0, x19
	bl	_GetClientRect
	ldr	w0, [x23, #4]
Lloh24:
	adrp	x8, _ERROR_UNSUPPORTED_FORMAT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERROR_UNSUPPORTED_FORMAT@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _DT_CENTER@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DT_CENTER@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _DT_WORDBREAK@GOTPAGE
Lloh31:
	ldr	x9, [x9, _DT_WORDBREAK@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh33:
	adrp	x9, _DT_NOPREFIX@GOTPAGE
Lloh34:
	ldr	x9, [x9, _DT_NOPREFIX@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w4, w8, w9
	add	x3, sp, #12
	mov	x2, x22
	bl	_DrawTextFromResource
	b	LBB0_13
LBB0_11:
Lloh36:
	adrp	x8, _GMEM_MOVEABLE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _GMEM_MOVEABLE@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	mov	w1, #16
	bl	_GlobalAlloc
	cbz	w0, LBB0_13
; %bb.12:
	mov	x22, x0
	bl	_GlobalLock
	add	x1, sp, #16
	mov	w2, #16
	bl	_CopyMemory
	mov	x0, x22
	bl	_GlobalUnlock
Lloh39:
	adrp	x8, _TRUE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
Lloh42:
	adrp	x8, _WM_PAINTCLIPBOARD@GOTPAGE
Lloh43:
	ldr	x8, [x8, _WM_PAINTCLIPBOARD@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	x2, x19
	mov	x3, x22
	bl	_SendClipboardOwnerMessage
	mov	x0, x22
	bl	_GlobalFree
LBB0_13:
	ldr	w0, [sp, #16]
	mov	x1, x21
	bl	_SetTextColor
	ldr	w0, [sp, #16]
	mov	x1, x20
	bl	_SetBkColor
	add	x1, sp, #16
	mov	x0, x19
	bl	_EndPaint
	bl	_CloseClipboard
LBB0_14:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
                                        ; -- End function
	.comm	_Globals,12,2                   ; @Globals
	.comm	_COLOR_WINDOW,8,3               ; @COLOR_WINDOW
	.comm	_COLOR_WINDOWTEXT,8,3           ; @COLOR_WINDOWTEXT
	.comm	_Scrollstate,4,2                ; @Scrollstate
	.comm	_SRCCOPY,4,2                    ; @SRCCOPY
	.comm	_DIB_RGB_COLORS,4,2             ; @DIB_RGB_COLORS
	.comm	_GMEM_MOVEABLE,4,2              ; @GMEM_MOVEABLE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_WM_PAINTCLIPBOARD,4,2          ; @WM_PAINTCLIPBOARD
	.comm	_ERROR_UNSUPPORTED_FORMAT,4,2   ; @ERROR_UNSUPPORTED_FORMAT
	.comm	_DT_CENTER,4,2                  ; @DT_CENTER
	.comm	_DT_WORDBREAK,4,2               ; @DT_WORDBREAK
	.comm	_DT_NOPREFIX,4,2                ; @DT_NOPREFIX
	.no_dead_strip	_OnPaint
.subsections_via_symbols
