	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ce_match_stat_basic
_ce_match_stat_basic:                   ## @ce_match_stat_basic
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_CE_REMOVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_3
## %bb.1:
	movq	_MODE_CHANGED@GOTPCREL(%rip), %rax
	movq	_DATA_CHANGED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_TYPE_CHANGED@GOTPCREL(%rip), %rax
LBB0_2:
	orl	(%rax), %ebx
	jmp	LBB0_24
LBB0_3:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	4(%rdi), %esi
	movq	_S_IFMT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	cmpl	$130, %eax
	je	LBB0_11
## %bb.4:
	cmpl	$129, %eax
	je	LBB0_14
## %bb.5:
	cmpl	$128, %eax
	jne	LBB0_18
## %bb.6:
	movl	(%r14), %edi
	callq	_S_ISREG
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	_TYPE_CHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_8:
	movq	_trust_executable_bit@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_19
## %bb.9:
	movl	(%r14), %eax
	xorl	4(%r15), %eax
	testb	$64, %al
	je	LBB0_19
## %bb.10:
	movq	_MODE_CHANGED@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	jmp	LBB0_19
LBB0_11:
	movl	(%r14), %edi
	callq	_S_ISDIR
	testl	%eax, %eax
	je	LBB0_22
## %bb.12:
	movq	%r15, %rdi
	callq	_ce_compare_gitlink
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_24
## %bb.13:
	movq	_DATA_CHANGED@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_14:
	movl	(%r14), %edi
	callq	_S_ISLNK
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jne	LBB0_19
## %bb.15:
	movq	_has_symlinks@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_17
## %bb.16:
	movl	(%r14), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	jne	LBB0_19
LBB0_17:
	movq	_TYPE_CHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_19
LBB0_18:
	leaq	L_.str(%rip), %rdi
	callq	_BUG
	xorl	%r12d, %r12d
LBB0_19:
	leaq	12(%r15), %rdi
	movq	%r14, %rsi
	callq	_match_stat_data
	movl	%eax, %ebx
	orl	%r12d, %ebx
	cmpl	$0, 12(%r15)
	jne	LBB0_24
## %bb.20:
	movl	8(%r15), %edi
	callq	_is_empty_blob_sha1
	testl	%eax, %eax
	jne	LBB0_24
## %bb.21:
	movq	_DATA_CHANGED@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_22:
	movq	_TYPE_CHANGED@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %ebx
LBB0_24:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CE_REMOVE,4,2                  ## @CE_REMOVE
	.comm	_MODE_CHANGED,4,2               ## @MODE_CHANGED
	.comm	_DATA_CHANGED,4,2               ## @DATA_CHANGED
	.comm	_TYPE_CHANGED,4,2               ## @TYPE_CHANGED
	.comm	_S_IFMT,4,2                     ## @S_IFMT
	.comm	_trust_executable_bit,4,2       ## @trust_executable_bit
	.comm	_has_symlinks,4,2               ## @has_symlinks
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported ce_mode: %o"

	.no_dead_strip	_ce_match_stat_basic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ce_match_stat_basic
_ce_match_stat_basic:                   ; @ce_match_stat_basic
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _CE_REMOVE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CE_REMOVE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MODE_CHANGED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MODE_CHANGED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _DATA_CHANGED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DATA_CHANGED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _TYPE_CHANGED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _TYPE_CHANGED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w20, w8, w9
	b	LBB0_20
LBB0_2:
	mov	x20, x1
	mov	x19, x0
	ldr	w1, [x0, #4]
Lloh12:
	adrp	x8, _S_IFMT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _S_IFMT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	and	w8, w8, w1
	cmp	w8, #130
	b.eq	LBB0_8
; %bb.3:
	cmp	w8, #129
	b.eq	LBB0_10
; %bb.4:
	cmp	w8, #128
	b.ne	LBB0_14
; %bb.5:
	ldr	w0, [x20]
	bl	_S_ISREG
Lloh15:
	adrp	x8, _TYPE_CHANGED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TYPE_CHANGED@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w21, w8, wzr, eq
Lloh18:
	adrp	x8, _trust_executable_bit@GOTPAGE
Lloh19:
	ldr	x8, [x8, _trust_executable_bit@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cbz	w8, LBB0_16
; %bb.6:
	ldr	w8, [x19, #4]
	ldr	w9, [x20]
	eor	w8, w9, w8
	tbz	w8, #6, LBB0_16
; %bb.7:
Lloh21:
	adrp	x8, _MODE_CHANGED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MODE_CHANGED@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	orr	w21, w8, w21
	b	LBB0_16
LBB0_8:
	ldr	w0, [x20]
	bl	_S_ISDIR
	cbz	w0, LBB0_19
; %bb.9:
	mov	x0, x19
	bl	_ce_compare_gitlink
Lloh24:
	adrp	x8, _DATA_CHANGED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DATA_CHANGED@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w20, wzr, w8, eq
	b	LBB0_20
LBB0_10:
	ldr	w0, [x20]
	bl	_S_ISLNK
	cbnz	w0, LBB0_15
; %bb.11:
Lloh27:
	adrp	x8, _has_symlinks@GOTPAGE
Lloh28:
	ldr	x8, [x8, _has_symlinks@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cbnz	w8, LBB0_13
; %bb.12:
	ldr	w0, [x20]
	bl	_S_ISREG
	cbnz	w0, LBB0_15
LBB0_13:
Lloh30:
	adrp	x8, _TYPE_CHANGED@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TYPE_CHANGED@GOTPAGEOFF]
Lloh32:
	ldr	w21, [x8]
	b	LBB0_16
LBB0_14:
Lloh33:
	adrp	x0, l_.str@PAGE
Lloh34:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BUG
LBB0_15:
	mov	w21, #0
LBB0_16:
	add	x0, x19, #12
	mov	x1, x20
	bl	_match_stat_data
	orr	w20, w0, w21
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_20
; %bb.17:
	ldr	w0, [x19, #8]
	bl	_is_empty_blob_sha1
	cbnz	w0, LBB0_20
; %bb.18:
Lloh35:
	adrp	x8, _DATA_CHANGED@GOTPAGE
Lloh36:
	ldr	x8, [x8, _DATA_CHANGED@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	orr	w20, w8, w20
	b	LBB0_20
LBB0_19:
Lloh38:
	adrp	x8, _TYPE_CHANGED@GOTPAGE
Lloh39:
	ldr	x8, [x8, _TYPE_CHANGED@GOTPAGEOFF]
Lloh40:
	ldr	w20, [x8]
LBB0_20:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_CE_REMOVE,4,2                  ; @CE_REMOVE
	.comm	_MODE_CHANGED,4,2               ; @MODE_CHANGED
	.comm	_DATA_CHANGED,4,2               ; @DATA_CHANGED
	.comm	_TYPE_CHANGED,4,2               ; @TYPE_CHANGED
	.comm	_S_IFMT,4,2                     ; @S_IFMT
	.comm	_trust_executable_bit,4,2       ; @trust_executable_bit
	.comm	_has_symlinks,4,2               ; @has_symlinks
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported ce_mode: %o"

	.no_dead_strip	_ce_match_stat_basic
.subsections_via_symbols
