	.file	"extr_microdns.c_create_uri.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"]"
.LC1:
	.string	"["
.LC2:
	.string	""
.LC3:
	.string	"%s://%s%s%s:%u"
	.text
	.p2align 4
	.type	create_uri, @function
create_uri:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 24
	.cfi_def_cfa_offset 32
	lea	r9, .LC2[rip]
	mov	r10, rdi
	mov	r8, rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r11, r9
	test	edx, edx
	je	.L2
	lea	r9, .LC0[rip]
	lea	r11, .LC1[rip]
.L2:
	mov	rdi, rsp
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdx, r10
	push	rcx
	.cfi_def_cfa_offset 48
	lea	rsi, .LC3[rip]
	mov	rcx, r11
	call	asprintf@PLT
	pop	rdx
	.cfi_def_cfa_offset 40
	pop	rcx
	.cfi_def_cfa_offset 32
	test	rax, rax
	mov	eax, 0
	cmovns	rax, QWORD PTR [rsp]
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L10
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	create_uri, .-create_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_microdns.c_create_uri.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"[\000"
	.align	2
.LC1:
	.ascii	"]\000"
	.align	2
.LC2:
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"%s://%s%s%s:%u\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_uri, %function
create_uri:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	str	lr, [sp, #-4]!
	cmp	r2, #0
	mov	r2, r0
	mov	r0, r3
	ldr	r3, .L10
	sub	sp, sp, #28
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldreq	r3, .L10+4
	ldrne	ip, .L10+8
	moveq	ip, r3
	ldrne	r3, .L10+12
	stm	sp, {r1, ip}
	str	r0, [sp, #8]
	ldr	r1, .L10+16
	add	r0, sp, #16
	bl	asprintf
	ldr	r3, .L10
	cmp	r0, #0
	movlt	r0, #0
	ldrge	r0, [sp, #16]
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #28
	@ sp needed
	ldr	pc, [sp], #4
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC4
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.word	.LC3
	.size	create_uri, .-create_uri
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
