	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bsi_insert_on_edge_immediate   ## -- Begin function bsi_insert_on_edge_immediate
	.p2align	4, 0x90
_bsi_insert_on_edge_immediate:          ## @bsi_insert_on_edge_immediate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	$0, -32(%rbp)
	callq	_PENDING_STMT
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_gcc_assert
	leaq	-20(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	movl	%ebx, %edi
	callq	_tree_find_edge_insert_loc
	movq	_BSI_NEW_STMT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-20(%rbp), %rdi
	movl	%r14d, %esi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	callq	_bsi_insert_after
	jmp	LBB0_3
LBB0_2:
	callq	_bsi_insert_before
LBB0_3:
	movq	-32(%rbp), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BSI_NEW_STMT,4,2               ## @BSI_NEW_STMT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bsi_insert_on_edge_immediate   ; -- Begin function bsi_insert_on_edge_immediate
	.p2align	2
_bsi_insert_on_edge_immediate:          ; @bsi_insert_on_edge_immediate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	str	xzr, [sp]
	bl	_PENDING_STMT
	cmp	w0, #0
	cset	w0, eq
	bl	_gcc_assert
	add	x1, sp, #12
	mov	x2, sp
	mov	x0, x20
	bl	_tree_find_edge_insert_loc
Lloh0:
	adrp	x8, _BSI_NEW_STMT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BSI_NEW_STMT@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, sp, #12
	mov	x1, x19
	bl	_bsi_insert_after
	b	LBB0_3
LBB0_2:
	add	x0, sp, #12
	mov	x1, x19
	bl	_bsi_insert_before
LBB0_3:
	ldr	x0, [sp]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BSI_NEW_STMT,4,2               ; @BSI_NEW_STMT
.subsections_via_symbols
