	.file	"extr_..stb.h_stb_fullpath.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	stb_fullpath
	.type	stb_fullpath, @function
stb_fullpath:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	movzx	eax, BYTE PTR [rdx]
	cmp	al, 47
	je	.L7
	cmp	al, 126
	je	.L7
	call	getcwd@PLT
	mov	rdi, rbp
	call	strlen@PLT
	mov	rdi, r12
	movsx	r13, eax
	call	strlen@PLT
	lea	edx, 1[r13+rax]
	mov	eax, DWORD PTR STB_FALSE[rip]
	cmp	edx, ebx
	jl	.L10
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, r12
	call	strlen@PLT
	mov	r8d, eax
	xor	eax, eax
	cmp	r8d, ebx
	jge	.L1
	mov	rdx, r12
	mov	rdi, rbp
	mov	esi, 65536
	call	stb_p_strcpy_s@PLT
	mov	eax, DWORD PTR STB_TRUE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	BYTE PTR 0[rbp+r13], 47
	lea	rdi, 1[rbp+r13]
	mov	rdx, r12
	mov	esi, 65536
	call	stb_p_strcpy_s@PLT
	mov	eax, DWORD PTR STB_TRUE[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	stb_fullpath, .-stb_fullpath
	.comm	STB_TRUE,4,4
	.comm	STB_FALSE,4,4
	.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_..stb.h_stb_fullpath.c"
	.text
	.align	2
	.global	stb_fullpath
	.syntax unified
	.arm
	.fpu softvfp
	.type	stb_fullpath, %function
stb_fullpath:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldrb	r3, [r2]	@ zero_extendqisi2
	mov	r4, r2
	cmp	r3, #126
	cmpne	r3, #47
	mov	r6, r0
	mov	r5, r1
	bne	.L2
	mov	r0, r2
	bl	strlen
	cmp	r0, r5
	blt	.L8
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r2, r4
	mov	r0, r6
	mov	r1, #65536
	bl	stb_p_strcpy_s
	ldr	r3, .L10
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	bl	getcwd
	mov	r0, r6
	bl	strlen
	mov	r7, r0
	mov	r0, r4
	bl	strlen
	add	r3, r0, r7
	add	r3, r3, #1
	cmp	r3, r5
	blt	.L9
	ldr	r3, .L10+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r3, #47
	add	r0, r7, #1
	strb	r3, [r6, r7]
	mov	r2, r4
	mov	r1, #65536
	add	r0, r6, r0
	bl	stb_p_strcpy_s
	ldr	r3, .L10
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	STB_TRUE
	.word	STB_FALSE
	.size	stb_fullpath, .-stb_fullpath
	.comm	STB_TRUE,4,4
	.comm	STB_FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
