	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function one_pre_gcse_pass
_one_pre_gcse_pass:                     ## @one_pre_gcse_pass
	.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
	movl	%edi, %r14d
	movq	_gcse_subst_count@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_gcse_create_count@GOTPCREL(%rip), %r13
	movl	$0, (%r13)
	movq	_max_cuid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_expr_hash_table@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	callq	_alloc_hash_table
	xorl	%eax, %eax
	callq	_add_noreturn_fake_exit_edges
	movq	_flag_gcse_lm@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_compute_ld_motion_mems
LBB0_2:
	movq	_expr_hash_table@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_compute_hash_table
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_trim_ld_motion_mems
	movq	_dump_file@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	_expr_hash_table@GOTPCREL(%rip), %rdx
	callq	_dump_hash_table
LBB0_4:
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	jle	LBB0_6
## %bb.5:
	movq	_last_basic_block@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_alloc_pre_mem
	xorl	%eax, %eax
	callq	_compute_pre_data
	xorl	%eax, %eax
	callq	_pre_gcse
	movl	%eax, %r15d
	movq	_edge_list@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_free_edge_list
	xorl	%eax, %eax
	callq	_free_pre_mem
LBB0_6:
	xorl	%eax, %eax
	callq	_free_ldst_mems
	xorl	%eax, %eax
	callq	_remove_fake_exit_edges
	movq	_expr_hash_table@GOTPCREL(%rip), %rdi
	callq	_free_hash_table
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_current_function_name
	movq	_bytes_used@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_fprintf
	movq	(%r12), %rdi
	movq	_gcse_subst_count@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r13), %ecx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gcse_subst_count,4,2           ## @gcse_subst_count
	.comm	_gcse_create_count,4,2          ## @gcse_create_count
	.comm	_max_cuid,4,2                   ## @max_cuid
	.comm	_expr_hash_table,8,3            ## @expr_hash_table
	.comm	_flag_gcse_lm,8,3               ## @flag_gcse_lm
	.comm	_dump_file,8,3                  ## @dump_file
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Expression"

	.comm	_last_basic_block,4,2           ## @last_basic_block
	.comm	_edge_list,4,2                  ## @edge_list
L_.str.1:                               ## @.str.1
	.asciz	"\nPRE GCSE of %s, pass %d: %d bytes needed, "

	.comm	_bytes_used,4,2                 ## @bytes_used
L_.str.2:                               ## @.str.2
	.asciz	"%d substs, %d insns created\n"

	.no_dead_strip	_one_pre_gcse_pass
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function one_pre_gcse_pass
_one_pre_gcse_pass:                     ; @one_pre_gcse_pass
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
Lloh0:
	adrp	x22, _gcse_subst_count@GOTPAGE
Lloh1:
	ldr	x22, [x22, _gcse_subst_count@GOTPAGEOFF]
	str	wzr, [x22]
Lloh2:
	adrp	x23, _gcse_create_count@GOTPAGE
Lloh3:
	ldr	x23, [x23, _gcse_create_count@GOTPAGEOFF]
	str	wzr, [x23]
Lloh4:
	adrp	x8, _max_cuid@GOTPAGE
Lloh5:
	ldr	x8, [x8, _max_cuid@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, _expr_hash_table@GOTPAGE
Lloh8:
	ldr	x1, [x1, _expr_hash_table@GOTPAGEOFF]
	mov	w2, #0
	bl	_alloc_hash_table
	bl	_add_noreturn_fake_exit_edges
Lloh9:
	adrp	x8, _flag_gcse_lm@GOTPAGE
Lloh10:
	ldr	x8, [x8, _flag_gcse_lm@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_compute_ld_motion_mems
LBB0_2:
Lloh12:
	adrp	x20, _expr_hash_table@GOTPAGE
Lloh13:
	ldr	x20, [x20, _expr_hash_table@GOTPAGEOFF]
	mov	x0, x20
	bl	_compute_hash_table
	bl	_trim_ld_motion_mems
Lloh14:
	adrp	x24, _dump_file@GOTPAGE
Lloh15:
	ldr	x24, [x24, _dump_file@GOTPAGEOFF]
	ldr	x0, [x24]
	cbz	x0, LBB0_4
; %bb.3:
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
Lloh18:
	adrp	x2, _expr_hash_table@GOTPAGE
Lloh19:
	ldr	x2, [x2, _expr_hash_table@GOTPAGEOFF]
	bl	_dump_hash_table
LBB0_4:
	ldr	x1, [x20]
	cmp	x1, #1
	b.lt	LBB0_6
; %bb.5:
Lloh20:
	adrp	x8, _last_basic_block@GOTPAGE
Lloh21:
	ldr	x8, [x8, _last_basic_block@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_alloc_pre_mem
	bl	_compute_pre_data
	bl	_pre_gcse
	mov	x20, x0
Lloh23:
	adrp	x8, _edge_list@GOTPAGE
Lloh24:
	ldr	x8, [x8, _edge_list@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_free_edge_list
	bl	_free_pre_mem
	b	LBB0_7
LBB0_6:
	mov	w20, #0
LBB0_7:
	bl	_free_ldst_mems
	bl	_remove_fake_exit_edges
Lloh26:
	adrp	x0, _expr_hash_table@GOTPAGE
Lloh27:
	ldr	x0, [x0, _expr_hash_table@GOTPAGEOFF]
	bl	_free_hash_table
	ldr	x21, [x24]
	cbz	x21, LBB0_9
; %bb.8:
	bl	_current_function_name
Lloh28:
	adrp	x8, _bytes_used@GOTPAGE
Lloh29:
	ldr	x8, [x8, _bytes_used@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	stp	x19, x8, [sp, #8]
	str	x0, [sp]
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_fprintf
	ldr	x0, [x24]
	ldr	w8, [x22]
	ldr	w9, [x23]
	stp	x8, x9, [sp]
Lloh33:
	adrp	x1, l_.str.2@PAGE
Lloh34:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
LBB0_9:
	mov	x0, x20
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_gcse_subst_count,4,2           ; @gcse_subst_count
	.comm	_gcse_create_count,4,2          ; @gcse_create_count
	.comm	_max_cuid,4,2                   ; @max_cuid
	.comm	_expr_hash_table,8,3            ; @expr_hash_table
	.comm	_flag_gcse_lm,8,3               ; @flag_gcse_lm
	.comm	_dump_file,8,3                  ; @dump_file
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Expression"

	.comm	_last_basic_block,4,2           ; @last_basic_block
	.comm	_edge_list,4,2                  ; @edge_list
l_.str.1:                               ; @.str.1
	.asciz	"\nPRE GCSE of %s, pass %d: %d bytes needed, "

	.comm	_bytes_used,4,2                 ; @bytes_used
l_.str.2:                               ; @.str.2
	.asciz	"%d substs, %d insns created\n"

	.no_dead_strip	_one_pre_gcse_pass
.subsections_via_symbols
