	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function merge_changes
_merge_changes:                         ## @merge_changes
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %esi
	leaq	L_.str(%rip), %rdi
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_trace_printf
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r14)
	jle	LBB0_13
## %bb.1:
	xorl	%ecx, %ecx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rdi
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_trace_printf
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	addq	$16, %rbx
	cmpq	%rax, %rcx
	jge	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	leaq	4(%rbx), %rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	callq	_oid_to_hex
	movl	%eax, %r13d
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_oid_to_hex
	movl	%eax, %r14d
	leaq	12(%rbx), %rdi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	callq	_oid_to_hex
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_oid_to_hex
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	movl	%r12d, %ecx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_trace_printf
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_oideq
	testq	%rax, %rax
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_oideq
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_4
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	_uninitialized@GOTPCREL(%rip), %rsi
	callq	_oideq
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_oideq
	testq	%rax, %rax
	je	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_trace_printf
	movq	_combine_notes_overwrite@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_add_note
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.5(%rip), %rdi
	callq	_BUG
	jmp	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_trace_printf
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_merge_one_change
	addl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
	jmp	LBB0_12
LBB0_13:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\tmerge_changes(num_changes = %i)\n"

L_.str.1:                               ## @.str.1
	.asciz	"\t\t%.7s: %.7s -> %.7s/%.7s\n"

L_.str.2:                               ## @.str.2
	.asciz	"\t\t\tskipping (no remote change)\n"

L_.str.3:                               ## @.str.3
	.asciz	"\t\t\tskipping (local == remote)\n"

	.comm	_uninitialized,4,2              ## @uninitialized
L_.str.4:                               ## @.str.4
	.asciz	"\t\t\tno local change, adopted remote\n"

	.comm	_combine_notes_overwrite,4,2    ## @combine_notes_overwrite
L_.str.5:                               ## @.str.5
	.asciz	"combine_notes_overwrite failed"

L_.str.6:                               ## @.str.6
	.asciz	"\t\t\tneed content-level merge\n"

	.no_dead_strip	_merge_changes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function merge_changes
_merge_changes:                         ; @merge_changes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	str	x3, [sp, #56]                   ; 8-byte Folded Spill
	mov	x20, x2
	mov	x21, x1
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	ldr	w8, [x2]
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_trace_printf
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x28, #0
	str	wzr, [sp, #52]                  ; 4-byte Folded Spill
Lloh2:
	adrp	x24, l_.str.1@PAGE
Lloh3:
	add	x24, x24, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_trace_printf
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x28, x28, #1
	ldrsw	x8, [x20]
	add	x21, x21, #16
	cmp	x28, x8
	b.ge	LBB0_14
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x22, x21, #4
	mov	x0, x22
	bl	_oid_to_hex
	mov	x23, x0
	add	x27, x21, #8
	mov	x0, x27
	bl	_oid_to_hex
	mov	x26, x0
	add	x25, x21, #12
	mov	x0, x25
	bl	_oid_to_hex
	mov	x19, x0
	mov	x0, x21
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp, #16]
	stp	x23, x26, [sp]
	mov	x0, x24
	bl	_trace_printf
	mov	x0, x27
	mov	x1, x21
	bl	_oideq
	cbnz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	mov	x1, x21
	bl	_oideq
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
Lloh8:
	adrp	x1, _uninitialized@GOTPAGE
Lloh9:
	ldr	x1, [x1, _uninitialized@GOTPAGEOFF]
	bl	_oideq
	cbnz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	mov	x1, x27
	bl	_oideq
	cbz	x0, LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_trace_printf
Lloh12:
	adrp	x8, _combine_notes_overwrite@GOTPAGE
Lloh13:
	ldr	x8, [x8, _combine_notes_overwrite@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	mov	x1, x22
	mov	x2, x21
	bl	_add_note
	cbz	x0, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_BUG
	b	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh17:
	adrp	x0, l_.str.6@PAGE
Lloh18:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_trace_printf
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x1, x21
	ldr	x2, [sp, #56]                   ; 8-byte Folded Reload
	bl	_merge_one_change
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	add	w8, w8, w0
	str	w8, [sp, #52]                   ; 4-byte Folded Spill
	b	LBB0_4
LBB0_13:
	str	wzr, [sp, #52]                  ; 4-byte Folded Spill
LBB0_14:
	ldr	w0, [sp, #52]                   ; 4-byte Folded Reload
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tmerge_changes(num_changes = %i)\n"

l_.str.1:                               ; @.str.1
	.asciz	"\t\t%.7s: %.7s -> %.7s/%.7s\n"

l_.str.2:                               ; @.str.2
	.asciz	"\t\t\tskipping (no remote change)\n"

l_.str.3:                               ; @.str.3
	.asciz	"\t\t\tskipping (local == remote)\n"

	.comm	_uninitialized,4,2              ; @uninitialized
l_.str.4:                               ; @.str.4
	.asciz	"\t\t\tno local change, adopted remote\n"

	.comm	_combine_notes_overwrite,4,2    ; @combine_notes_overwrite
l_.str.5:                               ; @.str.5
	.asciz	"combine_notes_overwrite failed"

l_.str.6:                               ; @.str.6
	.asciz	"\t\t\tneed content-level merge\n"

	.no_dead_strip	_merge_changes
.subsections_via_symbols
