	.file	"extr_nsio.c_translate_url.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"TranslateUrl returned new URL %s -> %s\n"
	.text
	.p2align 4
	.type	translate_url, @function
translate_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
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	r12d, DWORD PTR FALSE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rdi]
	mov	QWORD PTR 8[rsp], 0
	test	eax, eax
	jne	.L20
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	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
.L20:
	.cfi_restore_state
	mov	rbx, rdi
	mov	rdi, rsi
	mov	rbp, rsi
	call	ensure_uri@PLT
	test	eax, eax
	je	.L18
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, 16[rsp]
	call	IUri_GetDisplayUri@PLT
	mov	rdi, rax
	call	FAILED@PLT
	test	rax, rax
	je	.L5
.L18:
	mov	r12d, DWORD PTR FALSE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdx, QWORD PTR 16[rsp]
	mov	edi, DWORD PTR [rbx]
	xor	esi, esi
	lea	rcx, 8[rsp]
	call	IDocHostUIHandler_TranslateUrl@PLT
	cmp	QWORD PTR S_OK[rip], rax
	je	.L6
.L17:
	mov	rdi, QWORD PTR 16[rsp]
.L7:
	call	SysFreeString@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rsi, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	test	rsi, rsi
	je	.L7
	call	strcmpW@PLT
	test	rax, rax
	jne	.L22
.L8:
	mov	rdi, QWORD PTR 8[rsp]
	call	CoTaskMemFree@PLT
	jmp	.L17
.L22:
	mov	rdi, QWORD PTR 8[rsp]
	call	debugstr_w@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	r12d, eax
	call	debugstr_w@PLT
	mov	edx, r12d
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	FIXME@PLT
	mov	r12d, DWORD PTR TRUE[rip]
	jmp	.L8
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	translate_url, .-translate_url
	.comm	TRUE,4,4
	.comm	S_OK,8,8
	.comm	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_nsio.c_translate_url.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"TranslateUrl returned new URL %s -> %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	translate_url, %function
translate_url:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, lr}
	ldr	r2, [r0]
	ldr	r7, .L26
	cmp	r2, r3
	ldr	r2, .L26+4
	sub	sp, sp, #20
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	ldr	r6, [r7]
	str	r3, [sp, #4]
	bne	.L23
.L1:
	ldr	r3, .L26+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	mov	r0, r6
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L23:
	mov	r4, r0
	mov	r0, r1
	mov	r5, r1
	bl	ensure_uri
	cmp	r0, #0
	beq	.L21
	add	r1, sp, #8
	ldr	r0, [r5]
	bl	IUri_GetDisplayUri
	bl	FAILED
	subs	r1, r0, #0
	beq	.L5
.L21:
	ldr	r6, [r7]
	b	.L1
.L5:
	add	r3, sp, #4
	ldr	r0, [r4]
	ldr	r2, [sp, #8]
	bl	IDocHostUIHandler_TranslateUrl
	ldr	r3, .L26+8
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L6
.L20:
	ldr	r0, [sp, #8]
.L7:
	bl	SysFreeString
	b	.L1
.L6:
	ldr	r1, [sp, #4]
	ldr	r0, [sp, #8]
	cmp	r1, #0
	beq	.L7
	bl	strcmpW
	cmp	r0, #0
	bne	.L25
.L8:
	ldr	r0, [sp, #4]
	bl	CoTaskMemFree
	b	.L20
.L25:
	ldr	r0, [sp, #8]
	bl	debugstr_w
	mov	r4, r0
	ldr	r0, [sp, #4]
	bl	debugstr_w
	mov	r1, r4
	mov	r2, r0
	ldr	r0, .L26+12
	bl	FIXME
	ldr	r3, .L26+16
	ldr	r6, [r3]
	b	.L8
.L24:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	FALSE
	.word	.LC1
	.word	S_OK
	.word	.LC0
	.word	TRUE
	.size	translate_url, .-translate_url
	.comm	TRUE,4,4
	.comm	S_OK,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
