	.file	"extr_t1_lib.c_tls1_set_shared_sigalgs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	tls1_set_shared_sigalgs, @function
tls1_set_shared_sigalgs:
.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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r13, QWORD PTR 48[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	tls1_suiteb@PLT
	mov	rdi, QWORD PTR 16[rbx]
	mov	ebp, eax
	call	OPENSSL_free@PLT
	mov	eax, DWORD PTR 40[rbx]
	mov	QWORD PTR 16[rbx], 0
	mov	QWORD PTR [rbx], 0
	test	eax, eax
	jne	.L2
	mov	r12, QWORD PTR 24[r13]
	test	r12, r12
	je	.L2
	test	ebp, ebp
	jne	.L3
	mov	QWORD PTR [rsp], r12
	mov	r13, QWORD PTR 0[r13]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	mov	r12, QWORD PTR 16[r13]
	test	r12, r12
	je	.L5
	test	ebp, ebp
	jne	.L5
	mov	QWORD PTR [rsp], r12
	mov	r13, QWORD PTR 8[r13]
.L4:
	mov	eax, DWORD PTR 8[rbx]
	test	DWORD PTR SSL_OP_CIPHER_SERVER_PREFERENCE[rip], eax
	jne	.L11
.L12:
	mov	r15, r13
	mov	r14, r12
	mov	r13, QWORD PTR 24[rbx]
	mov	r12, QWORD PTR 32[rbx]
.L7:
	mov	r9, r15
	mov	r8, r14
	mov	rcx, r13
	mov	rdx, r12
	xor	esi, esi
	mov	rdi, rbx
	xor	ebp, ebp
	call	tls12_shared_sigalgs@PLT
	test	rax, rax
	jne	.L27
.L8:
	mov	QWORD PTR 16[rbx], rbp
	mov	QWORD PTR [rbx], rax
	mov	eax, 1
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L28
	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
.L5:
	.cfi_restore_state
	xor	esi, esi
	mov	rdx, rsp
	mov	rdi, rbx
	call	tls12_get_psigalgs@PLT
	mov	r12, QWORD PTR [rsp]
	mov	r13, rax
	mov	eax, DWORD PTR 8[rbx]
	and	eax, DWORD PTR SSL_OP_CIPHER_SERVER_PREFERENCE[rip]
	or	eax, ebp
	je	.L12
.L11:
	mov	r14, QWORD PTR 32[rbx]
	mov	r15, QWORD PTR 24[rbx]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L27:
	lea	rdi, 0[0+rax*8]
	call	OPENSSL_malloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L29
	mov	r9, r15
	mov	r8, r14
	mov	rcx, r13
	mov	rdx, r12
	mov	rsi, rax
	mov	rdi, rbx
	call	tls12_shared_sigalgs@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdx, rsp
	xor	esi, esi
	mov	rdi, rbx
	call	tls12_get_psigalgs@PLT
	mov	r12, QWORD PTR [rsp]
	mov	r13, rax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L29:
	mov	esi, DWORD PTR ERR_R_MALLOC_FAILURE[rip]
	mov	edi, DWORD PTR SSL_F_TLS1_SET_SHARED_SIGALGS[rip]
	call	SSLerr@PLT
	xor	eax, eax
	jmp	.L1
.L28:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tls1_set_shared_sigalgs, .-tls1_set_shared_sigalgs
	.comm	SSL_OP_CIPHER_SERVER_PREFERENCE,4,4
	.comm	SSL_F_TLS1_SET_SHARED_SIGALGS,4,4
	.comm	ERR_R_MALLOC_FAILURE,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_t1_lib.c_tls1_set_shared_sigalgs.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tls1_set_shared_sigalgs, %function
tls1_set_shared_sigalgs:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L23
	sub	sp, sp, #20
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r7, [r0, #24]
	bl	tls1_suiteb
	mov	r5, r0
	ldr	r0, [r4, #8]
	bl	OPENSSL_free
	mov	r3, #0
	ldr	r1, [r4, #20]
	str	r3, [r4, #8]
	cmp	r1, r3
	str	r3, [r4]
	bne	.L2
	ldr	r6, [r7, #12]
	cmp	r6, r3
	beq	.L2
	cmp	r5, r3
	bne	.L3
	ldr	r7, [r7]
	str	r6, [sp, #8]
	b	.L4
.L2:
	clz	r1, r5
	ldr	r6, [r7, #8]
	lsr	r1, r1, #5
	cmp	r6, #0
	moveq	r1, #0
	cmp	r1, #0
	beq	.L5
	ldr	r7, [r7, #4]
	str	r6, [sp, #8]
.L4:
	ldr	r3, .L23+4
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L11
.L12:
	mov	r9, r7
	mov	r8, r6
	ldr	r7, [r4, #12]
	ldr	r6, [r4, #16]
.L7:
	mov	r3, r7
	mov	r2, r6
	mov	r1, #0
	mov	r0, r4
	stm	sp, {r8, r9}
	bl	tls12_shared_sigalgs
	cmp	r0, #0
	moveq	r5, r0
	bne	.L20
.L8:
	str	r0, [r4]
	mov	r0, #1
	str	r5, [r4, #8]
.L1:
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L5:
	add	r2, sp, #8
	mov	r0, r4
	bl	tls12_get_psigalgs
	ldr	r3, .L23+4
	ldr	r2, [r4, #4]
	ldr	r1, [r3]
	mov	r7, r0
	and	r2, r2, r1
	orrs	r3, r2, r5
	ldr	r6, [sp, #8]
	beq	.L12
.L11:
	ldr	r8, [r4, #16]
	ldr	r9, [r4, #12]
	b	.L7
.L20:
	lsl	r0, r0, #2
	bl	OPENSSL_malloc
	subs	r5, r0, #0
	beq	.L22
	mov	r3, r7
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	stm	sp, {r8, r9}
	bl	tls12_shared_sigalgs
	b	.L8
.L3:
	mov	r0, r4
	add	r2, sp, #8
	bl	tls12_get_psigalgs
	ldr	r6, [sp, #8]
	mov	r7, r0
	b	.L11
.L22:
	ldr	r2, .L23+8
	ldr	r3, .L23+12
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	SSLerr
	mov	r0, r5
	b	.L1
.L21:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LC0
	.word	SSL_OP_CIPHER_SERVER_PREFERENCE
	.word	ERR_R_MALLOC_FAILURE
	.word	SSL_F_TLS1_SET_SHARED_SIGALGS
	.size	tls1_set_shared_sigalgs, .-tls1_set_shared_sigalgs
	.comm	SSL_OP_CIPHER_SERVER_PREFERENCE,4,4
	.comm	SSL_F_TLS1_SET_SHARED_SIGALGS,4,4
	.comm	ERR_R_MALLOC_FAILURE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
