	.file	"extr_ocsp_vfy.c_ocsp_check_delegated.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ocsp_check_delegated, @function
ocsp_check_delegated:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	call	X509_get_extension_flags@PLT
	test	DWORD PTR EXFLAG_XKUSAGE[rip], eax
	je	.L4
	mov	rdi, rbp
	call	X509_get_extended_key_usage@PLT
	test	DWORD PTR XKU_OCSP_SIGN[rip], eax
	jne	.L10
.L4:
	mov	esi, DWORD PTR OCSP_R_MISSING_OCSPSIGNING_USAGE[rip]
	mov	edi, DWORD PTR OCSP_F_OCSP_CHECK_DELEGATED[rip]
	call	OCSPerr@PLT
	xor	eax, eax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ocsp_check_delegated, .-ocsp_check_delegated
	.comm	XKU_OCSP_SIGN,4,4
	.comm	OCSP_R_MISSING_OCSPSIGNING_USAGE,4,4
	.comm	OCSP_F_OCSP_CHECK_DELEGATED,4,4
	.comm	EXFLAG_XKUSAGE,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_ocsp_vfy.c_ocsp_check_delegated.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocsp_check_delegated, %function
ocsp_check_delegated:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	X509_get_extension_flags
	ldr	r3, .L11
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L4
	mov	r0, r4
	bl	X509_get_extended_key_usage
	ldr	r3, .L11+4
	ldr	r3, [r3]
	tst	r0, r3
	bne	.L10
.L4:
	ldr	r2, .L11+8
	ldr	r3, .L11+12
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	OCSPerr
	mov	r0, #0
	pop	{r4, pc}
.L10:
	mov	r0, #1
	pop	{r4, pc}
.L12:
	.align	2
.L11:
	.word	EXFLAG_XKUSAGE
	.word	XKU_OCSP_SIGN
	.word	OCSP_R_MISSING_OCSPSIGNING_USAGE
	.word	OCSP_F_OCSP_CHECK_DELEGATED
	.size	ocsp_check_delegated, .-ocsp_check_delegated
	.comm	XKU_OCSP_SIGN,4,4
	.comm	OCSP_R_MISSING_OCSPSIGNING_USAGE,4,4
	.comm	OCSP_F_OCSP_CHECK_DELEGATED,4,4
	.comm	EXFLAG_XKUSAGE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
