	.file	"extr_schannel.c_test_supported_protocols.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"QueryCredentialsAttributes failed: %08x\n"
	.align 8
.LC1:
	.string	"protocols.grbitProtocol = %x, expected %x\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"Supported protocols:\n"
.LC3:
	.string	"SSL 2 client\n"
.LC4:
	.string	"SSL 3 client\n"
.LC5:
	.string	"TLS 1.0 client\n"
.LC6:
	.string	"TLS 1.1 client\n"
.LC7:
	.string	"TLS 1.2 client\n"
.LC8:
	.string	"TLS 1.3 client\n"
.LC9:
	.string	"Unknown flags: %x\n"
	.text
	.p2align 4
	.type	test_supported_protocols, @function
test_supported_protocols:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, esi
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR SECPKG_ATTR_SUPPORTED_PROTOCOLS[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rdx, 4[rsp]
	call	QueryCredentialsAttributesA@PLT
	xor	edi, edi
	cmp	QWORD PTR SEC_E_OK[rip], rax
	lea	rsi, .LC0[rip]
	sete	dil
	mov	rdx, rax
	xor	eax, eax
	call	ok@PLT
	test	r12d, r12d
	jne	.L37
.L2:
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	trace@PLT
	mov	esi, DWORD PTR 4[rsp]
	test	DWORD PTR SP_PROT_SSL2_CLIENT[rip], esi
	jne	.L38
.L3:
	test	DWORD PTR SP_PROT_SSL3_CLIENT[rip], esi
	jne	.L39
.L4:
	test	DWORD PTR SP_PROT_TLS1_0_CLIENT[rip], esi
	jne	.L40
.L5:
	test	DWORD PTR SP_PROT_TLS1_1_CLIENT[rip], esi
	jne	.L41
.L6:
	test	DWORD PTR SP_PROT_TLS1_2_CLIENT[rip], esi
	jne	.L42
.L7:
	test	DWORD PTR SP_PROT_TLS1_3_CLIENT[rip], esi
	jne	.L43
.L8:
	test	esi, esi
	jne	.L44
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L45
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L37:
	.cfi_restore_state
	mov	edx, DWORD PTR 4[rsp]
	xor	edi, edi
	mov	ecx, r12d
	lea	rsi, .LC1[rip]
	cmp	edx, r12d
	sete	dil
	xor	eax, eax
	call	ok@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L44:
	lea	rdi, .LC9[rip]
	xor	eax, eax
	call	trace@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L43:
	lea	rdi, .LC8[rip]
	xor	eax, eax
	call	trace@PLT
	mov	esi, DWORD PTR SP_PROT_TLS1_3_CLIENT[rip]
	not	esi
	and	esi, DWORD PTR 4[rsp]
	mov	DWORD PTR 4[rsp], esi
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L42:
	lea	rdi, .LC7[rip]
	xor	eax, eax
	call	trace@PLT
	mov	esi, DWORD PTR SP_PROT_TLS1_2_CLIENT[rip]
	not	esi
	and	esi, DWORD PTR 4[rsp]
	mov	DWORD PTR 4[rsp], esi
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L41:
	lea	rdi, .LC6[rip]
	xor	eax, eax
	call	trace@PLT
	mov	esi, DWORD PTR SP_PROT_TLS1_1_CLIENT[rip]
	not	esi
	and	esi, DWORD PTR 4[rsp]
	mov	DWORD PTR 4[rsp], esi
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L40:
	lea	rdi, .LC5[rip]
	xor	eax, eax
	call	trace@PLT
	mov	esi, DWORD PTR SP_PROT_TLS1_0_CLIENT[rip]
	not	esi
	and	esi, DWORD PTR 4[rsp]
	mov	DWORD PTR 4[rsp], esi
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L39:
	lea	rdi, .LC4[rip]
	xor	eax, eax
	call	trace@PLT
	mov	esi, DWORD PTR SP_PROT_SSL3_CLIENT[rip]
	not	esi
	and	esi, DWORD PTR 4[rsp]
	mov	DWORD PTR 4[rsp], esi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L38:
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	trace@PLT
	mov	esi, DWORD PTR SP_PROT_SSL2_CLIENT[rip]
	not	esi
	and	esi, DWORD PTR 4[rsp]
	mov	DWORD PTR 4[rsp], esi
	jmp	.L3
.L45:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_supported_protocols, .-test_supported_protocols
	.comm	SP_PROT_TLS1_3_CLIENT,4,4
	.comm	SP_PROT_TLS1_2_CLIENT,4,4
	.comm	SP_PROT_TLS1_1_CLIENT,4,4
	.comm	SP_PROT_TLS1_0_CLIENT,4,4
	.comm	SP_PROT_SSL3_CLIENT,4,4
	.comm	SP_PROT_SSL2_CLIENT,4,4
	.comm	SEC_E_OK,8,8
	.comm	SECPKG_ATTR_SUPPORTED_PROTOCOLS,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_schannel.c_test_supported_protocols.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"QueryCredentialsAttributes failed: %08x\012\000"
	.align	2
.LC1:
	.ascii	"protocols.grbitProtocol = %x, expected %x\012\000"
	.align	2
.LC2:
	.ascii	"Supported protocols:\012\000"
	.align	2
.LC3:
	.ascii	"SSL 2 client\012\000"
	.align	2
.LC4:
	.ascii	"SSL 3 client\012\000"
	.align	2
.LC5:
	.ascii	"TLS 1.0 client\012\000"
	.align	2
.LC6:
	.ascii	"TLS 1.1 client\012\000"
	.align	2
.LC7:
	.ascii	"TLS 1.2 client\012\000"
	.align	2
.LC8:
	.ascii	"TLS 1.3 client\012\000"
	.align	2
.LC9:
	.ascii	"Unknown flags: %x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_supported_protocols, %function
test_supported_protocols:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L46
	sub	sp, sp, #8
	mov	r4, r1
	ldr	r1, [r3]
	ldr	r3, .L46+4
	mov	r2, sp
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	QueryCredentialsAttributesA
	mov	r2, r0
	ldr	r3, .L46+8
	ldr	r1, .L46+12
	ldr	r0, [r3]
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	cmp	r4, #0
	bne	.L37
.L2:
	ldr	r4, .L46+16
	ldr	r0, .L46+20
	bl	trace
	ldr	r3, [r4]
	ldr	r1, [sp]
	tst	r1, r3
	bne	.L38
.L3:
	ldr	r4, .L46+24
	ldr	r3, [r4]
	tst	r1, r3
	bne	.L39
.L4:
	ldr	r4, .L46+28
	ldr	r3, [r4]
	tst	r1, r3
	bne	.L40
.L5:
	ldr	r4, .L46+32
	ldr	r3, [r4]
	tst	r1, r3
	bne	.L41
.L6:
	ldr	r4, .L46+36
	ldr	r3, [r4]
	tst	r1, r3
	bne	.L42
.L7:
	ldr	r4, .L46+40
	ldr	r3, [r4]
	tst	r1, r3
	bne	.L43
.L8:
	cmp	r1, #0
	bne	.L44
.L1:
	ldr	r3, .L46+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L45
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L37:
	ldr	r2, [sp]
	mov	r3, r4
	sub	r0, r2, r4
	clz	r0, r0
	ldr	r1, .L46+44
	lsr	r0, r0, #5
	bl	ok
	b	.L2
.L44:
	ldr	r0, .L46+48
	bl	trace
	b	.L1
.L43:
	ldr	r0, .L46+52
	bl	trace
	ldr	r1, [sp]
	ldr	r3, [r4]
	bic	r1, r1, r3
	str	r1, [sp]
	b	.L8
.L42:
	ldr	r0, .L46+56
	bl	trace
	ldr	r1, [sp]
	ldr	r3, [r4]
	bic	r1, r1, r3
	str	r1, [sp]
	b	.L7
.L41:
	ldr	r0, .L46+60
	bl	trace
	ldr	r1, [sp]
	ldr	r3, [r4]
	bic	r1, r1, r3
	str	r1, [sp]
	b	.L6
.L40:
	ldr	r0, .L46+64
	bl	trace
	ldr	r1, [sp]
	ldr	r3, [r4]
	bic	r1, r1, r3
	str	r1, [sp]
	b	.L5
.L39:
	ldr	r0, .L46+68
	bl	trace
	ldr	r1, [sp]
	ldr	r3, [r4]
	bic	r1, r1, r3
	str	r1, [sp]
	b	.L4
.L38:
	ldr	r0, .L46+72
	bl	trace
	ldr	r1, [sp]
	ldr	r3, [r4]
	bic	r1, r1, r3
	str	r1, [sp]
	b	.L3
.L45:
	bl	__stack_chk_fail
.L47:
	.align	2
.L46:
	.word	SECPKG_ATTR_SUPPORTED_PROTOCOLS
	.word	.LC10
	.word	SEC_E_OK
	.word	.LC0
	.word	SP_PROT_SSL2_CLIENT
	.word	.LC2
	.word	SP_PROT_SSL3_CLIENT
	.word	SP_PROT_TLS1_0_CLIENT
	.word	SP_PROT_TLS1_1_CLIENT
	.word	SP_PROT_TLS1_2_CLIENT
	.word	SP_PROT_TLS1_3_CLIENT
	.word	.LC1
	.word	.LC9
	.word	.LC8
	.word	.LC7
	.word	.LC6
	.word	.LC5
	.word	.LC4
	.word	.LC3
	.size	test_supported_protocols, .-test_supported_protocols
	.comm	SP_PROT_TLS1_3_CLIENT,4,4
	.comm	SP_PROT_TLS1_2_CLIENT,4,4
	.comm	SP_PROT_TLS1_1_CLIENT,4,4
	.comm	SP_PROT_TLS1_0_CLIENT,4,4
	.comm	SP_PROT_SSL3_CLIENT,4,4
	.comm	SP_PROT_SSL2_CLIENT,4,4
	.comm	SEC_E_OK,4,4
	.comm	SECPKG_ATTR_SUPPORTED_PROTOCOLS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
