	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_L3AddTable                     ## -- Begin function L3AddTable
	.p2align	4, 0x90
_L3AddTable:                            ## @L3AddTable
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.2:
	cmpq	$0, (%rbx)
	je	LBB0_9
## %bb.3:
	movl	8(%rbx), %eax
	incl	%eax
	cmpl	$2, %eax
	jb	LBB0_9
## %bb.4:
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	callq	_Lock
	movl	8(%r14), %edi
	callq	_LIST_NUM
	movq	%rax, %r12
	movq	16(%r14), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_GetServerCapsInt
	xorl	%r15d, %r15d
	cmpq	%rax, %r12
	jge	LBB0_8
## %bb.5:
	cmpl	$0, (%r14)
	jne	LBB0_8
## %bb.6:
	movl	8(%r14), %edi
	movq	%rbx, %rsi
	callq	_Search
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movl	$16, %edi
	callq	_ZeroMalloc
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_Copy
	movl	8(%r14), %edi
	movq	%r15, %rsi
	callq	_Insert
	movl	$1, %r15d
LBB0_8:
	movl	4(%r14), %edi
	callq	_Unlock
LBB0_9:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i_max_l3_table"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_L3AddTable                     ; -- Begin function L3AddTable
	.p2align	2
_L3AddTable:                            ; @L3AddTable
	.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	w21, #0
	cbz	x0, LBB0_10
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_10
; %bb.2:
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	cmp	w8, #2
	b.hs	LBB0_5
LBB0_4:
	mov	w21, #0
	b	LBB0_10
LBB0_5:
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_Lock
	ldr	w0, [x19, #8]
	bl	_LIST_NUM
	mov	x21, x0
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_GetServerCapsInt
	cmp	x21, x0
	b.ge	LBB0_8
; %bb.6:
	ldr	w8, [x19]
	cbnz	w8, LBB0_8
; %bb.7:
	ldr	w0, [x19, #8]
	mov	x1, x20
	bl	_Search
	cbz	x0, LBB0_11
LBB0_8:
	mov	w21, #0
LBB0_9:
	ldr	w0, [x19, #4]
	bl	_Unlock
LBB0_10:
	mov	x0, 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
	ret
LBB0_11:
	mov	w0, #16
	bl	_ZeroMalloc
	mov	x21, x0
	mov	x1, x20
	mov	w2, #16
	bl	_Copy
	ldr	w0, [x19, #8]
	mov	x1, x21
	bl	_Insert
	mov	w21, #1
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i_max_l3_table"

.subsections_via_symbols
