	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xeta_encrypt
_xeta_encrypt:                          ## @xeta_encrypt
	.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, %rbx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	_XTEA_DELTA@GOTPCREL(%rip), %r14
	movq	_XTEA_ROUNDS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	imull	(%r14), %r13d
	callq	_crypto_tfm_ctx
	movq	%rax, %r12
	movl	(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, %r15d
	movl	4(%rbx), %edi
	callq	_le32_to_cpu
	movl	%eax, %ebx
	testl	%r13d, %r13d
	je	LBB0_1
## %bb.2:
	movq	(%r12), %r9
	movl	(%r14), %r8d
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %esi
	shll	$4, %esi
	movl	%ebx, %ecx
	sarl	$5, %ecx
	xorl	%esi, %ecx
	movl	%ebx, %edi
	xorl	%edx, %edi
	addl	%r15d, %edi
	addl	%ecx, %edi
	leal	(%r8,%rdx), %ecx
	andl	$3, %edx
	addl	(%r9,%rdx,8), %edi
	movl	%edi, %edx
	shll	$4, %edx
	movl	%edi, %esi
	sarl	$5, %esi
	xorl	%edx, %esi
	movl	%edi, %edx
	movl	%ecx, %eax
	shrl	$11, %eax
	andl	$3, %eax
	addl	(%r9,%rax,8), %ebx
	xorl	%ecx, %edx
	addl	%edx, %ebx
	addl	%esi, %ebx
	movl	%ecx, %edx
	movl	%edi, %r15d
	cmpl	%ecx, %r13d
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movl	%r15d, %edi
LBB0_4:
	callq	_cpu_to_le32
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, (%r14)
	movl	%ebx, %edi
	callq	_cpu_to_le32
	movl	%eax, 4(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XTEA_DELTA,4,2                 ## @XTEA_DELTA
	.comm	_XTEA_ROUNDS,4,2                ## @XTEA_ROUNDS
	.no_dead_strip	_xeta_encrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xeta_encrypt
_xeta_encrypt:                          ; @xeta_encrypt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x19, x1
Lloh0:
	adrp	x24, _XTEA_DELTA@GOTPAGE
Lloh1:
	ldr	x24, [x24, _XTEA_DELTA@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh2:
	adrp	x9, _XTEA_ROUNDS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _XTEA_ROUNDS@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	mul	w23, w9, w8
	bl	_crypto_tfm_ctx
	mov	x22, x0
	ldr	w0, [x21]
	bl	_le32_to_cpu
	mov	x20, x0
	ldr	w0, [x21, #4]
	bl	_le32_to_cpu
	mov	x21, x0
	cbz	w23, LBB0_3
; %bb.1:
	mov	w8, #0
	ldr	x9, [x22]
	ldr	w10, [x24]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w11, w21, #4
	eor	w11, w11, w21, asr #5
	eor	w12, w21, w8
	and	w13, w8, #0x3
	ldr	x13, [x9, w13, uxtw #3]
	add	w12, w20, w12
	add	w11, w12, w11
	add	w20, w11, w13
	lsl	w11, w20, #4
	eor	w11, w11, w20, asr #5
	add	w8, w10, w8
	eor	w12, w20, w8
	ubfx	w13, w8, #11, #2
	ldr	x13, [x9, w13, uxtw #3]
	add	w13, w21, w13
	add	w12, w13, w12
	add	w21, w12, w11
	cmp	w23, w8
	b.ne	LBB0_2
LBB0_3:
	mov	x0, x20
	bl	_cpu_to_le32
	str	w0, [x19]
	mov	x0, x21
	bl	_cpu_to_le32
	str	w0, [x19, #4]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_XTEA_DELTA,4,2                 ; @XTEA_DELTA
	.comm	_XTEA_ROUNDS,4,2                ; @XTEA_ROUNDS
	.no_dead_strip	_xeta_encrypt
.subsections_via_symbols
