	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function des_cbc_cipher
_des_cbc_cipher:                        ## @des_cbc_cipher
	.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	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_EVP_CIPHER_CTX_get_cipher_data
	movq	8(%rax), %r12
	testq	%r12, %r12
	je	LBB0_1
## %bb.6:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_EVP_CIPHER_CTX_iv_noconst
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movq	%rax, %r8
	callq	*%r12
	jmp	LBB0_5
LBB0_1:
	movq	_EVP_MAXCHUNK@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, %rbx
	ja	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_EVP_CIPHER_CTX_get_cipher_data
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_EVP_CIPHER_CTX_iv_noconst
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_EVP_CIPHER_CTX_encrypting
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	movl	%eax, %r9d
	callq	_DES_ncbc_encrypt
	movq	_EVP_MAXCHUNK@GOTPCREL(%rip), %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rcx), %rbx
	subq	%rbx, %rax
	addq	%rbx, %r13
	addq	%rbx, %r15
	cmpq	%rbx, %rax
	jae	LBB0_2
LBB0_3:
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r14, %rbx
	movq	%r14, %rdi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_EVP_CIPHER_CTX_get_cipher_data
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_EVP_CIPHER_CTX_iv_noconst
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_EVP_CIPHER_CTX_encrypting
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	%r14, %r8
	movl	%eax, %r9d
	callq	_DES_ncbc_encrypt
LBB0_5:
	movl	$1, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_MAXCHUNK,8,3               ## @EVP_MAXCHUNK
	.no_dead_strip	_des_cbc_cipher
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function des_cbc_cipher
_des_cbc_cipher:                        ; @des_cbc_cipher
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	bl	_EVP_CIPHER_CTX_get_cipher_data
	ldr	x24, [x0, #8]
	cbz	x24, LBB0_2
; %bb.1:
	mov	x23, x0
	mov	x0, x22
	bl	_EVP_CIPHER_CTX_iv_noconst
	mov	x4, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x23
	blr	x24
	b	LBB0_6
LBB0_2:
Lloh0:
	adrp	x26, _EVP_MAXCHUNK@GOTPAGE
Lloh1:
	ldr	x26, [x26, _EVP_MAXCHUNK@GOTPAGEOFF]
	ldr	x23, [x26]
	cmp	x23, x19
	b.hi	LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_EVP_CIPHER_CTX_get_cipher_data
	mov	x24, x0
	mov	x0, x22
	bl	_EVP_CIPHER_CTX_iv_noconst
	mov	x25, x0
	mov	x0, x22
	bl	_EVP_CIPHER_CTX_encrypting
	mov	x5, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	mov	x3, x24
	mov	x4, x25
	bl	_DES_ncbc_encrypt
	ldr	x23, [x26]
	add	x21, x21, x23
	add	x20, x20, x23
	sub	x19, x19, x23
	cmp	x19, x23
	b.hs	LBB0_3
LBB0_4:
	cbz	x19, LBB0_6
; %bb.5:
	mov	x0, x22
	bl	_EVP_CIPHER_CTX_get_cipher_data
	mov	x23, x0
	mov	x0, x22
	bl	_EVP_CIPHER_CTX_iv_noconst
	mov	x24, x0
	mov	x0, x22
	bl	_EVP_CIPHER_CTX_encrypting
	mov	x5, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x3, x23
	mov	x4, x24
	bl	_DES_ncbc_encrypt
LBB0_6:
	mov	w0, #1
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_MAXCHUNK,8,3               ; @EVP_MAXCHUNK
	.no_dead_strip	_des_cbc_cipher
.subsections_via_symbols
