	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipcp_insert_stage
_ipcp_insert_stage:                     ## @ipcp_insert_stage
	.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
	movq	_cgraph_edge_p@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_heap@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_VEC
	movq	_cgraph_nodes@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r14), %r14
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_16 Depth 2
                                        ##     Child Loop BB0_23 Depth 2
	testq	%r14, %r14
	je	LBB0_29
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_ipcp_method_dont_insert_const
	testq	%rax, %rax
	jne	LBB0_28
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_ipa_method_formal_count
	testl	%eax, %eax
	jle	LBB0_28
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r12d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ipcp_method_cval
	movl	%eax, %edi
	callq	_ipcp_cval_get_cvalue_type
	movl	%eax, %edi
	callq	_ipcp_type_is_const
	cmpq	$1, %rax
	sbbl	$-1, %r15d
	incl	%ebx
	cmpl	%ebx, %r12d
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r15d, %r15d
	je	LBB0_28
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r15d, %esi
	leaq	L_.str(%rip), %rdx
	callq	_VARRAY_GENERIC_PTR_INIT
	testl	%r12d, %r12d
	movq	_redirect_callers@GOTPCREL(%rip), %r13
	jle	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=2
	incl	%ebx
	cmpl	%ebx, %r12d
	je	LBB0_12
LBB0_9:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ipcp_method_cval
	movl	%eax, %edi
	callq	_ipcp_cval_get_cvalue_type
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_ipcp_type_is_const
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ipcp_method_cval
	movl	%eax, %edi
	callq	_ipcp_cval_get_cvalue
	movq	%rax, %r13
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_ipa_method_get_tree
	movl	%r15d, %edi
	movl	%eax, %esi
	movq	%r13, %rdx
	movq	_redirect_callers@GOTPCREL(%rip), %r13
	callq	_ipcp_replace_map_create
	movq	%rax, %rsi
	callq	_VARRAY_PUSH_GENERIC_PTR
	jmp	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rax
	xorl	%edx, %edx
	movq	_cgraph_edge_p@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incl	%edx
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_13
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %edi
	movq	_heap@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_VEC_alloc
	movl	%eax, %esi
	movl	%eax, (%r13)
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r15), %edi
	movq	%rbx, %rdx
	callq	_VEC_quick_push
	movq	(%rbx), %rbx
	movl	(%r13), %esi
	testq	%rbx, %rbx
	jne	LBB0_16
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_cgraph_function_versioning
	movq	%rax, %rbx
	movl	(%r15), %edi
	movq	_heap@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	callq	_VEC_free
	callq	_VARRAY_CLEAR
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	je	LBB0_28
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_dump_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_cgraph_node_name
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdx
	callq	_fprintf
LBB0_21:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_ipcp_cloned_create
	testl	%r12d, %r12d
	jle	LBB0_28
## %bb.22:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_23 Depth=2
	incl	%r15d
	cmpl	%r15d, %r12d
	je	LBB0_28
LBB0_23:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_ipcp_method_cval
	movl	%eax, %edi
	callq	_ipcp_cval_get_cvalue_type
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ipcp_type_is_const
	testq	%rax, %rax
	je	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=2
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_ipcp_method_cval
	movl	%eax, %edi
	callq	_ipcp_cval_get_cvalue
	movq	%rax, %r13
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_ipa_method_get_tree
	movq	_CONST_VALUE_REF@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=2
	movl	%eax, %edi
	callq	_TREE_READONLY
	testl	%eax, %eax
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_23 Depth=2
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movq	%r13, %rdx
	movl	%ebx, %ecx
	callq	_ipcp_propagate_const
	jmp	LBB0_27
LBB0_29:
	xorl	%eax, %eax
	callq	_ipcp_update_callgraph
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipcp_update_profiling          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cgraph_edge_p,4,2              ## @cgraph_edge_p
	.comm	_heap,4,2                       ## @heap
	.comm	_redirect_callers,4,2           ## @redirect_callers
	.comm	_cgraph_nodes,8,3               ## @cgraph_nodes
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"replace_trees"

	.comm	_dump_file,8,3                  ## @dump_file
L_.str.1:                               ## @.str.1
	.asciz	"versioned function %s\n"

	.comm	_CONST_VALUE_REF,4,2            ## @CONST_VALUE_REF
	.no_dead_strip	_ipcp_insert_stage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipcp_insert_stage
_ipcp_insert_stage:                     ; @ipcp_insert_stage
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x27, _cgraph_edge_p@GOTPAGE
Lloh1:
	ldr	x27, [x27, _cgraph_edge_p@GOTPAGEOFF]
	ldr	w0, [x27]
Lloh2:
	adrp	x28, _heap@GOTPAGE
Lloh3:
	ldr	x28, [x28, _heap@GOTPAGEOFF]
	ldr	w1, [x28]
	bl	_VEC
Lloh4:
	adrp	x8, _cgraph_nodes@GOTPAGE
