	.file	"extr_ssl_lib.c_SSL_get0_dane_authority.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	SSL_get0_dane_authority
	.type	SSL_get0_dane_authority, @function
SSL_get0_dane_authority:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	add	rdi, 8
	call	DANETLS_ENABLED@PLT
	test	eax, eax
	je	.L9
	mov	rax, QWORD PTR X509_V_OK[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L9
	mov	rax, QWORD PTR 16[rbx]
	test	rax, rax
	je	.L4
	test	r12, r12
	je	.L5
	mov	rdx, QWORD PTR 24[rbx]
	mov	QWORD PTR [r12], rdx
.L5:
	test	rbp, rbp
	je	.L4
	xor	edx, edx
	cmp	QWORD PTR 24[rbx], 0
	je	.L19
.L7:
	mov	QWORD PTR 0[rbp], rdx
.L4:
	mov	eax, DWORD PTR 8[rbx]
.L1:
	pop	rbx
	.cfi_remember_state
	.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
.L19:
	.cfi_restore_state
	mov	rdx, QWORD PTR [rax]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	SSL_get0_dane_authority, .-SSL_get0_dane_authority
	.comm	X509_V_OK,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_ssl_lib.c_SSL_get0_dane_authority.c"
	.text
	.align	2
	.global	SSL_get0_dane_authority
	.syntax unified
	.arm
	.fpu softvfp
	.type	SSL_get0_dane_authority, %function
SSL_get0_dane_authority:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	add	r0, r0, #4
	mov	r6, r1
	mov	r5, r2
	bl	DANETLS_ENABLED
	cmp	r0, #0
	beq	.L9
	ldr	r3, .L19
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L9
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L4
	cmp	r6, #0
	ldrne	r2, [r4, #12]
	strne	r2, [r6]
	cmp	r5, #0
	beq	.L4
	ldr	r2, [r4, #12]
	cmp	r2, #0
	movne	r3, #0
	ldreq	r3, [r3]
	str	r3, [r5]
.L4:
	ldr	r0, [r4, #4]
	pop	{r4, r5, r6, pc}
.L9:
	mvn	r0, #0
	pop	{r4, r5, r6, pc}
.L20:
	.align	2
.L19:
	.word	X509_V_OK
	.size	SSL_get0_dane_authority, .-SSL_get0_dane_authority
	.comm	X509_V_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
