	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_xtea_crypt_ecb         ## -- Begin function mbedtls_xtea_crypt_ecb
	.p2align	4, 0x90
_mbedtls_xtea_crypt_ecb:                ## @mbedtls_xtea_crypt_ecb
	.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	%rcx, %r14
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	(%rdi), %r12
	xorl	%r13d, %r13d
	movq	%rdx, %rsi
	xorl	%edx, %edx
	callq	_GET_UINT32_BE
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_GET_UINT32_BE
	movq	_MBEDTLS_XTEA_ENCRYPT@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_1
## %bb.3:
	movl	$32, %eax
                                        ## implicit-def: $edi
                                        ## implicit-def: $r15d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %ecx
	shll	$4, %ecx
	movl	%r15d, %edx
	sarl	$5, %edx
	xorl	%ecx, %edx
	addl	%r15d, %edx
	movl	%r13d, %ecx
	andl	$3, %ecx
	movl	(%r12,%rcx,4), %ecx
	addl	%r13d, %ecx
	xorl	%edx, %ecx
	addl	%ecx, %edi
	leal	-1640531527(%r13), %ecx
	movl	%edi, %edx
	shll	$4, %edx
	movl	%edi, %esi
	sarl	$5, %esi
	xorl	%edx, %esi
	addl	%edi, %esi
	movl	%ecx, %edx
	shrl	$11, %edx
	andl	$3, %edx
	movl	(%r12,%rdx,4), %edx
	addl	%r13d, %edx
	addl	$-1640531527, %edx              ## imm = 0x9E3779B9
	xorl	%esi, %edx
	addl	%edx, %r15d
	movl	%ecx, %r13d
	decl	%eax
	jne	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movl	$-957401312, %ecx               ## imm = 0xC6EF3720
	movl	$32, %eax
                                        ## implicit-def: $edi
                                        ## implicit-def: $r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edi, %edx
	shll	$4, %edx
	movl	%edi, %esi
	sarl	$5, %esi
	xorl	%edx, %esi
	addl	%edi, %esi
	movl	%ecx, %edx
	shrl	$11, %edx
	andl	$3, %edx
	movl	(%r12,%rdx,4), %edx
	addl	%ecx, %edx
	xorl	%esi, %edx
	subl	%edx, %r15d
	leal	1640531527(%rcx), %edx
	movl	%r15d, %esi
	shll	$4, %esi
	movl	%r15d, %ebx
	sarl	$5, %ebx
	xorl	%esi, %ebx
	addl	%r15d, %ebx
	movl	%edx, %esi
	andl	$3, %esi
	movl	(%r12,%rsi,4), %esi
	addl	%esi, %ecx
	addl	$1640531527, %ecx               ## imm = 0x61C88647
	xorl	%ebx, %ecx
	subl	%ecx, %edi
	movl	%edx, %ecx
	decl	%eax
	jne	LBB0_2
LBB0_5:
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_PUT_UINT32_BE
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_PUT_UINT32_BE
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_XTEA_ENCRYPT,4,2       ## @MBEDTLS_XTEA_ENCRYPT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_xtea_crypt_ecb         ; -- Begin function mbedtls_xtea_crypt_ecb
	.p2align	2
_mbedtls_xtea_crypt_ecb:                ; @mbedtls_xtea_crypt_ecb
	.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, x3
	mov	x20, x2
	mov	x21, x1
	ldr	x22, [x0]
	mov	x1, x2
	mov	w2, #0
	bl	_GET_UINT32_BE
	mov	x1, x20
	mov	w2, #4
	bl	_GET_UINT32_BE
Lloh0:
	adrp	x8, _MBEDTLS_XTEA_ENCRYPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_XTEA_ENCRYPT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_3
; %bb.1:
	mov	w8, #0
	mov	w9, #32
	mov	w10, #31161
	movk	w10, #40503, lsl #16
                                        ; implicit-def: $w0
                                        ; implicit-def: $w20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w11, w20, #4
	eor	w11, w11, w20, asr #5
	add	w11, w11, w20
	and	w12, w8, #0x3
	ldr	w12, [x22, w12, uxtw #2]
	add	w12, w8, w12
	eor	w11, w12, w11
	add	w0, w11, w0
	lsl	w11, w0, #4
	eor	w11, w11, w0, asr #5
	add	w11, w11, w0
	add	w8, w8, w10
	ubfx	w12, w8, #11, #2
	ldr	w12, [x22, w12, uxtw #2]
	add	w12, w8, w12
	eor	w11, w11, w12
	add	w20, w11, w20
	subs	w9, w9, #1
	b.ne	LBB0_2
	b	LBB0_5
LBB0_3:
	mov	w8, #14112
	movk	w8, #50927, lsl #16
	mov	w9, #48487
	movk	w9, #10423, lsl #16
	mov	w10, #32
	mov	w11, #34375
	movk	w11, #25032, lsl #16
                                        ; implicit-def: $w0
                                        ; implicit-def: $w20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w12, w0, #4
	eor	w12, w12, w0, asr #5
	add	w12, w12, w0
	ubfx	w13, w8, #11, #2
	ldr	w13, [x22, w13, uxtw #2]
	add	w13, w8, w13
	eor	w12, w13, w12
	add	w8, w8, w11
	sub	w20, w20, w12
	lsl	w12, w20, #4
	eor	w12, w12, w20, asr #5
	and	w13, w9, #0x3
	ldr	w13, [x22, w13, uxtw #2]
	add	w12, w12, w20
	add	w13, w9, w13
	eor	w12, w12, w13
	sub	w0, w0, w12
	add	w9, w9, w11
	subs	w10, w10, #1
	b.ne	LBB0_4
LBB0_5:
	mov	x1, x19
	mov	w2, #0
	bl	_PUT_UINT32_BE
	mov	x0, x20
	mov	x1, x19
	mov	w2, #4
	bl	_PUT_UINT32_BE
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_XTEA_ENCRYPT,4,2       ; @MBEDTLS_XTEA_ENCRYPT
.subsections_via_symbols
