	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_finish_optimization_passes     ## -- Begin function finish_optimization_passes
	.p2align	4, 0x90
_finish_optimization_passes:            ## @finish_optimization_passes
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_TV_DUMP@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_timevar_push
	movq	_profile_arc_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	_flag_test_coverage@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.2:
	movq	_flag_branch_probabilities@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
LBB0_3:
	movq	_pass_profile@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	xorl	%esi, %esi
	callq	_dump_begin
	movq	_dump_file@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	callq	_end_branch_prob
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.4:
	movl	(%r14), %edi
	callq	_dump_end
LBB0_5:
	movq	_optimize@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_8
## %bb.6:
	movq	_pass_combine@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	xorl	%esi, %esi
	callq	_dump_begin
	movq	_dump_file@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, %rdi
	callq	_dump_combine_total_stats
	movl	(%r14), %edi
	movq	(%rbx), %rsi
	callq	_dump_end
LBB0_8:
	movq	_graph_dump_format@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_no_graph@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_16
## %bb.9:
	movq	_TDI_end@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_get_dump_file_info
	testq	%rax, %rax
	je	LBB0_16
## %bb.10:
	movq	%rax, %r14
	movq	_TDF_GRAPH@GOTPCREL(%rip), %r12
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	incl	%ebx
	movl	%ebx, %edi
	callq	_get_dump_file_info
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_16
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_dump_initialized_p
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r12), %eax
	testl	%eax, (%r14)
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	%ebx, %edi
	callq	_get_dump_file_name
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_finish_graph_dump_file
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_15
LBB0_16:
	movl	(%r15), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_timevar_pop                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TV_DUMP,4,2                    ## @TV_DUMP
	.comm	_profile_arc_flag,8,3           ## @profile_arc_flag
	.comm	_flag_test_coverage,8,3         ## @flag_test_coverage
	.comm	_flag_branch_probabilities,8,3  ## @flag_branch_probabilities
	.comm	_pass_profile,4,2               ## @pass_profile
	.comm	_dump_file,8,3                  ## @dump_file
	.comm	_optimize,8,3                   ## @optimize
	.comm	_pass_combine,4,2               ## @pass_combine
	.comm	_graph_dump_format,8,3          ## @graph_dump_format
	.comm	_no_graph,8,3                   ## @no_graph
	.comm	_TDI_end,4,2                    ## @TDI_end
	.comm	_TDF_GRAPH,4,2                  ## @TDF_GRAPH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_finish_optimization_passes     ; -- Begin function finish_optimization_passes
	.p2align	2
_finish_optimization_passes:            ; @finish_optimization_passes
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x21, _TV_DUMP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TV_DUMP@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_timevar_push
Lloh2:
	adrp	x8, _profile_arc_flag@GOTPAGE
Lloh3:
	ldr	x8, [x8, _profile_arc_flag@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _flag_test_coverage@GOTPAGE
Lloh6:
	ldr	x9, [x9, _flag_test_coverage@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _flag_branch_probabilities@GOTPAGE
Lloh9:
	ldr	x10, [x10, _flag_branch_probabilities@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x8, #0
	ccmp	x9, #0, #0, eq
	ccmp	x10, #0, #0, eq
Lloh11:
	adrp	x19, _dump_file@GOTPAGE
Lloh12:
	ldr	x19, [x19, _dump_file@GOTPAGEOFF]
	b.eq	LBB0_3
; %bb.1:
Lloh13:
	adrp	x20, _pass_profile@GOTPAGE
Lloh14:
	ldr	x20, [x20, _pass_profile@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, #0
	bl	_dump_begin
	str	x0, [x19]
	bl	_end_branch_prob
	ldr	x1, [x19]
	cbz	x1, LBB0_3
; %bb.2:
	ldr	w0, [x20]
	bl	_dump_end
LBB0_3:
Lloh15:
	adrp	x8, _optimize@GOTPAGE
Lloh16:
	ldr	x8, [x8, _optimize@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.4:
Lloh18:
	adrp	x20, _pass_combine@GOTPAGE
Lloh19:
	ldr	x20, [x20, _pass_combine@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, #0
	bl	_dump_begin
	str	x0, [x19]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_dump_combine_total_stats
	ldr	w0, [x20]
	ldr	x1, [x19]
	bl	_dump_end
LBB0_6:
Lloh20:
	adrp	x8, _graph_dump_format@GOTPAGE
Lloh21:
	ldr	x8, [x8, _graph_dump_format@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
Lloh23:
	adrp	x9, _no_graph@GOTPAGE
Lloh24:
	ldr	x9, [x9, _no_graph@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.7:
Lloh26:
	adrp	x8, _TDI_end@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TDI_end@GOTPAGEOFF]
Lloh28:
	ldr	w19, [x8]
	mov	x0, x19
	bl	_get_dump_file_info
	cbz	x0, LBB0_14
; %bb.8:
	mov	x20, x0
Lloh29:
	adrp	x22, _TDF_GRAPH@GOTPAGE
Lloh30:
	ldr	x22, [x22, _TDF_GRAPH@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w19, w19, #1
	mov	x0, x19
	bl	_get_dump_file_info
	mov	x20, x0
	cbz	x0, LBB0_14
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_dump_initialized_p
	cbz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x20]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_get_dump_file_name
	cbz	x0, LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x20, x0
	bl	_finish_graph_dump_file
	mov	x0, x20
	bl	_free
	b	LBB0_9
LBB0_14:
	ldr	w0, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_timevar_pop
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_TV_DUMP,4,2                    ; @TV_DUMP
	.comm	_profile_arc_flag,8,3           ; @profile_arc_flag
	.comm	_flag_test_coverage,8,3         ; @flag_test_coverage
	.comm	_flag_branch_probabilities,8,3  ; @flag_branch_probabilities
	.comm	_pass_profile,4,2               ; @pass_profile
	.comm	_dump_file,8,3                  ; @dump_file
	.comm	_optimize,8,3                   ; @optimize
	.comm	_pass_combine,4,2               ; @pass_combine
	.comm	_graph_dump_format,8,3          ; @graph_dump_format
	.comm	_no_graph,8,3                   ; @no_graph
	.comm	_TDI_end,4,2                    ; @TDI_end
	.comm	_TDF_GRAPH,4,2                  ; @TDF_GRAPH
.subsections_via_symbols
