	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmlab_init
_dmlab_init:                            ## @dmlab_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	40(%rdi), %rax
	movl	(%rax), %edi
	movq	%rax, %r15
	callq	*32(%rax)
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	jne	LBB0_1
## %bb.2:
	movq	_RO_TOP_LEFT@GOTPCREL(%rip), %r14
	jmp	LBB0_3
LBB0_1:
	movq	_RO_BOTTOM_LEFT@GOTPCREL(%rip), %r14
LBB0_3:
	callq	_SCR_SkipRendering
	movl	(%r14), %edi
	callq	_SCR_RenderOrigin
	movq	(%rbx), %rcx
	movq	_VMI_NATIVE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_5
## %bb.4:
	movl	24(%rbx), %r14d
	leaq	L_.str(%rip), %rdi
	movq	%rcx, %rsi
	movq	%rcx, %rdx
	callq	_va
	movl	%r14d, %edi
	movl	$4, %esi
	movq	%rax, %rdx
	callq	_Q_strcat
LBB0_5:
	cmpq	$0, 32(%rbx)
	je	LBB0_7
## %bb.6:
	movl	24(%rbx), %edi
	leaq	L_.str.1(%rip), %rdx
	movl	$4, %esi
	callq	_Q_strcat
LBB0_7:
	cmpl	$0, 8(%rbx)
	je	LBB0_9
## %bb.8:
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	*24(%r15)
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	$1, 8(%rbx)
	movl	(%r15), %edi
	movl	20(%rbx), %esi
	movl	12(%rbx), %ecx
	movl	16(%rbx), %edx
	callq	*16(%r15)
	movq	%r15, %rax
	movl	(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*8(%rax)                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RO_BOTTOM_LEFT,4,2             ## @RO_BOTTOM_LEFT
	.comm	_RO_TOP_LEFT,4,2                ## @RO_TOP_LEFT
	.comm	_VMI_NATIVE,8,3                 ## @VMI_NATIVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" +set vm_cgame \"%d\" +set vm_game \"%d\" +set vm_ui \"%d\""

L_.str.1:                               ## @.str.1
	.asciz	" +set sv_hostname \"server\" +set sv_fps 20 +set dedicated 1 +set sv_host server +set sv_allowDownload 1"

L_.str.2:                               ## @.str.2
	.asciz	"'init' has already been called previously.\n"

	.no_dead_strip	_dmlab_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmlab_init
_dmlab_init:                            ; @dmlab_init
	.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	x19, x0
	ldr	x21, [x0, #40]
	ldr	x8, [x21, #32]
	ldr	w0, [x21]
	blr	x8
	cmp	x0, #0
	cset	w0, eq
Lloh0:
	adrp	x8, _RO_TOP_LEFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RO_TOP_LEFT@GOTPAGEOFF]
Lloh2:
	adrp	x9, _RO_BOTTOM_LEFT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RO_BOTTOM_LEFT@GOTPAGEOFF]
	csel	x20, x8, x9, eq
	bl	_SCR_SkipRendering
	ldr	w0, [x20]
	bl	_SCR_RenderOrigin
	ldr	x1, [x19]
Lloh4:
	adrp	x8, _VMI_NATIVE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _VMI_NATIVE@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x1, x8
	b.eq	LBB0_2
; %bb.1:
	ldr	w20, [x19, #24]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x1
	mov	x3, x1
	bl	_va
	mov	x2, x0
	mov	x0, x20
	mov	w1, #4
	bl	_Q_strcat
LBB0_2:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x19, #24]
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #4
	bl	_Q_strcat
LBB0_4:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_6
; %bb.5:
	ldr	x8, [x21, #24]
	ldr	w0, [x21]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	blr	x8
	mov	w0, #1
	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
LBB0_6:
	mov	w8, #1
	str	w8, [x19, #8]
	ldr	x8, [x21, #16]
	ldr	w0, [x21]
	ldp	w2, w1, [x19, #16]
	ldr	w3, [x19, #12]
	blr	x8
	ldr	x1, [x21, #8]
	ldr	w0, [x21]
	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
	br	x1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_RO_BOTTOM_LEFT,4,2             ; @RO_BOTTOM_LEFT
	.comm	_RO_TOP_LEFT,4,2                ; @RO_TOP_LEFT
	.comm	_VMI_NATIVE,8,3                 ; @VMI_NATIVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" +set vm_cgame \"%d\" +set vm_game \"%d\" +set vm_ui \"%d\""

l_.str.1:                               ; @.str.1
	.asciz	" +set sv_hostname \"server\" +set sv_fps 20 +set dedicated 1 +set sv_host server +set sv_allowDownload 1"

l_.str.2:                               ; @.str.2
	.asciz	"'init' has already been called previously.\n"

	.no_dead_strip	_dmlab_init
.subsections_via_symbols
