	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aead_do_decrypt
_aead_do_decrypt:                       ## @aead_do_decrypt
	.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	8(%rdi), %rax
	movq	(%rax), %r15
	cmpq	%rcx, %r15
	ja	LBB0_1
## %bb.2:
	movq	%r9, %r14
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rdi, %rbx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_EVP_DecryptInit_ex
	movl	%eax, %edi
	callq	_assert
	movq	16(%rbp), %r8
	testq	%r8, %r8
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %edi
	leaq	-44(%rbp), %rdx
	xorl	%esi, %esi
	movq	%r14, %rcx
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_EVP_DecryptUpdate
	movl	%eax, %edi
	callq	_assert
LBB0_4:
	movl	(%rbx), %edi
	movl	%r12d, %r8d
	subl	%r15d, %r8d
	leaq	-44(%rbp), %rdx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r13, %rcx
	callq	_EVP_DecryptUpdate
	movl	%eax, %edi
	callq	_assert
	movslq	-44(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	movq	_EVP_CTRL_GCM_SET_TAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	(,%r12,4), %rcx
	addq	%r13, %rcx
	movq	%r15, %rax
	shlq	$2, %rax
	subq	%rax, %rcx
	movl	%r15d, %edx
	callq	_EVP_CIPHER_CTX_ctrl
	testl	%eax, %eax
	je	LBB0_1
## %bb.5:
	movl	(%rbx), %edi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%r14,%rbx,4), %rsi
	leaq	-44(%rbp), %rdx
	callq	_EVP_DecryptFinal_ex
	testl	%eax, %eax
	je	LBB0_1
## %bb.6:
	movslq	-44(%rbp), %rax
	addq	%rbx, %rax
	jmp	LBB0_7
LBB0_1:
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIZE_MAX,8,3                   ## @SIZE_MAX
	.comm	_EVP_CTRL_GCM_SET_TAG,4,2       ## @EVP_CTRL_GCM_SET_TAG
	.no_dead_strip	_aead_do_decrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aead_do_decrypt
_aead_do_decrypt:                       ; @aead_do_decrypt
	.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, #8]
	ldr	x22, [x8]
	cmp	x22, x3
	b.hi	LBB0_6
; %bb.1:
	mov	x24, x6
	mov	x25, x5
	mov	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_EVP_DecryptInit_ex
	bl	_assert
	cbz	x24, LBB0_3
; %bb.2:
	ldr	w0, [x20]
	add	x2, sp, #12
	mov	x1, #0
	mov	x3, x25
	mov	x4, x24
	bl	_EVP_DecryptUpdate
	bl	_assert
LBB0_3:
	ldr	w0, [x20]
	sub	w4, w21, w22
	add	x2, sp, #12
	mov	x1, x19
	mov	x3, x23
	bl	_EVP_DecryptUpdate
	bl	_assert
	ldrsw	x24, [sp, #12]
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _EVP_CTRL_GCM_SET_TAG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVP_CTRL_GCM_SET_TAG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x8, x23, x21, lsl #2
	sub	x3, x8, x22, lsl #2
	mov	x2, x22
	bl	_EVP_CIPHER_CTX_ctrl
	cbz	w0, LBB0_6
; %bb.4:
	ldr	w0, [x20]
	add	x1, x19, x24, lsl #2
	add	x2, sp, #12
	bl	_EVP_DecryptFinal_ex
	cbz	w0, LBB0_6
; %bb.5:
	ldrsw	x8, [sp, #12]
	add	x0, x8, x24
	b	LBB0_7
LBB0_6:
Lloh3:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
LBB0_7:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SIZE_MAX,8,3                   ; @SIZE_MAX
	.comm	_EVP_CTRL_GCM_SET_TAG,4,2       ; @EVP_CTRL_GCM_SET_TAG
	.no_dead_strip	_aead_do_decrypt
.subsections_via_symbols
