	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_camellia_crypt_ecb     ## -- Begin function mbedtls_camellia_crypt_ecb
	.p2align	4, 0x90
_mbedtls_camellia_crypt_ecb:            ## @mbedtls_camellia_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
	subq	$24, %rsp
	.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, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %r13d
	movq	8(%rdi), %rbx
	movq	%rdx, %rsi
	xorl	%edx, %edx
	callq	_GET_UINT32_BE
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_GET_UINT32_BE
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_GET_UINT32_BE
	movq	%r15, %rsi
	movl	$12, %edx
	callq	_GET_UINT32_BE
	testl	%r13d, %r13d
	je	LBB0_1
## %bb.2:
	leaq	-56(%rbp), %r15
	addq	$40, %rbx
	decl	%r13d
	leaq	-64(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-24(%rbx), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_camellia_feistel
	leaq	-16(%rbx), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_camellia_feistel
	leaq	-8(%rbx), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_camellia_feistel
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_camellia_feistel
	leaq	8(%rbx), %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_camellia_feistel
	leaq	16(%rbx), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_camellia_feistel
	subl	$1, %r13d
	jb	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-64(%rbp), %edi
	movl	-60(%rbp), %esi
	movl	24(%rbx), %edx
	movl	28(%rbx), %ecx
	callq	_FL
	movl	-56(%rbp), %edi
	movl	-52(%rbp), %esi
	movl	32(%rbx), %edx
	movl	36(%rbx), %ecx
	callq	_FLInv
	addq	$64, %rbx
	jmp	LBB0_3
LBB0_5:
	movl	-56(%rbp), %edi
	movl	-52(%rbp), %edx
	movl	-64(%rbp), %ecx
	movl	-60(%rbp), %eax
	addq	$24, %rbx
	jmp	LBB0_6
LBB0_1:
	addq	$16, %rbx
                                        ## implicit-def: $eax
                                        ## implicit-def: $ecx
                                        ## implicit-def: $edx
                                        ## implicit-def: $edi
LBB0_6:
	xorl	(%rbx), %edi
	movl	%edi, -56(%rbp)
	xorl	4(%rbx), %edx
	movl	%edx, -52(%rbp)
	xorl	8(%rbx), %ecx
	movl	%ecx, -64(%rbp)
	xorl	12(%rbx), %eax
	movl	%eax, -60(%rbp)
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_PUT_UINT32_BE
	movl	-52(%rbp), %edi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_PUT_UINT32_BE
	movl	-64(%rbp), %edi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_PUT_UINT32_BE
	movl	-60(%rbp), %edi
	movq	%r14, %rsi
	movl	$12, %edx
	callq	_PUT_UINT32_BE
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_camellia_crypt_ecb     ; -- Begin function mbedtls_camellia_crypt_ecb
	.p2align	2
_mbedtls_camellia_crypt_ecb:            ; @mbedtls_camellia_crypt_ecb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x3
	mov	x20, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w22, [x0]
	ldr	x23, [x0, #8]
	mov	x1, x2
	mov	w2, #0
	bl	_GET_UINT32_BE
	mov	x1, x20
	mov	w2, #4
	bl	_GET_UINT32_BE
	mov	x1, x20
	mov	w2, #8
	bl	_GET_UINT32_BE
	mov	x1, x20
	mov	w2, #12
	bl	_GET_UINT32_BE
	cbz	w22, LBB0_5
; %bb.1:
	add	x8, sp, #8
	add	x21, x8, #8
	add	x20, x23, #40
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w22, w22, #1
	sub	x1, x20, #24
	add	x0, sp, #8
	mov	x2, x21
	bl	_camellia_feistel
	sub	x1, x20, #16
	add	x2, sp, #8
	mov	x0, x21
	bl	_camellia_feistel
	sub	x1, x20, #8
	add	x0, sp, #8
	mov	x2, x21
	bl	_camellia_feistel
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_camellia_feistel
	add	x1, x20, #8
	add	x0, sp, #8
	mov	x2, x21
	bl	_camellia_feistel
	add	x1, x20, #16
	add	x2, sp, #8
	mov	x0, x21
	bl	_camellia_feistel
	cbz	w22, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w0, w1, [sp, #8]
	ldp	w2, w3, [x20, #24]
	bl	_FL
	ldp	w0, w1, [sp, #16]
	ldp	w2, w3, [x20, #32]
	bl	_FLInv
	add	x20, x20, #64
	b	LBB0_2
LBB0_4:
	ldp	w10, w9, [sp, #16]
	add	x8, x20, #24
	ldr	d0, [sp, #8]
	b	LBB0_6
LBB0_5:
	add	x8, x23, #16
                                        ; implicit-def: $w9
                                        ; implicit-def: $w10
                                        ; implicit-def: $d0
LBB0_6:
	ldr	w11, [x8]
	eor	w0, w10, w11
	str	w0, [sp, #16]
	ldr	w10, [x8, #4]
	eor	w9, w9, w10
	str	w9, [sp, #20]
	ldr	d1, [x8, #8]
	eor.8b	v0, v0, v1
	str	d0, [sp, #8]
	mov	x1, x19
	mov	w2, #0
	bl	_PUT_UINT32_BE
	ldr	w0, [sp, #20]
	mov	x1, x19
	mov	w2, #4
	bl	_PUT_UINT32_BE
	ldr	w0, [sp, #8]
	mov	x1, x19
	mov	w2, #8
	bl	_PUT_UINT32_BE
	ldr	w0, [sp, #12]
	mov	x1, x19
	mov	w2, #12
	bl	_PUT_UINT32_BE
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
