	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function UI_SetCapFragLimits
_UI_SetCapFragLimits:                   ## @UI_SetCapFragLimits
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_uiInfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ui_gameType@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_GT_OBELISK@GOTPCREL(%rip), %rsi
	movq	_GT_HARVESTER@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	movl	$15, %edx
	movl	$5, %ecx
	cmovel	%edx, %ecx
	cmpq	(%rsi), %rax
	movq	%rdi, %rbx
	movl	$4, %esi
	cmovnel	%ecx, %esi
	leaq	L_.str.1(%rip), %r14
	movq	%r14, %rdi
	callq	_va
	testq	%rbx, %rbx
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str(%rip), %rdi
	cmoveq	%rcx, %rdi
	leaq	L_.str.4(%rip), %rcx
	leaq	L_.str.2(%rip), %rbx
	cmoveq	%rcx, %rbx
	movl	%eax, %esi
	callq	_trap_Cvar_Set
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_va
	movq	%rbx, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_trap_Cvar_Set                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_uiInfo,8,3                     ## @uiInfo
	.comm	_ui_gameType,8,3                ## @ui_gameType
	.comm	_GT_OBELISK,8,3                 ## @GT_OBELISK
	.comm	_GT_HARVESTER,8,3               ## @GT_HARVESTER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ui_captureLimit"

L_.str.1:                               ## @.str.1
	.asciz	"%d"

L_.str.2:                               ## @.str.2
	.asciz	"ui_fragLimit"

L_.str.3:                               ## @.str.3
	.asciz	"capturelimit"

L_.str.4:                               ## @.str.4
	.asciz	"fraglimit"

	.no_dead_strip	_UI_SetCapFragLimits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function UI_SetCapFragLimits
_UI_SetCapFragLimits:                   ; @UI_SetCapFragLimits
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _uiInfo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _uiInfo@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ui_gameType@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ui_gameType@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh6:
	adrp	x9, _GT_OBELISK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GT_OBELISK@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _GT_HARVESTER@GOTPAGE
Lloh10:
	ldr	x10, [x10, _GT_HARVESTER@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x10
	mov	w10, #5
	mov	w11, #15
	csel	w10, w11, w10, eq
	cmp	x8, x9
	mov	w8, #4
	csel	w1, w8, w10, eq
Lloh12:
	adrp	x20, l_.str.1@PAGE
Lloh13:
	add	x20, x20, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_va
	mov	x1, x0
Lloh14:
	adrp	x8, l_.str@PAGE
Lloh15:
	add	x8, x8, l_.str@PAGEOFF
Lloh16:
	adrp	x9, l_.str.3@PAGE
Lloh17:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	x19, #0
	csel	x0, x9, x8, eq
Lloh18:
	adrp	x8, l_.str.2@PAGE
Lloh19:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh20:
	adrp	x9, l_.str.4@PAGE
Lloh21:
	add	x9, x9, l_.str.4@PAGEOFF
	csel	x19, x9, x8, eq
	bl	_trap_Cvar_Set
	mov	x0, x20
	mov	w1, #10
	bl	_va
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_trap_Cvar_Set
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_uiInfo,8,3                     ; @uiInfo
	.comm	_ui_gameType,8,3                ; @ui_gameType
	.comm	_GT_OBELISK,8,3                 ; @GT_OBELISK
	.comm	_GT_HARVESTER,8,3               ; @GT_HARVESTER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ui_captureLimit"

l_.str.1:                               ; @.str.1
	.asciz	"%d"

l_.str.2:                               ; @.str.2
	.asciz	"ui_fragLimit"

l_.str.3:                               ; @.str.3
	.asciz	"capturelimit"

l_.str.4:                               ; @.str.4
	.asciz	"fraglimit"

	.no_dead_strip	_UI_SetCapFragLimits
.subsections_via_symbols
