	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function simplify_one
_simplify_one:                          ## @simplify_one
	.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	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r15
	callq	_locate_simplify_state
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	_UNINTERESTING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 8(%r12)
	je	LBB0_4
LBB0_2:
	movq	%r12, (%rax)
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	(%r12), %r13
	testq	%r13, %r13
	je	LBB0_2
## %bb.5:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rsi
	movq	%r15, %rdi
	callq	_locate_simplify_state
	cmpq	$0, (%rax)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r13), %rdi
	movq	%rbx, %rsi
	callq	_commit_list_insert
	movq	%rax, %rbx
	incl	%r14d
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r15), %rax
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r13), %r13
	testq	%r13, %r13
	jne	LBB0_6
LBB0_10:
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.11:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_commit_list_insert             ## TAILCALL
LBB0_12:
	movq	%rbx, %r14
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_locate_simplify_state
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	cmpq	$0, (%r15)
	jne	LBB0_21
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_13
	jmp	LBB0_16
LBB0_15:
	testq	%rax, %rax
	jne	LBB0_21
LBB0_16:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_remove_duplicate_parents
	cmpl	$2, %eax
	jl	LBB0_20
## %bb.17:
	movq	%r12, %rdi
	callq	_mark_redundant_parents
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_mark_treesame_root_parents
	movq	%rax, %rbx
	addl	%r13d, %ebx
	je	LBB0_21
## %bb.18:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_leave_one_treesame_to_parent
	cmpl	%eax, %ebx
	je	LBB0_21
## %bb.19:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_remove_marked_parents
LBB0_20:
	testl	%eax, %eax
	je	LBB0_22
LBB0_21:
	movl	8(%r12), %eax
	movq	_UNINTERESTING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_25
LBB0_22:
	movq	%r14, %rbx
LBB0_23:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_24:
	movq	%r12, (%r14)
	jmp	LBB0_3
LBB0_25:
	movq	_TREESAME@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	%r14, %rbx
	je	LBB0_23
## %bb.26:
	movq	(%r12), %rsi
	movq	%r15, %rdi
	callq	_one_relevant_parent
	testq	%rax, %rax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_24
## %bb.27:
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_locate_simplify_state
	movq	(%rax), %r12
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_UNINTERESTING,4,2              ## @UNINTERESTING
	.comm	_TREESAME,4,2                   ## @TREESAME
	.no_dead_strip	_simplify_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function simplify_one
_simplify_one:                          ; @simplify_one
	.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	x19, x2
	mov	x21, x1
	mov	x22, x0
	bl	_locate_simplify_state
	ldr	x8, [x0]
	cbnz	x8, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w8, [x21, #8]
Lloh0:
	adrp	x24, _UNINTERESTING@GOTPAGE
Lloh1:
	ldr	x24, [x24, _UNINTERESTING@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_4
LBB0_2:
	str	x21, [x20]
LBB0_3:
	mov	x0, x19
	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
LBB0_4:
	ldr	x23, [x21]
	cbz	x23, LBB0_2
; %bb.5:
	mov	w25, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x23]
	mov	x0, x22
	bl	_locate_simplify_state
	ldr	x8, [x0]
	cbnz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [x23]
	mov	x1, x19
	bl	_commit_list_insert
	mov	x19, x0
	add	w25, w25, #1
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x22]
	cbnz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x23, [x23, #8]
	cbnz	x23, LBB0_6
LBB0_10:
	cbz	w25, LBB0_12
; %bb.11:
	mov	x0, x21
	mov	x1, x19
	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
	b	_commit_list_insert
LBB0_12:
	ldr	x23, [x21]
	cbz	x23, LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x23]
	mov	x0, x22
	bl	_locate_simplify_state
	ldr	x8, [x0]
	str	x8, [x23]
	ldr	x8, [x22]
	cbnz	x8, LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x23, [x23, #8]
	cbnz	x23, LBB0_13
	b	LBB0_16
LBB0_15:
	cbnz	x8, LBB0_21
LBB0_16:
	mov	x0, x22
	mov	x1, x21
	bl	_remove_duplicate_parents
	cmp	w0, #2
	b.lt	LBB0_20
; %bb.17:
	mov	x0, x21
	bl	_mark_redundant_parents
	mov	x23, x0
	mov	x0, x21
	bl	_mark_treesame_root_parents
	adds	w23, w23, w0
	b.eq	LBB0_21
; %bb.18:
	mov	x0, x22
	mov	x1, x21
	bl	_leave_one_treesame_to_parent
	cmp	w23, w0
	b.eq	LBB0_21
; %bb.19:
	mov	x0, x22
	mov	x1, x21
	bl	_remove_marked_parents
LBB0_20:
	cbz	w0, LBB0_2
LBB0_21:
	ldr	w8, [x21, #8]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.22:
Lloh2:
	adrp	x9, _TREESAME@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TREESAME@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.23:
	ldr	x1, [x21]
	mov	x0, x22
	bl	_one_relevant_parent
	cbz	x0, LBB0_2
; %bb.24:
	mov	x1, x0
	mov	x0, x22
	bl	_locate_simplify_state
	ldr	x21, [x0]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_UNINTERESTING,4,2              ; @UNINTERESTING
	.comm	_TREESAME,4,2                   ; @TREESAME
	.no_dead_strip	_simplify_one
.subsections_via_symbols
