	.file	"extr_bio_ok.c_ok_ctrl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ok_ctrl, @function
ok_ctrl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, esi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	BIO_get_data@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	BIO_next@PLT
	mov	r13, rax
	lea	eax, -128[r15]
	cmp	eax, 8
	ja	.L2
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L7-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L7:
	mov	eax, DWORD PTR 32[rbx]
	test	eax, eax
	je	.L2
	mov	r8, QWORD PTR [rbx]
	sub	r8, QWORD PTR 8[rbx]
	test	r8, r8
	jg	.L1
.L2:
	mov	rcx, r12
	mov	rdx, r14
	mov	esi, r15d
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L8:
	mov	QWORD PTR 32[rbx], 0
	mov	rcx, r12
	mov	rdx, r14
	mov	esi, 132
	mov	DWORD PTR 40[rbx], 0
	mov	QWORD PTR [rbx], 0
	mov	QWORD PTR 8[rbx], 0
	mov	QWORD PTR 16[rbx], 1
	mov	DWORD PTR 24[rbx], 1
.L29:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r13
	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
	jmp	BIO_ctrl@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edx, DWORD PTR 16[rbx]
	mov	r8d, 1
	test	edx, edx
	jg	.L31
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r8
	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
.L6:
	.cfi_restore_state
	movsx	r8, DWORD PTR 16[rbx]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR 32[rbx]
	test	eax, eax
	je	.L32
	.p2align 4,,10
	.p2align 3
.L18:
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rbp
	call	ok_write@PLT
	test	eax, eax
	js	.L16
.L28:
	mov	eax, DWORD PTR 32[rbx]
	test	eax, eax
	jne	.L18
	mov	eax, 1
.L16:
	mov	DWORD PTR 16[rbx], eax
	mov	rcx, r12
	mov	rdx, r14
	mov	esi, 135
	mov	DWORD PTR 20[rbx], 1
	mov	QWORD PTR [rbx], 0
	mov	QWORD PTR 8[rbx], 0
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, rbp
	call	BIO_get_init@PLT
	test	eax, eax
	jne	.L33
.L19:
	xor	r8d, r8d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, rbp
	call	BIO_clear_retry_flags@PLT
	mov	rcx, r12
	mov	rdx, r14
	mov	esi, 130
	mov	rdi, r13
	call	BIO_ctrl@PLT
	mov	rdi, rbp
	mov	QWORD PTR 8[rsp], rax
	call	BIO_copy_next_retry@PLT
	mov	r8, QWORD PTR 8[rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edi, DWORD PTR 28[rbx]
	xor	edx, edx
	mov	rsi, r12
	call	EVP_DigestInit_ex@PLT
	test	eax, eax
	je	.L19
	mov	esi, 1
	mov	rdi, rbp
	call	BIO_set_init@PLT
	mov	r8d, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L31:
	mov	rcx, r12
	mov	rdx, r14
	mov	esi, 136
	jmp	.L29
	.p2align 4,,10
	.p2align 3
.L33:
	mov	edi, DWORD PTR 28[rbx]
	call	EVP_MD_CTX_md@PLT
	mov	r8d, 1
	mov	QWORD PTR [r12], rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L32:
	mov	rdi, rbp
	call	block_out@PLT
	test	eax, eax
	jne	.L28
	jmp	.L19
	.cfi_endproc
.LFE0:
	.size	ok_ctrl, .-ok_ctrl
	.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_bio_ok.c_ok_ctrl.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ok_ctrl, %function
ok_ctrl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r1
	mov	r7, r3
	mov	r5, r0
	mov	r9, r2
	bl	BIO_get_data
	mov	r4, r0
	mov	r0, r5
	bl	BIO_next
	sub	r3, r6, #128
	mov	r8, r0
	cmp	r3, #8
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L7
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L7:
	ldr	r3, [r4, #24]
	cmp	r3, #0
	beq	.L2
	ldm	r4, {r3, r4}
	sub	r4, r3, r4
	cmp	r4, #0
	bgt	.L1
.L2:
	mov	r3, r7
	mov	r2, r9
	mov	r1, r6
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	BIO_ctrl
.L8:
	mov	r1, #0
	mov	ip, #1
	str	r1, [r4]
	str	r1, [r4, #4]
	str	r1, [r4, #32]
	str	r1, [r4, #28]
	str	r1, [r4, #12]
	str	r1, [r4, #24]
	mov	r3, r7
	mov	r2, r9
	str	ip, [r4, #8]
	str	ip, [r4, #16]
	mov	r1, #132
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	BIO_ctrl
.L3:
	ldr	r3, [r4, #8]
	cmp	r3, #0
	movle	r4, #1
	bgt	.L34
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	ldr	r4, [r4, #8]
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	ldr	r3, [r4, #24]
	cmp	r3, #0
	beq	.L35
.L19:
	mov	r2, #0
	mov	r0, r5
	mov	r1, r2
	bl	ok_write
	subs	r1, r0, #0
	blt	.L18
.L32:
	ldr	r3, [r4, #24]
	cmp	r3, #0
	bne	.L19
	mov	r1, #1
.L18:
	mov	lr, #1
	mov	ip, #0
	str	r1, [r4, #8]
	mov	r3, r7
	mov	r2, r9
	mov	r0, r8
	str	lr, [r4, #12]
	str	ip, [r4]
	str	ip, [r4, #4]
	mov	r1, #135
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	BIO_ctrl
.L10:
	mov	r0, r5
	bl	BIO_get_init
	cmp	r0, #0
	bne	.L36
.L20:
	mov	r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	mov	r0, r5
	bl	BIO_clear_retry_flags
	mov	r3, r7
	mov	r2, r9
	mov	r1, #130
	mov	r0, r8
	bl	BIO_ctrl
	mov	r4, r0
	mov	r0, r5
	bl	BIO_copy_next_retry
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	mov	r1, r7
	mov	r2, #0
	ldr	r0, [r4, #20]
	bl	EVP_DigestInit_ex
	cmp	r0, #0
	beq	.L20
	mov	r0, r5
	mov	r1, #1
	bl	BIO_set_init
	mov	r4, #1
	b	.L1
.L34:
	mov	r3, r7
	mov	r2, r9
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r1, #136
	b	BIO_ctrl
.L36:
	ldr	r0, [r4, #20]
	bl	EVP_MD_CTX_md
	mov	r4, #1
	str	r0, [r7]
	b	.L1
.L35:
	mov	r0, r5
	bl	block_out
	cmp	r0, #0
	bne	.L32
	b	.L20
	.size	ok_ctrl, .-ok_ctrl
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
