	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arena_malloc_hard              ## -- Begin function arena_malloc_hard
	.p2align	4, 0x90
_arena_malloc_hard:                     ## @arena_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
	movl	%r8d, %r14d
	movl	%ecx, %r15d
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r12
	callq	_tsdn_null
	testl	%eax, %eax
	sete	%al
	testq	%rbx, %rbx
	setne	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movq	%r12, %rdi
	callq	_tsdn_null
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_tsdn_tsd
	movl	%eax, %edi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_arena_choose_maybe_huge
	movq	%rax, %rbx
LBB0_2:
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_SC_SMALL_MAXCLASS@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%r13, (%rax)
	setae	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_arena_malloc_small             ## TAILCALL
LBB0_4:
	movl	%r15d, %edi
	callq	_sz_index2size
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_large_malloc                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SC_SMALL_MAXCLASS,8,3          ## @SC_SMALL_MAXCLASS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arena_malloc_hard              ; -- Begin function arena_malloc_hard
	.p2align	2
_arena_malloc_hard:                     ; @arena_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	x19, x4
	mov	x20, x3
	mov	x23, x2
	mov	x22, x1
	mov	x21, x0
	bl	_tsdn_null
	cmp	x22, #0
	ccmp	w0, #0, #4, eq
	cset	w0, eq
	bl	_assert
	mov	x0, x21
	bl	_tsdn_null
	cmp	w0, #0
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_tsdn_tsd
	mov	x1, x22
	mov	x2, x23
	bl	_arena_choose_maybe_huge
	mov	x22, x0
LBB0_2:
	cmp	x22, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, #0
	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
LBB0_4:
Lloh0:
	adrp	x8, _SC_SMALL_MAXCLASS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SC_SMALL_MAXCLASS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x23
	cset	w0, hs
	bl	_likely
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	x3, x19
	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_malloc_small
LBB0_6:
	mov	x0, x20
	bl	_sz_index2size
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	mov	x3, x19
	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	_large_malloc
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SC_SMALL_MAXCLASS,8,3          ; @SC_SMALL_MAXCLASS
.subsections_via_symbols
