	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Camellia_set_key               ## -- Begin function Camellia_set_key
	.p2align	4, 0x90
_Camellia_set_key:                      ## @Camellia_set_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	$-1, %eax
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.2:
	movq	%rdi, %rcx
	cmpl	$128, %esi
	je	LBB0_5
## %bb.3:
	cmpl	$256, %esi                      ## imm = 0x100
	je	LBB0_5
## %bb.4:
	movl	$-2, %eax
	cmpl	$192, %esi
	jne	LBB0_6
LBB0_5:
	movl	(%rbx), %edx
	movl	%esi, %edi
	movq	%rcx, %rsi
	callq	_Camellia_Ekeygen
	movl	%eax, 4(%rbx)
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Camellia_set_key               ; -- Begin function Camellia_set_key
	.p2align	2
_Camellia_set_key:                      ; @Camellia_set_key
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x0
	mov	w0, #-1
	cbz	x8, LBB0_7
; %bb.1:
	mov	x19, x2
	cbz	x2, LBB0_7
; %bb.2:
	cmp	w1, #128
	b.eq	LBB0_5
; %bb.3:
	cmp	w1, #256
	b.eq	LBB0_5
; %bb.4:
	cmp	w1, #192
	b.ne	LBB0_6
LBB0_5:
	ldr	w2, [x19]
	mov	x0, x1
	mov	x1, x8
	bl	_Camellia_Ekeygen
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #4]
	b	LBB0_7
LBB0_6:
	mov	w0, #-2
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
