	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function table_add
_table_add:                             ## @table_add
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	_max_pwtab_num@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	testl	%edx, %edx
	jg	LBB0_2
## %bb.1:
	movl	$1, (%r14)
	movl	$56, %edi
	callq	_xmalloc
	movq	_pwtab@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	imull	$56, (%r14), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	imull	$56, (%r14), %edi
	callq	_xmalloc
	movq	_untab@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	imull	$56, (%r14), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movl	(%r14), %edx
LBB0_2:
	movq	_cur_pwtab_num@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	cmpl	%edx, %ecx
	jl	LBB0_8
## %bb.3:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	addl	%edx, %edx
	movl	%edx, (%r14)
	movq	_XLOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_plog
	movq	_pwtab@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	imull	$56, (%r14), %esi
	callq	_xrealloc
	movq	%rax, (%r12)
	movq	%r15, %r12
	movq	_untab@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	imull	$56, (%r14), %esi
	callq	_xrealloc
	movq	%rax, (%r15)
	movl	(%r12), %ecx
	cmpl	(%r14), %ecx
	jge	LBB0_4
## %bb.5:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movslq	%ecx, %r12
	imulq	$56, %r12, %r13
	movq	%r15, %r14
	movq	_pwtab@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	addq	%r13, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	(%r14), %rdi
	addq	%r13, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	incq	%r12
	movq	_max_pwtab_num@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$56, %r13
	cmpq	%rax, %r12
	jl	LBB0_6
## %bb.7:
	movq	_cur_pwtab_num@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_8:
	testl	%ecx, %ecx
	jle	LBB0_13
LBB0_9:
	movq	_pwtab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ecx, %ecx
	imulq	$56, %rcx, %rdx
	xorl	%ecx, %ecx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	addq	$56, %rcx
	cmpq	%rcx, %rdx
	je	LBB0_13
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	%rbx, (%rax,%rcx)
	jne	LBB0_12
## %bb.14:
	movq	8(%rax,%rcx), %rcx
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dlog                           ## TAILCALL
LBB0_4:
	movq	_cur_pwtab_num@GOTPCREL(%rip), %r15
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	testl	%ecx, %ecx
	jg	LBB0_9
LBB0_13:
	movq	%r13, %rdi
	callq	_xstrdup
	movq	_pwtab@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movslq	(%r15), %rdx
	imulq	$56, %rdx, %rdx
	movq	%rax, 8(%rcx,%rdx)
	movq	(%r14), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rax,%rdx)
	movq	$0, 48(%rax,%rdx)
	movq	%rbx, (%rax,%rdx)
	movq	%r12, %rdi
	callq	_xstrdup
	movq	_untab@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movslq	(%r15), %rsi
	imulq	$56, %rsi, %rdi
	movq	%rax, 16(%rdx,%rdi)
	movq	(%rcx), %rax
	movq	16(%rax,%rdi), %rax
	movq	(%r14), %rdx
	movq	%rax, 24(%rdx,%rdi)
	movq	(%rcx), %rax
	movq	%rbx, (%rax,%rdi)
	movq	(%r14), %rcx
	movq	8(%rcx,%rdi), %rcx
	movq	%rcx, 8(%rax,%rdi)
	leal	1(%rsi), %eax
	movl	%eax, (%r15)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_max_pwtab_num,4,2              ## @max_pwtab_num
	.comm	_pwtab,8,3                      ## @pwtab
	.comm	_untab,8,3                      ## @untab
	.comm	_cur_pwtab_num,4,2              ## @cur_pwtab_num
	.comm	_XLOG_INFO,4,2                  ## @XLOG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reallocating table spaces to %d entries"

L_.str.1:                               ## @.str.1
	.asciz	"ignoring duplicate home %s for uid %d (already %s)"

	.no_dead_strip	_table_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function table_add
_table_add:                             ; @table_add
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x25, _max_pwtab_num@GOTPAGE
Lloh1:
	ldr	x25, [x25, _max_pwtab_num@GOTPAGEOFF]
	ldr	w9, [x25]
Lloh2:
	adrp	x22, _pwtab@GOTPAGE
