	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arena_bin_malloc_hard
_arena_bin_malloc_hard:                 ## @arena_bin_malloc_hard
	.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
	movq	%rcx, %r13
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_bin_infos@GOTPCREL(%rip), %rax
	leaq	(,%rcx,8), %r14
	addq	(%rax), %r14
	movq	%rsi, %rdi
	callq	_arena_is_auto
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_arena_bin_slabs_full_insert
	movq	$0, (%r12)
LBB0_3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	callq	_arena_bin_nonfull_slab_get
	movq	%rax, %r13
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.4:
	callq	_extent_nfree_get
	movq	(%r12), %rdx
	testq	%rax, %rax
	jle	LBB0_8
## %bb.5:
	movq	%rdx, %rdi
	movq	%r14, %rsi
	callq	_arena_slab_reg_alloc
	movq	%rax, %rbx
	testq	%r13, %r13
	je	LBB0_13
## %bb.6:
	movq	%r13, %rdi
	callq	_extent_nfree_get
	cmpq	(%r14), %rax
	jne	LBB0_12
## %bb.7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_arena_dalloc_bin_slab
	jmp	LBB0_13
LBB0_8:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_arena_bin_slabs_full_insert
	movq	$0, (%r12)
LBB0_9:
	testq	%r13, %r13
	je	LBB0_10
## %bb.11:
	movq	%r13, (%r12)
	movq	%r13, %rdi
	callq	_extent_nfree_get
	xorl	%edi, %edi
	testq	%rax, %rax
	setg	%dil
	callq	_assert
	movq	%r13, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_arena_slab_reg_alloc           ## TAILCALL
LBB0_10:
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_12:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	callq	_arena_bin_lower_slab
LBB0_13:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bin_infos,8,3                  ## @bin_infos
	.no_dead_strip	_arena_bin_malloc_hard
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arena_bin_malloc_hard
_arena_bin_malloc_hard:                 ; @arena_bin_malloc_hard
	.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	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _bin_infos@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bin_infos@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x20, x8, x3, lsl #3
	mov	x0, x1
	bl	_arena_is_auto
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	x2, [x19]
	cbz	x2, LBB0_3
; %bb.2:
	mov	x0, x21
	mov	x1, x19
	bl	_arena_bin_slabs_full_insert
	str	xzr, [x19]
LBB0_3:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x23
	bl	_arena_bin_nonfull_slab_get
	mov	x23, x0
	ldr	x0, [x19]
	cbz	x0, LBB0_9
; %bb.4:
	bl	_extent_nfree_get
	ldr	x2, [x19]
	cmp	x0, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x0, x2
	mov	x1, x20
	bl	_arena_slab_reg_alloc
	mov	x24, x0
	cbz	x23, LBB0_13
; %bb.6:
	mov	x0, x23
	bl	_extent_nfree_get
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.7:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	x3, x19
	bl	_arena_dalloc_bin_slab
	b	LBB0_13
LBB0_8:
	mov	x0, x21
	mov	x1, x19
	bl	_arena_bin_slabs_full_insert
	str	xzr, [x19]
LBB0_9:
	cbz	x23, LBB0_11
; %bb.10:
	str	x23, [x19]
	mov	x0, x23
	bl	_extent_nfree_get
	cmp	x0, #0
	cset	w0, gt
	bl	_assert
	mov	x0, x23
	mov	x1, x20
	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
	b	_arena_slab_reg_alloc
LBB0_11:
	mov	x24, #0
	b	LBB0_13
LBB0_12:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	x3, x19
	bl	_arena_bin_lower_slab
LBB0_13:
	mov	x0, x24
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_bin_infos,8,3                  ; @bin_infos
	.no_dead_strip	_arena_bin_malloc_hard
.subsections_via_symbols
