	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function loop_delete_branch_edge
_loop_delete_branch_edge:               ## @loop_delete_branch_edge
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	16(%rdi), %rbx
	movl	(%rbx), %edi
	callq	_EDGE_COUNT
	xorl	%edi, %edi
	cmpl	$2, %eax
	setge	%dil
	callq	_gcc_assert
	movl	(%rbx), %edi
	callq	_EDGE_COUNT
	xorl	%r15d, %r15d
	cmpl	$2, %eax
	jg	LBB0_7
## %bb.1:
	movq	%rbx, %rdi
	callq	_BB_END
	movl	%eax, %edi
	callq	_any_condjump_p
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_EDGE_SUCC
	xorl	%esi, %esi
	cmpq	%r14, %rax
	sete	%sil
	movq	%rbx, %rdi
	callq	_EDGE_SUCC
	movq	8(%rax), %rsi
	movq	_EXIT_BLOCK_PTR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rsi
	je	LBB0_7
## %bb.3:
	testl	%r12d, %r12d
	je	LBB0_6
## %bb.4:
	movl	(%rax), %r13d
	movq	_EDGE_IRREDUCIBLE_LOOP@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_redirect_edge_and_branch
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	andl	%r13d, %r12d
	movq	_EDGE_IRREDUCIBLE_LOOP@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	notl	%r14d
	movq	%rbx, %rdi
	callq	_single_succ_edge
	andl	%r14d, (%rax)
	movq	%rbx, %rdi
	callq	_single_succ_edge
	orl	%r12d, (%rax)
LBB0_6:
	movl	$1, %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXIT_BLOCK_PTR,8,3             ## @EXIT_BLOCK_PTR
	.comm	_EDGE_IRREDUCIBLE_LOOP,4,2      ## @EDGE_IRREDUCIBLE_LOOP
	.no_dead_strip	_loop_delete_branch_edge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function loop_delete_branch_edge
_loop_delete_branch_edge:               ; @loop_delete_branch_edge
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x20, x0
	ldr	x19, [x0, #16]
	ldr	w0, [x19]
	bl	_EDGE_COUNT
	cmp	w0, #1
	cset	w0, gt
	bl	_gcc_assert
	ldr	w0, [x19]
	bl	_EDGE_COUNT
	cmp	w0, #2
	b.le	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_8
LBB0_2:
	mov	x0, x19
	bl	_BB_END
	bl	_any_condjump_p
	cbz	w0, LBB0_8
; %bb.3:
	mov	x0, x19
	mov	w1, #0
	bl	_EDGE_SUCC
	cmp	x0, x20
	cset	w1, eq
	mov	x0, x19
	bl	_EDGE_SUCC
	ldr	x1, [x0, #8]
Lloh0:
	adrp	x8, _EXIT_BLOCK_PTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXIT_BLOCK_PTR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x1, x8
	b.eq	LBB0_1
; %bb.4:
	cbz	w21, LBB0_7
; %bb.5:
	ldr	w21, [x0]
Lloh3:
	adrp	x22, _EDGE_IRREDUCIBLE_LOOP@GOTPAGE
Lloh4:
	ldr	x22, [x22, _EDGE_IRREDUCIBLE_LOOP@GOTPAGEOFF]
	ldr	w23, [x22]
	mov	x0, x20
	bl	_redirect_edge_and_branch
	cbz	w0, LBB0_8
; %bb.6:
	and	w20, w23, w21
	ldr	w21, [x22]
	mov	x0, x19
	bl	_single_succ_edge
	ldr	w8, [x0]
	bic	w8, w8, w21
	str	w8, [x0]
	mov	x0, x19
	bl	_single_succ_edge
	ldr	w8, [x0]
	orr	w8, w8, w20
	str	w8, [x0]
LBB0_7:
	mov	w0, #1
LBB0_8:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EXIT_BLOCK_PTR,8,3             ; @EXIT_BLOCK_PTR
	.comm	_EDGE_IRREDUCIBLE_LOOP,4,2      ; @EDGE_IRREDUCIBLE_LOOP
	.no_dead_strip	_loop_delete_branch_edge
.subsections_via_symbols
