	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_node
_alloc_node:                            ## @alloc_node
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_BLOCKING@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rbx)
	movq	(%rax), %rdi
	imulq	%r14, %rdi
	callq	_xmalloc
	movq	%rax, 8(%rbx)
	movq	16(%rbx), %rdi
	movq	32(%rbx), %rsi
	incq	%rsi
	movl	40(%rbx), %edx
	callq	_ALLOC_GROW
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	32(%rbx), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, 32(%rbx)
	movq	%rax, (%rcx,%rdx,8)
	movq	(%rbx), %rax
LBB0_2:
	decq	%rax
	movq	%rax, (%rbx)
	incl	24(%rbx)
	movq	8(%rbx), %r15
	leaq	(%r15,%r14), %rax
	movq	%rax, 8(%rbx)
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_memset
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLOCKING,8,3                   ## @BLOCKING
	.no_dead_strip	_alloc_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_node
_alloc_node:                            ; @alloc_node
	.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, x1
	mov	x20, x0
	ldr	x8, [x0]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _BLOCKING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLOCKING@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x20]
	ldr	x8, [x8]
	mul	x0, x8, x19
	bl	_xmalloc
	str	x0, [x20, #8]
	ldr	x0, [x20, #16]
	ldr	x8, [x20, #32]
	add	x1, x8, #1
	ldr	w2, [x20, #40]
	bl	_ALLOC_GROW
	ldp	x11, x9, [x20, #8]
	ldr	x10, [x20, #32]
	add	x8, x10, #1
	str	x8, [x20, #32]
	ldr	x8, [x20]
	str	x11, [x9, x10, lsl #3]
LBB0_2:
	sub	x8, x8, #1
	ldr	w9, [x20, #24]
	add	w9, w9, #1
	str	w9, [x20, #24]
	ldr	x21, [x20, #8]
	add	x9, x21, x19
	stp	x8, x9, [x20]
	mov	x0, x21
	mov	w1, #0
	mov	x2, x19
	bl	_memset
	mov	x0, x21
	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	_BLOCKING,8,3                   ; @BLOCKING
	.no_dead_strip	_alloc_node
.subsections_via_symbols
