	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unswitch_loop
_unswitch_loop:                         ## @unswitch_loop
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_flow_bb_inside_loop_p
	movl	%eax, %edi
	callq	_gcc_assert
	movl	4(%r12), %edi
	callq	_EDGE_COUNT
	xorl	%edi, %edi
	cmpl	$2, %eax
	sete	%dil
	callq	_gcc_assert
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_just_once_each_iteration_p
	movl	%eax, %edi
	callq	_gcc_assert
	xorl	%edi, %edi
	cmpl	$0, 16(%r13)
	sete	%dil
	callq	_gcc_assert
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_EDGE_SUCC
	movq	8(%rax), %rsi
	movq	%r13, %rdi
	callq	_flow_bb_inside_loop_p
	movl	%eax, %edi
	callq	_gcc_assert
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_EDGE_SUCC
	movq	8(%rax), %rsi
	movq	%r13, %rdi
	callq	_flow_bb_inside_loop_p
	movl	%eax, %edi
	callq	_gcc_assert
	movq	%r13, %rdi
	callq	_loop_preheader_edge
	movq	%rax, %r14
	movl	(%rax), %r15d
	movq	_EDGE_IRREDUCIBLE_LOOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	notl	%eax
	andl	%r15d, %eax
	movl	%eax, (%r14)
	movl	$2, %edi
	callq	_sbitmap_alloc
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_sbitmap_zero
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movl	$0, 16(%rsp)
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	$1, %ecx
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	callq	_duplicate_loop_to_header_edge
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	andl	%r15d, %eax
	movl	%eax, %r15d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_sbitmap_free
	orl	%r15d, (%r14)
	movq	%r12, %rdi
	callq	_get_bb_copy
	movq	%rax, %rdi
	callq	_BRANCH_EDGE
	movq	%r12, %rdi
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %r12
	callq	_FALLTHRU_EDGE
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	8(%r13), %rdi
	callq	_get_bb_copy
	movq	%rax, %rdi
	callq	_single_succ_edge
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	4(%r12), %r14d
	movq	_EXIT_BLOCK_PTR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_create_empty_bb
	movq	%rax, %r13
	movl	-64(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_XEXP
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_XEXP
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_GET_CODE
	movl	%eax, %ebx
	movl	12(%r12), %edi
	callq	_block_label
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	movl	%r14d, %r8d
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	callq	_compare_and_jump_seq
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_BB_END
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_emit_insn_after
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	12(%r12), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_make_edge
	movq	%rax, %rcx
	movl	%r14d, 4(%rax)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	imull	8(%rbx), %r14d
	movq	_REG_BR_PROB_BASE@GOTPCREL(%rip), %r15
	movl	%r14d, %eax
	cltd
	idivl	(%r15)
	movl	%eax, 8(%rcx)
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_FALLTHRU_EDGE
	movl	12(%rax), %esi
	movq	_EDGE_FALLTHRU@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_make_edge
	movq	%rax, %rcx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	4(%rdx), %eax
	movl	%eax, 4(%rcx)
	movl	4(%rdx), %eax
	movq	%rbx, %rdx
	imull	8(%rbx), %eax
	cltd
	idivl	(%r15)
	movl	%eax, 8(%rcx)
	movq	_BB_IRREDUCIBLE_LOOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_4
## %bb.3:
	orl	%eax, (%r13)
	movq	_EDGE_IRREDUCIBLE_LOOP@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_EDGE_SUCC
	orl	%ebx, (%rax)
	movl	(%r14), %ebx
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_EDGE_SUCC
	orl	%ebx, (%rax)
	jmp	LBB0_5
LBB0_1:
	movl	%ebx, %edi
	callq	_sbitmap_free
	xorl	%r12d, %r12d
	jmp	LBB0_6
LBB0_4:
	notl	%eax
	andl	%eax, (%r13)
	movq	_EDGE_IRREDUCIBLE_LOOP@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	notl	%ebx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_EDGE_SUCC
	andl	%ebx, (%rax)
	movl	(%r14), %ebx
	notl	%ebx
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_EDGE_SUCC
	andl	%ebx, (%rax)
LBB0_5:
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	(%r15), %rdi
	callq	_get_bb_copy
	movq	%rax, %rdi
	callq	_single_pred_edge
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_BRANCH_EDGE
	movq	%rax, %r12
	movq	%r13, %rdi
	callq	_FALLTHRU_EDGE
	movl	$1, (%rsp)
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	movq	%r13, %rcx
	movq	%r12, %r8
	movq	%rax, %r9
	callq	_loopify
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_remove_path
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_remove_path
	movq	%r15, %rdi
	callq	_fix_loop_placement
	movq	%r12, %rdi
	callq	_fix_loop_placement
	movq	%r15, %rdi
	callq	_loop_preheader_edge
	movq	_NULL_RTX@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rax, %rdi
	callq	_loop_split_edge_with
	movq	%r12, %rdi
	callq	_loop_preheader_edge
	movl	(%r14), %esi
	movq	%rax, %rdi
	callq	_loop_split_edge_with
LBB0_6:
	movq	%r12, %rax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EDGE_IRREDUCIBLE_LOOP,4,2      ## @EDGE_IRREDUCIBLE_LOOP
	.comm	_EXIT_BLOCK_PTR,8,3             ## @EXIT_BLOCK_PTR
	.comm	_REG_BR_PROB_BASE,4,2           ## @REG_BR_PROB_BASE
	.comm	_EDGE_FALLTHRU,4,2              ## @EDGE_FALLTHRU
	.comm	_BB_IRREDUCIBLE_LOOP,4,2        ## @BB_IRREDUCIBLE_LOOP
	.comm	_NULL_RTX,4,2                   ## @NULL_RTX
	.no_dead_strip	_unswitch_loop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unswitch_loop
_unswitch_loop:                         ; @unswitch_loop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x27, x4
	mov	x25, x3
	mov	x21, x2
	mov	x19, x1
	mov	x26, x0
	mov	x0, x1
	mov	x1, x2
	bl	_flow_bb_inside_loop_p
	bl	_gcc_assert
	ldr	w0, [x21, #4]
	bl	_EDGE_COUNT
	cmp	w0, #2
	cset	w0, eq
	bl	_gcc_assert
	mov	x0, x19
	mov	x1, x21
	bl	_just_once_each_iteration_p
	bl	_gcc_assert
	ldr	w8, [x19, #16]
	cmp	w8, #0
	cset	w0, eq
	bl	_gcc_assert
	mov	x0, x21
	mov	w1, #0
	bl	_EDGE_SUCC
	ldr	x1, [x0, #8]
	mov	x0, x19
	bl	_flow_bb_inside_loop_p
	bl	_gcc_assert
	mov	x0, x21
	mov	w1, #1
	bl	_EDGE_SUCC
	ldr	x1, [x0, #8]
	mov	x0, x19
	bl	_flow_bb_inside_loop_p
	bl	_gcc_assert
	mov	x0, x19
	bl	_loop_preheader_edge
	mov	x22, x0
	ldr	w20, [x0]
Lloh0:
	adrp	x8, _EDGE_IRREDUCIBLE_LOOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EDGE_IRREDUCIBLE_LOOP@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	bic	w8, w20, w24
	str	w8, [x0]
	mov	w0, #2
	bl	_sbitmap_alloc
	mov	x23, x0
	bl	_sbitmap_zero
	str	wzr, [sp]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x26
	mov	w3, #1
	mov	x4, x23
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_duplicate_loop_to_header_edge
	cbz	w0, LBB0_3
; %bb.1:
	str	x26, [sp, #24]                  ; 8-byte Folded Spill
	and	w20, w24, w20
	str	w20, [sp, #20]                  ; 4-byte Folded Spill
	mov	x0, x23
	bl	_sbitmap_free
	ldr	w8, [x22]
	orr	w8, w8, w20
	str	w8, [x22]
	mov	x0, x21
	bl	_get_bb_copy
	bl	_BRANCH_EDGE
	mov	x22, x0
	mov	x0, x21
	bl	_FALLTHRU_EDGE
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x0, [x19, #8]
	bl	_get_bb_copy
	bl	_single_succ_edge
	mov	x26, x0
	ldr	w28, [x22, #4]
Lloh3:
	adrp	x8, _EXIT_BLOCK_PTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EXIT_BLOCK_PTR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_create_empty_bb
	mov	x23, x27
	mov	x27, x0
	mov	x0, x25
	mov	w1, #0
	bl	_XEXP
	mov	x24, x0
	mov	x0, x25
	mov	w1, #1
	bl	_XEXP
	mov	x20, x0
	mov	x0, x25
	bl	_GET_CODE
	mov	x25, x0
	ldr	w0, [x22, #12]
	bl	_block_label
	mov	x3, x0
	mov	x0, x24
	mov	x1, x20
	mov	x2, x25
	mov	x4, x28
	mov	x5, x23
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	bl	_compare_and_jump_seq
	mov	x20, x0
	mov	x0, x27
	bl	_BB_END
	mov	x1, x0
	mov	x0, x20
	bl	_emit_insn_after
	ldr	w1, [x22, #12]
	mov	x0, x27
	mov	w2, #0
	bl	_make_edge
	ldr	w8, [x26, #8]
	mul	w8, w8, w28
Lloh6:
	adrp	x20, _REG_BR_PROB_BASE@GOTPAGE
Lloh7:
	ldr	x20, [x20, _REG_BR_PROB_BASE@GOTPAGEOFF]
	ldr	w9, [x20]
	sdiv	w8, w8, w9
	stp	w28, w8, [x0, #4]
	mov	x0, x21
	bl	_FALLTHRU_EDGE
	ldr	w1, [x0, #12]
Lloh8:
	adrp	x8, _EDGE_FALLTHRU@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EDGE_FALLTHRU@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x27
	bl	_make_edge
	ldr	w8, [x23, #4]
	str	w8, [x0, #4]
	ldr	w8, [x26, #8]
	ldr	w9, [x23, #4]
	mul	w8, w9, w8
	ldr	w9, [x20]
	sdiv	w8, w8, w9
	str	w8, [x0, #8]
Lloh11:
	adrp	x8, _BB_IRREDUCIBLE_LOOP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BB_IRREDUCIBLE_LOOP@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	cbz	w9, LBB0_4
; %bb.2:
	ldr	w9, [x27]
	orr	w8, w9, w8
	str	w8, [x27]
Lloh14:
	adrp	x21, _EDGE_IRREDUCIBLE_LOOP@GOTPAGE
Lloh15:
	ldr	x21, [x21, _EDGE_IRREDUCIBLE_LOOP@GOTPAGEOFF]
	ldr	w20, [x21]
	mov	x0, x27
	mov	w1, #0
	bl	_EDGE_SUCC
	ldr	w8, [x0]
	orr	w8, w8, w20
	str	w8, [x0]
	ldr	w20, [x21]
	mov	x0, x27
	mov	w1, #1
	bl	_EDGE_SUCC
	ldr	w8, [x0]
	orr	w8, w8, w20
	b	LBB0_5
LBB0_3:
	mov	x0, x23
	bl	_sbitmap_free
	mov	x21, #0
	b	LBB0_6
LBB0_4:
	ldr	w9, [x27]
	bic	w8, w9, w8
	str	w8, [x27]
Lloh16:
	adrp	x21, _EDGE_IRREDUCIBLE_LOOP@GOTPAGE
Lloh17:
	ldr	x21, [x21, _EDGE_IRREDUCIBLE_LOOP@GOTPAGEOFF]
	ldr	w20, [x21]
	mov	x0, x27
	mov	w1, #0
	bl	_EDGE_SUCC
	ldr	w8, [x0]
	bic	w8, w8, w20
	str	w8, [x0]
	ldr	w20, [x21]
	mov	x0, x27
	mov	w1, #1
	bl	_EDGE_SUCC
	ldr	w8, [x0]
	bic	w8, w8, w20
LBB0_5:
	str	w8, [x0]
	ldr	x0, [x19]
	bl	_get_bb_copy
	bl	_single_pred_edge
	mov	x20, x0
	mov	x0, x27
	bl	_BRANCH_EDGE
	mov	x21, x0
	mov	x0, x27
	bl	_FALLTHRU_EDGE
	mov	x5, x0
	ldr	x24, [sp, #24]                  ; 8-byte Folded Reload
	mov	x0, x24
	mov	x1, x26
	mov	x2, x20
	mov	x3, x27
	mov	x4, x21
	mov	w6, #1
	bl	_loopify
	mov	x21, x0
	mov	x0, x24
	mov	x1, x22
	bl	_remove_path
	mov	x0, x24
	mov	x1, x23
	bl	_remove_path
	mov	x0, x19
	bl	_fix_loop_placement
	mov	x0, x21
	bl	_fix_loop_placement
	mov	x0, x19
	bl	_loop_preheader_edge
Lloh18:
	adrp	x19, _NULL_RTX@GOTPAGE
Lloh19:
	ldr	x19, [x19, _NULL_RTX@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_loop_split_edge_with
	mov	x0, x21
	bl	_loop_preheader_edge
	ldr	w1, [x19]
	bl	_loop_split_edge_with
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_EDGE_IRREDUCIBLE_LOOP,4,2      ; @EDGE_IRREDUCIBLE_LOOP
	.comm	_EXIT_BLOCK_PTR,8,3             ; @EXIT_BLOCK_PTR
	.comm	_REG_BR_PROB_BASE,4,2           ; @REG_BR_PROB_BASE
	.comm	_EDGE_FALLTHRU,4,2              ; @EDGE_FALLTHRU
	.comm	_BB_IRREDUCIBLE_LOOP,4,2        ; @BB_IRREDUCIBLE_LOOP
	.comm	_NULL_RTX,4,2                   ; @NULL_RTX
	.no_dead_strip	_unswitch_loop
.subsections_via_symbols
