	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function des_ede3_unwrap
_des_ede3_unwrap:                       ## @des_ede3_unwrap
	.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	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TDES_IVLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	_SHA_DIGEST_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	movl	$-1, %ebx
	cmpq	$24, %r15
	jb	LBB0_8
## %bb.1:
	testq	%r14, %r14
	je	LBB0_2
## %bb.3:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rdi
	movq	_wrap_iv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edx
	callq	_memcpy
	movq	8(%r13), %rax
	leaq	-56(%rbp), %rsi
	movq	%r13, %rdi
	movq	%r12, %rdx
	movl	$8, %ecx
	callq	*(%rax)
	cmpq	%r12, %r14
	jne	LBB0_5
## %bb.4:
	leaq	8(%r14), %rsi
	leaq	-8(%r15), %rdx
	movq	%r14, %rdi
	callq	_memmove
	leaq	-8(%r14), %r12
LBB0_5:
	movq	8(%r13), %rax
	leaq	8(%r12), %rdx
	leaq	-16(%r15), %rbx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%ebx, %ecx
	callq	*(%rax)
	movq	8(%r13), %rax
	leaq	(%r12,%r15), %rdx
	addq	$-8, %rdx
	movq	%r13, %rdi
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	$8, %ecx
	callq	*(%rax)
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_BUF_reverse
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_BUF_reverse
	movq	(%r13), %rdi
	movq	%r12, %rsi
	movl	$8, %edx
	callq	_BUF_reverse
	movq	8(%r13), %rax
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r14, %rdx
	movl	%ebx, %ecx
	callq	*(%rax)
	movq	8(%r13), %rax
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r15, %rdx
	movl	$8, %ecx
	callq	*(%rax)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_SHA1
	movq	%r15, %rdi
	leaq	-56(%rbp), %rsi
	movl	$8, %edx
	callq	_CRYPTO_memcmp
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	$8, %esi
	leaq	-56(%rbp), %rdi
	callq	_OPENSSL_cleanse
	movq	_SHA_DIGEST_LENGTH@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_OPENSSL_cleanse
	movl	$8, %esi
	movq	%r12, %rdi
	callq	_OPENSSL_cleanse
	movq	(%r13), %rdi
	movl	$8, %esi
	callq	_OPENSSL_cleanse
	cmpl	$-1, %ebx
	je	LBB0_7
## %bb.6:
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
LBB0_7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_OPENSSL_cleanse
	movl	$-1, %ebx
	jmp	LBB0_8
LBB0_2:
	addl	$-16, %r15d
	movl	%r15d, %ebx
LBB0_8:
	movq	-88(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TDES_IVLEN,4,2                 ## @TDES_IVLEN
	.comm	_SHA_DIGEST_LENGTH,4,2          ## @SHA_DIGEST_LENGTH
	.comm	_wrap_iv,4,2                    ## @wrap_iv
	.no_dead_strip	_des_ede3_unwrap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function des_ede3_unwrap
_des_ede3_unwrap:                       ; @des_ede3_unwrap
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x24, x3
	mov	x25, x2
	mov	x19, x1
	mov	x20, x0
	mov	x26, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _TDES_IVLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TDES_IVLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x27, _SHA_DIGEST_LENGTH@GOTPAGE
Lloh9:
	ldr	x27, [x27, _SHA_DIGEST_LENGTH@GOTPAGEOFF]
	ldr	w8, [x27]
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	cmp	x3, #24
	b.lo	LBB0_7
; %bb.1:
	cbz	x19, LBB0_8
; %bb.2:
	ldr	x0, [x20]
Lloh12:
	adrp	x8, _wrap_iv@GOTPAGE
Lloh13:
	ldr	x8, [x8, _wrap_iv@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	w2, #8
	bl	_memcpy
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	sub	x1, x29, #96
	mov	x0, x20
	mov	x2, x25
	mov	w3, #8
	blr	x8
	cmp	x19, x25
	b.ne	LBB0_4
; %bb.3:
	add	x1, x19, #8
	sub	x2, x24, #8
	mov	x0, x19
	bl	_memmove
	sub	x25, x19, #8
LBB0_4:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	add	x2, x25, #8
	sub	x23, x24, #16
	mov	x0, x20
	mov	x1, x19
	mov	x3, x23
	blr	x8
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	add	x9, x25, x24
	sub	x2, x9, #8
	mov	x0, x20
	mov	x1, x21
	mov	w3, #8
	blr	x8
	sub	x0, x29, #96
	mov	x1, #0
	mov	w2, #8
	bl	_BUF_reverse
	mov	x0, x19
	mov	x1, #0
	mov	x2, x23
	bl	_BUF_reverse
	ldr	x0, [x20]
	mov	x1, x21
	mov	w2, #8
	bl	_BUF_reverse
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x19
	mov	x3, x23
	blr	x8
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	sub	x1, x29, #96
	sub	x2, x29, #96
	mov	x0, x20
	mov	w3, #8
	blr	x8
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	bl	_SHA1
	sub	x1, x29, #96
	mov	x0, x22
	mov	w2, #8
	bl	_CRYPTO_memcmp
	mov	x24, x0
	sub	x0, x29, #96
	mov	w1, #8
	bl	_OPENSSL_cleanse
	ldrsw	x1, [x27]
	mov	x0, x22
	bl	_OPENSSL_cleanse
	mov	x0, x21
	mov	w1, #8
	bl	_OPENSSL_cleanse
	ldr	x0, [x20]
	mov	w1, #8
	bl	_OPENSSL_cleanse
	cmn	w23, #1
	b.eq	LBB0_6
; %bb.5:
	cbz	w24, LBB0_9
LBB0_6:
	mov	x0, x19
	mov	x1, x23
	bl	_OPENSSL_cleanse
LBB0_7:
	mov	w23, #-1
	b	LBB0_9
LBB0_8:
	sub	w23, w24, #16
LBB0_9:
	mov	sp, x26
	ldur	x8, [x29, #-88]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x23
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	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 AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TDES_IVLEN,4,2                 ; @TDES_IVLEN
	.comm	_SHA_DIGEST_LENGTH,4,2          ; @SHA_DIGEST_LENGTH
	.comm	_wrap_iv,4,2                    ; @wrap_iv
	.no_dead_strip	_des_ede3_unwrap
.subsections_via_symbols
