	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __sym_malloc
___sym_malloc:                          ## @__sym_malloc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_SYM_POOL_NB@GOTPCREL(%rip), %r15
	movl	(%r15), %r14d
	shll	$3, %r14d
	movl	%r14d, %edi
	callq	_malloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	movq	_sym_pools@GOTPCREL(%rip), %rdi
	movq	_nb_sym_pools@GOTPCREL(%rip), %rsi
	movq	%rbx, %rdx
	callq	_dynarray_add
	movq	_sym_free_first@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movl	(%r15), %esi
	testl	%esi, %esi
	jle	LBB0_8
## %bb.1:
	leal	-1(%rsi), %edi
	movl	%esi, %edx
	andl	$7, %edx
	cmpl	$7, %edi
	jb	LBB0_5
## %bb.2:
	andl	$-8, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, (%rbx)
	leaq	8(%rbx), %rax
	movq	%rbx, 8(%rbx)
	leaq	16(%rbx), %rdi
	movq	%rax, 16(%rbx)
	leaq	24(%rbx), %rax
	movq	%rdi, 24(%rbx)
	leaq	32(%rbx), %rdi
	movq	%rax, 32(%rbx)
	leaq	40(%rbx), %rax
	movq	%rdi, 40(%rbx)
	leaq	48(%rbx), %rdi
	movq	%rax, 48(%rbx)
	leaq	56(%rbx), %rax
	movq	%rdi, 56(%rbx)
	addq	$64, %rbx
	addl	$-8, %esi
	jne	LBB0_3
## %bb.4:
	movq	%rbx, %rax
	addq	$-8, %rax
LBB0_5:
	testl	%edx, %edx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, (%rbx)
	movq	%rbx, %rax
	addq	$8, %rbx
	decl	%edx
	jne	LBB0_6
## %bb.7:
	addq	$-8, %rbx
	movq	%rbx, %rax
LBB0_8:
	movq	%rax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYM_POOL_NB,4,2                ## @SYM_POOL_NB
	.comm	_sym_pools,4,2                  ## @sym_pools
	.comm	_nb_sym_pools,4,2               ## @nb_sym_pools
	.comm	_sym_free_first,8,3             ## @sym_free_first
	.no_dead_strip	___sym_malloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __sym_malloc
___sym_malloc:                          ; @__sym_malloc
	.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
Lloh0:
	adrp	x21, _SYM_POOL_NB@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SYM_POOL_NB@GOTPAGEOFF]
	ldr	w8, [x21]
	lsl	w20, w8, #3
	mov	x0, x20
	bl	_malloc
	mov	x19, x0
	mov	w1, #0
	mov	x2, x20
	bl	_memset
Lloh2:
	adrp	x0, _sym_pools@GOTPAGE
Lloh3:
	ldr	x0, [x0, _sym_pools@GOTPAGEOFF]
Lloh4:
	adrp	x1, _nb_sym_pools@GOTPAGE
Lloh5:
	ldr	x1, [x1, _nb_sym_pools@GOTPAGEOFF]
	mov	x2, x19
	bl	_dynarray_add
Lloh6:
	adrp	x8, _sym_free_first@GOTPAGE
Lloh7:
	ldr	x8, [x8, _sym_free_first@GOTPAGEOFF]
	ldr	x0, [x8]
	ldr	w9, [x21]
	cmp	w9, #1
	b.lt	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x10, x19
	str	x0, [x19], #8
	mov	x0, x10
	subs	w9, w9, #1
	b.ne	LBB0_1
; %bb.2:
	sub	x0, x19, #8
LBB0_3:
	str	x0, [x8]
	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
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SYM_POOL_NB,4,2                ; @SYM_POOL_NB
	.comm	_sym_pools,4,2                  ; @sym_pools
	.comm	_nb_sym_pools,4,2               ; @nb_sym_pools
	.comm	_sym_free_first,8,3             ; @sym_free_first
	.no_dead_strip	___sym_malloc
.subsections_via_symbols
