	.file	"extr_unit_test.c_test_assemble_uri.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	"file"
.LC2:
	.string	"/foo/bar"
.LC3:
	.string	"file:///foo/bar"
.LC4:
	.string	"/foo/.././bar/baz"
.LC5:
	.string	"file:///foo/.././bar/baz"
.LC6:
	.string	"file:///bar/baz"
	.text
	.p2align 4
	.type	test_assemble_uri, @function
test_assemble_uri:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r9d, r9d
	xor	r8d, r8d
	xor	ecx, ecx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	xor	edx, edx
	xor	esi, esi
	xor	edi, edi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 40
	.cfi_def_cfa_offset 72
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 32[rsp], rax
	xor	eax, eax
	lea	rbx, 24[rsp]
	push	rbx
	.cfi_def_cfa_offset 80
	push	0
	.cfi_def_cfa_offset 88
	push	0
	.cfi_def_cfa_offset 96
	call	mg_assemble_uri@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 64
	xor	esi, esi
	mov	edi, eax
	lea	r12, 8[rsp]
	mov	rbp, rsp
	call	ASSERT_EQ@PLT
	mov	rdi, QWORD PTR 16[rsp]
	lea	rsi, .LC0[rip]
	call	ASSERT_MG_STREQ@PLT
	lea	rdi, .LC1[rip]
	call	mg_mk_str@PLT
	lea	rdi, .LC2[rip]
	mov	QWORD PTR [rsp], rax
	call	mg_mk_str@PLT
	xor	r9d, r9d
	xor	ecx, ecx
	xor	edx, edx
	mov	QWORD PTR 8[rsp], rax
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	r8, r12
	xor	esi, esi
	push	rbx
	.cfi_def_cfa_offset 80
	mov	rdi, rbp
	push	0
	.cfi_def_cfa_offset 88
	push	0
	.cfi_def_cfa_offset 96
	call	mg_assemble_uri@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 64
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_EQ@PLT
	mov	rdi, QWORD PTR 16[rsp]
	lea	rsi, .LC3[rip]
	call	ASSERT_MG_STREQ@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	free@PLT
	lea	rdi, .LC1[rip]
	call	mg_mk_str@PLT
	lea	rdi, .LC4[rip]
	mov	QWORD PTR [rsp], rax
	call	mg_mk_str@PLT
	xor	r9d, r9d
	xor	ecx, ecx
	xor	edx, edx
	mov	QWORD PTR 8[rsp], rax
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	r8, r12
	xor	esi, esi
	push	rbx
	.cfi_def_cfa_offset 80
	mov	rdi, rbp
	push	0
	.cfi_def_cfa_offset 88
	push	0
	.cfi_def_cfa_offset 96
	call	mg_assemble_uri@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 64
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_EQ@PLT
	mov	rdi, QWORD PTR 16[rsp]
	lea	rsi, .LC5[rip]
	call	ASSERT_MG_STREQ@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	free@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	xor	r9d, r9d
	xor	ecx, ecx
	push	rbx
	.cfi_def_cfa_offset 80
	xor	edx, edx
	mov	r8, r12
	xor	esi, esi
	push	1
	.cfi_def_cfa_offset 88
	mov	rdi, rbp
	push	0
	.cfi_def_cfa_offset 96
	call	mg_assemble_uri@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 64
	xor	esi, esi
	mov	edi, eax
	call	ASSERT_EQ@PLT
	mov	rdi, QWORD PTR 16[rsp]
	lea	rsi, .LC6[rip]
	call	ASSERT_MG_STREQ@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	free@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_assemble_uri, .-test_assemble_uri
	.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_unit_test.c_test_assemble_uri.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"file\000"
	.align	2
.LC2:
	.ascii	"/foo/bar\000"
	.align	2
.LC3:
	.ascii	"file:///foo/bar\000"
	.align	2
.LC4:
	.ascii	"/foo/.././bar/baz\000"
	.align	2
.LC5:
	.ascii	"file:///foo/.././bar/baz\000"
	.align	2
.LC6:
	.ascii	"file:///bar/baz\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_assemble_uri, %function
test_assemble_uri:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, #0
	sub	sp, sp, #40
	ldr	ip, .L6
	add	r5, sp, #32
	mov	r2, r4
	mov	r3, r4
	mov	r1, r4
	str	r4, [sp, #12]
	str	r4, [sp, #8]
	str	r4, [sp, #4]
	str	r4, [sp]
	str	r5, [sp, #16]
	mov	r0, r4
	ldr	ip, [ip]
	str	ip, [sp, #36]
	mov	ip,#0
	bl	mg_assemble_uri
	mov	r1, r4
	bl	ASSERT_EQ
	ldr	r1, .L6+4
	ldr	r0, [sp, #32]
	bl	ASSERT_MG_STREQ
	ldr	r0, .L6+8
	bl	mg_mk_str
	mov	r3, r0
	ldr	r0, .L6+12
	str	r3, [sp, #24]
	bl	mg_mk_str
	mov	ip, r0
	add	r6, sp, #28
	mov	r2, r4
	mov	r3, r4
	mov	r1, r4
	str	r5, [sp, #16]
	str	r4, [sp, #12]
	str	r4, [sp, #8]
	str	r4, [sp, #4]
	str	r6, [sp]
	add	r0, sp, #24
	str	ip, [sp, #28]
	bl	mg_assemble_uri
	mov	r1, r4
	bl	ASSERT_EQ
	ldr	r1, .L6+16
	ldr	r0, [sp, #32]
	bl	ASSERT_MG_STREQ
	ldr	r0, [sp, #32]
	bl	free
	ldr	r0, .L6+8
	bl	mg_mk_str
	mov	r3, r0
	ldr	r0, .L6+20
	str	r3, [sp, #24]
	bl	mg_mk_str
	mov	ip, r0
	mov	r3, r4
	mov	r2, r4
	mov	r1, r4
	str	r5, [sp, #16]
	str	r4, [sp, #12]
	str	r4, [sp, #8]
	str	r4, [sp, #4]
	str	r6, [sp]
	add	r0, sp, #24
	str	ip, [sp, #28]
	bl	mg_assemble_uri
	mov	r1, r4
	bl	ASSERT_EQ
	ldr	r1, .L6+24
	ldr	r0, [sp, #32]
	bl	ASSERT_MG_STREQ
	ldr	r0, [sp, #32]
	bl	free
	mov	ip, #1
	mov	r3, r4
	mov	r2, r4
	str	ip, [sp, #12]
	mov	r1, r4
	str	r5, [sp, #16]
	str	r4, [sp, #8]
	str	r4, [sp, #4]
	str	r6, [sp]
	add	r0, sp, #24
	bl	mg_assemble_uri
	mov	r1, r4
	bl	ASSERT_EQ
	ldr	r1, .L6+28
	ldr	r0, [sp, #32]
	bl	ASSERT_MG_STREQ
	ldr	r0, [sp, #32]
	bl	free
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	mov	r0, r4
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	test_assemble_uri, .-test_assemble_uri
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
