	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function should_duplicate_loop_header_p
_should_duplicate_loop_header_p:        ## @should_duplicate_loop_header_p
	.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
	xorl	%r15d, %r15d
	cmpq	$0, 8(%rdi)
	jne	LBB0_14
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_EDGE_COUNT
	xorl	%edi, %edi
	testq	%rax, %rax
	setg	%dil
	callq	_gcc_assert
	movq	%rbx, %rdi
	callq	_single_succ_p
	testq	%rax, %rax
	je	LBB0_2
LBB0_14:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_EDGE_SUCC
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_flow_bb_inside_loop_p
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_EDGE_SUCC
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_flow_bb_inside_loop_p
	testq	%rax, %rax
	jne	LBB0_14
LBB0_4:
	cmpq	%rbx, (%r12)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_single_pred_p
	testl	%eax, %eax
	je	LBB0_14
LBB0_6:
	movq	%rbx, %rdi
	callq	_last_stmt
	movl	%eax, %edi
	callq	_TREE_CODE
	movq	_COND_EXPR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.7:
	movq	%rbx, %rdi
	callq	_bsi_start
	movl	%eax, %ebx
	movl	%eax, -44(%rbp)
	movl	%eax, %edi
	callq	_bsi_end_p
	testl	%eax, %eax
	je	LBB0_8
LBB0_13:
	movl	$1, %r15d
	jmp	LBB0_14
LBB0_8:
	movq	_LABEL_EXPR@GOTPCREL(%rip), %r13
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_bsi_stmt
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_TREE_CODE
	cmpq	(%r13), %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%ebx, %edi
	callq	_get_call_expr_in
	testq	%rax, %rax
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%ebx, %edi
	callq	_estimate_num_insns
	subl	%eax, (%r14)
	js	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r12, %rdi
	callq	_bsi_next
	movl	-44(%rbp), %edi
	callq	_bsi_end_p
	testl	%eax, %eax
	jne	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	-44(%rbp), %ebx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_COND_EXPR,8,3                  ## @COND_EXPR
	.comm	_LABEL_EXPR,8,3                 ## @LABEL_EXPR
	.no_dead_strip	_should_duplicate_loop_header_p
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function should_duplicate_loop_header_p
_should_duplicate_loop_header_p:        ; @should_duplicate_loop_header_p
	.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
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_EDGE_COUNT
	cmp	x0, #0
	cset	w0, gt
	bl	_gcc_assert
	mov	x0, x20
	bl	_single_succ_p
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	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_4:
	mov	x0, x20
	mov	w1, #0
	bl	_EDGE_SUCC
	ldr	w1, [x0]
	mov	x0, x21
	bl	_flow_bb_inside_loop_p
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	w1, #1
	bl	_EDGE_SUCC
	ldr	w1, [x0]
	mov	x0, x21
	bl	_flow_bb_inside_loop_p
	cbnz	x0, LBB0_2
LBB0_6:
	ldr	x8, [x21]
	cmp	x8, x20
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_single_pred_p
	cbz	w0, LBB0_3
LBB0_8:
	mov	x0, x20
	bl	_last_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.ne	LBB0_2
; %bb.9:
	mov	x0, x20
	bl	_bsi_start
	mov	x20, x0
	str	w0, [sp, #12]
	bl	_bsi_end_p
	cbz	w0, LBB0_11
LBB0_10:
	mov	w0, #1
	b	LBB0_3
LBB0_11:
Lloh3:
	adrp	x21, _LABEL_EXPR@GOTPAGE
Lloh4:
	ldr	x21, [x21, _LABEL_EXPR@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_bsi_stmt
	mov	x20, x0
	bl	_TREE_CODE
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x20
	bl	_get_call_expr_in
	cbnz	x0, LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x20
	bl	_estimate_num_insns
	ldr	w8, [x19]
	subs	w8, w8, w0
	str	w8, [x19]
	b.mi	LBB0_2
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x0, sp, #12
	bl	_bsi_next
	ldr	w0, [sp, #12]
	bl	_bsi_end_p
	cbnz	w0, LBB0_10
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w20, [sp, #12]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_COND_EXPR,8,3                  ; @COND_EXPR
	.comm	_LABEL_EXPR,8,3                 ; @LABEL_EXPR
	.no_dead_strip	_should_duplicate_loop_header_p
.subsections_via_symbols
