	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_changeset
_build_changeset:                       ## @build_changeset
	.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	%rdi, %r14
	movq	16(%rdi), %rax
	movl	(%rdi), %ecx
	cmpq	$1, %rax
	adcl	$-1, %ecx
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.1:
	movl	%ecx, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %r15
	movl	(%r15,%rbx,8), %eax
	movl	%eax, -44(%rbp)
	movl	$1, -48(%rbp)
	movl	4(%r15,%rbx,8), %edx
	movq	%r14, %rdi
	leaq	-48(%rbp), %rsi
	callq	_build_changeset_next_level
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_2
## %bb.4:
	movq	16(%r14), %rax
LBB0_5:
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	8(%r14), %r15
	movslq	(%r14), %rbx
	movl	-8(%r15,%rbx,8), %eax
	movl	%eax, -44(%rbp)
	movl	$1, -48(%rbp)
	movl	-4(%r15,%rbx,8), %edx
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_build_changeset_symbols_node
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %r12d
	movl	-8(%r15,%rbx,8), %esi
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_10
LBB0_8:
	movq	%r14, %rdi
	callq	_changeset_dup_entry_check
	movl	%eax, %r12d
	jmp	LBB0_11
LBB0_9:
	movl	%eax, %r12d
	movl	(%r15,%rbx,8), %esi
	leaq	L_.str(%rip), %rdi
LBB0_10:
	callq	_pr_debug
LBB0_11:
	movl	%r12d, %eax
	addq	$8, %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	"fragment apply failed '%pOF'\n"

L_.str.1:                               ## @.str.1
	.asciz	"symbols fragment apply failed '%pOF'\n"

	.no_dead_strip	_build_changeset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_changeset
_build_changeset:                       ; @build_changeset
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	ldr	x8, [x0, #16]
	cmp	x8, #0
	cset	w9, ne
	ldr	w10, [x0]
	sub	w9, w10, w9
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x21, #0
	lsl	x22, x9, #3
	mov	w23, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x19, #8]
	add	x8, x24, x21
	ldp	w9, w2, [x8]
	stp	w23, w9, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_build_changeset_next_level
	cbnz	w0, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #8
	cmp	x22, x21
	b.ne	LBB0_2
; %bb.4:
	ldr	x8, [x19, #16]
LBB0_5:
	cbz	x8, LBB0_8
; %bb.6:
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	x21, x8, x9, lsl #3
	ldr	w8, [x21, #-8]!
	mov	w9, #1
	stp	w9, w8, [sp, #8]
	ldr	w2, [x21, #4]
	add	x1, sp, #8
	mov	x0, x19
	bl	_build_changeset_symbols_node
	cbz	w0, LBB0_8
; %bb.7:
	mov	x20, x0
	ldr	w1, [x21]
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_8:
	mov	x0, x19
	bl	_changeset_dup_entry_check
	mov	x20, x0
	b	LBB0_11
LBB0_9:
	mov	x20, x0
	ldr	w1, [x24, x21]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
LBB0_10:
	bl	_pr_debug
LBB0_11:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fragment apply failed '%pOF'\n"

l_.str.1:                               ; @.str.1
	.asciz	"symbols fragment apply failed '%pOF'\n"

	.no_dead_strip	_build_changeset
.subsections_via_symbols
