	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function camellia_feistel
_camellia_feistel:                      ## @camellia_feistel
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %ecx
	xorl	(%rdi), %ecx
	movl	4(%rsi), %r13d
	xorl	4(%rdi), %r13d
	movl	%ecx, %eax
	movl	%ecx, %ebx
	shrl	$24, %eax
	movl	%eax, %edi
	callq	_SBOX1
	movq	%rax, %r15
	shll	$24, %r15d
	movl	%ebx, %eax
	shrl	$16, %eax
	movzbl	%al, %edi
	callq	_SBOX2
	movq	%rax, %r12
	shll	$16, %r12d
	movzbl	%bh, %edi
	movl	%ebx, %r14d
	callq	_SBOX3
	movq	%rax, %rbx
	shll	$8, %ebx
	orl	%r15d, %ebx
	orl	%r12d, %ebx
	movzbl	%r14b, %edi
	callq	_SBOX4
	movq	%rax, %r15
	orl	%ebx, %r15d
	movl	%r13d, %ebx
	movl	%r13d, %eax
	shrl	$24, %eax
	movl	%eax, %edi
	callq	_SBOX2
	movq	%rax, %r12
	shll	$24, %r12d
	movl	%r13d, %eax
	shrl	$16, %eax
	movzbl	%al, %edi
	callq	_SBOX3
	movq	%rax, %r13
	shll	$16, %r13d
	movzbl	%bh, %edi
	movl	%ebx, %r14d
	callq	_SBOX4
	movq	%rax, %rbx
	shll	$8, %ebx
	orl	%r12d, %ebx
	orl	%r13d, %ebx
	movzbl	%r14b, %edi
	callq	_SBOX1
	orl	%ebx, %eax
	movl	%eax, %ecx
	shll	$8, %ecx
	movl	%eax, %edx
	sarl	$24, %edx
	orl	%ecx, %edx
	xorl	%r15d, %edx
	movl	%edx, %ecx
	shll	$16, %ecx
	movl	%edx, %esi
	sarl	$16, %esi
	orl	%ecx, %esi
	xorl	%eax, %esi
	movl	%esi, %eax
	sarl	$8, %eax
	movl	%esi, %ecx
	shll	$24, %ecx
	orl	%eax, %ecx
	xorl	%edx, %ecx
	movl	%ecx, %eax
	sarl	$8, %eax
	movl	%ecx, %edx
	shll	$24, %edx
	orl	%eax, %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	xorl	(%rax), %esi
	xorl	%edx, %esi
	movl	%esi, (%rax)
	xorl	%ecx, 4(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_camellia_feistel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function camellia_feistel
_camellia_feistel:                      ; @camellia_feistel
	.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, x2
	ldp	w8, w9, [x0]
	ldp	w10, w11, [x1]
	eor	w21, w10, w8
	eor	w22, w11, w9
	lsr	w0, w21, #24
	bl	_SBOX1
	mov	x20, x0
	ubfx	w0, w21, #16, #8
	bl	_SBOX2
	lsl	w8, w0, #16
	orr	w20, w8, w20, lsl #24
	ubfx	w0, w21, #8, #8
	bl	_SBOX3
	orr	w20, w20, w0, lsl #8
	and	w0, w21, #0xff
	bl	_SBOX4
	orr	w21, w20, w0
	lsr	w0, w22, #24
	bl	_SBOX2
	mov	x20, x0
	ubfx	w0, w22, #16, #8
	bl	_SBOX3
	lsl	w8, w0, #16
	orr	w20, w8, w20, lsl #24
	ubfx	w0, w22, #8, #8
	bl	_SBOX4
	orr	w20, w20, w0, lsl #8
	and	w0, w22, #0xff
	bl	_SBOX1
	orr	w8, w20, w0
	lsl	w9, w8, #8
	orr	w9, w9, w8, asr #24
	eor	w9, w9, w21
	lsl	w10, w9, #16
	orr	w10, w10, w9, asr #16
	eor	w8, w10, w8
	asr	w10, w8, #8
	orr	w10, w10, w8, lsl #24
	eor	w9, w10, w9
	ldp	w10, w11, [x19]
	eor	w8, w8, w10
	asr	w10, w9, #8
	orr	w10, w10, w9, lsl #24
	eor	w8, w8, w10
	eor	w9, w9, w11
	stp	w8, w9, [x19]
	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	_camellia_feistel
.subsections_via_symbols
