	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_win32_window_init              ## -- Begin function win32_window_init
	.p2align	4, 0x90
_win32_window_init:                     ## @win32_window_init
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	$48, (%rdi)
	movq	_CS_HREDRAW@GOTPCREL(%rip), %rax
	movq	_CS_VREDRAW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_CS_OWNDC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%rdi)
	xorl	%edi, %edi
	callq	_GetModuleHandle
	movl	%eax, 40(%rbx)
	movq	_IDC_ARROW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_LoadCursor
	movl	%eax, 36(%rbx)
	movq	%r14, %rax
	testq	%r14, %r14
	jne	LBB0_2
## %bb.1:
	movq	_MSG_PROGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
LBB0_2:
	movq	%rax, 8(%rbx)
	xorl	%edi, %edi
	callq	_GetModuleHandle
	movl	%eax, %r12d
	movq	_IDI_ICON@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_MAKEINTRESOURCE
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_LoadIcon
	movl	%eax, 32(%rbx)
	xorl	%edi, %edi
	callq	_GetModuleHandle
	movl	%eax, %r12d
	movl	(%r13), %edi
	callq	_MAKEINTRESOURCE
	movq	_IMAGE_ICON@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r12d, %edi
	movl	%eax, %esi
	movl	$16, %ecx
	movl	$16, %r8d
	xorl	%r9d, %r9d
	callq	_LoadImage
	movq	%rax, 24(%rbx)
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.4:
	testq	%r14, %r14
	je	LBB0_6
LBB0_5:
	movq	_CS_CLASSDC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
LBB0_6:
	movq	%rbx, %rdi
	callq	_RegisterClassEx
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_COLOR_WINDOW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	testq	%r14, %r14
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_CS_HREDRAW,4,2                 ## @CS_HREDRAW
	.comm	_CS_VREDRAW,4,2                 ## @CS_VREDRAW
	.comm	_CS_OWNDC,4,2                   ## @CS_OWNDC
	.comm	_IDC_ARROW,4,2                  ## @IDC_ARROW
	.comm	_MSG_PROGRAM,4,2                ## @MSG_PROGRAM
	.comm	_IDI_ICON,4,2                   ## @IDI_ICON
	.comm	_IMAGE_ICON,4,2                 ## @IMAGE_ICON
	.comm	_COLOR_WINDOW,8,3               ## @COLOR_WINDOW
	.comm	_CS_CLASSDC,4,2                 ## @CS_CLASSDC
	.comm	_MSG_HASH_USER_LANGUAGE,4,2     ## @MSG_HASH_USER_LANGUAGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_win32_window_init              ; -- Begin function win32_window_init
	.p2align	2
_win32_window_init:                     ; @win32_window_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	w8, #48
	str	w8, [x0]
Lloh0:
	adrp	x8, _CS_HREDRAW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CS_HREDRAW@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CS_VREDRAW@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CS_VREDRAW@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _CS_OWNDC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CS_OWNDC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x0, #4]
	mov	x0, #0
	bl	_GetModuleHandle
	str	w0, [x19, #40]
Lloh9:
	adrp	x8, _IDC_ARROW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IDC_ARROW@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, #0
	bl	_LoadCursor
	str	w0, [x19, #36]
	mov	x0, x20
	cbnz	x20, LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _MSG_PROGRAM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_PROGRAM@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
LBB0_2:
	str	x0, [x19, #8]
	mov	x0, #0
	bl	_GetModuleHandle
	mov	x22, x0
Lloh15:
	adrp	x23, _IDI_ICON@GOTPAGE
Lloh16:
	ldr	x23, [x23, _IDI_ICON@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_MAKEINTRESOURCE
	mov	x1, x0
	mov	x0, x22
	bl	_LoadIcon
	str	w0, [x19, #32]
	mov	x0, #0
	bl	_GetModuleHandle
	mov	x22, x0
	ldr	w0, [x23]
	bl	_MAKEINTRESOURCE
	mov	x1, x0
Lloh17:
	adrp	x8, _IMAGE_ICON@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IMAGE_ICON@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x22
	mov	w3, #16
	mov	w4, #16
	mov	w5, #0
	bl	_LoadImage
	str	x0, [x19, #24]
	cbz	w21, LBB0_6
; %bb.3:
	cbz	x20, LBB0_5
LBB0_4:
Lloh20:
	adrp	x8, _CS_CLASSDC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _CS_CLASSDC@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_5:
	mov	x0, x19
	bl	_RegisterClassEx
	cmp	w0, #0
	cset	w0, ne
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh23:
	adrp	x8, _COLOR_WINDOW@GOTPAGE
Lloh24:
	ldr	x8, [x8, _COLOR_WINDOW@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	cbnz	x20, LBB0_4
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_CS_HREDRAW,4,2                 ; @CS_HREDRAW
	.comm	_CS_VREDRAW,4,2                 ; @CS_VREDRAW
	.comm	_CS_OWNDC,4,2                   ; @CS_OWNDC
	.comm	_IDC_ARROW,4,2                  ; @IDC_ARROW
	.comm	_MSG_PROGRAM,4,2                ; @MSG_PROGRAM
	.comm	_IDI_ICON,4,2                   ; @IDI_ICON
	.comm	_IMAGE_ICON,4,2                 ; @IMAGE_ICON
	.comm	_COLOR_WINDOW,8,3               ; @COLOR_WINDOW
	.comm	_CS_CLASSDC,4,2                 ; @CS_CLASSDC
	.comm	_MSG_HASH_USER_LANGUAGE,4,2     ; @MSG_HASH_USER_LANGUAGE
.subsections_via_symbols
