	.file	"extr_htmllocation.c_test_hostname.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"%s: get_hostname should have failed with E_POINTER (0x%08x), was: 0x%08x\n"
	.align 8
.LC2:
	.string	"%s: get_hostname failed: 0x%08x\n"
	.align 8
.LC3:
	.string	"%s: expected retrieved hostname to be L\"%s\", was: %s\n"
	.align 8
.LC4:
	.string	"%s: get_domain failed: 0x%08x\n"
	.align 8
.LC5:
	.string	"%s: expected retrieved domain to be L\"%s\", was: %s\n"
	.text
	.p2align 4
	.type	test_hostname, @function
test_hostname:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	r13, 4[rsp]
	call	IHTMLLocation_get_hostname@PLT
	mov	rcx, QWORD PTR E_POINTER[rip]
	mov	edx, DWORD PTR 8[rbx]
	xor	edi, edi
	mov	r8, rax
	lea	rsi, .LC1[rip]
	cmp	rcx, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	rdi, rbp
	mov	rsi, r13
	call	IHTMLLocation_get_hostname@PLT
	xor	edi, edi
	mov	edx, DWORD PTR 8[rbx]
	cmp	QWORD PTR S_OK[rip], rax
	sete	dil
	mov	rbp, rax
	mov	rcx, rax
	xor	eax, eax
	lea	rsi, .LC2[rip]
	call	ok@PLT
	cmp	QWORD PTR S_OK[rip], rbp
	je	.L9
.L2:
	mov	edi, DWORD PTR 4[rsp]
	call	SysFreeString@PLT
	mov	rsi, r13
	mov	rdi, r12
	call	IHTMLDocument2_get_domain@PLT
	xor	edi, edi
	mov	edx, DWORD PTR 8[rbx]
	cmp	QWORD PTR S_OK[rip], rax
	sete	dil
	mov	rbp, rax
	mov	rcx, rax
	xor	eax, eax
	lea	rsi, .LC4[rip]
	call	ok@PLT
	cmp	QWORD PTR S_OK[rip], rbp
	je	.L10
.L3:
	mov	edi, DWORD PTR 4[rsp]
	call	SysFreeString@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[rsp]
	call	wine_dbgstr_w@PLT
	mov	r14, QWORD PTR [rbx]
	mov	edi, DWORD PTR 4[rsp]
	mov	r15d, DWORD PTR 8[rbx]
	mov	rbp, rax
	mov	rsi, r14
	call	str_eq_wa@PLT
	mov	r8, rbp
	mov	rcx, r14
	mov	edx, r15d
	mov	edi, eax
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	ok@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, DWORD PTR 4[rsp]
	call	wine_dbgstr_w@PLT
	mov	rsi, QWORD PTR [rbx]
	mov	edi, DWORD PTR 4[rsp]
	mov	rbp, rax
	lea	rax, .LC0[rip]
	mov	r12d, DWORD PTR 8[rbx]
	test	rsi, rsi
	mov	r13, rsi
	cmove	rsi, rax
	call	str_eq_wa@PLT
	mov	r8, rbp
	mov	rcx, r13
	mov	edx, r12d
	mov	edi, eax
	lea	rsi, .LC5[rip]
	xor	eax, eax
	call	ok@PLT
	jmp	.L3
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_hostname, .-test_hostname
	.comm	S_OK,8,8
	.comm	E_POINTER,8,8
	.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_htmllocation.c_test_hostname.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"%s: get_hostname should have failed with E_POINTER "
	.ascii	"(0x%08x), was: 0x%08x\012\000"
	.align	2
.LC2:
	.ascii	"%s: get_hostname failed: 0x%08x\012\000"
	.align	2
.LC3:
	.ascii	"%s: expected retrieved hostname to be L\"%s\", was:"
	.ascii	" %s\012\000"
	.align	2
.LC4:
	.ascii	"%s: get_domain failed: 0x%08x\012\000"
	.align	2
.LC5:
	.ascii	"%s: expected retrieved domain to be L\"%s\", was: %"
	.ascii	"s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_hostname, %function
test_hostname:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L11
	sub	sp, sp, #20
	mov	r7, r1
	mov	r1, #0
	mov	r4, r2
	mov	r5, r0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	IHTMLLocation_get_hostname
	ldr	r3, .L11+4
	str	r0, [sp]
	ldr	r3, [r3]
	ldr	r2, [r4, #4]
	sub	r0, r3, r0
	clz	r0, r0
	ldr	r1, .L11+8
	lsr	r0, r0, #5
	bl	ok
	mov	r0, r5
	add	r1, sp, #8
	bl	IHTMLLocation_get_hostname
	mov	r5, r0
	ldr	r6, .L11+12
	mov	r3, r0
	ldr	r0, [r6]
	ldr	r2, [r4, #4]
	sub	r0, r0, r5
	clz	r0, r0
	ldr	r1, .L11+16
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, [r6]
	cmp	r3, r5
	beq	.L9
.L2:
	ldr	r0, [sp, #8]
	bl	SysFreeString
	add	r1, sp, #8
	mov	r0, r7
	bl	IHTMLDocument2_get_domain
	mov	r5, r0
	ldr	r0, [r6]
	mov	r3, r5
	sub	r0, r0, r5
	clz	r0, r0
	ldr	r2, [r4, #4]
	ldr	r1, .L11+20
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, [r6]
	cmp	r3, r5
	bne	.L3
	ldr	r1, [r4]
	ldr	r3, .L11+24
	cmp	r1, #0
	moveq	r1, r3
	ldr	r0, [sp, #8]
	bl	str_eq_wa
	ldm	r4, {r4, r6}
	mov	r5, r0
	ldr	r0, [sp, #8]
	bl	wine_dbgstr_w
	mov	r1, r0
	mov	r3, r4
	str	r1, [sp]
	mov	r2, r6
	mov	r0, r5
	ldr	r1, .L11+28
	bl	ok
.L3:
	ldr	r0, [sp, #8]
	bl	SysFreeString
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	ldr	r1, [r4]
	ldr	r0, [sp, #8]
	bl	str_eq_wa
	mov	r5, r0
	ldr	r0, [sp, #8]
	ldr	r8, [r4, #4]
	ldr	r9, [r4]
	bl	wine_dbgstr_w
	mov	r1, r0
	mov	r3, r9
	str	r1, [sp]
	mov	r2, r8
	mov	r0, r5
	ldr	r1, .L11+32
	bl	ok
	b	.L2
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC6
	.word	E_POINTER
	.word	.LC1
	.word	S_OK
	.word	.LC2
	.word	.LC4
	.word	.LC0
	.word	.LC5
	.word	.LC3
	.size	test_hostname, .-test_hostname
	.comm	S_OK,4,4
	.comm	E_POINTER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
