	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function EVP_Update_loop_aead
_EVP_Update_loop_aead:                  ## @EVP_Update_loop_aead
	.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	$56, %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), %r12
	movq	l___const.EVP_Update_loop_aead.aad+5(%rip), %rax
	movq	%rax, -59(%rbp)
	movq	l___const.EVP_Update_loop_aead.aad(%rip), %rax
	movq	%rax, -64(%rbp)
	movaps	L___const.EVP_Update_loop_aead.faketag(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	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, %r15d
	movq	_decrypt@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%r15d, %edi
	callq	_COND
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	leaq	-84(%rbp), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_iv@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_EVP_DecryptInit_ex
	movq	_EVP_CTRL_AEAD_SET_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$16, %edx
	leaq	-80(%rbp), %rcx
	callq	_EVP_CIPHER_CTX_ctrl
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	leaq	-64(%rbp), %rcx
	movl	$13, %r8d
	callq	_EVP_DecryptUpdate
	movq	_lengths@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_testnum@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r8d
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_EVP_DecryptUpdate
	movslq	-84(%rbp), %rsi
	addq	%r14, %rsi
	movq	%r12, %rdi
	movq	%r13, %rdx
	callq	_EVP_DecryptFinal_ex
	incl	%ebx
	movl	%r15d, %edi
	callq	_COND
	testq	%rax, %rax
	jne	LBB0_3
	jmp	LBB0_7
LBB0_4:
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	leaq	-84(%rbp), %r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	_iv@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_EVP_EncryptInit_ex
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	leaq	-64(%rbp), %rcx
	movl	$13, %r8d
	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	%r12, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%r14, %rcx
	callq	_EVP_EncryptUpdate
	movslq	-84(%rbp), %rsi
	addq	%r14, %rsi
	movq	%r12, %rdi
	movq	%r13, %rdx
	callq	_EVP_EncryptFinal_ex
	incl	%ebx
	movl	%r15d, %edi
	callq	_COND
	testq	%rax, %rax
	jne	LBB0_6
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
l___const.EVP_Update_loop_aead.aad:     ## @__const.EVP_Update_loop_aead.aad
	.byte	204                             ## 0xcc
	.space	12

	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @__const.EVP_Update_loop_aead.faketag
L___const.EVP_Update_loop_aead.faketag:
	.byte	204                             ## 0xcc
	.space	15

	.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
	.comm	_EVP_CTRL_AEAD_SET_TAG,4,2      ## @EVP_CTRL_AEAD_SET_TAG
	.no_dead_strip	_EVP_Update_loop_aead
.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_aead
_EVP_Update_loop_aead:                  ; @EVP_Update_loop_aead
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldr	x8, [x0]
	ldp	x19, x20, [x8]
Lloh3:
	adrp	x8, l___const.EVP_Update_loop_aead.aad@PAGE
Lloh4:
	add	x8, x8, l___const.EVP_Update_loop_aead.aad@PAGEOFF
	ldr	x9, [x8]
	str	x9, [sp, #40]
	ldur	x8, [x8, #5]
	stur	x8, [sp, #45]
Lloh5:
	adrp	x8, l___const.EVP_Update_loop_aead.faketag@PAGE
Lloh6:
	add	x8, x8, l___const.EVP_Update_loop_aead.faketag@PAGEOFF
Lloh7:
	ldr	q0, [x8]
	str	q0, [sp, #16]
Lloh8:
	adrp	x8, _save_count@GOTPAGE
Lloh9:
	ldr	x8, [x8, _save_count@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x23, _lengths@GOTPAGE
Lloh12:
	ldr	x23, [x23, _lengths@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	w10, [x9]
	mul	w8, w8, w10
	lsl	w8, w8, #2
Lloh13:
	adrp	x24, _testnum@GOTPAGE
Lloh14:
	ldr	x24, [x24, _testnum@GOTPAGEOFF]
	ldr	x10, [x24]
	ldr	w9, [x9, x10, lsl #2]
	sdiv	w21, w8, w9
Lloh15:
	adrp	x8, _decrypt@GOTPAGE
Lloh16:
	ldr	x8, [x8, _decrypt@GOTPAGEOFF]
Lloh17:
	ldr	x22, [x8]
	mov	x0, x21
	bl	_COND
	cbz	x22, LBB0_4
; %bb.1:
	mov	w22, #0
	cbz	x0, LBB0_7
; %bb.2:
Lloh18:
	adrp	x25, _iv@GOTPAGE
Lloh19:
	ldr	x25, [x25, _iv@GOTPAGEOFF]
Lloh20:
	adrp	x26, _EVP_CTRL_AEAD_SET_TAG@GOTPAGE
Lloh21:
	ldr	x26, [x26, _EVP_CTRL_AEAD_SET_TAG@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w4, [x25]
	mov	x0, x20
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_EVP_DecryptInit_ex
	ldr	w1, [x26]
	add	x3, sp, #16
	mov	x0, x20
	mov	w2, #16
	bl	_EVP_CIPHER_CTX_ctrl
	add	x2, sp, #12
	add	x3, sp, #40
	mov	x0, x20
	mov	x1, #0
	mov	w4, #13
	bl	_EVP_DecryptUpdate
	ldr	x8, [x23]
	ldr	x9, [x24]
	ldr	w4, [x8, x9, lsl #2]
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	x3, x19
	bl	_EVP_DecryptUpdate
	ldrsw	x8, [sp, #12]
	add	x1, x19, x8
	add	x2, sp, #12
	mov	x0, x20
	bl	_EVP_DecryptFinal_ex
	add	w22, w22, #1
	mov	x0, x21
	bl	_COND
	cbnz	x0, LBB0_3
	b	LBB0_7
LBB0_4:
	mov	w22, #0
	cbz	x0, LBB0_7
; %bb.5:
Lloh22:
	adrp	x25, _iv@GOTPAGE
Lloh23:
	ldr	x25, [x25, _iv@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w4, [x25]
	mov	x0, x20
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_EVP_EncryptInit_ex
	add	x2, sp, #12
	add	x3, sp, #40
	mov	x0, x20
	mov	x1, #0
	mov	w4, #13
	bl	_EVP_EncryptUpdate
	ldr	x8, [x23]
	ldr	x9, [x24]
	ldr	w4, [x8, x9, lsl #2]
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	x3, x19
	bl	_EVP_EncryptUpdate
	ldrsw	x8, [sp, #12]
	add	x1, x19, x8
	add	x2, sp, #12
	mov	x0, x20
	bl	_EVP_EncryptFinal_ex
	add	w22, w22, #1
	mov	x0, x21
	bl	_COND
	cbnz	x0, LBB0_6
LBB0_7:
	ldr	x8, [sp, #56]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x22
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAddLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l___const.EVP_Update_loop_aead.aad:     ; @__const.EVP_Update_loop_aead.aad
	.byte	204                             ; 0xcc
	.space	12

	.section	__TEXT,__literal16,16byte_literals
l___const.EVP_Update_loop_aead.faketag: ; @__const.EVP_Update_loop_aead.faketag
	.byte	204                             ; 0xcc
	.space	15

	.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
	.comm	_EVP_CTRL_AEAD_SET_TAG,4,2      ; @EVP_CTRL_AEAD_SET_TAG
	.no_dead_strip	_EVP_Update_loop_aead
.subsections_via_symbols
