	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function struct_equiv_improve_checkpoint
_struct_equiv_improve_checkpoint:       ## @struct_equiv_improve_checkpoint
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	16(%rsi), %rax
	movq	_IMPOSSIBLE_MOVE_FACTOR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_3
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpl	$0, (%rsi)
	movq	24(%rsi), %rdi
	movq	(%r14), %rcx
	js	LBB0_4
## %bb.2:
	subq	%rcx, %rdi
	callq	_COSTS_N_INSNS
	cltq
	movslq	(%rbx), %rcx
	movq	16(%rbx), %rdx
	movslq	8(%r14), %rsi
	subq	%rsi, %rdx
	imulq	%rcx, %rdx
	cmpq	%rax, %rdx
	jl	LBB0_6
	jmp	LBB0_3
LBB0_4:
	cmpq	%rcx, %rdi
	jle	LBB0_3
## %bb.5:
	testq	%rax, %rax
	jne	LBB0_3
LBB0_6:
	cmpq	$0, 8(%rbx)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_resolve_input_conflict
	testl	%eax, %eax
	je	LBB0_3
LBB0_8:
	movq	_STRUCT_EQUIV_FINAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	callq	_confirm_change_group
	jmp	LBB0_11
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_10:
	xorl	%edi, %edi
	callq	_cancel_changes
LBB0_11:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_struct_equiv_make_checkpoint   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IMPOSSIBLE_MOVE_FACTOR,8,3     ## @IMPOSSIBLE_MOVE_FACTOR
	.comm	_STRUCT_EQUIV_FINAL,4,2         ## @STRUCT_EQUIV_FINAL
	.comm	_cc0_rtx,4,2                    ## @cc0_rtx
	.no_dead_strip	_struct_equiv_improve_checkpoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function struct_equiv_improve_checkpoint
_struct_equiv_improve_checkpoint:       ; @struct_equiv_improve_checkpoint
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x1, #16]
Lloh0:
	adrp	x9, _IMPOSSIBLE_MOVE_FACTOR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IMPOSSIBLE_MOVE_FACTOR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_8
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	w11, [x1]
	ldr	x9, [x1, #24]
	ldr	x10, [x0]
	tbnz	w11, #31, LBB0_3
; %bb.2:
	sub	x0, x9, x10
	bl	_COSTS_N_INSNS
	ldrsw	x8, [x19]
	ldr	x9, [x19, #16]
	ldrsw	x10, [x20, #8]
	sub	x9, x9, x10
	mul	x8, x9, x8
	cmp	x8, w0, sxtw
	b.lt	LBB0_4
	b	LBB0_8
LBB0_3:
	cmp	x9, x10
	ccmp	x8, #0, #0, gt
	b.ne	LBB0_8
LBB0_4:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_resolve_input_conflict
	cbz	w0, LBB0_8
LBB0_6:
	ldr	w8, [x19, #4]
Lloh3:
	adrp	x9, _STRUCT_EQUIV_FINAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STRUCT_EQUIV_FINAL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.7:
	bl	_confirm_change_group
	b	LBB0_10
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w0, #0
	bl	_cancel_changes
LBB0_10:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_struct_equiv_make_checkpoint
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IMPOSSIBLE_MOVE_FACTOR,8,3     ; @IMPOSSIBLE_MOVE_FACTOR
	.comm	_STRUCT_EQUIV_FINAL,4,2         ; @STRUCT_EQUIV_FINAL
	.comm	_cc0_rtx,4,2                    ; @cc0_rtx
	.no_dead_strip	_struct_equiv_improve_checkpoint
.subsections_via_symbols