Lloh5:
	ldr	x8, [x8, _cgraph_nodes@GOTPAGEOFF]
Lloh6:
	ldr	x19, [x8]
	cbz	x19, LBB0_29
; %bb.1:
Lloh7:
	adrp	x21, _redirect_callers@GOTPAGE
Lloh8:
	ldr	x21, [x21, _redirect_callers@GOTPAGEOFF]
Lloh9:
	adrp	x20, _CONST_VALUE_REF@GOTPAGE
Lloh10:
	ldr	x20, [x20, _CONST_VALUE_REF@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_29
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
                                        ;     Child Loop BB0_25 Depth 2
	mov	x0, x19
	bl	_ipcp_method_dont_insert_const
	cbnz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_ipa_method_formal_count
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
	mov	w23, #0
	mov	w24, #0
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x24
	bl	_ipcp_method_cval
	bl	_ipcp_cval_get_cvalue_type
	bl	_ipcp_type_is_const
	cmp	x0, #0
	cinc	w23, w23, ne
	add	w24, w24, #1
	cmp	w22, w24
	b.ne	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w23, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x23
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	bl	_VARRAY_GENERIC_PTR_INIT
	cmp	w22, #1
	b.lt	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w23, #0
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	w23, w23, #1
	cmp	w22, w23
	b.eq	LBB0_13
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x23
	bl	_ipcp_method_cval
	bl	_ipcp_cval_get_cvalue_type
	mov	x24, x0
	bl	_ipcp_type_is_const
	cbz	x0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x0, x19
	mov	x1, x23
	bl	_ipcp_method_cval
	bl	_ipcp_cval_get_cvalue
	mov	x25, x0
	mov	x0, x19
	mov	x1, x23
	bl	_ipa_method_get_tree
	mov	x1, x0
	mov	x0, x24
	mov	x2, x25
	bl	_ipcp_replace_map_create
	mov	x1, x0
	bl	_VARRAY_PUSH_GENERIC_PTR
	b	LBB0_10
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
	cbz	x8, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w2, #0
LBB0_15:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w2, w2, #1
	ldr	x8, [x8]
	cbnz	x8, LBB0_15
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w2, #0
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x27]
	ldr	w1, [x28]
	bl	_VEC_alloc
	mov	x1, x0
	str	w0, [x21]
	ldr	x23, [x19]
	cbz	x23, LBB0_19
LBB0_18:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x27]
	mov	x2, x23
	bl	_VEC_quick_push
	ldr	x23, [x23]
	ldr	w1, [x21]
	cbnz	x23, LBB0_18
LBB0_19:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_cgraph_function_versioning
	mov	x23, x0
	ldr	w0, [x27]
	ldr	w1, [x28]
	ldr	w2, [x21]
	bl	_VEC_free
	bl	_VARRAY_CLEAR
	cbz	x23, LBB0_2
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
Lloh13:
	adrp	x8, _dump_file@GOTPAGE
Lloh14:
	ldr	x8, [x8, _dump_file@GOTPAGEOFF]
Lloh15:
	ldr	x24, [x8]
	cbz	x24, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_cgraph_node_name
	mov	x2, x0
	mov	x0, x24
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_22:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_ipcp_cloned_create
	cmp	w22, #1
	b.lt	LBB0_2
; %bb.23:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w24, #0
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=2
	add	w24, w24, #1
	cmp	w22, w24
	b.eq	LBB0_2
LBB0_25:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x24
	bl	_ipcp_method_cval
	bl	_ipcp_cval_get_cvalue_type
	mov	x25, x0
	bl	_ipcp_type_is_const
	cbz	x0, LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=2
	mov	x0, x19
	mov	x1, x24
	bl	_ipcp_method_cval
	bl	_ipcp_cval_get_cvalue
	mov	x26, x0
	mov	x0, x19
	mov	x1, x24
	bl	_ipa_method_get_tree
	ldr	w8, [x20]
	cmp	w25, w8
	b.eq	LBB0_24
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=2
	bl	_TREE_READONLY
	cbnz	w0, LBB0_24
; %bb.28:                               ;   in Loop: Header=BB0_25 Depth=2
	mov	x0, x23
	mov	x1, x24
	mov	x2, x26
	mov	x3, x25
	bl	_ipcp_propagate_const
	b	LBB0_24
LBB0_29:
	bl	_ipcp_update_callgraph
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_ipcp_update_profiling
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_cgraph_edge_p,4,2              ; @cgraph_edge_p
	.comm	_heap,4,2                       ; @heap
	.comm	_redirect_callers,4,2           ; @redirect_callers
	.comm	_cgraph_nodes,8,3               ; @cgraph_nodes
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"replace_trees"

	.comm	_dump_file,8,3                  ; @dump_file
l_.str.1:                               ; @.str.1
	.asciz	"versioned function %s\n"

	.comm	_CONST_VALUE_REF,4,2            ; @CONST_VALUE_REF
	.no_dead_strip	_ipcp_insert_stage
.subsections_via_symbols
