	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cipher_hw_idea_initkey
_cipher_hw_idea_initkey:                ## @cipher_hw_idea_initkey
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_1
LBB0_3:
	movq	%rsi, %rdi
	movq	%rbx, %rsi
	callq	_IDEA_set_encrypt_key
	jmp	LBB0_5
LBB0_1:
	movq	(%rbx), %rax
	movq	_EVP_CIPH_OFB_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_EVP_CIPH_CFB_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.4:
	leaq	-20(%rbp), %r14
	movq	%rsi, %rdi
	movq	%r14, %rsi
	callq	_IDEA_set_encrypt_key
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_IDEA_set_decrypt_key
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_OPENSSL_cleanse
LBB0_5:
	movl	$1, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_CIPH_OFB_MODE,8,3          ## @EVP_CIPH_OFB_MODE
	.comm	_EVP_CIPH_CFB_MODE,8,3          ## @EVP_CIPH_CFB_MODE
	.no_dead_strip	_cipher_hw_idea_initkey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cipher_hw_idea_initkey
_cipher_hw_idea_initkey:                ; @cipher_hw_idea_initkey
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x8, x1
	mov	x19, x0
	ldr	x9, [x0, #8]
	cbnz	x9, LBB0_2
; %bb.1:
	ldr	x9, [x19]
Lloh0:
	adrp	x10, _EVP_CIPH_OFB_MODE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _EVP_CIPH_OFB_MODE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _EVP_CIPH_CFB_MODE@GOTPAGE
Lloh4:
	ldr	x11, [x11, _EVP_CIPH_CFB_MODE@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x9, x10
	ccmp	x9, x11, #4, ne
	b.ne	LBB0_3
LBB0_2:
	mov	x0, x8
	mov	x1, x19
	bl	_IDEA_set_encrypt_key
	b	LBB0_4
LBB0_3:
	add	x1, sp, #12
	mov	x0, x8
	bl	_IDEA_set_encrypt_key
	add	x0, sp, #12
	mov	x1, x19
	bl	_IDEA_set_decrypt_key
	add	x0, sp, #12
	mov	w1, #4
	bl	_OPENSSL_cleanse
LBB0_4:
	mov	w0, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_CIPH_OFB_MODE,8,3          ; @EVP_CIPH_OFB_MODE
	.comm	_EVP_CIPH_CFB_MODE,8,3          ; @EVP_CIPH_CFB_MODE
	.no_dead_strip	_cipher_hw_idea_initkey
.subsections_via_symbols
