	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arena_choose_huge              ## -- Begin function arena_choose_huge
	.p2align	4, 0x90
_arena_choose_huge:                     ## @arena_choose_huge
	.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	%rdi, %r14
	movq	_huge_arena_ind@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_malloc_initialized
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
LBB0_2:
	movq	%r14, %rdi
	callq	_tsd_tsdn
	movq	(%r15), %rsi
	movl	%eax, %edi
	xorl	%edx, %edx
	callq	_arena_get
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%edi, %edi
	cmpq	$0, (%r15)
	setne	%dil
	callq	_assert
	movq	%r14, %rdi
	callq	_tsd_tsdn
	movq	(%r15), %rsi
	movl	%eax, %edi
	movl	$1, %edx
	callq	_arena_get
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_arena_dirty_decay_ms_default_get
	testq	%rax, %rax
	jle	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_tsd_tsdn
	movl	%eax, %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_arena_dirty_decay_ms_set
LBB0_7:
	xorl	%eax, %eax
	callq	_arena_muzzy_decay_ms_default_get
	testq	%rax, %rax
	jle	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	callq	_tsd_tsdn
	movl	%eax, %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_arena_muzzy_decay_ms_set
	jmp	LBB0_9
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_huge_arena_ind,8,3             ## @huge_arena_ind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arena_choose_huge              ; -- Begin function arena_choose_huge
	.p2align	2
_arena_choose_huge:                     ; @arena_choose_huge
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _huge_arena_ind@GOTPAGE
Lloh1:
	ldr	x21, [x21, _huge_arena_ind@GOTPAGEOFF]
	ldr	x8, [x21]
	cbnz	x8, LBB0_2
; %bb.1:
	bl	_malloc_initialized
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
LBB0_2:
	mov	x0, x19
	bl	_tsd_tsdn
	ldr	x1, [x21]
	mov	w2, #0
	bl	_arena_get
	mov	x20, x0
	cbnz	x0, LBB0_8
; %bb.3:
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x19
	bl	_tsd_tsdn
	ldr	x1, [x21]
	mov	w2, #1
	bl	_arena_get
	mov	x20, x0
	cbz	x0, LBB0_8
; %bb.4:
	bl	_arena_dirty_decay_ms_default_get
	cmp	x0, #1
	b.lt	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_tsd_tsdn
	mov	x1, x20
	mov	w2, #0
	bl	_arena_dirty_decay_ms_set
LBB0_6:
	bl	_arena_muzzy_decay_ms_default_get
	cmp	x0, #1
	b.lt	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_tsd_tsdn
	mov	x1, x20
	mov	w2, #0
	bl	_arena_muzzy_decay_ms_set
LBB0_8:
	mov	x0, x20
	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	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_huge_arena_ind,8,3             ; @huge_arena_ind
.subsections_via_symbols
