	.file	"extr_os_msdos.c_vim_chmod.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vim_chmod, @function
vim_chmod:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	STRLEN@PLT
	movsx	rbx, eax
	add	rbx, rbp
	cmp	rbp, rbx
	jnb	.L2
	lea	rax, -1[rbx]
	cmp	rbp, rax
	jnb	.L2
	movzx	r12d, BYTE PTR -1[rbx]
	cmp	r12b, 92
	je	.L5
	cmp	r12b, 47
	je	.L5
.L2:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	xor	edx, edx
	pop	rbp
	.cfi_def_cfa_offset 16
	xor	esi, esi
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	_chmod@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	cmp	BYTE PTR -2[rbx], 58
	je	.L2
	movzx	eax, BYTE PTR NUL[rip]
	mov	rdi, rbp
	xor	edx, edx
	xor	esi, esi
	mov	BYTE PTR -1[rbx], al
	call	_chmod@PLT
	mov	BYTE PTR -1[rbx], r12b
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	vim_chmod, .-vim_chmod
	.comm	NUL,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_os_msdos.c_vim_chmod.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vim_chmod, %function
vim_chmod:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	STRLEN
	add	r5, r4, r0
	cmp	r4, r5
	bcs	.L2
	sub	r3, r5, #1
	cmp	r4, r3
	bcs	.L2
	ldrb	r6, [r5, #-1]	@ zero_extendqisi2
	cmp	r6, #47
	cmpne	r6, #92
	bne	.L2
	ldrb	r3, [r5, #-2]	@ zero_extendqisi2
	cmp	r3, #58
	beq	.L2
	mov	r2, #0
	ldr	r3, .L12
	mov	r0, r4
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r2
	strb	r3, [r5, #-1]
	bl	_chmod
	strb	r6, [r5, #-1]
	pop	{r4, r5, r6, pc}
.L2:
	mov	r2, #0
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	mov	r1, r2
	b	_chmod
.L13:
	.align	2
.L12:
	.word	NUL
	.size	vim_chmod, .-vim_chmod
	.comm	NUL,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