Lloh3:
	ldr	x22, [x22, _pwtab@GOTPAGEOFF]
Lloh4:
	adrp	x23, _untab@GOTPAGE
Lloh5:
	ldr	x23, [x23, _untab@GOTPAGEOFF]
	cmp	w9, #0
	b.gt	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x25]
	mov	w24, #56
	mov	w0, #56
	bl	_xmalloc
	str	x0, [x22]
	ldr	w8, [x25]
	mul	w2, w8, w24
	mov	w1, #0
	bl	_memset
	ldr	w8, [x25]
	mul	w0, w8, w24
	bl	_xmalloc
	str	x0, [x23]
	ldr	w8, [x25]
	mul	w2, w8, w24
	mov	w1, #0
	bl	_memset
	ldr	w9, [x25]
LBB0_2:
Lloh6:
	adrp	x24, _cur_pwtab_num@GOTPAGE
Lloh7:
	ldr	x24, [x24, _cur_pwtab_num@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, w9
	b.lt	LBB0_7
; %bb.3:
	lsl	w2, w9, #1
	str	w2, [x25]
Lloh8:
	adrp	x8, _XLOG_INFO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XLOG_INFO@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_plog
	ldr	x0, [x22]
	ldr	w8, [x25]
	mov	w26, #56
	mul	w1, w8, w26
	bl	_xrealloc
	str	x0, [x22]
	ldr	x0, [x23]
	ldr	w8, [x25]
	mul	w1, w8, w26
	bl	_xrealloc
	str	x0, [x23]
	ldr	w8, [x24]
	ldr	w9, [x25]
	cmp	w8, w9
	b.ge	LBB0_7
; %bb.4:
	sxtw	x26, w8
	mov	w8, #56
	mul	x27, x26, x8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	add	x0, x8, x27
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	ldr	x8, [x23]
	add	x0, x8, x27
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	add	x26, x26, #1
	ldrsw	x8, [x25]
	add	x27, x27, #56
	cmp	x26, x8
	b.lt	LBB0_5
; %bb.6:
	ldr	w8, [x24]
LBB0_7:
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.8:
	ldr	x9, [x22]
	mov	w8, w8
	add	x9, x9, #8
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x9, x9, #56
	subs	x8, x8, #1
	b.eq	LBB0_13
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	cbz	x19, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldur	x10, [x9, #-8]
	cmp	x10, x19
	b.ne	LBB0_9
; %bb.12:
	ldr	x3, [x9]
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	mov	x2, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_dlog
LBB0_13:
	mov	x0, x21
	bl	_xstrdup
	ldr	x8, [x22]
	ldrsw	x9, [x24]
	mov	w21, #56
	mul	x9, x9, x21
	add	x8, x8, x9
	str	x0, [x8, #8]
	ldr	x8, [x22]
	add	x8, x8, x9
	stp	xzr, xzr, [x8, #40]
	str	xzr, [x8, #32]
	str	x19, [x8]
	mov	x0, x20
	bl	_xstrdup
	ldr	x8, [x23]
	ldrsw	x9, [x24]
	mul	x10, x9, x21
	add	x8, x8, x10
	str	x0, [x8, #16]
	ldr	x8, [x23]
	add	x8, x8, x10
	ldr	x8, [x8, #16]
	ldr	x11, [x22]
	add	x11, x11, x10
	str	x8, [x11, #24]
	ldr	x8, [x23]
	add	x8, x8, x10
	ldr	x11, [x22]
	add	x10, x11, x10
	ldr	x10, [x10, #8]
	stp	x19, x10, [x8]
	add	w8, w9, #1
	str	w8, [x24]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_max_pwtab_num,4,2              ; @max_pwtab_num
	.comm	_pwtab,8,3                      ; @pwtab
	.comm	_untab,8,3                      ; @untab
	.comm	_cur_pwtab_num,4,2              ; @cur_pwtab_num
	.comm	_XLOG_INFO,4,2                  ; @XLOG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reallocating table spaces to %d entries"

l_.str.1:                               ; @.str.1
	.asciz	"ignoring duplicate home %s for uid %d (already %s)"

	.no_dead_strip	_table_add
.subsections_via_symbols
