	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xtea_decrypt
_xtea_decrypt:                          ## @xtea_decrypt
	.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
	movl	%eax, %ebx
	movq	_XTEA_DELTA@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_XTEA_ROUNDS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	imull	%r8d, %edx
	testl	%edx, %edx
	je	LBB0_3
## %bb.1:
	movq	(%r12), %rsi
	decl	%ecx
	imull	%r8d, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	shll	$4, %edi
	movl	%r15d, %eax
	sarl	$5, %eax
	xorl	%edi, %eax
	addl	%r15d, %eax
	movl	%edx, %edi
	shrl	$11, %edi
	andl	$3, %edi
	movl	(%rsi,%rdi,4), %edi
	addl	%edx, %edi
	xorl	%eax, %edi
	subl	%edi, %ebx
	movl	%ebx, %eax
	shll	$4, %eax
	movl	%ebx, %edi
	sarl	$5, %edi
	xorl	%eax, %edi
	addl	%ebx, %edi
	movl	%ecx, %eax
	andl	$3, %eax
	movl	(%rsi,%rax,4), %eax
	addl	%ecx, %eax
	xorl	%edi, %eax
	subl	%eax, %r15d
	subl	%r8d, %ecx
	subl	%r8d, %edx
	jne	LBB0_2
LBB0_3:
	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	_XTEA_DELTA,4,2                 ## @XTEA_DELTA
	.comm	_XTEA_ROUNDS,4,2                ## @XTEA_ROUNDS
	.no_dead_strip	_xtea_decrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xtea_decrypt
_xtea_decrypt:                          ; @xtea_decrypt
	.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, _XTEA_DELTA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XTEA_DELTA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _XTEA_ROUNDS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XTEA_ROUNDS@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x9]
	mul	w9, w12, w8
	cbz	w9, LBB0_3
; %bb.1:
	mov	w10, #0
	ldr	x11, [x22]
	sub	w12, w12, #1
	mul	w12, w8, w12
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w13, w20, #4
	eor	w13, w13, w20, asr #5
	add	w14, w9, w10
	ubfx	w15, w14, #11, #2
	ldr	w15, [x11, w15, uxtw #2]
	add	w14, w14, w15
	add	w13, w13, w20
	eor	w13, w14, w13
	add	w14, w12, w10
	sub	w21, w21, w13
	lsl	w13, w21, #4
	eor	w13, w13, w21, asr #5
	and	w15, w14, #0x3
	ldr	w15, [x11, w15, uxtw #2]
	add	w13, w13, w21
	add	w14, w14, w15
	eor	w13, w13, w14
	sub	w20, w20, w13
	sub	w10, w10, w8
	cmn	w9, w10
	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, #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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XTEA_DELTA,4,2                 ; @XTEA_DELTA
	.comm	_XTEA_ROUNDS,4,2                ; @XTEA_ROUNDS
	.no_dead_strip	_xtea_decrypt
.subsections_via_symbols
