	.file	"extr_path.c_test_core_path__08_self_join.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"/foo"
.LC1:
	.string	"this is a new string"
.LC2:
	.string	"/foo/this is a new string"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"/grow the buffer, grow the buffer, grow the buffer"
	.align 8
.LC4:
	.string	"/foo/this is a new string/grow the buffer, grow the buffer, grow the buffer"
	.section	.rodata.str1.1
.LC5:
	.string	"/foo/bar"
.LC6:
	.string	"baz"
.LC7:
	.string	"/bar/baz"
.LC8:
	.string	"somethinglongenoughtorealloc"
	.section	.rodata.str1.8
	.align 8
.LC9:
	.string	"/baz/somethinglongenoughtorealloc"
	.text
	.p2align 4
	.globl	test_core_path__08_self_join
	.type	test_core_path__08_self_join, @function
test_core_path__08_self_join:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rsi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	movdqu	xmm0, XMMWORD PTR GIT_BUF_INIT[rip]
	mov	rbx, QWORD PTR GIT_BUF_INIT[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rbp, rsp
	mov	rdi, rbp
	movaps	XMMWORD PTR [rsp], xmm0
	call	git_buf_sets@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, QWORD PTR 8[rsp]
	lea	rsi, .LC0[rip]
	call	cl_assert_equal_s@PLT
	xor	edi, edi
	cmp	QWORD PTR [rsp], rbx
	seta	dil
	call	cl_assert@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbp
	mov	rbx, QWORD PTR [rsp]
	lea	rdx, .LC1[rip]
	call	git_buf_joinpath@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, QWORD PTR 8[rsp]
	lea	rsi, .LC2[rip]
	call	cl_assert_equal_s@PLT
	xor	edi, edi
	cmp	QWORD PTR [rsp], rbx
	seta	dil
	call	cl_assert@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, rbp
	mov	rbx, QWORD PTR [rsp]
	lea	rdx, .LC3[rip]
	call	git_buf_joinpath@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, QWORD PTR 8[rsp]
	lea	rsi, .LC4[rip]
	call	cl_assert_equal_s@PLT
	xor	edi, edi
	cmp	QWORD PTR [rsp], rbx
	seta	dil
	call	cl_assert@PLT
	mov	rdi, rbp
	call	git_buf_dispose@PLT
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	call	git_buf_sets@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rax, QWORD PTR 8[rsp]
	lea	rdx, .LC6[rip]
	mov	rdi, rbp
	lea	rsi, 4[rax]
	call	git_buf_joinpath@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, QWORD PTR 8[rsp]
	lea	rsi, .LC7[rip]
	call	cl_assert_equal_s@PLT
	mov	rax, QWORD PTR 8[rsp]
	mov	rdi, rbp
	mov	rbx, QWORD PTR [rsp]
	lea	rdx, .LC8[rip]
	lea	rsi, 4[rax]
	call	git_buf_joinpath@PLT
	mov	edi, eax
	call	cl_git_pass@PLT
	mov	rdi, QWORD PTR 8[rsp]
	lea	rsi, .LC9[rip]
	call	cl_assert_equal_s@PLT
	xor	edi, edi
	cmp	QWORD PTR [rsp], rbx
	seta	dil
	call	cl_assert@PLT
	mov	rdi, rbp
	call	git_buf_dispose@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_core_path__08_self_join, .-test_core_path__08_self_join
	.comm	GIT_BUF_INIT,16,16
	.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_path.c_test_core_path__08_self_join.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"/foo\000"
	.align	2
.LC1:
	.ascii	"this is a new string\000"
	.align	2
.LC2:
	.ascii	"/foo/this is a new string\000"
	.align	2
.LC3:
	.ascii	"/grow the buffer, grow the buffer, grow the buffer\000"
	.align	2
.LC4:
	.ascii	"/foo/this is a new string/grow the buffer, grow the"
	.ascii	" buffer, grow the buffer\000"
	.align	2
.LC5:
	.ascii	"/foo/bar\000"
	.align	2
.LC6:
	.ascii	"baz\000"
	.align	2
.LC7:
	.ascii	"/bar/baz\000"
	.align	2
.LC8:
	.ascii	"somethinglongenoughtorealloc\000"
	.align	2
.LC9:
	.ascii	"/baz/somethinglongenoughtorealloc\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	test_core_path__08_self_join
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_core_path__08_self_join, %function
test_core_path__08_self_join:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L6
	sub	sp, sp, #20
	add	r4, sp, #4
	ldm	r3, {r0, r1}
	stm	r4, {r0, r1}
	ldr	r3, .L6+4
	ldr	r1, .L6+8
	mov	r0, r4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r5, [sp, #4]
	bl	git_buf_sets
	bl	cl_git_pass
	ldr	r1, .L6+8
	ldr	r0, [sp, #8]
	bl	cl_assert_equal_s
	ldr	r0, [sp, #4]
	cmp	r0, r5
	movls	r0, #0
	movhi	r0, #1
	bl	cl_assert
	ldr	r2, .L6+12
	ldr	r1, [sp, #8]
	mov	r0, r4
	ldr	r5, [sp, #4]
	bl	git_buf_joinpath
	bl	cl_git_pass
	ldr	r1, .L6+16
	ldr	r0, [sp, #8]
	bl	cl_assert_equal_s
	ldr	r0, [sp, #4]
	cmp	r0, r5
	movls	r0, #0
	movhi	r0, #1
	bl	cl_assert
	ldr	r2, .L6+20
	ldr	r1, [sp, #8]
	mov	r0, r4
	ldr	r5, [sp, #4]
	bl	git_buf_joinpath
	bl	cl_git_pass
	ldr	r1, .L6+24
	ldr	r0, [sp, #8]
	bl	cl_assert_equal_s
	ldr	r0, [sp, #4]
	cmp	r0, r5
	movls	r0, #0
	movhi	r0, #1
	bl	cl_assert
	mov	r0, r4
	bl	git_buf_dispose
	ldr	r1, .L6+28
	mov	r0, r4
	bl	git_buf_sets
	bl	cl_git_pass
	ldr	r1, [sp, #8]
	ldr	r2, .L6+32
	add	r1, r1, #4
	mov	r0, r4
	bl	git_buf_joinpath
	bl	cl_git_pass
	ldr	r1, .L6+36
	ldr	r0, [sp, #8]
	bl	cl_assert_equal_s
	ldr	r1, [sp, #8]
	ldr	r2, .L6+40
	add	r1, r1, #4
	mov	r0, r4
	ldr	r5, [sp, #4]
	bl	git_buf_joinpath
	bl	cl_git_pass
	ldr	r1, .L6+44
	ldr	r0, [sp, #8]
	bl	cl_assert_equal_s
	ldr	r0, [sp, #4]
	cmp	r0, r5
	movls	r0, #0
	movhi	r0, #1
	bl	cl_assert
	mov	r0, r4
	bl	git_buf_dispose
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	GIT_BUF_INIT
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	test_core_path__08_self_join, .-test_core_path__08_self_join
	.comm	GIT_BUF_INIT,8,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
