	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arenas_i_impl
_arenas_i_impl:                         ## @arenas_i_impl
	.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
	movl	%ecx, %ebx
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	testl	%edx, %edx
	sete	%al
	testl	%ecx, %ecx
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	_ctl_arenas@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r13
	movq	%r14, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_arenas_i2a_impl
	movq	(%r13,%rax,8), %r13
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.1:
	testq	%r13, %r13
	jne	LBB0_5
## %bb.2:
	movq	_config_stats@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r12, %rdi
	callq	_tsd_tsdn
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_b0get
	movl	%eax, %esi
	movq	_QUANTUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %edi
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.3:
	movl	$24, %edx
	callq	_base_alloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.4:
	movq	%rax, %r13
	addq	$16, %rax
	movq	%rax, 8(%r13)
	jmp	LBB0_8
LBB0_5:
	testq	%r13, %r13
	jne	LBB0_9
## %bb.6:
	movl	$1, %edi
	xorl	%r13d, %r13d
	jmp	LBB0_10
LBB0_7:
	movl	$16, %edx
	callq	_base_alloc
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_13
LBB0_8:
	movl	%r14d, (%r13)
	movq	_ctl_arenas@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	movq	%r14, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_arenas_i2a_impl
	movq	%r13, (%rbx,%rax,8)
LBB0_9:
	movl	(%r13), %edi
	callq	_arenas_i2a
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_arenas_i2a
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
LBB0_10:
	callq	_assert
LBB0_11:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	xorl	%r13d, %r13d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_ctl_arenas,8,3                 ## @ctl_arenas
	.comm	_config_stats,8,3               ## @config_stats
	.comm	_QUANTUM,4,2                    ## @QUANTUM
	.no_dead_strip	_arenas_i_impl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arenas_i_impl
_arenas_i_impl:                         ; @arenas_i_impl
	.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	x23, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	cmp	w2, #0
	ccmp	w3, #0, #4, ne
	cset	w0, eq
	bl	_assert
Lloh0:
	adrp	x24, _ctl_arenas@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ctl_arenas@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x21, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_arenas_i2a_impl
	ldr	x21, [x21, x0, lsl #3]
	cbz	w23, LBB0_5
; %bb.1:
	cbnz	x21, LBB0_5
; %bb.2:
Lloh2:
	adrp	x8, _config_stats@GOTPAGE
Lloh3:
	ldr	x8, [x8, _config_stats@GOTPAGEOFF]
Lloh4:
	ldr	x23, [x8]
	mov	x0, x22
	bl	_tsd_tsdn
	mov	x21, x0
	bl	_b0get
	mov	x1, x0
Lloh5:
	adrp	x8, _QUANTUM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QUANTUM@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x21
	cbz	x23, LBB0_7
; %bb.3:
	mov	w2, #24
	bl	_base_alloc
	mov	x21, x0
	cbz	x0, LBB0_11
; %bb.4:
	add	x8, x21, #16
	str	x8, [x21, #8]
	b	LBB0_8
LBB0_5:
	cbnz	x21, LBB0_9
; %bb.6:
	mov	w0, #1
	b	LBB0_10
LBB0_7:
	mov	w2, #16
	bl	_base_alloc
	mov	x21, x0
	cbz	x0, LBB0_11
LBB0_8:
	str	w19, [x21]
	ldr	x8, [x24]
	ldr	x22, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_arenas_i2a_impl
	str	x21, [x22, x0, lsl #3]
LBB0_9:
	ldr	w0, [x21]
	bl	_arenas_i2a
	mov	x20, x0
	mov	x0, x19
	bl	_arenas_i2a
	cmp	x20, x0
	cset	w0, eq
LBB0_10:
	bl	_assert
LBB0_11:
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ctl_arenas,8,3                 ; @ctl_arenas
	.comm	_config_stats,8,3               ; @config_stats
	.comm	_QUANTUM,4,2                    ; @QUANTUM
	.no_dead_strip	_arenas_i_impl
.subsections_via_symbols
