	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tea_encrypt
_tea_encrypt:                           ## @tea_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	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
                                        ## kill: def $eax killed $eax def $rax
	movq	_TEA_ROUNDS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.2:
	movq	(%r12), %rdx
	movl	(%rdx), %r8d
	movl	4(%rdx), %r9d
	movl	8(%rdx), %r10d
	movl	12(%rdx), %r11d
	movq	_TEA_DELTA@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r12
	incl	%ecx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%edi, %rdi
	addq	%r12, %rdi
	movl	%eax, %ebx
	shll	$4, %ebx
	addl	%r8d, %ebx
	leal	(%rax,%rdi), %edx
	movl	%eax, %esi
	sarl	$5, %esi
	addl	%r9d, %esi
	xorl	%ebx, %esi
	xorl	%edx, %esi
	addl	%esi, %r15d
	movl	%r15d, %edx
	shll	$4, %edx
	addl	%r10d, %edx
	leal	(%r15,%rdi), %esi
	xorl	%edx, %esi
	movl	%r15d, %ebx
	sarl	$5, %ebx
	addl	%r11d, %ebx
	xorl	%esi, %ebx
	addl	%eax, %ebx
	decl	%ecx
	movl	%ebx, %eax
	cmpl	$1, %ecx
	ja	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movl	%eax, %ebx
LBB0_4:
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movl	%eax, (%r14)
	movl	%ebx, %edi
	callq	_cpu_to_le32
	movl	%eax, 4(%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TEA_ROUNDS,4,2                 ## @TEA_ROUNDS
	.comm	_TEA_DELTA,8,3                  ## @TEA_DELTA
	.no_dead_strip	_tea_encrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tea_encrypt
_tea_encrypt:                           ; @tea_encrypt
	.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	x21, x2
	mov	x19, x1
	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
Lloh0:
	adrp	x8, _TEA_ROUNDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TEA_ROUNDS@GOTPAGEOFF]
Lloh2:
	ldr	w14, [x8]
	cmp	w14, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
	ldr	x12, [x22]
	ldp	w9, w10, [x12]
	ldp	w11, w12, [x12, #8]
Lloh3:
	adrp	x13, _TEA_DELTA@GOTPAGE
Lloh4:
	ldr	x13, [x13, _TEA_DELTA@GOTPAGEOFF]
Lloh5:
	ldr	x13, [x13]
	add	w14, w14, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x13, w8, sxtw
	add	w15, w9, w21, lsl #4
	add	w16, w10, w21, asr #5
	eor	w15, w16, w15
	add	w16, w21, w8
	eor	w15, w15, w16
	add	w20, w15, w20
	add	w15, w20, w8
	add	w16, w11, w20, lsl #4
	eor	w15, w16, w15
	add	w16, w12, w20, asr #5
	eor	w15, w15, w16
	add	w21, w15, w21
	sub	w14, w14, #1
	cmp	w14, #1
	b.hi	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, #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	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_TEA_ROUNDS,4,2                 ; @TEA_ROUNDS
	.comm	_TEA_DELTA,8,3                  ; @TEA_DELTA
	.no_dead_strip	_tea_encrypt
.subsections_via_symbols
