	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chmod_index_entry              ## -- Begin function chmod_index_entry
	.p2align	4, 0x90
_chmod_index_entry:                     ## @chmod_index_entry
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movsbl	%r15b, %ecx
	cmpl	$45, %ecx
	je	LBB0_5
## %bb.3:
	movl	$-2, %eax
	cmpl	$43, %ecx
	jne	LBB0_7
## %bb.4:
	movl	(%rbx), %eax
	orl	$73, %eax
	jmp	LBB0_6
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_7
LBB0_5:
	movl	(%rbx), %eax
	andl	$-74, %eax
LBB0_6:
	movl	%eax, (%rbx)
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_cache_tree_invalidate_path
	movq	_CE_UPDATE_IN_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mark_fsmonitor_invalid
	movq	_CE_ENTRY_CHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CE_UPDATE_IN_BASE,4,2          ## @CE_UPDATE_IN_BASE
	.comm	_CE_ENTRY_CHANGED,4,2           ## @CE_ENTRY_CHANGED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chmod_index_entry              ; -- Begin function chmod_index_entry
	.p2align	2
_chmod_index_entry:                     ; @chmod_index_entry
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1]
	bl	_S_ISREG
	cbz	w0, LBB0_4
; %bb.1:
	cmp	w21, #45
	b.eq	LBB0_5
; %bb.2:
	cmp	w21, #43
	b.ne	LBB0_7
; %bb.3:
	ldr	w8, [x20]
	mov	w9, #73
	orr	w8, w8, w9
	b	LBB0_6
LBB0_4:
	mov	w0, #-1
	b	LBB0_8
LBB0_5:
	ldr	w8, [x20]
	mov	w9, #-74
	and	w8, w8, w9
LBB0_6:
	str	w8, [x20]
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_cache_tree_invalidate_path
Lloh0:
	adrp	x8, _CE_UPDATE_IN_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CE_UPDATE_IN_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
	str	w8, [x20, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_mark_fsmonitor_invalid
	mov	w0, #0
Lloh3:
	adrp	x8, _CE_ENTRY_CHANGED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CE_ENTRY_CHANGED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_8
LBB0_7:
	mov	w0, #-2
LBB0_8:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CE_UPDATE_IN_BASE,4,2          ; @CE_UPDATE_IN_BASE
	.comm	_CE_ENTRY_CHANGED,4,2           ; @CE_ENTRY_CHANGED
.subsections_via_symbols
