	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_ctrl_stmt_and_useless_edges
_remove_ctrl_stmt_and_useless_edges:    ## @remove_ctrl_stmt_and_useless_edges
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_bsi_last
	movl	%eax, %r15d
	movl	%eax, -32(%rbp)
	movl	%eax, %edi
	callq	_bsi_end_p
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movl	%r15d, %edi
	callq	_bsi_stmt
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movl	%r15d, %edi
	callq	_bsi_stmt
	movq	%rax, %rdi
	callq	_TREE_CODE
	movq	_COND_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.3:
	movl	%r15d, %edi
	callq	_bsi_stmt
	movq	%rax, %rdi
	callq	_TREE_CODE
	movq	_GOTO_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movl	%r15d, %edi
	callq	_bsi_stmt
	movq	%rax, %rdi
	callq	_TREE_CODE
	movq	_SWITCH_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
LBB0_5:
	leaq	-32(%rbp), %rdi
	movl	$1, %esi
	callq	_bsi_remove
LBB0_6:
	movl	(%r14), %edi
	callq	_ei_start
	movl	%eax, -28(%rbp)
	movl	%eax, %edi
	callq	_ei_safe_edge
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	leaq	-28(%rbp), %r14
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	callq	_ei_next
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	-28(%rbp), %edi
	callq	_ei_safe_edge
	testq	%rax, %rax
	je	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rbx, (%rax)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %rdi
	callq	_remove_edge
	jmp	LBB0_11
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COND_EXPR,8,3                  ## @COND_EXPR
	.comm	_GOTO_EXPR,8,3                  ## @GOTO_EXPR
	.comm	_SWITCH_EXPR,8,3                ## @SWITCH_EXPR
	.no_dead_strip	_remove_ctrl_stmt_and_useless_edges
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_ctrl_stmt_and_useless_edges
_remove_ctrl_stmt_and_useless_edges:    ; @remove_ctrl_stmt_and_useless_edges
	.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
	bl	_bsi_last
	mov	x21, x0
	str	w0, [sp, #12]
	bl	_bsi_end_p
	cbnz	w0, LBB0_6
; %bb.1:
	mov	x0, x21
	bl	_bsi_stmt
	cbz	x0, LBB0_6
; %bb.2:
	mov	x0, x21
	bl	_bsi_stmt
	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_5
; %bb.3:
	mov	x0, x21
	bl	_bsi_stmt
	bl	_TREE_CODE
Lloh3:
	adrp	x8, _GOTO_EXPR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GOTO_EXPR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_bsi_stmt
	bl	_TREE_CODE
Lloh6:
	adrp	x8, _SWITCH_EXPR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SWITCH_EXPR@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
LBB0_5:
	add	x0, sp, #12
	mov	w1, #1
	bl	_bsi_remove
LBB0_6:
	ldr	w0, [x20]
	bl	_ei_start
	str	w0, [sp, #8]
	bl	_ei_safe_edge
	cbnz	x0, LBB0_8
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	bl	_remove_edge
	ldr	w0, [sp, #8]
	bl	_ei_safe_edge
	cbz	x0, LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x0]
	cmp	x8, x19
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #8
	bl	_ei_next
	ldr	w0, [sp, #8]
	bl	_ei_safe_edge
	cbnz	x0, LBB0_8
LBB0_10:
	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	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	_GOTO_EXPR,8,3                  ; @GOTO_EXPR
	.comm	_SWITCH_EXPR,8,3                ; @SWITCH_EXPR
	.no_dead_strip	_remove_ctrl_stmt_and_useless_edges
.subsections_via_symbols
