	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function des3_ede_setkey
_des3_ede_setkey:                       ## @des3_ede_setkey
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_crypto_tfm_ctx
	movl	8(%rbx), %ecx
	movl	12(%rbx), %edx
	cmpl	%ecx, (%rbx)
	jne	LBB0_2
## %bb.1:
	movl	$1, %edi
	cmpl	%edx, 4(%rbx)
	je	LBB0_3
LBB0_2:
	xorl	16(%rbx), %ecx
	xorl	20(%rbx), %edx
	xorl	%edi, %edi
	orl	%ecx, %edx
	sete	%dil
LBB0_3:
	movq	(%rax), %r15
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	(%r14), %eax
	movq	_CRYPTO_TFM_REQ_WEAK_KEY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movq	_CRYPTO_TFM_RES_WEAK_KEY@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r14)
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_des_ekey
	movq	_DES_EXPKEY_WORDS@GOTPCREL(%rip), %r12
	movslq	(%r12), %rax
	leaq	(%r15,%rax,4), %r14
	movq	_DES_KEY_SIZE@GOTPCREL(%rip), %r15
	movslq	(%r15), %rax
	leaq	(%rbx,%rax,4), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dkey
	movslq	(%r12), %rax
	leaq	(%r14,%rax,4), %rdi
	movslq	(%r15), %rax
	leaq	(%rbx,%rax,4), %rsi
	callq	_des_ekey
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO_TFM_REQ_WEAK_KEY,4,2    ## @CRYPTO_TFM_REQ_WEAK_KEY
	.comm	_CRYPTO_TFM_RES_WEAK_KEY,4,2    ## @CRYPTO_TFM_RES_WEAK_KEY
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DES_EXPKEY_WORDS,4,2           ## @DES_EXPKEY_WORDS
	.comm	_DES_KEY_SIZE,4,2               ## @DES_KEY_SIZE
	.no_dead_strip	_des3_ede_setkey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function des3_ede_setkey
_des3_ede_setkey:                       ; @des3_ede_setkey
	.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	x19, x1
	mov	x20, x0
	bl	_crypto_tfm_ctx
	ldp	w10, w11, [x19]
	ldp	w9, w8, [x19, #8]
	cmp	w10, w9
	ccmp	w11, w8, #0, eq
	b.eq	LBB0_2
; %bb.1:
	ldp	w10, w11, [x19, #16]
	cmp	w9, w10
	ccmp	w8, w11, #0, eq
	cset	w8, eq
	b	LBB0_3
LBB0_2:
	mov	w8, #1
LBB0_3:
	ldr	x21, [x0]
	mov	x0, x8
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _CRYPTO_TFM_REQ_WEAK_KEY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CRYPTO_TFM_REQ_WEAK_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh3:
	adrp	x9, _CRYPTO_TFM_RES_WEAK_KEY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CRYPTO_TFM_RES_WEAK_KEY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20]
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_6:
	mov	x0, x21
	mov	x1, x19
	bl	_des_ekey
Lloh9:
	adrp	x22, _DES_EXPKEY_WORDS@GOTPAGE
Lloh10:
	ldr	x22, [x22, _DES_EXPKEY_WORDS@GOTPAGEOFF]
	ldrsw	x8, [x22]
	add	x20, x21, x8, lsl #2
Lloh11:
	adrp	x21, _DES_KEY_SIZE@GOTPAGE
Lloh12:
	ldr	x21, [x21, _DES_KEY_SIZE@GOTPAGEOFF]
	ldrsw	x8, [x21]
	add	x19, x19, x8, lsl #2
	mov	x0, x20
	mov	x1, x19
	bl	_dkey
	ldrsw	x8, [x22]
	add	x0, x20, x8, lsl #2
	ldrsw	x8, [x21]
	add	x1, x19, x8, lsl #2
	bl	_des_ekey
	mov	w0, #0
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO_TFM_REQ_WEAK_KEY,4,2    ; @CRYPTO_TFM_REQ_WEAK_KEY
	.comm	_CRYPTO_TFM_RES_WEAK_KEY,4,2    ; @CRYPTO_TFM_RES_WEAK_KEY
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DES_EXPKEY_WORDS,4,2           ; @DES_EXPKEY_WORDS
	.comm	_DES_KEY_SIZE,4,2               ; @DES_KEY_SIZE
	.no_dead_strip	_des3_ede_setkey
.subsections_via_symbols
