	.file	"extr_tlsv1_cred.c_tlsv1_set_dhparams_der.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"DH: DH parameters did not start with a valid SEQUENCE - found class %d tag 0x%x"
	.align 8
.LC1:
	.string	"DH: No INTEGER tag found for p; class=%d tag=0x%x"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC2:
	.string	"DH: prime (p)"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"DH: No INTEGER tag found for g; class=%d tag=0x%x"
	.section	.rodata.str1.1
.LC4:
	.string	"DH: base (g)"
	.text
	.p2align 4
	.type	tlsv1_set_dhparams_der, @function
tlsv1_set_dhparams_der:
.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
	mov	rbx, rdi
	mov	rdi, rsi
	mov	rsi, rdx
	lea	rbp, [rdi+rdx*4]
	sub	rsp, 48
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	r12, rsp
	mov	rdx, r12
	call	asn1_get_next@PLT
	mov	rdx, QWORD PTR [rsp]
	mov	rcx, QWORD PTR 8[rsp]
	test	rax, rax
	js	.L3
	cmp	rdx, QWORD PTR ASN1_CLASS_UNIVERSAL[rip]
	jne	.L3
	cmp	QWORD PTR ASN1_TAG_SEQUENCE[rip], rcx
	jne	.L3
	mov	rdi, QWORD PTR 24[rsp]
	mov	rsi, rbp
	mov	rdx, r12
	sub	rsi, rdi
	sar	rsi, 2
	call	asn1_get_next@PLT
	test	rax, rax
	js	.L20
	mov	rdx, QWORD PTR [rsp]
	cmp	rdx, QWORD PTR ASN1_CLASS_UNIVERSAL[rip]
	mov	rcx, QWORD PTR 8[rsp]
	jne	.L7
	cmp	QWORD PTR ASN1_TAG_INTEGER[rip], rcx
	jne	.L7
	mov	rcx, QWORD PTR 16[rsp]
	mov	rdx, QWORD PTR 24[rsp]
	lea	rsi, .LC2[rip]
	mov	edi, DWORD PTR MSG_MSGDUMP[rip]
	call	wpa_hexdump@PLT
	cmp	QWORD PTR 16[rsp], 0
	je	.L20
	mov	rdi, QWORD PTR 24[rbx]
	call	os_free@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	os_malloc@PLT
	mov	QWORD PTR 24[rbx], rax
	mov	rdi, rax
	test	rax, rax
	je	.L20
	mov	rdx, QWORD PTR 16[rsp]
	mov	rsi, QWORD PTR 24[rsp]
	call	os_memcpy@PLT
	mov	rax, QWORD PTR 16[rsp]
	mov	rdx, QWORD PTR 24[rsp]
	mov	rsi, rbp
	lea	rdi, [rdx+rax*4]
	mov	QWORD PTR [rbx], rax
	mov	rdx, r12
	sub	rsi, rdi
	sar	rsi, 2
	call	asn1_get_next@PLT
	test	rax, rax
	js	.L20
	mov	rdx, QWORD PTR [rsp]
	cmp	rdx, QWORD PTR ASN1_CLASS_UNIVERSAL[rip]
	mov	rcx, QWORD PTR 8[rsp]
	jne	.L10
	cmp	QWORD PTR ASN1_TAG_INTEGER[rip], rcx
	jne	.L10
	mov	rcx, QWORD PTR 16[rsp]
	mov	rdx, QWORD PTR 24[rsp]
	lea	rsi, .LC4[rip]
	mov	edi, DWORD PTR MSG_MSGDUMP[rip]
	call	wpa_hexdump@PLT
	cmp	QWORD PTR 16[rsp], 0
	je	.L20
	mov	rdi, QWORD PTR 16[rbx]
	call	os_free@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	os_malloc@PLT
	mov	QWORD PTR 16[rbx], rax
	mov	rdi, rax
	test	rax, rax
	je	.L20
	mov	rdx, QWORD PTR 16[rsp]
	mov	rsi, QWORD PTR 24[rsp]
	call	os_memcpy@PLT
	mov	rax, QWORD PTR 16[rsp]
	mov	QWORD PTR 8[rbx], rax
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR 40[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L22
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	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
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC1[rip]
	call	wpa_printf@PLT
.L20:
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC0[rip]
	call	wpa_printf@PLT
	mov	eax, -1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	lea	rsi, .LC3[rip]
	call	wpa_printf@PLT
	mov	eax, -1
	jmp	.L1
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	tlsv1_set_dhparams_der, .-tlsv1_set_dhparams_der
	.comm	MSG_MSGDUMP,4,4
	.comm	MSG_DEBUG,4,4
	.comm	ASN1_TAG_SEQUENCE,8,8
	.comm	ASN1_TAG_INTEGER,8,8
	.comm	ASN1_CLASS_UNIVERSAL,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_tlsv1_cred.c_tlsv1_set_dhparams_der.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"DH: DH parameters did not start with a valid SEQUEN"
	.ascii	"CE - found class %d tag 0x%x\000"
	.align	2
.LC1:
	.ascii	"DH: No INTEGER tag found for p; class=%d tag=0x%x\000"
	.align	2
.LC2:
	.ascii	"DH: prime (p)\000"
	.align	2
.LC3:
	.ascii	"DH: No INTEGER tag found for g; class=%d tag=0x%x\000"
	.align	2
.LC4:
	.ascii	"DH: base (g)\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tlsv1_set_dhparams_der, %function
tlsv1_set_dhparams_der:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	mov	r1, r2
	sub	sp, sp, #24
	ldr	r3, .L30
	mov	r5, r0
	add	r2, sp, #4
	mov	r0, r4
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	add	r4, r4, r1, lsl #2
	bl	asn1_get_next
	cmp	r0, #0
	blt	.L28
	ldr	r6, .L30+4
	ldr	r2, [sp, #4]
	ldr	r1, [r6]
	ldr	r3, [sp, #8]
	cmp	r2, r1
	bne	.L3
	ldr	r1, .L30+8
	ldr	r1, [r1]
	cmp	r1, r3
	bne	.L3
	ldr	r0, [sp, #16]
	add	r2, sp, #4
	sub	r1, r4, r0
	asr	r1, r1, #2
	bl	asn1_get_next
	cmp	r0, #0
	blt	.L26
	ldr	r2, [sp, #4]
	ldr	r1, [r6]
	ldr	r3, [sp, #8]
	cmp	r2, r1
	bne	.L7
	ldr	r7, .L30+12
	ldr	r1, [r7]
	cmp	r1, r3
	bne	.L7
	ldr	r8, .L30+16
	ldr	r3, [sp, #12]
	ldr	r0, [r8]
	ldr	r2, [sp, #16]
	ldr	r1, .L30+20
	bl	wpa_hexdump
	ldr	r3, [sp, #12]
	cmp	r3, #0
	beq	.L26
	ldr	r0, [r5, #12]
	bl	os_free
	ldr	r0, [sp, #12]
	bl	os_malloc
	cmp	r0, #0
	str	r0, [r5, #12]
	beq	.L26
	ldr	r2, [sp, #12]
	ldr	r1, [sp, #16]
	bl	os_memcpy
	ldr	r3, [sp, #12]
	ldr	r0, [sp, #16]
	add	r2, sp, #4
	add	r0, r0, r3, lsl #2
	sub	r1, r4, r0
	str	r3, [r5]
	asr	r1, r1, #2
	bl	asn1_get_next
	cmp	r0, #0
	blt	.L26
	ldmib	sp, {r2, r3}
	ldr	r1, [r6]
	cmp	r2, r1
	bne	.L10
	ldr	r1, [r7]
	cmp	r1, r3
	bne	.L10
	ldr	r3, [sp, #12]
	ldr	r0, [r8]
	ldr	r2, [sp, #16]
	ldr	r1, .L30+24
	bl	wpa_hexdump
	ldr	r3, [sp, #12]
	cmp	r3, #0
	beq	.L26
	ldr	r0, [r5, #8]
	bl	os_free
	ldr	r0, [sp, #12]
	bl	os_malloc
	cmp	r0, #0
	str	r0, [r5, #8]
	beq	.L26
	ldr	r2, [sp, #12]
	ldr	r1, [sp, #16]
	bl	os_memcpy
	mov	r0, #0
	ldr	r3, [sp, #12]
	str	r3, [r5, #4]
.L1:
	ldr	r3, .L30
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L29
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r1, .L30+28
	ldr	r0, [r1]
	ldr	r1, .L30+32
	bl	wpa_printf
.L26:
	mvn	r0, #0
	b	.L1
.L28:
	ldmib	sp, {r2, r3}
.L3:
	ldr	r1, .L30+28
	ldr	r0, [r1]
	ldr	r1, .L30+36
	bl	wpa_printf
	mvn	r0, #0
	b	.L1
.L10:
	ldr	r1, .L30+28
	ldr	r0, [r1]
	ldr	r1, .L30+40
	bl	wpa_printf
	mvn	r0, #0
	b	.L1
.L29:
	bl	__stack_chk_fail
.L31:
	.align	2
.L30:
	.word	.LC5
	.word	ASN1_CLASS_UNIVERSAL
	.word	ASN1_TAG_SEQUENCE
	.word	ASN1_TAG_INTEGER
	.word	MSG_MSGDUMP
	.word	.LC2
	.word	.LC4
	.word	MSG_DEBUG
	.word	.LC1
	.word	.LC0
	.word	.LC3
	.size	tlsv1_set_dhparams_der, .-tlsv1_set_dhparams_der
	.comm	MSG_MSGDUMP,4,4
	.comm	MSG_DEBUG,4,4
	.comm	ASN1_TAG_SEQUENCE,4,4
	.comm	ASN1_TAG_INTEGER,4,4
	.comm	ASN1_CLASS_UNIVERSAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
