	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function des_ede3_wrap
_des_ede3_wrap:                         ## @des_ede3_wrap
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SHA_DIGEST_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_TDES_IVLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leaq	(%rbx,%r14), %rcx
	leaq	(%rcx,%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leaq	(%r12,%rbx), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_memmove
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_SHA1
	addq	%r12, %r14
	addq	%rbx, %r14
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	movq	_SHA_DIGEST_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_OPENSSL_cleanse
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	16(%r15), %edi
	movq	(%r15), %rsi
	movq	%rbx, %rdx
	callq	_rand_bytes_ex
	testq	%rax, %rax
	jle	LBB0_3
## %bb.4:
	movq	(%r15), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_memcpy
	movq	8(%r15), %rax
	movq	%r15, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, %rsi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	callq	*(%rax)
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_BUF_reverse
	movq	(%r15), %rdi
	movq	_wrap_iv@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	movq	8(%r15), %rax
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r12, %rdx
	movq	%r14, %rcx
	callq	*(%rax)
	jmp	LBB0_5
LBB0_1:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_5
LBB0_3:
	xorl	%r14d, %r14d
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA_DIGEST_LENGTH,4,2          ## @SHA_DIGEST_LENGTH
	.comm	_TDES_IVLEN,8,3                 ## @TDES_IVLEN
	.comm	_wrap_iv,8,3                    ## @wrap_iv
	.no_dead_strip	_des_ede3_wrap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function des_ede3_wrap
_des_ede3_wrap:                         ; @des_ede3_wrap
	.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	x25, x3
	mov	x27, x2
	mov	x20, x1
	mov	x21, x0
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	x28, _SHA_DIGEST_LENGTH@GOTPAGE
Lloh4:
	ldr	x28, [x28, _SHA_DIGEST_LENGTH@GOTPAGEOFF]
	ldr	w8, [x28]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x26, x9, x8
	mov	sp, x26
Lloh7:
	adrp	x8, _TDES_IVLEN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TDES_IVLEN@GOTPAGEOFF]
Lloh9:
	ldr	x22, [x8]
	add	x23, x22, x3
	add	x19, x23, x22
	cbz	x1, LBB0_4
; %bb.1:
	add	x24, x20, x22
	mov	x0, x24
	mov	x1, x27
	mov	x2, x25
	bl	_memmove
	mov	x0, x27
	mov	x1, x25
	mov	x2, x26
	bl	_SHA1
	add	x8, x20, x25
	add	x0, x8, x22
	mov	x1, x26
	mov	x2, x22
	bl	_memcpy
	ldr	w1, [x28]
	mov	x0, x26
	bl	_OPENSSL_cleanse
	ldr	w0, [x21, #16]
	ldr	x1, [x21]
	mov	x2, x22
	bl	_rand_bytes_ex
	cmp	x0, #1
	b.lt	LBB0_3
; %bb.2:
	ldr	x1, [x21]
	mov	x0, x20
	mov	x2, x22
	bl	_memcpy
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	mov	x0, x21
	mov	x1, x24
	mov	x2, x24
	mov	x3, x23
	blr	x8
	mov	x0, x20
	mov	x1, #0
	mov	x2, x19
	bl	_BUF_reverse
	ldr	x0, [x21]
Lloh10:
	adrp	x8, _wrap_iv@GOTPAGE
Lloh11:
	ldr	x8, [x8, _wrap_iv@GOTPAGEOFF]
Lloh12:
	ldr	x1, [x8]
	mov	x2, x22
	bl	_memcpy
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x20
	mov	x3, x19
	blr	x8
	b	LBB0_4
LBB0_3:
	mov	w19, #0
LBB0_4:
	ldur	x8, [x29, #-88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	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_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA_DIGEST_LENGTH,4,2          ; @SHA_DIGEST_LENGTH
	.comm	_TDES_IVLEN,8,3                 ; @TDES_IVLEN
	.comm	_wrap_iv,8,3                    ; @wrap_iv
	.no_dead_strip	_des_ede3_wrap
.subsections_via_symbols
