	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arenas_i2a_impl
_arenas_i2a_impl:                       ## @arenas_i2a_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%eax, %eax
	cmpq	$129, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$128, %rdi
	jne	LBB0_3
## %bb.2:
	movl	$1, %eax
	jmp	LBB0_9
LBB0_3:
	testl	%esi, %esi
	je	LBB0_5
## %bb.4:
	movq	_ctl_arenas@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rbx, (%rcx)
	je	LBB0_9
LBB0_5:
	movq	_ctl_arenas@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	testl	%edx, %edx
	je	LBB0_8
## %bb.6:
	cmpq	%rbx, %rax
	ja	LBB0_8
## %bb.7:
	movq	_UINT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_8:
	xorl	%ecx, %ecx
	xorl	%esi, %esi
	cmpq	%rbx, %rax
	seta	%cl
	sete	%sil
	testl	%edx, %edx
	cmovnel	%ecx, %esi
	orb	%sil, %cl
	movzbl	%cl, %edi
	callq	_assert
	addl	$2, %ebx
	movl	%ebx, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ctl_arenas,8,3                 ## @ctl_arenas
	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
	.no_dead_strip	_arenas_i2a_impl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arenas_i2a_impl
_arenas_i2a_impl:                       ; @arenas_i2a_impl
	.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
	cmp	x0, #129
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x0
	cmp	x0, #128
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #1
	b	LBB0_10
LBB0_3:
Lloh0:
	adrp	x8, _ctl_arenas@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ctl_arenas@GOTPAGEOFF]
	cbz	w1, LBB0_6
; %bb.4:
	ldr	x9, [x8]
	ldr	x9, [x9]
	cmp	x9, x19
	b.ne	LBB0_6
LBB0_5:
	mov	w0, #0
	b	LBB0_10
LBB0_6:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	w2, LBB0_9
; %bb.7:
	cmp	x8, x19
	b.hi	LBB0_9
; %bb.8:
Lloh2:
	adrp	x8, _UINT_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UINT_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_10
LBB0_9:
	cmp	w2, #0
	cset	w9, ne
	cmp	x8, x19
	cset	w8, hi
	orr	w9, w8, w9
	cset	w10, eq
	cmp	w9, #0
	csel	w0, w8, w10, ne
	bl	_assert
	add	w0, w19, #2
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ctl_arenas,8,3                 ; @ctl_arenas
	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
	.no_dead_strip	_arenas_i2a_impl
.subsections_via_symbols
