	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_pool
_alloc_pool:                            ## @alloc_pool
	.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
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r13d
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	movl	$32, %esi
	callq	_isc_mem_get
	movq	%rax, %rbx
	movq	_ISC_R_NOMEMORY@GOTPCREL(%rip), %rax
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.1:
	movq	%r12, 24(%rbx)
	movl	%r15d, (%rbx)
	movl	%r13d, 4(%rbx)
	movq	%r14, 16(%rbx)
	leal	(,%r15,8), %esi
	movq	%r12, %rdi
	callq	_isc_mem_get
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.3:
	movq	$0, (%rax)
	cmpl	$1, %r15d
	je	LBB0_10
## %bb.4:
	movl	%r15d, %esi
	leaq	-1(%rsi), %rdx
	addq	$-2, %rsi
	movl	%edx, %eax
	andl	$3, %eax
	movl	$1, %ecx
	cmpq	$3, %rsi
	jb	LBB0_8
## %bb.5:
	andq	$-4, %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rsi
	movq	$0, 8(%rsi,%rcx,8)
	movq	8(%rbx), %rsi
	movq	$0, 16(%rsi,%rcx,8)
	movq	8(%rbx), %rsi
	movq	$0, 24(%rsi,%rcx,8)
	movq	8(%rbx), %rsi
	movq	$0, 32(%rsi,%rcx,8)
	addq	$4, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_6
## %bb.7:
	incq	%rcx
LBB0_8:
	testq	%rax, %rax
	je	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdx
	movq	$0, (%rdx,%rcx,8)
	incq	%rcx
	decq	%rax
	jne	LBB0_9
LBB0_10:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_12:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$32, %edx
	callq	_isc_mem_put
	movq	_ISC_R_NOMEMORY@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_R_NOMEMORY,4,2             ## @ISC_R_NOMEMORY
	.comm	_ISC_R_SUCCESS,4,2              ## @ISC_R_SUCCESS
	.no_dead_strip	_alloc_pool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_pool
_alloc_pool:                            ; @alloc_pool
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x4
	mov	x23, x3
	mov	x21, x2
	mov	x22, x1
	mov	x24, x0
	mov	x0, x1
	mov	w1, #32
	bl	_isc_mem_get
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
	stp	w21, w23, [x0]
	lsl	w1, w21, #3
	stp	x24, x22, [x0, #16]
	mov	x0, x22
	bl	_isc_mem_get
	str	x0, [x20, #8]
	cbz	x0, LBB0_7
; %bb.2:
	cbz	w21, LBB0_6
; %bb.3:
	str	xzr, [x0]
	cmp	w21, #1
	b.eq	LBB0_6
; %bb.4:
	mov	w8, w21
	mov	w9, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x20, #8]
	str	xzr, [x10, x9, lsl #3]
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_6:
	str	x20, [x19]
Lloh0:
	adrp	x8, _ISC_R_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	mov	x0, x22
	mov	x1, x20
	mov	w2, #32
	bl	_isc_mem_put
LBB0_8:
Lloh2:
	adrp	x8, _ISC_R_NOMEMORY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ISC_R_NOMEMORY@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_R_NOMEMORY,4,2             ; @ISC_R_NOMEMORY
	.comm	_ISC_R_SUCCESS,4,2              ; @ISC_R_SUCCESS
	.no_dead_strip	_alloc_pool
.subsections_via_symbols
