	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bsi_replace                    ## -- Begin function bsi_replace
	.p2align	4, 0x90
_bsi_replace:                           ## @bsi_replace
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_bsi_stmt
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_EXPR_LOCUS
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SET_EXPR_LOCUS
	movl	(%r14), %esi
	movl	%ebx, %edi
	callq	_set_bb_for_stmt
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.1:
	movl	%r15d, %edi
	callq	_lookup_stmt_eh_region
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	movl	%eax, %r12d
	movl	%r15d, %edi
	callq	_remove_stmt_from_eh_region
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_add_stmt_to_eh_region
LBB0_3:
	movl	%r15d, %edi
	callq	_delink_stmt_imm_use
	movl	(%r14), %edi
	callq	_bsi_stmt_ptr
	movl	%ebx, (%rax)
	movl	%ebx, %edi
	callq	_mark_stmt_modified
	movl	%ebx, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_update_modified_stmts          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bsi_replace                    ; -- Begin function bsi_replace
	.p2align	2
_bsi_replace:                           ; @bsi_replace
	.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	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_bsi_stmt
	mov	x21, x0
	bl	_EXPR_LOCUS
	mov	x1, x0
	mov	x0, x19
	bl	_SET_EXPR_LOCUS
	ldr	w1, [x20]
	mov	x0, x19
	bl	_set_bb_for_stmt
	cbz	w22, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_lookup_stmt_eh_region
	tbnz	w0, #31, LBB0_3
; %bb.2:
	mov	x22, x0
	mov	x0, x21
	bl	_remove_stmt_from_eh_region
	mov	x0, x19
	mov	x1, x22
	bl	_add_stmt_to_eh_region
LBB0_3:
	mov	x0, x21
	bl	_delink_stmt_imm_use
	ldr	w0, [x20]
	bl	_bsi_stmt_ptr
	str	w19, [x0]
	mov	x0, x19
	bl	_mark_stmt_modified
	mov	x0, x19
	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
	b	_update_modified_stmts
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
