	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stats_arenas_i_index
_stats_arenas_i_index:                  ## @stats_arenas_i_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %rbx
	movq	%rdi, %r14
	movq	_ctl_mtx@GOTPCREL(%rip), %rsi
	callq	_malloc_mutex_lock
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_arenas_i2a_impl
	movq	_UINT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.2:
	movq	_ctl_arenas@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_super_stats_arenas_i_node@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_5
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	movq	_ctl_mtx@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_malloc_mutex_unlock
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ctl_mtx,4,2                    ## @ctl_mtx
	.comm	_UINT_MAX,8,3                   ## @UINT_MAX
	.comm	_ctl_arenas,8,3                 ## @ctl_arenas
	.comm	_super_stats_arenas_i_node,8,3  ## @super_stats_arenas_i_node
	.no_dead_strip	_stats_arenas_i_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stats_arenas_i_index
_stats_arenas_i_index:                  ; @stats_arenas_i_index
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x3
	mov	x19, x0
Lloh0:
	adrp	x1, _ctl_mtx@GOTPAGE
Lloh1:
	ldr	x1, [x1, _ctl_mtx@GOTPAGEOFF]
	bl	_malloc_mutex_lock
	mov	x0, x20
	mov	w1, #1
	mov	w2, #1
	bl	_arenas_i2a_impl
Lloh2:
	adrp	x8, _UINT_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UINT_MAX@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x20, #0
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _ctl_arenas@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ctl_arenas@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8, x0, lsl #3]
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _super_stats_arenas_i_node@GOTPAGE
Lloh9:
	ldr	x9, [x9, _super_stats_arenas_i_node@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	w8, #0
	csel	x20, xzr, x9, eq
LBB0_3:
Lloh11:
	adrp	x1, _ctl_mtx@GOTPAGE
Lloh12:
	ldr	x1, [x1, _ctl_mtx@GOTPAGEOFF]
	mov	x0, x19
	bl	_malloc_mutex_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ctl_mtx,4,2                    ; @ctl_mtx
	.comm	_UINT_MAX,8,3                   ; @UINT_MAX
	.comm	_ctl_arenas,8,3                 ; @ctl_arenas
	.comm	_super_stats_arenas_i_node,8,3  ; @super_stats_arenas_i_node
	.no_dead_strip	_stats_arenas_i_index
.subsections_via_symbols
