	.file	"extr_sec_mgr.c_test_GetZoneActionPolicy.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"testing GetZoneActionPolixy...\n"
	.align 8
.LC1:
	.string	"CoInternetCreateZoneManager failed: %08x\n"
	.align 8
.LC2:
	.string	"GetZoneActionPolicy failed: %08x\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"unexpected policy=%d\n"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"GetZoneActionPolicy failed: %08x, expected E_INVALIDARG\n"
	.align 8
.LC5:
	.string	"(0x%x) got 0x%x (expected E_FAIL)\n"
	.text
	.p2align 4
	.type	test_GetZoneActionPolicy, @function
test_GetZoneActionPolicy:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	lea	rdi, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 168
	.cfi_def_cfa_offset 208
	mov	r12, QWORD PTR URLACTION_CREDENTIALS_USE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 152[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 8[rsp], 0
	call	trace@PLT
	xor	edx, edx
	xor	edi, edi
	lea	rsi, 8[rsp]
	call	pCoInternetCreateZoneManager@PLT
	xor	edi, edi
	cmp	QWORD PTR S_OK[rip], rax
	lea	rsi, .LC1[rip]
	sete	dil
	mov	rbp, rax
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	mov	rdi, rbp
	call	FAILED@PLT
	test	rax, rax
	je	.L13
.L1:
	mov	rax, QWORD PTR 152[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 168
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	r9d, DWORD PTR URLZONEREG_DEFAULT[rip]
	mov	rdi, QWORD PTR 8[rsp]
	lea	r14, 16[rsp]
	mov	r8d, 8
	mov	rcx, r14
	mov	rdx, r12
	mov	esi, 3
	call	IInternetZoneManager_GetZoneActionPolicy@PLT
	xor	edi, edi
	cmp	QWORD PTR S_OK[rip], rax
	lea	rsi, .LC2[rip]
	sete	dil
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	mov	rdx, QWORD PTR 16[rsp]
	mov	edi, 1
	cmp	rdx, QWORD PTR URLPOLICY_CREDENTIALS_SILENT_LOGON_OK[rip]
	je	.L4
	cmp	rdx, QWORD PTR URLPOLICY_CREDENTIALS_MUST_PROMPT_USER[rip]
	je	.L4
	cmp	rdx, QWORD PTR URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT[rip]
	je	.L4
	xor	edi, edi
	cmp	QWORD PTR URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY[rip], rdx
	sete	dil
.L4:
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	ok@PLT
	mov	rdi, QWORD PTR 8[rsp]
	xor	ecx, ecx
	mov	rdx, r12
	mov	r9d, DWORD PTR URLZONEREG_DEFAULT[rip]
	mov	r8d, 8
	mov	esi, 3
	call	IInternetZoneManager_GetZoneActionPolicy@PLT
	xor	edi, edi
	cmp	QWORD PTR E_INVALIDARG[rip], rax
	lea	rsi, .LC4[rip]
	sete	dil
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rcx, r14
	mov	rdx, r12
	mov	r9d, DWORD PTR URLZONEREG_DEFAULT[rip]
	mov	r8d, 2
	mov	esi, 3
	call	IInternetZoneManager_GetZoneActionPolicy@PLT
	xor	edi, edi
	cmp	QWORD PTR E_INVALIDARG[rip], rax
	lea	rsi, .LC4[rip]
	sete	dil
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rcx, r14
	mov	edx, 8191
	mov	r9d, DWORD PTR URLZONEREG_DEFAULT[rip]
	mov	r8d, 8
	mov	esi, 3
	call	IInternetZoneManager_GetZoneActionPolicy@PLT
	cmp	QWORD PTR E_FAIL[rip], rax
	mov	edi, 1
	mov	r13, rax
	je	.L5
	mov	edi, DWORD PTR ERROR_NOT_FOUND[rip]
	call	HRESULT_FROM_WIN32@PLT
	xor	edi, edi
	cmp	rax, r13
	sete	dil
	call	broken@PLT
	xor	edi, edi
	test	rax, rax
	setne	dil
.L5:
	mov	rcx, r13
	mov	rdx, r12
	lea	rsi, .LC5[rip]
	xor	eax, eax
	call	ok@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rcx, r14
	mov	rdx, r12
	mov	r9d, DWORD PTR URLZONEREG_DEFAULT[rip]
	mov	r8d, 8
	mov	esi, 13
	call	IInternetZoneManager_GetZoneActionPolicy@PLT
	xor	edi, edi
	cmp	QWORD PTR E_INVALIDARG[rip], rax
	lea	rsi, .LC4[rip]
	sete	dil
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	IInternetZoneManager_Release@PLT
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_GetZoneActionPolicy, .-test_GetZoneActionPolicy
	.comm	URLZONEREG_DEFAULT,4,4
	.comm	URLPOLICY_CREDENTIALS_SILENT_LOGON_OK,8,8
	.comm	URLPOLICY_CREDENTIALS_MUST_PROMPT_USER,8,8
	.comm	URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT,8,8
	.comm	URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY,8,8
	.comm	URLACTION_CREDENTIALS_USE,8,8
	.comm	S_OK,8,8
	.comm	E_INVALIDARG,8,8
	.comm	E_FAIL,8,8
	.comm	ERROR_NOT_FOUND,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_sec_mgr.c_test_GetZoneActionPolicy.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"testing GetZoneActionPolixy...\012\000"
	.align	2
.LC1:
	.ascii	"CoInternetCreateZoneManager failed: %08x\012\000"
	.align	2
.LC2:
	.ascii	"GetZoneActionPolicy failed: %08x\012\000"
	.align	2
.LC3:
	.ascii	"unexpected policy=%d\012\000"
	.align	2
.LC4:
	.ascii	"GetZoneActionPolicy failed: %08x, expected E_INVALI"
	.ascii	"DARG\012\000"
	.align	2
.LC5:
	.ascii	"(0x%x) got 0x%x (expected E_FAIL)\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_GetZoneActionPolicy, %function
test_GetZoneActionPolicy:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, #0
	ldr	r3, .L15
	ldr	r2, .L15+4
	sub	sp, sp, #148
	ldr	r0, .L15+8
	ldr	r5, [r3]
	ldr	r2, [r2]
	str	r2, [sp, #140]
	mov	r2,#0
	str	r4, [sp, #8]
	bl	trace
	mov	r2, r4
	mov	r0, r4
	add	r1, sp, #8
	bl	pCoInternetCreateZoneManager
	mov	r4, r0
	ldr	r6, .L15+12
	mov	r2, r0
	ldr	r0, [r6]
	ldr	r1, .L15+16
	sub	r0, r0, r4
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	mov	r0, r4
	bl	FAILED
	cmp	r0, #0
	beq	.L13
.L1:
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [sp, #140]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #148
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L13:
	mov	r2, #4
	ldr	r4, .L15+20
	mov	r1, #3
	ldr	r3, [r4]
	ldr	r0, [sp, #8]
	stm	sp, {r2, r3}
	add	r3, sp, #12
	mov	r2, r5
	bl	IInternetZoneManager_GetZoneActionPolicy
	mov	r2, r0
	ldr	r0, [r6]
	ldr	r1, .L15+24
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L15+28
	ldr	r2, [sp, #12]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L9
	ldr	r3, .L15+32
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L9
	ldr	r3, .L15+36
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L9
	ldr	r3, .L15+40
	ldr	r0, [r3]
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	b	.L4
.L9:
	mov	r0, #1
.L4:
	mov	r6, #4
	ldr	r1, .L15+44
	bl	ok
	ldr	r3, [r4]
	mov	r2, r5
	mov	r1, #3
	str	r6, [sp]
	str	r3, [sp, #4]
	ldr	r0, [sp, #8]
	mov	r3, #0
	bl	IInternetZoneManager_GetZoneActionPolicy
	mov	r2, r0
	ldr	r7, .L15+48
	ldr	r1, .L15+52
	ldr	r0, [r7]
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	mov	r2, #2
	ldr	r3, [r4]
	mov	r1, #3
	stm	sp, {r2, r3}
	ldr	r0, [sp, #8]
	add	r3, sp, #12
	mov	r2, r5
	bl	IInternetZoneManager_GetZoneActionPolicy
	mov	r2, r0
	ldr	r0, [r7]
	ldr	r1, .L15+52
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, [r4]
	mov	r1, #3
	str	r6, [sp]
	str	r3, [sp, #4]
	ldr	r2, .L15+56
	add	r3, sp, #12
	ldr	r0, [sp, #8]
	bl	IInternetZoneManager_GetZoneActionPolicy
	ldr	r3, .L15+60
	mov	r6, r0
	ldr	r3, [r3]
	cmp	r3, r0
	moveq	r0, #1
	beq	.L5
	ldr	r3, .L15+64
	ldr	r0, [r3]
	bl	HRESULT_FROM_WIN32
	sub	r0, r0, r6
	clz	r0, r0
	lsr	r0, r0, #5
	bl	broken
	subs	r0, r0, #0
	movne	r0, #1
.L5:
	mov	r3, r6
	mov	r2, r5
	ldr	r1, .L15+68
	bl	ok
	mov	r1, #4
	ldr	r2, [r4]
	add	r3, sp, #12
	str	r2, [sp, #4]
	str	r1, [sp]
	mov	r2, r5
	mov	r1, #13
	ldr	r0, [sp, #8]
	bl	IInternetZoneManager_GetZoneActionPolicy
	mov	r2, r0
	ldr	r0, [r7]
	ldr	r1, .L15+52
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r0, [sp, #8]
	bl	IInternetZoneManager_Release
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	URLACTION_CREDENTIALS_USE
	.word	.LC6
	.word	.LC0
	.word	S_OK
	.word	.LC1
	.word	URLZONEREG_DEFAULT
	.word	.LC2
	.word	URLPOLICY_CREDENTIALS_SILENT_LOGON_OK
	.word	URLPOLICY_CREDENTIALS_MUST_PROMPT_USER
	.word	URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT
	.word	URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY
	.word	.LC3
	.word	E_INVALIDARG
	.word	.LC4
	.word	8191
	.word	E_FAIL
	.word	ERROR_NOT_FOUND
	.word	.LC5
	.size	test_GetZoneActionPolicy, .-test_GetZoneActionPolicy
	.comm	URLZONEREG_DEFAULT,4,4
	.comm	URLPOLICY_CREDENTIALS_SILENT_LOGON_OK,4,4
	.comm	URLPOLICY_CREDENTIALS_MUST_PROMPT_USER,4,4
	.comm	URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT,4,4
	.comm	URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY,4,4
	.comm	URLACTION_CREDENTIALS_USE,4,4
	.comm	S_OK,4,4
	.comm	E_INVALIDARG,4,4
	.comm	E_FAIL,4,4
	.comm	ERROR_NOT_FOUND,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
