	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function winraw_destroy_window
_winraw_destroy_window:                 ## @winraw_destroy_window
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edi, %edi
	je	LBB0_4
## %bb.1:
	callq	_DestroyWindow
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_GetLastError
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_RARCH_WARN
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%esi, %esi
	callq	_UnregisterClassA
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	callq	_GetLastError
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	popq	%rbp
	jmp	_RARCH_WARN                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[WINRAW]: DestroyWindow failed with error %lu.\n"

L_.str.1:                               ## @.str.1
	.asciz	"winraw-input"

L_.str.2:                               ## @.str.2
	.asciz	"[WINRAW]: UnregisterClassA failed with error %lu.\n"

	.no_dead_strip	_winraw_destroy_window
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function winraw_destroy_window
_winraw_destroy_window:                 ; @winraw_destroy_window
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	w0, LBB0_4
; %bb.1:
	bl	_DestroyWindow
	cbnz	x0, LBB0_3
; %bb.2:
	bl	_GetLastError
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_RARCH_WARN
LBB0_3:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, #0
	bl	_UnregisterClassA
	cbz	x0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	_GetLastError
	mov	x1, x0
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_RARCH_WARN
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[WINRAW]: DestroyWindow failed with error %lu.\n"

l_.str.1:                               ; @.str.1
	.asciz	"winraw-input"

l_.str.2:                               ; @.str.2
	.asciz	"[WINRAW]: UnregisterClassA failed with error %lu.\n"

	.no_dead_strip	_winraw_destroy_window
.subsections_via_symbols
