	.file	"extr_navigate.c_navigate_url.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	navigate_url
	.type	navigate_url, @function
navigate_url:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	rdi, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, ecx
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	test	rsi, rsi
	je	.L2
	mov	r9, rdx
	test	rdx, rdx
	je	.L2
	mov	edx, DWORD PTR URL_ESCAPE_SPACES_ONLY[rip]
	xor	r8d, r8d
	mov	rdi, r9
	lea	rcx, 16[rsp]
	or	edx, DWORD PTR URL_DONT_ESCAPE_EXTRA_INFO[rip]
	call	CoInternetCombineUrlEx@PLT
	mov	r12d, eax
	mov	edi, r12d
	call	FAILED@PLT
	test	rax, rax
	je	.L14
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	esi, esi
	lea	rdx, 16[rsp]
	call	create_uri@PLT
	mov	r12d, eax
	mov	edi, r12d
	call	FAILED@PLT
	test	rax, rax
	jne	.L1
.L14:
	mov	rsi, QWORD PTR 16[rsp]
	lea	rcx, 8[rsp]
	lea	rdx, 4[rsp]
	mov	rdi, rbp
	call	translate_uri@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	r12d, eax
	call	IUri_Release@PLT
	mov	edi, r12d
	call	FAILED@PLT
	test	rax, rax
	jne	.L1
	mov	edx, DWORD PTR 4[rsp]
	mov	rsi, QWORD PTR 8[rsp]
	mov	r8d, ebx
	xor	ecx, ecx
	mov	rdi, rbp
	call	navigate_uri@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	r12d, eax
	call	IUri_Release@PLT
	mov	edi, DWORD PTR 4[rsp]
	call	SysFreeString@PLT
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	navigate_url, .-navigate_url
	.comm	URL_ESCAPE_SPACES_ONLY,4,4
	.comm	URL_DONT_ESCAPE_EXTRA_INFO,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_navigate.c_navigate_url.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	navigate_url
	.syntax unified
	.arm
	.fpu softvfp
	.type	navigate_url, %function
navigate_url:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	lr, r2, #0
	movne	lr, #1
	cmp	r1, #0
	moveq	lr, #0
	mov	r6, r3
	ldr	r3, .L10
	sub	sp, sp, #24
	cmp	lr, #0
	mov	r5, r0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	beq	.L2
	mov	r3, #0
	mov	r0, r2
	ldr	ip, .L10+4
	ldr	r2, .L10+8
	ldr	ip, [ip]
	ldr	r2, [r2]
	str	r3, [sp]
	orr	r2, ip, r2
	add	r3, sp, #12
	bl	CoInternetCombineUrlEx
	mov	r4, r0
	mov	r0, r4
	bl	FAILED
	cmp	r0, #0
	beq	.L8
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	mov	ip, r1
	add	r2, sp, #12
	mov	r1, lr
	mov	r0, ip
	bl	create_uri
	mov	r4, r0
	mov	r0, r4
	bl	FAILED
	cmp	r0, #0
	bne	.L1
.L8:
	add	r3, sp, #8
	ldr	r1, [sp, #12]
	add	r2, sp, #16
	mov	r0, r5
	bl	translate_uri
	mov	r4, r0
	ldr	r0, [sp, #12]
	bl	IUri_Release
	mov	r0, r4
	bl	FAILED
	subs	r3, r0, #0
	bne	.L1
	ldr	r2, [sp, #16]
	ldr	r1, [sp, #8]
	mov	r0, r5
	str	r6, [sp]
	bl	navigate_uri
	mov	r4, r0
	ldr	r0, [sp, #8]
	bl	IUri_Release
	ldr	r0, [sp, #16]
	bl	SysFreeString
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	URL_ESCAPE_SPACES_ONLY
	.word	URL_DONT_ESCAPE_EXTRA_INFO
	.size	navigate_url, .-navigate_url
	.comm	URL_ESCAPE_SPACES_ONLY,4,4
	.comm	URL_DONT_ESCAPE_EXTRA_INFO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
