	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_DecryptUpdate              ## -- Begin function EVP_DecryptUpdate
	.p2align	4, 0x90
_EVP_DecryptUpdate:                     ## @EVP_DecryptUpdate
	.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
	cmpq	$0, 32(%rdi)
	je	LBB0_5
## %bb.1:
	movq	_EVP_F_EVP_DECRYPTUPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_INVALID_OPERATION@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	callq	_EVPerr
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	%r8d, %r12d
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	24(%rdi), %rax
	movl	(%rax), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_EVP_CIPH_FLAG_LENGTH_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVP_CIPHER_CTX_test_flags
	movl	%r12d, %edx
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leal	7(%r12), %eax
	leal	14(%r12), %edx
	testl	%eax, %eax
	cmovnsl	%eax, %edx
	sarl	$3, %edx
LBB0_7:
	movq	24(%rbx), %rax
	movq	_EVP_CIPH_FLAG_CUSTOM_CIPHER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_11
## %bb.8:
	cmpl	$1, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_16
## %bb.9:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_is_partially_overlapping
	testq	%rax, %rax
	je	LBB0_15
LBB0_10:
	movq	_EVP_F_EVP_DECRYPTUPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVP_R_PARTIALLY_OVERLAPPING@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_11:
	testl	%r12d, %r12d
	jle	LBB0_14
## %bb.12:
	movq	_EVP_CIPH_NO_PADDING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_19
## %bb.13:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	movl	%r12d, %r8d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_evp_EncryptDecryptUpdate       ## TAILCALL
LBB0_14:
	movl	$0, (%r14)
	sete	%al
	movzbl	%al, %eax
	jmp	LBB0_4
LBB0_15:
	movq	24(%rbx), %rax
LBB0_16:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movl	%r12d, %ecx
	callq	*8(%rax)
	testl	%eax, %eax
	js	LBB0_18
## %bb.17:
	movl	%eax, (%r14)
	movl	$1, %eax
	jmp	LBB0_4
LBB0_18:
	movl	$0, (%r14)
	jmp	LBB0_3
LBB0_19:
	xorl	%edi, %edi
	cmpl	$9, -48(%rbp)                   ## 4-byte Folded Reload
	setb	%dil
	callq	_OPENSSL_assert
	movl	4(%rbx), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_23
## %bb.20:
	cmpq	%r13, %r15
	je	LBB0_10
## %bb.21:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_is_partially_overlapping
	testq	%rax, %rax
	jne	LBB0_10
## %bb.22:
	movq	8(%rbx), %rsi
	movq	%r15, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	addq	-48(%rbp), %r15                 ## 8-byte Folded Reload
LBB0_23:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	movl	%r12d, %r8d
	callq	_evp_EncryptDecryptUpdate
	testl	%eax, %eax
	je	LBB0_3
## %bb.24:
	cmpl	$2, -48(%rbp)                   ## 4-byte Folded Reload
	jb	LBB0_26
## %bb.25:
	cmpl	$0, 16(%rbx)
	je	LBB0_30
LBB0_26:
	movl	$0, 4(%rbx)
LBB0_27:
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	$1, %eax
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.28:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%ecx, (%r14)
	jmp	LBB0_4
LBB0_30:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	subl	%edx, (%r14)
	movl	$1, 4(%rbx)
	movq	8(%rbx), %rdi
	movslq	(%r14), %rax
	addq	%rax, %r15
	movq	%r15, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_F_EVP_DECRYPTUPDATE,4,2    ## @EVP_F_EVP_DECRYPTUPDATE
	.comm	_EVP_R_INVALID_OPERATION,4,2    ## @EVP_R_INVALID_OPERATION
	.comm	_EVP_CIPH_FLAG_LENGTH_BITS,4,2  ## @EVP_CIPH_FLAG_LENGTH_BITS
	.comm	_EVP_CIPH_FLAG_CUSTOM_CIPHER,4,2 ## @EVP_CIPH_FLAG_CUSTOM_CIPHER
	.comm	_EVP_R_PARTIALLY_OVERLAPPING,4,2 ## @EVP_R_PARTIALLY_OVERLAPPING
	.comm	_EVP_CIPH_NO_PADDING,4,2        ## @EVP_CIPH_NO_PADDING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_DecryptUpdate              ; -- Begin function EVP_DecryptUpdate
	.p2align	2
_EVP_DecryptUpdate:                     ; @EVP_DecryptUpdate
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, #32]
	cbz	x8, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _EVP_F_EVP_DECRYPTUPDATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVP_F_EVP_DECRYPTUPDATE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _EVP_R_INVALID_OPERATION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_R_INVALID_OPERATION@GOTPAGEOFF]
