	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BufTableInsert                 ## -- Begin function BufTableInsert
	.p2align	4, 0x90
_BufTableInsert:                        ## @BufTableInsert
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	%edx, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_Assert
	movq	(%rbx), %rax
	movq	_P_NEW@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_Assert
	movq	_SharedBufHash@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HASH_ENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-28(%rbp), %r8
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_hash_search_with_hash_value
	cmpl	$0, -28(%rbp)
	je	LBB0_2
## %bb.1:
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_2:
	movl	%r14d, (%rax)
	movl	$-1, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P_NEW,8,3                      ## @P_NEW
	.comm	_SharedBufHash,4,2              ## @SharedBufHash
	.comm	_HASH_ENTER,4,2                 ## @HASH_ENTER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BufTableInsert                 ; -- Begin function BufTableInsert
	.p2align	2
_BufTableInsert:                        ; @BufTableInsert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mvn	w8, w2
	lsr	w0, w8, #31
	bl	_Assert
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _P_NEW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _P_NEW@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_Assert
Lloh3:
	adrp	x8, _SharedBufHash@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SharedBufHash@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _HASH_ENTER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HASH_ENTER@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	add	x4, sp, #12
	mov	x1, x21
	mov	x2, x20
	bl	_hash_search_with_hash_value
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	w0, [x0]
	b	LBB0_3
LBB0_2:
	str	w19, [x0]
	mov	w0, #-1
LBB0_3:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_P_NEW,8,3                      ; @P_NEW
	.comm	_SharedBufHash,4,2              ; @SharedBufHash
	.comm	_HASH_ENTER,4,2                 ; @HASH_ENTER
.subsections_via_symbols
