	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tree_try_redirect_by_replacing_jump
_tree_try_redirect_by_replacing_jump:   ## @tree_try_redirect_by_replacing_jump
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	16(%rdi), %rbx
	movl	(%rbx), %edi
	callq	_EDGE_COUNT
	xorl	%r12d, %r12d
	cmpl	$2, %eax
	jne	LBB0_8
## %bb.1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_EDGE_SUCC
	xorl	%esi, %esi
	cmpq	%r15, %rax
	sete	%sil
	movq	%rbx, %rdi
	callq	_EDGE_SUCC
	cmpq	%r14, 8(%rax)
	jne	LBB0_8
## %bb.2:
	movq	%rbx, %rdi
	callq	_bsi_last
	movl	%eax, %ebx
	movl	%eax, -36(%rbp)
	movl	%eax, %edi
	callq	_bsi_end_p
	testq	%rax, %rax
	je	LBB0_4
LBB0_7:
	xorl	%r12d, %r12d
	jmp	LBB0_8
LBB0_4:
	movl	%ebx, %edi
	callq	_bsi_stmt
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_TREE_CODE
	movq	_COND_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.5:
	movl	%ebx, %edi
	callq	_TREE_CODE
	movq	_SWITCH_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
LBB0_6:
	leaq	-36(%rbp), %rdi
	movl	$1, %esi
	callq	_bsi_remove
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ssa_redirect_edge
	movq	%rax, %r12
	movq	_EDGE_FALLTHRU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
LBB0_8:
	movq	%r12, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COND_EXPR,8,3                  ## @COND_EXPR
	.comm	_SWITCH_EXPR,8,3                ## @SWITCH_EXPR
	.comm	_EDGE_FALLTHRU,4,2              ## @EDGE_FALLTHRU
	.no_dead_strip	_tree_try_redirect_by_replacing_jump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tree_try_redirect_by_replacing_jump
_tree_try_redirect_by_replacing_jump:   ; @tree_try_redirect_by_replacing_jump
	.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, x1
	mov	x20, x0
	ldr	x21, [x0, #16]
	ldr	w0, [x21]
	bl	_EDGE_COUNT
	cmp	w0, #2
	b.ne	LBB0_3
; %bb.1:
	mov	x0, x21
	mov	w1, #0
	bl	_EDGE_SUCC
	cmp	x0, x20
	cset	w1, eq
	mov	x0, x21
	bl	_EDGE_SUCC
	ldr	x8, [x0, #8]
	cmp	x8, x19
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_bsi_last
	mov	x21, x0
	str	w0, [sp, #12]
	bl	_bsi_end_p
	cbz	x0, LBB0_5
LBB0_3:
	mov	x0, #0
LBB0_4:
	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
LBB0_5:
	mov	x0, x21
	bl	_bsi_stmt
	mov	x21, x0
	bl	_TREE_CODE
Lloh0:
	adrp	x8, _COND_EXPR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COND_EXPR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x21
	bl	_TREE_CODE
Lloh3:
	adrp	x8, _SWITCH_EXPR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SWITCH_EXPR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
LBB0_7:
	add	x0, sp, #12
	mov	w1, #1
	bl	_bsi_remove
	mov	x0, x20
	mov	x1, x19
	bl	_ssa_redirect_edge
Lloh6:
	adrp	x8, _EDGE_FALLTHRU@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EDGE_FALLTHRU@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x0]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_COND_EXPR,8,3                  ; @COND_EXPR
	.comm	_SWITCH_EXPR,8,3                ; @SWITCH_EXPR
	.comm	_EDGE_FALLTHRU,4,2              ; @EDGE_FALLTHRU
	.no_dead_strip	_tree_try_redirect_by_replacing_jump
.subsections_via_symbols
