	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_btr_def
_add_btr_def:                           ## @add_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
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r15d
	movl	%ecx, %r14d
	movl	%edx, %r13d
	movq	%rsi, %r12
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	movq	_migrate_btrl_obstack@GOTPCREL(%rip), %rdi
	movl	$4, %esi
	callq	_obstack_alloc
	movq	%rax, %rbx
	movq	%r12, 80(%rax)
	movl	%r13d, (%rax)
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	%r14d, 72(%rax)
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movl	%r15d, 4(%rax)
	movq	%r12, %rdi
	callq	_basic_block_freq
	movl	%eax, 8(%rbx)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 12(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rbx)
	movups	%xmm0, 40(%rbx)
	movups	%xmm0, 56(%rbx)
	movq	16(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_find_btr_def_group
	xorl	%esi, %esi
	subl	8(%rbx), %esi
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rdx
	callq	_fibheap_insert
	movq	_dump_file@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	testq	%r13, %r13
	je	LBB0_2
## %bb.1:
	movl	(%r12), %r14d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_INSN_UID
	cmpq	$0, 16(%rbx)
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %r9
	cmoveq	%rcx, %r9
	movl	8(%rbx), %ecx
	movl	%ecx, (%rsp)
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_fprintf
LBB0_2:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_migrate_btrl_obstack,4,2       ## @migrate_btrl_obstack
	.comm	_dump_file,8,3                  ## @dump_file
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Found target reg definition: sets %u { bb %d, insn %d }%s priority %d\n"

L_.str.1:                               ## @.str.1
	.space	1

L_.str.2:                               ## @.str.2
	.asciz	":not const"

	.no_dead_strip	_add_btr_def
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_btr_def
_add_btr_def:                           ; @add_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	x23, x6
	mov	x24, x5
	mov	x19, x4
	mov	x21, x3
	mov	x25, x2
	mov	x22, x1
	mov	x26, x0
Lloh0:
	adrp	x0, _migrate_btrl_obstack@GOTPAGE
Lloh1:
	ldr	x0, [x0, _migrate_btrl_obstack@GOTPAGEOFF]
	mov	w1, #4
	bl	_obstack_alloc
	mov	x20, x0
	str	x22, [x0, #80]
	str	w21, [x0, #72]
	stp	w25, w19, [x0]
	mov	x0, x22
	bl	_basic_block_freq
	stp	w0, w24, [x20, #8]
	stp	xzr, xzr, [x20, #56]
	movi.2d	v0, #0000000000000000
	stur	q0, [x20, #24]
	stur	q0, [x20, #40]
	mov	x0, x23
	mov	x1, x20
	bl	_find_btr_def_group
	ldr	w8, [x20, #8]
	neg	w1, w8
	mov	x0, x26
	mov	x2, x20
	bl	_fibheap_insert
Lloh2:
	adrp	x8, _dump_file@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dump_file@GOTPAGEOFF]
Lloh4:
	ldr	x23, [x8]
	cbz	x23, LBB0_2
; %bb.1:
	ldr	w22, [x22]
	mov	x0, x21
	bl	_INSN_UID
	mov	x4, x0
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
	ldr	x9, [x20, #16]
Lloh7:
	adrp	x10, l_.str.2@PAGE
Lloh8:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x9, #0
	csel	x5, x10, x8, eq
	ldr	w6, [x20, #8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	mov	x2, x19
	mov	x3, x22
	bl	_fprintf
LBB0_2:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_migrate_btrl_obstack,4,2       ; @migrate_btrl_obstack
	.comm	_dump_file,8,3                  ; @dump_file
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Found target reg definition: sets %u { bb %d, insn %d }%s priority %d\n"

l_.str.1:                               ; @.str.1
	.space	1

l_.str.2:                               ; @.str.2
	.asciz	":not const"

	.no_dead_strip	_add_btr_def
.subsections_via_symbols
