	.file	"68611.c"
	.intel_syntax noprefix
	.text
	.type	__fs_path_strip, @function
__fs_path_strip:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 320
	mov	QWORD PTR -312[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 0
	mov	QWORD PTR -256[rbp], 0
	mov	QWORD PTR -248[rbp], 0
	mov	QWORD PTR -240[rbp], 0
	mov	QWORD PTR -232[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	rax, QWORD PTR -312[rbp]
	mov	QWORD PTR -280[rbp], rax
	mov	DWORD PTR -292[rbp], 0
	mov	DWORD PTR -288[rbp], 0
	mov	DWORD PTR -284[rbp], 0
	mov	DWORD PTR -296[rbp], 0
	jmp	.L2
.L8:
	mov	eax, DWORD PTR -296[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -312[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 32
	je	.L3
	cmp	eax, 47
	jne	.L4
	cmp	DWORD PTR -284[rbp], 2
	jne	.L5
	mov	eax, DWORD PTR -288[rbp]
	movsx	rdx, eax
	lea	rcx, -272[rbp]
	mov	rax, QWORD PTR -280[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	eax, DWORD PTR -288[rbp]
	cdqe
	add	QWORD PTR -280[rbp], rax
.L5:
	mov	DWORD PTR -292[rbp], 0
	mov	eax, DWORD PTR -296[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -312[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -292[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -292[rbp], edx
	movzx	edx, BYTE PTR [rcx]
	cdqe
	mov	BYTE PTR -272[rbp+rax], dl
	mov	DWORD PTR -284[rbp], 1
	jmp	.L6
.L3:
	cmp	DWORD PTR -284[rbp], 2
	jne	.L12
	mov	eax, DWORD PTR -296[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -312[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -292[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -292[rbp], edx
	movzx	edx, BYTE PTR [rcx]
	cdqe
	mov	BYTE PTR -272[rbp+rax], dl
	jmp	.L12
.L4:
	mov	eax, DWORD PTR -296[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -312[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -292[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -292[rbp], edx
	movzx	edx, BYTE PTR [rcx]
	cdqe
	mov	BYTE PTR -272[rbp+rax], dl
	mov	eax, DWORD PTR -292[rbp]
	mov	DWORD PTR -288[rbp], eax
	mov	DWORD PTR -284[rbp], 2
	jmp	.L6
.L12:
	nop
.L6:
	add	DWORD PTR -296[rbp], 1
.L2:
	mov	eax, DWORD PTR -296[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -312[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L8
	cmp	DWORD PTR -284[rbp], 2
	jne	.L9
	mov	eax, DWORD PTR -288[rbp]
	movsx	rdx, eax
	lea	rcx, -272[rbp]
	mov	rax, QWORD PTR -280[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	eax, DWORD PTR -288[rbp]
	cdqe
	add	QWORD PTR -280[rbp], rax
.L9:
	mov	rax, QWORD PTR -280[rbp]
	mov	BYTE PTR [rax], 0
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	__fs_path_strip, .-__fs_path_strip
	.section	.rodata
.LC0:
	.string	"org-path: %s\n"
.LC1:
	.string	"reg-path: %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 7308620263550099488
	movabs	rdx, 2319198113189163055
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	movabs	rax, 7810763680608362528
	movabs	rdx, 7236284524343095148
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	movabs	rax, 7526748011446149167
	movabs	rdx, 3395749506063540256
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	movabs	rax, 2314960625407588143
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -24[rbp], 539963168
	mov	WORD PTR -20[rbp], 32
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	__fs_path_strip
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"68611.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__fs_path_strip, %function
__fs_path_strip:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #288
	str	r0, [fp, #-288]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-264]
	sub	r3, fp, #260
	mov	r2, #252
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-288]
	str	r3, [fp, #-268]
	mov	r3, #0
	str	r3, [fp, #-280]
	mov	r3, #0
	str	r3, [fp, #-276]
	mov	r3, #0
	str	r3, [fp, #-272]
	mov	r3, #0
	str	r3, [fp, #-284]
	b	.L2
.L8:
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-288]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L3
	cmp	r3, #47
	bne	.L4
	ldr	r3, [fp, #-272]
	cmp	r3, #2
	bne	.L5
	ldr	r2, [fp, #-276]
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, [fp, #-268]
	bl	strncpy
	ldr	r3, [fp, #-276]
	ldr	r2, [fp, #-268]
	add	r3, r2, r3
	str	r3, [fp, #-268]
.L5:
	mov	r3, #0
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-288]
	add	r2, r2, r3
	ldr	r3, [fp, #-280]
	add	r1, r3, #1
	str	r1, [fp, #-280]
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-260]
	mov	r3, #1
	str	r3, [fp, #-272]
	b	.L6
.L3:
	ldr	r3, [fp, #-272]
	cmp	r3, #2
	bne	.L12
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-288]
	add	r2, r2, r3
	ldr	r3, [fp, #-280]
	add	r1, r3, #1
	str	r1, [fp, #-280]
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-260]
	b	.L12
.L4:
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-288]
	add	r2, r2, r3
	ldr	r3, [fp, #-280]
	add	r1, r3, #1
	str	r1, [fp, #-280]
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-260]
	ldr	r3, [fp, #-280]
	str	r3, [fp, #-276]
	mov	r3, #2
	str	r3, [fp, #-272]
	b	.L6
.L12:
	nop
.L6:
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	str	r3, [fp, #-284]
.L2:
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-288]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-272]
	cmp	r3, #2
	bne	.L9
	ldr	r2, [fp, #-276]
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, [fp, #-268]
	bl	strncpy
	ldr	r3, [fp, #-276]
	ldr	r2, [fp, #-268]
	add	r3, r2, r3
	str	r3, [fp, #-268]
.L9:
	ldr	r3, [fp, #-268]
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.size	__fs_path_strip, .-__fs_path_strip
	.section	.rodata
	.align	2
.LC2:
	.ascii	"org-path: %s\012\000"
	.align	2
.LC3:
	.ascii	"reg-path: %s\012\000"
	.align	2
.LC1:
	.ascii	"   /home/peter/   ///hello world/   path   //  //wo"
	.ascii	"rld   //  \000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L18+4
	sub	ip, fp, #72
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strh	r3, [ip]	@ movhi
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, .L18+8
	bl	printf
	sub	r3, fp, #72
	mov	r0, r3
	bl	__fs_path_strip
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, .L18+12
	bl	printf
	mov	r3, #0
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC4
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
