	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uu_avl_pool_create             ## -- Begin function uu_avl_pool_create
	.p2align	4, 0x90
_uu_avl_pool_create:                    ## @uu_avl_pool_create
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movl	%r8d, %ebx
	movq	%rcx, %r15
	movq	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	_UU_NAME_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_uu_check_name
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.2:
	leaq	4(%r13), %rax
	cmpq	%r12, %rax
	ja	LBB0_4
## %bb.3:
	testq	%r15, %r15
	je	LBB0_4
## %bb.6:
	movq	_UU_AVL_POOL_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	testl	%ebx, %eax
	je	LBB0_8
## %bb.7:
	movq	_UU_ERROR_UNKNOWN_FLAG@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_UU_ERROR_INVALID_ARGUMENT@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edi
	callq	_uu_set_error
	xorl	%ebx, %ebx
LBB0_13:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	$88, %edi
	callq	_uu_zalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %rbx
	movl	80(%rax), %edi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	%r13, (%rbx)
	movq	%r12, 8(%rbx)
	movq	%r15, 72(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_UU_AVL_POOL_DEBUG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.11:
	movl	$1, 16(%rbx)
LBB0_12:
	movq	$0, 64(%rbx)
	leaq	56(%rbx), %rdi
	xorl	%esi, %esi
	callq	_pthread_mutex_init
	movq	%rbx, %r14
	addq	$40, %r14
	movq	%r14, %rdi
	callq	_UU_PTR_ENCODE
	movq	%rax, 48(%rbx)
	movq	%r14, %rdi
	callq	_UU_PTR_ENCODE
	movq	%rax, 40(%rbx)
	movq	_uu_apool_list_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_pthread_mutex_lock
	movq	_uu_null_apool@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movq	32(%rax), %rcx
	movq	%rcx, 32(%rbx)
	movq	%rbx, 32(%rax)
	movq	%rbx, 24(%rcx)
	movq	%r14, %rdi
	callq	_pthread_mutex_unlock
	jmp	LBB0_13
LBB0_9:
	movq	_UU_ERROR_NO_MEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_UU_NAME_DOMAIN,4,2             ## @UU_NAME_DOMAIN
	.comm	_UU_ERROR_INVALID_ARGUMENT,4,2  ## @UU_ERROR_INVALID_ARGUMENT
	.comm	_UU_AVL_POOL_DEBUG,4,2          ## @UU_AVL_POOL_DEBUG
	.comm	_UU_ERROR_UNKNOWN_FLAG,4,2      ## @UU_ERROR_UNKNOWN_FLAG
	.comm	_UU_ERROR_NO_MEMORY,4,2         ## @UU_ERROR_NO_MEMORY
	.comm	_uu_apool_list_lock,4,2         ## @uu_apool_list_lock
	.comm	_uu_null_apool,88,3             ## @uu_null_apool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uu_avl_pool_create             ; -- Begin function uu_avl_pool_create
	.p2align	2
_uu_avl_pool_create:                    ; @uu_avl_pool_create
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _UU_NAME_DOMAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UU_NAME_DOMAIN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_uu_check_name
	cmn	w0, #1
	add	x8, x23, #4
	ccmp	x8, x22, #2, ne
	ccmp	x21, #0, #4, ls
	b.ne	LBB0_5
LBB0_2:
Lloh3:
	adrp	x8, _UU_ERROR_INVALID_ARGUMENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UU_ERROR_INVALID_ARGUMENT@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	bl	_uu_set_error
	mov	x19, #0
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh5:
	adrp	x25, _UU_AVL_POOL_DEBUG@GOTPAGE
Lloh6:
	ldr	x25, [x25, _UU_AVL_POOL_DEBUG@GOTPAGEOFF]
	ldr	w8, [x25]
	bics	wzr, w20, w8
	b.eq	LBB0_7
; %bb.6:
Lloh7:
	adrp	x8, _UU_ERROR_UNKNOWN_FLAG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _UU_ERROR_UNKNOWN_FLAG@GOTPAGEOFF]
	b	LBB0_3
LBB0_7:
	mov	w0, #88
	bl	_uu_zalloc
	mov	x19, x0
	cbz	x0, LBB0_11
; %bb.8:
	ldr	w0, [x19, #80]
	mov	x1, x24
	mov	w2, #4
	bl	_strlcpy
	stp	x23, x22, [x19]
	str	x21, [x19, #72]
	ldr	w8, [x25]
	tst	w8, w20
	b.eq	LBB0_10
; %bb.9:
	mov	w8, #1
	str	w8, [x19, #16]
LBB0_10:
	str	xzr, [x19, #64]
	add	x0, x19, #56
	mov	x1, #0
	bl	_pthread_mutex_init
	add	x20, x19, #40
	mov	x0, x20
	bl	_UU_PTR_ENCODE
	str	x0, [x19, #48]
	mov	x0, x20
	bl	_UU_PTR_ENCODE
	str	x0, [x19, #40]
Lloh9:
	adrp	x20, _uu_apool_list_lock@GOTPAGE
Lloh10:
	ldr	x20, [x20, _uu_apool_list_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_pthread_mutex_lock
Lloh11:
	adrp	x8, _uu_null_apool@GOTPAGE
Lloh12:
	ldr	x8, [x8, _uu_null_apool@GOTPAGEOFF]
	ldr	x9, [x8, #32]
	stp	x8, x9, [x19, #24]
	str	x19, [x8, #32]
	str	x19, [x9, #24]
	mov	x0, x20
	bl	_pthread_mutex_unlock
	b	LBB0_4
LBB0_11:
Lloh13:
	adrp	x8, _UU_ERROR_NO_MEMORY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _UU_ERROR_NO_MEMORY@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_uu_set_error
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_UU_NAME_DOMAIN,4,2             ; @UU_NAME_DOMAIN
	.comm	_UU_ERROR_INVALID_ARGUMENT,4,2  ; @UU_ERROR_INVALID_ARGUMENT
	.comm	_UU_AVL_POOL_DEBUG,4,2          ; @UU_AVL_POOL_DEBUG
	.comm	_UU_ERROR_UNKNOWN_FLAG,4,2      ; @UU_ERROR_UNKNOWN_FLAG
	.comm	_UU_ERROR_NO_MEMORY,4,2         ; @UU_ERROR_NO_MEMORY
	.comm	_uu_apool_list_lock,4,2         ; @uu_apool_list_lock
	.comm	_uu_null_apool,88,3             ; @uu_null_apool
.subsections_via_symbols
