	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ServerOptions_SetPlayerItems
_ServerOptions_SetPlayerItems:          ## @ServerOptions_SetPlayerItems
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_s_serveroptions@GOTPCREL(%rip), %r8
	cmpq	$0, 40(%r8)
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rax
	movq	%rax, 32(%r8)
	xorl	%r9d, %r9d
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rax
	movq	%rax, 32(%r8)
	movq	_QMF_HIDDEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	24(%r8), %rcx
	andl	%eax, (%rcx)
	movl	$1, %r9d
LBB0_3:
	movq	_PLAYER_SLOTS@GOTPCREL(%rip), %r10
	movl	(%r10), %edx
	cmpl	%edx, %r9d
	jge	LBB0_9
## %bb.4:
	movq	16(%r8), %rsi
	movq	24(%r8), %rdi
	movl	%r9d, %ecx
	movq	_QMF_INACTIVE@GOTPCREL(%rip), %r11
	movq	_QMF_HIDDEN@GOTPCREL(%rip), %rax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	orl	%edx, (%rdi,%rcx,4)
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rcx
	movslq	(%r10), %rdx
	cmpq	%rdx, %rcx
	jge	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %edx
	orl	(%r11), %edx
	cmpl	$1, (%rsi,%rcx,4)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	notl	%edx
	andl	%edx, (%rdi,%rcx,4)
	jmp	LBB0_8
LBB0_9:
	movq	(%r8), %rax
	movq	_GT_TEAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_16
## %bb.10:
	cmpl	%edx, %r9d
	jge	LBB0_16
## %bb.11:
	movq	8(%r8), %rsi
	movq	16(%r8), %rcx
	movl	%r9d, %edx
	movq	_QMF_INACTIVE@GOTPCREL(%rip), %r8
	movq	_QMF_HIDDEN@GOTPCREL(%rip), %rax
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	notl	%edi
	andl	%edi, (%rsi,%rdx,4)
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rdx
	movslq	(%r10), %rdi
	cmpq	%rdi, %rdx
	jge	LBB0_16
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %edi
	orl	(%r8), %edi
	cmpl	$2, (%rcx,%rdx,4)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	orl	%edi, (%rsi,%rdx,4)
	jmp	LBB0_15
LBB0_16:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_s_serveroptions,48,3           ## @s_serveroptions
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Human"

	.comm	_QMF_HIDDEN,4,2                 ## @QMF_HIDDEN
L_.str.1:                               ## @.str.1
	.asciz	"Open"

	.comm	_PLAYER_SLOTS,4,2               ## @PLAYER_SLOTS
	.comm	_QMF_INACTIVE,4,2               ## @QMF_INACTIVE
	.comm	_GT_TEAM,8,3                    ## @GT_TEAM
	.no_dead_strip	_ServerOptions_SetPlayerItems
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ServerOptions_SetPlayerItems
_ServerOptions_SetPlayerItems:          ; @ServerOptions_SetPlayerItems
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _s_serveroptions@GOTPAGE
Lloh1:
	ldr	x9, [x9, _s_serveroptions@GOTPAGEOFF]
	ldr	x8, [x9, #40]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w10, #0
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x9, #32]
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x8, l_.str@PAGE
Lloh5:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x9, #32]
Lloh6:
	adrp	x8, _QMF_HIDDEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QMF_HIDDEN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	x10, [x9, #24]
	ldr	w11, [x10]
	bic	w8, w11, w8
	str	w8, [x10]
	mov	w10, #1
LBB0_3:
Lloh9:
	adrp	x8, _PLAYER_SLOTS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PLAYER_SLOTS@GOTPAGEOFF]
	ldr	w16, [x8]
	cmp	w10, w16
	b.ge	LBB0_9
; %bb.4:
	ldp	x11, x12, [x9, #16]
	mov	w13, w10
Lloh11:
	adrp	x14, _QMF_INACTIVE@GOTPAGE
Lloh12:
	ldr	x14, [x14, _QMF_INACTIVE@GOTPAGEOFF]
Lloh13:
	adrp	x15, _QMF_HIDDEN@GOTPAGE
Lloh14:
	ldr	x15, [x15, _QMF_HIDDEN@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	lsl	x17, x13, #2
	ldr	w0, [x12, x17]
	orr	w16, w16, w0
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	str	w16, [x12, x17]
	add	x13, x13, #1
	ldrsw	x16, [x8]
	cmp	x13, x16
	b.ge	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w17, [x11, x13, lsl #2]
	ldr	w16, [x14]
	ldr	w0, [x15]
	orr	w16, w0, w16
	cmp	w17, #1
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	lsl	x17, x13, #2
	ldr	w0, [x12, x17]
	bic	w16, w0, w16
	b	LBB0_6
LBB0_9:
	ldr	x11, [x9]
Lloh15:
	adrp	x12, _GT_TEAM@GOTPAGE
Lloh16:
	ldr	x12, [x12, _GT_TEAM@GOTPAGEOFF]
Lloh17:
	ldr	x12, [x12]
	cmp	x11, x12
	ccmp	w10, w16, #0, ge
	b.lt	LBB0_11
LBB0_10:
	ret
LBB0_11:
	ldp	x9, x11, [x9, #8]
	mov	w10, w10
Lloh18:
	adrp	x12, _QMF_INACTIVE@GOTPAGE
Lloh19:
	ldr	x12, [x12, _QMF_INACTIVE@GOTPAGEOFF]
Lloh20:
	adrp	x13, _QMF_HIDDEN@GOTPAGE
Lloh21:
	ldr	x13, [x13, _QMF_HIDDEN@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	lsl	x15, x10, #2
	ldr	w16, [x9, x15]
	bic	w14, w16, w14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	str	w14, [x9, x15]
	add	x10, x10, #1
	ldrsw	x14, [x8]
	cmp	x10, x14
	b.ge	LBB0_10
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w15, [x11, x10, lsl #2]
	ldr	w14, [x12]
	ldr	w16, [x13]
	orr	w14, w16, w14
	cmp	w15, #2
	b.ne	LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	lsl	x15, x10, #2
	ldr	w16, [x9, x15]
	orr	w14, w14, w16
	b	LBB0_13
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_s_serveroptions,48,3           ; @s_serveroptions
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Human"

	.comm	_QMF_HIDDEN,4,2                 ; @QMF_HIDDEN
l_.str.1:                               ; @.str.1
	.asciz	"Open"

	.comm	_PLAYER_SLOTS,4,2               ; @PLAYER_SLOTS
	.comm	_QMF_INACTIVE,4,2               ; @QMF_INACTIVE
	.comm	_GT_TEAM,8,3                    ; @GT_TEAM
	.no_dead_strip	_ServerOptions_SetPlayerItems
.subsections_via_symbols
