	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function move_btr_def
_move_btr_def:                          ## @move_btr_def
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movl	%ecx, %ebx
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %r13
	callq	_BB_HEAD
	movq	%rax, %r15
	movq	(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_dump_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movl	(%r13), %edx
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %ecx
	callq	_fprintf
LBB0_2:
	movq	%r12, %rdi
	callq	_clear_btr_from_live_range
	movl	%r14d, 8(%r12)
	movq	%r13, 40(%r12)
	movq	$0, 32(%r12)
	movq	%r13, %rdi
	callq	_basic_block_freq
	movl	%eax, 28(%r12)
	movl	24(%r12), %edi
	movl	%ebx, %esi
	callq	_bitmap_copy
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_combine_btr_defs
	movl	8(%r12), %esi
	movq	_btrs_live@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	callq	_TEST_HARD_REG_BIT
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, 12(%r12)
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_add_btr_to_live_range
	movq	%r15, %rdi
	callq	_LABEL_P
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_NEXT_INSN
	movq	%rax, %r15
LBB0_4:
	movslq	-48(%rbp), %rax                 ## 4-byte Folded Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, 12(%r12)
	je	LBB0_11
## %bb.5:
	movq	%r13, %rdi
	callq	_BB_END
	movq	%r13, %rdi
	callq	_BB_END
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_INSN_P
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rdi
	callq	_BB_HEAD
	xorl	%edi, %edi
	cmpq	%rax, %r15
	setne	%dil
	callq	_gcc_assert
	movq	%r15, %rdi
	callq	_PREV_INSN
	jmp	LBB0_7
LBB0_8:
	movq	%r15, %rdi
	callq	_JUMP_P
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	callq	_can_throw_internal
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:
	movq	%r15, %rdi
	callq	_PREV_INSN
	movq	%rax, %r15
LBB0_11:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_single_set
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_SET_SRC
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_SET_DEST
	movq	%rax, %rdi
	callq	_GET_MODE
	movl	%eax, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_gen_rtx_REG
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_gen_move_insn
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_emit_insn_after
	movq	%rax, (%r12)
	movq	_regs_ever_live@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	$1, (%rcx,%rdx,4)
	movq	_dump_file@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.12:
	movq	%rax, %rdi
	callq	_INSN_UID
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_INSN_UID
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_fprintf
LBB0_13:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_delete_insn
	movq	16(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.14:
	movq	_VOIDmode@GOTPCREL(%rip), %r12
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	8(%rbx), %edi
	movq	(%rbx), %rsi
	movq	%r15, %rdx
	callq	_replace_rtx
	movq	%r15, (%rbx)
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_19
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	callq	_GET_MODE
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_GET_MODE
	movq	%r13, %r15
	cmpq	%rax, %r14
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	(%rbx), %rdi
	callq	_GET_MODE
	movq	%r13, %r15
	cmpq	(%r12), %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	(%rbx), %rdi
	callq	_GET_MODE
	movq	%rax, %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_gen_rtx_REG
	movq	%rax, %r15
	jmp	LBB0_18
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dump_file,8,3                  ## @dump_file
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"migrating to basic block %d, using reg %d\n"

	.comm	_btrs_live,8,3                  ## @btrs_live
	.comm	_regs_ever_live,8,3             ## @regs_ever_live
L_.str.1:                               ## @.str.1
	.asciz	"New pt is insn %d, inserted after insn %d\n"

	.comm	_VOIDmode,8,3                   ## @VOIDmode
	.no_dead_strip	_move_btr_def
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function move_btr_def
_move_btr_def:                          ; @move_btr_def
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x4
	mov	x24, x3
	mov	x19, x2
	mov	x25, x1
	mov	x23, x0
	bl	_BB_HEAD
	mov	x22, x0
	ldr	x20, [x19]
Lloh0:
	adrp	x26, _dump_file@GOTPAGE
Lloh1:
	ldr	x26, [x26, _dump_file@GOTPAGEOFF]
	ldr	x0, [x26]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w2, [x23]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x25
	bl	_fprintf
LBB0_2:
	mov	x0, x19
	bl	_clear_btr_from_live_range
	str	w25, [x19, #8]
	stp	xzr, x23, [x19, #32]
	mov	x0, x23
	bl	_basic_block_freq
	str	w0, [x19, #28]
	ldr	w0, [x19, #24]
	mov	x1, x24
	bl	_bitmap_copy
	mov	x0, x19
	mov	x1, x21
	bl	_combine_btr_defs
	ldr	w21, [x19, #8]
Lloh4:
	adrp	x8, _btrs_live@GOTPAGE
Lloh5:
	ldr	x8, [x8, _btrs_live@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldrsw	x9, [x23]
	ldr	w0, [x8, x9, lsl #2]
	mov	x1, x21
	bl	_TEST_HARD_REG_BIT
	cmp	x0, #0
	cset	w8, ne
	str	w8, [x19, #12]
	mov	x0, x19
	mov	w1, #1
	bl	_add_btr_to_live_range
	mov	x0, x22
	bl	_LABEL_P
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_NEXT_INSN
	mov	x22, x0
LBB0_4:
	sxtw	x21, w21
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_11
; %bb.5:
	mov	x0, x23
	bl	_BB_END
	mov	x0, x23
	bl	_BB_END
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x0
	bl	_INSN_P
	cbnz	w0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	bl	_BB_HEAD
	cmp	x22, x0
	cset	w0, ne
	bl	_gcc_assert
	mov	x0, x22
	bl	_PREV_INSN
	b	LBB0_6
LBB0_8:
	mov	x0, x22
	bl	_JUMP_P
	cbnz	x0, LBB0_10
; %bb.9:
	mov	x0, x22
	bl	_can_throw_internal
	cbz	x0, LBB0_11
LBB0_10:
	mov	x0, x22
	bl	_PREV_INSN
	mov	x22, x0
LBB0_11:
	mov	x0, x20
	bl	_single_set
	mov	x23, x0
	bl	_SET_SRC
	mov	x24, x0
	mov	x0, x23
	bl	_SET_DEST
	bl	_GET_MODE
	and	x0, x0, #0xffffffff
	mov	x1, x21
	bl	_gen_rtx_REG
	mov	x23, x0
	mov	x1, x24
	bl	_gen_move_insn
	mov	x1, x22
	bl	_emit_insn_after
Lloh7:
	adrp	x8, _regs_ever_live@GOTPAGE
Lloh8:
	ldr	x8, [x8, _regs_ever_live@GOTPAGEOFF]
	str	x0, [x19]
Lloh9:
	ldr	x8, [x8]
	mov	w9, #1
	str	w9, [x8, x21, lsl #2]
	ldr	x24, [x26]
	cbz	x24, LBB0_13
; %bb.12:
	bl	_INSN_UID
	mov	x25, x0
	mov	x0, x22
	bl	_INSN_UID
	mov	x3, x0
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x24
	mov	x2, x25
	bl	_fprintf
LBB0_13:
	mov	x0, x20
	bl	_delete_insn
	ldr	x22, [x19, #16]
	cbz	x22, LBB0_19
; %bb.14:
Lloh12:
	adrp	x24, _VOIDmode@GOTPAGE
Lloh13:
	ldr	x24, [x24, _VOIDmode@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x22, #8]
	ldr	x1, [x22]
	mov	x2, x19
	bl	_replace_rtx
	str	x19, [x22]
	ldr	x22, [x22, #16]
	cbz	x22, LBB0_19
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	bl	_GET_MODE
	mov	x20, x0
	mov	x0, x23
	bl	_GET_MODE
	mov	x19, x23
	cmp	x20, x0
	b.eq	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x0, [x22]
	bl	_GET_MODE
	ldr	x8, [x24]
	mov	x19, x23
	cmp	x0, x8
	b.eq	LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x0, [x22]
	bl	_GET_MODE
	mov	x1, x21
	bl	_gen_rtx_REG
	mov	x19, x0
	b	LBB0_15
LBB0_19:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_dump_file,8,3                  ; @dump_file
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"migrating to basic block %d, using reg %d\n"

	.comm	_btrs_live,8,3                  ; @btrs_live
	.comm	_regs_ever_live,8,3             ; @regs_ever_live
l_.str.1:                               ; @.str.1
	.asciz	"New pt is insn %d, inserted after insn %d\n"

	.comm	_VOIDmode,8,3                   ; @VOIDmode
	.no_dead_strip	_move_btr_def
.subsections_via_symbols
