	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wt_status_check_worktree_changes
_wt_status_check_worktree_changes:      ## @wt_status_check_worktree_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	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, (%rsi)
	movl	(%rdi), %r14d
	testl	%r14d, %r14d
	jle	LBB0_1
## %bb.2:
	movq	8(%rdi), %r9
	movq	_DIFF_STATUS_DELETED@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	xorl	%edx, %edx
	movq	_DIFF_STATUS_UNMERGED@GOTPCREL(%rip), %r10
	movl	$-1, %r11d
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r8, %rbx
	cmovel	%r11d, %r15d
	movl	%r15d, %eax
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	movslq	%r14d, %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r9,%rdx,8), %rcx
	movq	(%rcx), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	(%r10), %rbx
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %r15d
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r15d
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, 8(%rcx)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, (%rsi)
	movl	(%rdi), %r14d
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIFF_STATUS_UNMERGED,8,3       ## @DIFF_STATUS_UNMERGED
	.comm	_DIFF_STATUS_DELETED,8,3        ## @DIFF_STATUS_DELETED
	.no_dead_strip	_wt_status_check_worktree_changes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wt_status_check_worktree_changes
_wt_status_check_worktree_changes:      ; @wt_status_check_worktree_changes
	.cfi_startproc
; %bb.0:
	str	wzr, [x1]
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x10, #0
	mov	w8, #0
	ldr	x11, [x0, #8]
Lloh0:
	adrp	x12, _DIFF_STATUS_DELETED@GOTPAGE
Lloh1:
	ldr	x12, [x12, _DIFF_STATUS_DELETED@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x12]
Lloh3:
	adrp	x13, _DIFF_STATUS_UNMERGED@GOTPAGE
Lloh4:
	ldr	x13, [x13, _DIFF_STATUS_UNMERGED@GOTPAGEOFF]
	mov	w14, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x15, x12
	csinv	w8, w8, wzr, ne
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #1
	cmp	x10, w9, sxtw
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x16, [x11, x10, lsl #3]
	ldr	x15, [x16]
	ldr	x17, [x13]
	cmp	x15, #0
	ccmp	x15, x17, #4, ne
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #0
	csinc	w8, w8, wzr, ne
	ldr	x16, [x16, #8]
	cbz	x16, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w14, [x1]
	ldr	w9, [x0]
	b	LBB0_2
LBB0_7:
	mov	x0, x8
	ret
LBB0_8:
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DIFF_STATUS_UNMERGED,8,3       ; @DIFF_STATUS_UNMERGED
	.comm	_DIFF_STATUS_DELETED,8,3        ; @DIFF_STATUS_DELETED
	.no_dead_strip	_wt_status_check_worktree_changes
.subsections_via_symbols
