	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function OnInitDialog
_OnInitDialog:                          ## @OnInitDialog
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r14d
	movq	_hApplet@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movq	_IDI_CPLSYSTEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAKEINTRESOURCE
	movq	_IMAGE_ICON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	$16, %ecx
	movl	$16, %r8d
	xorl	%r9d, %r9d
	callq	_LoadImage
	movq	%rax, (%r15)
	movq	_WM_SETICON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ICON_SMALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r14d, %edi
	movl	%eax, %ecx
	callq	_SendMessage
	movl	(%r12), %r15d
	movq	_RC_LICENSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAKEINTRESOURCE
	movl	%eax, %ebx
	movq	_RTDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAKEINTRESOURCE
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_FindResource
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	(%r12), %edi
	movl	%eax, %esi
	callq	_LoadResource
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %edi
	callq	_LockResource
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	_IDC_LICENCEEDIT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_SetDlgItemTextA
	movl	(%rbx), %esi
	movl	%r14d, %edi
	callq	_GetDlgItem
	movq	_EM_SETSEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	movl	$-1, %edx
	xorl	%ecx, %ecx
	callq	_PostMessage
	movl	(%rbx), %esi
	movl	%r14d, %edi
	callq	_GetDlgItem
	movq	_WM_VSCROLL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_SB_TOP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	xorl	%ecx, %ecx
	callq	_PostMessage
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movl	%r14d, %edi
	callq	_ShowLastWin32Error
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hApplet,4,2                    ## @hApplet
	.comm	_IDI_CPLSYSTEM,4,2              ## @IDI_CPLSYSTEM
	.comm	_IMAGE_ICON,4,2                 ## @IMAGE_ICON
	.comm	_WM_SETICON,4,2                 ## @WM_SETICON
	.comm	_ICON_SMALL,4,2                 ## @ICON_SMALL
	.comm	_RC_LICENSE,4,2                 ## @RC_LICENSE
	.comm	_RTDATA,4,2                     ## @RTDATA
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_IDC_LICENCEEDIT,4,2            ## @IDC_LICENCEEDIT
	.comm	_EM_SETSEL,4,2                  ## @EM_SETSEL
	.comm	_WM_VSCROLL,4,2                 ## @WM_VSCROLL
	.comm	_SB_TOP,4,2                     ## @SB_TOP
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_OnInitDialog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function OnInitDialog
_OnInitDialog:                          ; @OnInitDialog
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _hApplet@GOTPAGE
Lloh1:
	ldr	x22, [x22, _hApplet@GOTPAGEOFF]
	ldr	w21, [x22]
Lloh2:
	adrp	x8, _IDI_CPLSYSTEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IDI_CPLSYSTEM@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_MAKEINTRESOURCE
	mov	x1, x0
Lloh5:
	adrp	x8, _IMAGE_ICON@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IMAGE_ICON@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w3, #16
	mov	w4, #16
	mov	w5, #0
	bl	_LoadImage
	mov	x3, x0
	str	x0, [x20]
Lloh8:
	adrp	x8, _WM_SETICON@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WM_SETICON@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _ICON_SMALL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ICON_SMALL@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_SendMessage
	ldr	w20, [x22]
Lloh14:
	adrp	x8, _RC_LICENSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RC_LICENSE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_MAKEINTRESOURCE
	mov	x21, x0
Lloh17:
	adrp	x8, _RTDATA@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RTDATA@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_MAKEINTRESOURCE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_FindResource
	cbz	w0, LBB0_4
; %bb.1:
	mov	x1, x0
	ldr	w0, [x22]
	bl	_LoadResource
	cbz	w0, LBB0_4
; %bb.2:
	bl	_LockResource
	cbz	w0, LBB0_4
; %bb.3:
	mov	x2, x0
Lloh20:
	adrp	x20, _IDC_LICENCEEDIT@GOTPAGE
Lloh21:
	ldr	x20, [x20, _IDC_LICENCEEDIT@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_SetDlgItemTextA
	ldr	w1, [x20]
	mov	x0, x19
	bl	_GetDlgItem
Lloh22:
	adrp	x8, _EM_SETSEL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EM_SETSEL@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	w2, #-1
	mov	w3, #0
	bl	_PostMessage
	ldr	w1, [x20]
	mov	x0, x19
	bl	_GetDlgItem
Lloh25:
	adrp	x8, _WM_VSCROLL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _WM_VSCROLL@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x8, _SB_TOP@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SB_TOP@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_PostMessage
Lloh31:
	adrp	x8, _TRUE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_ShowLastWin32Error
Lloh33:
	adrp	x8, _FALSE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_hApplet,4,2                    ; @hApplet
	.comm	_IDI_CPLSYSTEM,4,2              ; @IDI_CPLSYSTEM
	.comm	_IMAGE_ICON,4,2                 ; @IMAGE_ICON
	.comm	_WM_SETICON,4,2                 ; @WM_SETICON
	.comm	_ICON_SMALL,4,2                 ; @ICON_SMALL
	.comm	_RC_LICENSE,4,2                 ; @RC_LICENSE
	.comm	_RTDATA,4,2                     ; @RTDATA
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_IDC_LICENCEEDIT,4,2            ; @IDC_LICENCEEDIT
	.comm	_EM_SETSEL,4,2                  ; @EM_SETSEL
	.comm	_WM_VSCROLL,4,2                 ; @WM_VSCROLL
	.comm	_SB_TOP,4,2                     ; @SB_TOP
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_OnInitDialog
.subsections_via_symbols
