	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EVP_Update_loop
_EVP_Update_loop:                       ## @EVP_Update_loop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	(%rax), %r15
	movq	8(%rax), %r14
	movq	_save_count@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_lengths@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	imull	(%rcx), %eax
	shll	$2, %eax
	movq	_testnum@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	cltd
	idivl	(%rcx,%rsi,4)
	movl	%eax, %r12d
	movq	_decrypt@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%r12d, %edi
	callq	_COND
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	leaq	-44(%rbp), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	movl	%r12d, %edi
	callq	_COND
	testq	%rax, %rax
	je	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_lengths@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_testnum@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r8d
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	callq	_EVP_DecryptUpdate
	cmpl	$1, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_iv@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$-1, %r9d
	callq	_EVP_CipherInit_ex
	jmp	LBB0_5
LBB0_6:
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	leaq	-44(%rbp), %r13
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	incl	%ebx
	movl	%r12d, %edi
	callq	_COND
	testq	%rax, %rax
	je	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	_lengths@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_testnum@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r8d
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	callq	_EVP_EncryptUpdate
	cmpl	$1, %eax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	_iv@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$-1, %r9d
	callq	_EVP_CipherInit_ex
	jmp	LBB0_10
LBB0_11:
	movq	_decrypt@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.12:
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_EVP_DecryptFinal_ex
	jmp	LBB0_14
LBB0_13:
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_EVP_EncryptFinal_ex
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_save_count,4,2                 ## @save_count
	.comm	_lengths,8,3                    ## @lengths
	.comm	_testnum,8,3                    ## @testnum
	.comm	_decrypt,8,3                    ## @decrypt
	.comm	_iv,4,2                         ## @iv
	.no_dead_strip	_EVP_Update_loop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function EVP_Update_loop
_EVP_Update_loop:                       ; @EVP_Update_loop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x0]
	ldp	x19, x20, [x8]
Lloh0:
	adrp	x8, _save_count@GOTPAGE
Lloh1:
	ldr	x8, [x8, _save_count@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x24, _lengths@GOTPAGE
Lloh4:
	ldr	x24, [x24, _lengths@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	w10, [x9]
	mul	w8, w8, w10
	lsl	w8, w8, #2
Lloh5:
	adrp	x25, _testnum@GOTPAGE
Lloh6:
	ldr	x25, [x25, _testnum@GOTPAGEOFF]
	ldr	x10, [x25]
	ldr	w9, [x9, x10, lsl #2]
	sdiv	w22, w8, w9
Lloh7:
	adrp	x23, _decrypt@GOTPAGE
Lloh8:
	ldr	x23, [x23, _decrypt@GOTPAGEOFF]
	ldr	x21, [x23]
	mov	x0, x22
	bl	_COND
	cbz	x21, LBB0_6
; %bb.1:
	mov	w21, #0
	cbz	x0, LBB0_11
; %bb.2:
Lloh9:
	adrp	x26, _iv@GOTPAGE
Lloh10:
	ldr	x26, [x26, _iv@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, #1
	mov	x0, x22
	bl	_COND
	cbz	x0, LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	x9, [x25]
	ldr	w4, [x8, x9, lsl #2]
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	x3, x19
	bl	_EVP_DecryptUpdate
	cmp	w0, #1
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w4, [x26]
	mov	x0, x20
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	w5, #-1
	bl	_EVP_CipherInit_ex
	b	LBB0_3
LBB0_6:
	mov	w21, #0
	cbz	x0, LBB0_11
; %bb.7:
Lloh11:
	adrp	x26, _iv@GOTPAGE
Lloh12:
	ldr	x26, [x26, _iv@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	w21, w21, #1
	mov	x0, x22
	bl	_COND
	cbz	x0, LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	x9, [x25]
	ldr	w4, [x8, x9, lsl #2]
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	x3, x19
	bl	_EVP_EncryptUpdate
	cmp	w0, #1
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w4, [x26]
	mov	x0, x20
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	w5, #-1
	bl	_EVP_CipherInit_ex
	b	LBB0_8
LBB0_11:
	ldr	x8, [x23]
	cbz	x8, LBB0_13
; %bb.12:
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_EVP_DecryptFinal_ex
	b	LBB0_14
LBB0_13:
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_EVP_EncryptFinal_ex
LBB0_14:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_save_count,4,2                 ; @save_count
	.comm	_lengths,8,3                    ; @lengths
	.comm	_testnum,8,3                    ; @testnum
	.comm	_decrypt,8,3                    ; @decrypt
	.comm	_iv,4,2                         ; @iv
	.no_dead_strip	_EVP_Update_loop
.subsections_via_symbols
