	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gistGetNodeBuffer              ## -- Begin function gistGetNodeBuffer
	.p2align	4, 0x90
_gistGetNodeBuffer:                     ## @gistGetNodeBuffer
	.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	%ecx, %r14d
	movq	%rdi, %rbx
	movl	%edx, -48(%rbp)
	movl	20(%rdi), %edi
	movq	_HASH_ENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rsi
	leaq	-44(%rbp), %rcx
	callq	_hash_search
	movq	%rax, %r15
	cmpl	$0, -44(%rbp)
	jne	LBB0_11
## %bb.1:
	movl	16(%rbx), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r12d
	movq	$0, 32(%r15)
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r15)
	movq	$0, 16(%r15)
	movq	$0, (%r15)
	movl	%r14d, 8(%r15)
	cmpl	%r14d, (%rbx)
	jg	LBB0_10
## %bb.2:
	movq	8(%rbx), %rdi
	leal	1(%r14), %r13d
	leal	8(,%r14,8), %esi
	callq	_repalloc
	movq	%rax, 8(%rbx)
	movslq	(%rbx), %r8
	cmpl	%r14d, %r8d
	jg	LBB0_9
## %bb.3:
	movq	_NIL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	%rsi, (%rax,%r8,8)
	leaq	1(%r8), %rax
	cmpl	%eax, %r13d
	je	LBB0_9
## %bb.4:
	movl	%r14d, %esi
	subl	%r8d, %esi
	notl	%r8d
	addl	%r14d, %r8d
	andl	$3, %esi
	je	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdi
	movq	(%rcx), %rdx
	movq	%rdx, (%rdi,%rax,8)
	incq	%rax
	decl	%esi
	jne	LBB0_5
LBB0_6:
	cmpl	$3, %r8d
	jb	LBB0_9
## %bb.7:
	movl	%r13d, %edx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rsi
	movq	(%rcx), %rdi
	movq	%rdi, (%rsi,%rax,8)
	movq	8(%rbx), %rsi
	movq	(%rcx), %rdi
	movq	%rdi, 8(%rsi,%rax,8)
	movq	8(%rbx), %rsi
	movq	(%rcx), %rdi
	movq	%rdi, 16(%rsi,%rax,8)
	movq	8(%rbx), %rsi
	movq	(%rcx), %rdi
	movq	%rdi, 24(%rsi,%rax,8)
	addq	$4, %rax
	cmpl	%eax, %edx
	jne	LBB0_8
LBB0_9:
	movl	%r13d, (%rbx)
LBB0_10:
	movq	8(%rbx), %rax
	movslq	%r14d, %r14
	movq	(%rax,%r14,8), %rsi
	movq	%r15, %rdi
	callq	_lcons
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx,%r14,8)
	movl	%r12d, %edi
	callq	_MemoryContextSwitchTo
LBB0_11:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HASH_ENTER,4,2                 ## @HASH_ENTER
	.comm	_InvalidBlockNumber,4,2         ## @InvalidBlockNumber
	.comm	_NIL,8,3                        ## @NIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gistGetNodeBuffer              ; -- Begin function gistGetNodeBuffer
	.p2align	2
_gistGetNodeBuffer:                     ; @gistGetNodeBuffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x3
	mov	x19, x0
	str	w2, [sp, #12]
	ldr	w0, [x0, #20]
Lloh0:
	adrp	x8, _HASH_ENTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HASH_ENTER@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x1, sp, #12
	add	x3, sp, #8
	bl	_hash_search
	mov	x21, x0
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_8
; %bb.1:
	ldr	w0, [x19, #16]
	bl	_MemoryContextSwitchTo
	mov	x22, x0
	str	xzr, [x21, #32]
Lloh3:
	adrp	x8, _InvalidBlockNumber@GOTPAGE
Lloh4:
	ldr	x8, [x8, _InvalidBlockNumber@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x21, #24]
	str	xzr, [x21, #16]
	str	xzr, [x21]
	str	w20, [x21, #8]
	ldr	w8, [x19]
	cmp	w8, w20
	b.gt	LBB0_7
; %bb.2:
	ldr	x0, [x19, #8]
	add	w23, w20, #1
	lsl	w1, w23, #3
	bl	_repalloc
	str	x0, [x19, #8]
	ldrsw	x10, [x19]
	cmp	w10, w20
	b.gt	LBB0_6
; %bb.3:
Lloh6:
	adrp	x8, _NIL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x0, x10, lsl #3]
	add	w9, w10, #1
	cmp	w23, w9
	b.eq	LBB0_6
; %bb.4:
	sub	w9, w20, w10
	lsl	x10, x10, #3
	add	x10, x10, #8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x19, #8]
	ldr	x12, [x8]
	str	x12, [x11, x10]
	add	x10, x10, #8
	subs	w9, w9, #1
	b.ne	LBB0_5
LBB0_6:
	str	w23, [x19]
LBB0_7:
	ldr	x8, [x19, #8]
	sbfiz	x20, x20, #3, #32
	ldr	x1, [x8, x20]
	mov	x0, x21
	bl	_lcons
	ldr	x8, [x19, #8]
	str	x0, [x8, x20]
	mov	x0, x22
	bl	_MemoryContextSwitchTo
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_HASH_ENTER,4,2                 ; @HASH_ENTER
	.comm	_InvalidBlockNumber,4,2         ; @InvalidBlockNumber
	.comm	_NIL,8,3                        ; @NIL
.subsections_via_symbols
