	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sys_UnloadDll                  ## -- Begin function Sys_UnloadDll
	.p2align	4, 0x90
_Sys_UnloadDll:                         ## @Sys_UnloadDll
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_dlclose
	xorl	%eax, %eax
	callq	_dlerror
	testq	%rax, %rax
	popq	%rbp
	je	LBB0_2
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	jmp	_Com_Printf                     ## TAILCALL
LBB0_3:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	jmp	_Com_Printf                     ## TAILCALL
LBB0_2:
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sys_UnloadDll(NULL)\n"

L_.str.1:                               ## @.str.1
	.asciz	"Sys_UnloadGame failed on dlclose: \"%s\"!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Sys_UnloadDll                  ; -- Begin function Sys_UnloadDll
	.p2align	2
_Sys_UnloadDll:                         ; @Sys_UnloadDll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cbz	x0, LBB0_4
; %bb.1:
	bl	_dlclose
	bl	_dlerror
	cbz	x0, LBB0_3
; %bb.2:
	str	x0, [sp]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Com_Printf
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_4:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_Com_Printf
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sys_UnloadDll(NULL)\n"

l_.str.1:                               ; @.str.1
	.asciz	"Sys_UnloadGame failed on dlclose: \"%s\"!\n"

.subsections_via_symbols
