	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EVP_Update_loop_ccm
_EVP_Update_loop_ccm:                   ## @EVP_Update_loop_ccm
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	movq	(%rax), %r14
	movq	8(%rax), %r15
	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_4
## %bb.1:
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	_testnum@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_EVP_CTRL_AEAD_SET_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$12, %edx
	leaq	-60(%rbp), %rcx
	callq	_EVP_CIPHER_CTX_ctrl
	movq	_iv@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_EVP_DecryptInit_ex
	movq	_lengths@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %r8d
	movq	%r15, %rdi
	movq	%r14, %rsi
	leaq	-64(%rbp), %rdx
	movq	%r14, %rcx
	callq	_EVP_DecryptUpdate
	incl	%ebx
	movl	%r12d, %edi
	callq	_COND
	testq	%rax, %rax
	jne	LBB0_3
LBB0_7:
	movq	_decrypt@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:
	leaq	-64(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_EVP_DecryptFinal_ex
	jmp	LBB0_10
LBB0_4:
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ## =>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	%r15, %rdi
	xorl	%esi, %esi
	movl	%r12d, %r13d
	leaq	-64(%rbp), %r12
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_EVP_EncryptUpdate
	movq	_lengths@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_testnum@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r8d
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	%r13d, %r12d
	movq	%r14, %rcx
	callq	_EVP_EncryptUpdate
	incl	%ebx
	movl	%r13d, %edi
	callq	_COND
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_7
LBB0_9:
	leaq	-64(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_EVP_EncryptFinal_ex
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.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	_EVP_CTRL_AEAD_SET_TAG,4,2      ## @EVP_CTRL_AEAD_SET_TAG
	.comm	_iv,4,2                         ## @iv
	.no_dead_strip	_EVP_Update_loop_ccm
.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_ccm
_EVP_Update_loop_ccm:                   ; @EVP_Update_loop_ccm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x8, [x0]
	ldp	x19, x20, [x8]
Lloh3:
	adrp	x8, _save_count@GOTPAGE
Lloh4:
	ldr	x8, [x8, _save_count@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x24, _lengths@GOTPAGE
Lloh7:
	ldr	x24, [x24, _lengths@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	w10, [x9]
	mul	w8, w8, w10
	lsl	w8, w8, #2
Lloh8:
	adrp	x25, _testnum@GOTPAGE
Lloh9:
	ldr	x25, [x25, _testnum@GOTPAGEOFF]
	ldr	x10, [x25]
	ldr	w9, [x9, x10, lsl #2]
	sdiv	w22, w8, w9
Lloh10:
	adrp	x23, _decrypt@GOTPAGE
Lloh11:
	ldr	x23, [x23, _decrypt@GOTPAGEOFF]
	ldr	x21, [x23]
	mov	x0, x22
	bl	_COND
	cbz	x21, LBB0_4
; %bb.1:
	mov	w21, #0
	cbz	x0, LBB0_6
; %bb.2:
Lloh12:
	adrp	x26, _EVP_CTRL_AEAD_SET_TAG@GOTPAGE
Lloh13:
	ldr	x26, [x26, _EVP_CTRL_AEAD_SET_TAG@GOTPAGEOFF]
Lloh14:
	adrp	x27, _iv@GOTPAGE
Lloh15:
	ldr	x27, [x27, _iv@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26]
	add	x3, sp, #12
	mov	x0, x20
	mov	w2, #12
	bl	_EVP_CIPHER_CTX_ctrl
	ldr	w4, [x27]
	mov	x0, x20
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_EVP_DecryptInit_ex
	ldr	x8, [x24]
	ldr	x9, [x25]
	ldr	w4, [x8, x9, lsl #2]
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	x3, x19
	bl	_EVP_DecryptUpdate
	add	w21, w21, #1
	mov	x0, x22
	bl	_COND
	cbnz	x0, LBB0_3
	b	LBB0_6
LBB0_4:
	mov	w21, #0
	cbz	x0, LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	x9, [x25]
	ldr	w4, [x8, x9, lsl #2]
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, #0
	mov	x3, #0
	bl	_EVP_EncryptUpdate
	ldr	x8, [x24]
	ldr	x9, [x25]
	ldr	w4, [x8, x9, lsl #2]
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	x3, x19
	bl	_EVP_EncryptUpdate
	add	w21, w21, #1
	mov	x0, x22
	bl	_COND
	cbnz	x0, LBB0_5
LBB0_6:
	ldr	x8, [x23]
	cbz	x8, LBB0_8
; %bb.7:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_EVP_DecryptFinal_ex
	b	LBB0_9
LBB0_8:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_EVP_EncryptFinal_ex
LBB0_9:
	ldr	x8, [sp, #24]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.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	_EVP_CTRL_AEAD_SET_TAG,4,2      ; @EVP_CTRL_AEAD_SET_TAG
	.comm	_iv,4,2                         ; @iv
	.no_dead_strip	_EVP_Update_loop_ccm
.subsections_via_symbols