LBB0_2:
	ldr	w1, [x8]
	bl	_EVPerr
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x22, x4
	mov	x24, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #24]
	ldr	w23, [x8]
Lloh5:
	adrp	x8, _EVP_CIPH_FLAG_LENGTH_BITS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EVP_CIPH_FLAG_LENGTH_BITS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_EVP_CIPHER_CTX_test_flags
	add	w8, w22, #7
	add	w9, w22, #14
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #3
	cmp	x0, #0
	csel	w2, w22, w8, eq
	ldr	x8, [x21, #24]
	ldr	w9, [x8, #4]
Lloh8:
	adrp	x10, _EVP_CIPH_FLAG_CUSTOM_CIPHER@GOTPAGE
Lloh9:
	ldr	x10, [x10, _EVP_CIPH_FLAG_CUSTOM_CIPHER@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.5:
	cmp	w23, #1
	b.ne	LBB0_13
; %bb.6:
	mov	x0, x20
	mov	x1, x24
	bl	_is_partially_overlapping
	cbz	x0, LBB0_12
LBB0_7:
Lloh11:
	adrp	x8, _EVP_F_EVP_DECRYPTUPDATE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EVP_F_EVP_DECRYPTUPDATE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _EVP_R_PARTIALLY_OVERLAPPING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EVP_R_PARTIALLY_OVERLAPPING@GOTPAGEOFF]
	b	LBB0_2
LBB0_8:
	cmp	w22, #0
	b.le	LBB0_11
; %bb.9:
	ldr	w8, [x21]
Lloh16:
	adrp	x9, _EVP_CIPH_NO_PADDING@GOTPAGE
Lloh17:
	ldr	x9, [x9, _EVP_CIPH_NO_PADDING@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.10:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x24
	mov	x4, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_evp_EncryptDecryptUpdate
LBB0_11:
	str	wzr, [x19]
	cset	w0, eq
	b	LBB0_3
LBB0_12:
	ldr	x8, [x21, #24]
LBB0_13:
	ldr	x8, [x8, #8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x24
	mov	x3, x22
	blr	x8
	tbnz	w0, #31, LBB0_16
; %bb.14:
	str	w0, [x19]
LBB0_15:
	mov	w0, #1
	b	LBB0_3
LBB0_16:
	mov	w0, #0
	str	wzr, [x19]
	b	LBB0_3
LBB0_17:
	cmp	w23, #9
	cset	w0, lo
	bl	_OPENSSL_assert
	ldr	w25, [x21, #4]
	cbz	w25, LBB0_21
; %bb.18:
	cmp	x20, x24
	b.eq	LBB0_7
; %bb.19:
	mov	x0, x20
	mov	x1, x24
	mov	x2, x23
	bl	_is_partially_overlapping
	cbnz	x0, LBB0_7
; %bb.20:
	ldr	x1, [x21, #8]
	mov	x0, x20
	mov	x2, x23
	bl	_memcpy
	add	x20, x20, x23
LBB0_21:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x24
	mov	x4, x22
	bl	_evp_EncryptDecryptUpdate
	cbz	w0, LBB0_3
; %bb.22:
	cmp	w23, #2
	b.lo	LBB0_24
; %bb.23:
	ldr	w8, [x21, #16]
	cbz	w8, LBB0_26
LBB0_24:
	str	wzr, [x21, #4]
	cbz	w25, LBB0_15
LBB0_25:
	ldr	w8, [x19]
	add	w8, w8, w23
	str	w8, [x19]
	b	LBB0_15
LBB0_26:
	ldr	w8, [x19]
	sub	w8, w8, w23
	str	w8, [x19]
	mov	w8, #1
	str	w8, [x21, #4]
	ldr	x0, [x21, #8]
	ldrsw	x8, [x19]
	add	x1, x20, x8
	mov	x2, x23
	bl	_memcpy
	cbnz	w25, LBB0_25
	b	LBB0_15
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_F_EVP_DECRYPTUPDATE,4,2    ; @EVP_F_EVP_DECRYPTUPDATE
	.comm	_EVP_R_INVALID_OPERATION,4,2    ; @EVP_R_INVALID_OPERATION
	.comm	_EVP_CIPH_FLAG_LENGTH_BITS,4,2  ; @EVP_CIPH_FLAG_LENGTH_BITS
	.comm	_EVP_CIPH_FLAG_CUSTOM_CIPHER,4,2 ; @EVP_CIPH_FLAG_CUSTOM_CIPHER
	.comm	_EVP_R_PARTIALLY_OVERLAPPING,4,2 ; @EVP_R_PARTIALLY_OVERLAPPING
	.comm	_EVP_CIPH_NO_PADDING,4,2        ; @EVP_CIPH_NO_PADDING
.subsections_via_symbols
