	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function isc_heap_create
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_isc_heap_create
	.p2align	4, 0x90
_isc_heap_create:                       ## @isc_heap_create
	.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	%r8, %r13
	movl	%ecx, %r12d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%r8, %r8
	je	LBB0_2
## %bb.1:
	cmpq	$0, (%r13)
	sete	%dil
LBB0_2:
	callq	_REQUIRE
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	callq	_REQUIRE
	movq	%rbx, %rdi
	movl	$56, %esi
	callq	_isc_mem_get
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movq	_HEAP_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r14)
	movq	%r14, %rsi
	addq	$32, %rsi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r14)
	movq	%rbx, %rdi
	callq	_isc_mem_attach
	testl	%r12d, %r12d
	jne	LBB0_6
## %bb.5:
	movq	_SIZE_INCREMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_6:
	movl	%r12d, (%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r14)
	movq	%r15, 8(%r14)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r14)
	movq	%r14, (%r13)
	movq	_ISC_R_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_ISC_R_NOMEMORY@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_R_NOMEMORY,4,2             ## @ISC_R_NOMEMORY
	.comm	_HEAP_MAGIC,4,2                 ## @HEAP_MAGIC
	.comm	_SIZE_INCREMENT,4,2             ## @SIZE_INCREMENT
	.comm	_ISC_R_SUCCESS,4,2              ## @ISC_R_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_heap_create                ; -- Begin function isc_heap_create
	.p2align	2
_isc_heap_create:                       ; @isc_heap_create
	.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	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
	cbz	x4, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_REQUIRE
	cmp	x21, #0
	cset	w0, ne
	bl	_REQUIRE
	mov	x0, x23
	mov	w1, #56
	bl	_isc_mem_get
	cbz	x0, LBB0_5
; %bb.4:
	mov	x24, x0
Lloh0:
	adrp	x8, _HEAP_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HEAP_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #48]
	str	xzr, [x0, #40]
	mov	x1, x0
	str	xzr, [x1, #32]!
	mov	x0, x23
	bl	_isc_mem_attach
Lloh3:
	adrp	x8, _SIZE_INCREMENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIZE_INCREMENT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w22, #0
	csel	w8, w8, w22, eq
	stp	xzr, xzr, [x24, #16]
	str	x21, [x24, #8]
	stp	w8, w20, [x24]
	str	x24, [x19]
Lloh6:
	adrp	x8, _ISC_R_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ISC_R_SUCCESS@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _ISC_R_NOMEMORY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ISC_R_NOMEMORY@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_R_NOMEMORY,4,2             ; @ISC_R_NOMEMORY
	.comm	_HEAP_MAGIC,4,2                 ; @HEAP_MAGIC
	.comm	_SIZE_INCREMENT,4,2             ; @SIZE_INCREMENT
	.comm	_ISC_R_SUCCESS,4,2              ; @ISC_R_SUCCESS
.subsections_via_symbols
