	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fixup_des3_key
_fixup_des3_key:                        ## @fixup_des3_key
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	16(%rdi), %r14
	leaq	14(%rdi), %rsi
	movq	%r14, %rdi
	movl	$7, %edx
	callq	_memmove
	movb	16(%rbx), %al
	movb	17(%rbx), %cl
	addb	%al, %al
	andb	$2, %al
	shlb	$2, %cl
	andb	$4, %cl
	orb	%al, %cl
	movb	18(%rbx), %al
	shlb	$3, %al
	andb	$8, %al
	orb	%cl, %al
	movb	19(%rbx), %cl
	shlb	$4, %cl
	andb	$16, %cl
	orb	%al, %cl
	movb	20(%rbx), %al
	shlb	$5, %al
	andb	$32, %al
	orb	%cl, %al
	movb	21(%rbx), %cl
	shlb	$6, %cl
	andb	$64, %cl
	orb	%al, %cl
	movb	22(%rbx), %al
	shlb	$7, %al
	orb	%cl, %al
	movb	%al, 23(%rbx)
	movq	%r14, %rdi
	callq	_DES_set_odd_parity
	leaq	8(%rbx), %r15
	leaq	7(%rbx), %rsi
	movq	%r15, %rdi
	movl	$7, %edx
	callq	_memmove
	movb	8(%rbx), %al
	movb	9(%rbx), %cl
	addb	%al, %al
	andb	$2, %al
	shlb	$2, %cl
	andb	$4, %cl
	orb	%al, %cl
	movb	10(%rbx), %al
	shlb	$3, %al
	andb	$8, %al
	orb	%cl, %al
	movb	11(%rbx), %cl
	shlb	$4, %cl
	andb	$16, %cl
	orb	%al, %cl
	movb	12(%rbx), %al
	shlb	$5, %al
	andb	$32, %al
	orb	%cl, %al
	movb	13(%rbx), %cl
	shlb	$6, %cl
	andb	$64, %cl
	orb	%al, %cl
	movb	14(%rbx), %al
	shlb	$7, %al
	orb	%cl, %al
	movb	%al, 15(%rbx)
	movq	%r15, %rdi
	callq	_DES_set_odd_parity
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movl	$7, %edx
	callq	_memmove
	movb	(%rbx), %al
	movb	1(%rbx), %cl
	addb	%al, %al
	andb	$2, %al
	shlb	$2, %cl
	andb	$4, %cl
	orb	%al, %cl
	movb	2(%rbx), %al
	shlb	$3, %al
	andb	$8, %al
	orb	%cl, %al
	movb	3(%rbx), %cl
	shlb	$4, %cl
	andb	$16, %cl
	orb	%al, %cl
	movb	4(%rbx), %al
	shlb	$5, %al
	andb	$32, %al
	orb	%cl, %al
	movb	5(%rbx), %cl
	shlb	$6, %cl
	andb	$64, %cl
	orb	%al, %cl
	movb	6(%rbx), %al
	shlb	$7, %al
	orb	%cl, %al
	movb	%al, 7(%rbx)
	movq	%rbx, %rdi
	callq	_DES_set_odd_parity
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_CRYPTO_memcmp
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_CRYPTO_memcmp
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fixup_des3_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fixup_des3_key
_fixup_des3_key:                        ; @fixup_des3_key
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	add	x19, x0, #16
	add	x1, x0, #14
	mov	x0, x19
	mov	w2, #7
	bl	_memmove
	ldrb	w8, [x20, #16]
	ldrb	w9, [x20, #17]
	ubfiz	w9, w9, #2, #1
	bfi	w9, w8, #1, #1
	ldrb	w8, [x20, #18]
	bfi	w9, w8, #3, #1
	ldrb	w8, [x20, #19]
	bfi	w9, w8, #4, #1
	ldrb	w8, [x20, #20]
	bfi	w9, w8, #5, #1
	ldrb	w8, [x20, #21]
	bfi	w9, w8, #6, #1
	ldrb	w8, [x20, #22]
	bfi	w9, w8, #7, #25
	strb	w9, [x20, #23]
	mov	x0, x19
	bl	_DES_set_odd_parity
	add	x21, x20, #8
	add	x1, x20, #7
	mov	x0, x21
	mov	w2, #7
	bl	_memmove
	ldrb	w8, [x20, #8]
	ldrb	w9, [x20, #9]
	ubfiz	w9, w9, #2, #1
	bfi	w9, w8, #1, #1
	ldrb	w8, [x20, #10]
	bfi	w9, w8, #3, #1
	ldrb	w8, [x20, #11]
	bfi	w9, w8, #4, #1
	ldrb	w8, [x20, #12]
	bfi	w9, w8, #5, #1
	ldrb	w8, [x20, #13]
	bfi	w9, w8, #6, #1
	ldrb	w8, [x20, #14]
	bfi	w9, w8, #7, #25
	strb	w9, [x20, #15]
	mov	x0, x21
	bl	_DES_set_odd_parity
	mov	x0, x20
	mov	x1, x20
	mov	w2, #7
	bl	_memmove
	ldrb	w8, [x20]
	ldrb	w9, [x20, #1]
	ubfiz	w9, w9, #2, #1
	bfi	w9, w8, #1, #1
	ldrb	w8, [x20, #2]
	bfi	w9, w8, #3, #1
	ldrb	w8, [x20, #3]
	bfi	w9, w8, #4, #1
	ldrb	w8, [x20, #4]
	bfi	w9, w8, #5, #1
	ldrb	w8, [x20, #5]
	bfi	w9, w8, #6, #1
	ldrb	w8, [x20, #6]
	bfi	w9, w8, #7, #25
	strb	w9, [x20, #7]
	mov	x0, x20
	bl	_DES_set_odd_parity
	mov	x0, x20
	mov	x1, x21
	mov	w2, #8
	bl	_CRYPTO_memcmp
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x19
	mov	w2, #8
	bl	_CRYPTO_memcmp
	cmp	x0, #0
	cset	w0, ne
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fixup_des3_key
.subsections_via_symbols
