	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_aes_crypt_cfb128       ## -- Begin function mbedtls_aes_crypt_cfb128
	.p2align	4, 0x90
_mbedtls_aes_crypt_cfb128:              ## @mbedtls_aes_crypt_cfb128
	.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	%r8, %r15
	movq	%rdx, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rdx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %r14
	movq	_MBEDTLS_AES_DECRYPT@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	jne	LBB0_1
## %bb.6:
	testq	%r12, %r12
	je	LBB0_11
## %bb.7:
	xorl	%r13d, %r13d
	movq	_MBEDTLS_AES_ENCRYPT@GOTPCREL(%rip), %rbx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movzbl	(%r9,%r13), %eax
	movzbl	(%r15,%r14), %ecx
	xorb	%al, %cl
	movb	%cl, (%rdx,%r13)
	movb	%al, (%r15,%r14)
	incl	%r14d
	andl	$15, %r14d
	incq	%r13
	cmpq	%r13, %r12
	je	LBB0_11
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r14, %r14
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	(%rbx), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r15, %rcx
	callq	_mbedtls_aes_crypt_ecb
	movq	16(%rbp), %rdx
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	jmp	LBB0_10
LBB0_1:
	testq	%r12, %r12
	je	LBB0_11
## %bb.2:
	xorl	%ebx, %ebx
	movq	_MBEDTLS_AES_ENCRYPT@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%r9,%rbx), %eax
	xorb	(%r15,%r14), %al
	movb	%al, (%rdx,%rbx)
	movb	%al, (%r15,%r14)
	incl	%r14d
	andl	$15, %r14d
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r14, %r14
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r15, %rcx
	callq	_mbedtls_aes_crypt_ecb
	movq	16(%rbp), %rdx
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	jmp	LBB0_5
LBB0_11:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MBEDTLS_AES_DECRYPT,4,2        ## @MBEDTLS_AES_DECRYPT
	.comm	_MBEDTLS_AES_ENCRYPT,4,2        ## @MBEDTLS_AES_ENCRYPT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbedtls_aes_crypt_cfb128       ; -- Begin function mbedtls_aes_crypt_cfb128
	.p2align	2
_mbedtls_aes_crypt_cfb128:              ; @mbedtls_aes_crypt_cfb128
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x19, x3
	mov	x23, x2
	mov	x24, x0
	ldr	x25, [x3]
Lloh0:
	adrp	x8, _MBEDTLS_AES_DECRYPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MBEDTLS_AES_DECRYPT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_6
; %bb.1:
	cbz	x23, LBB0_11
; %bb.2:
Lloh3:
	adrp	x26, _MBEDTLS_AES_ENCRYPT@GOTPAGE
Lloh4:
	ldr	x26, [x26, _MBEDTLS_AES_ENCRYPT@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x21], #1
	ldrb	w9, [x22, x25]
	eor	w9, w9, w8
	strb	w9, [x20], #1
	strb	w8, [x22, x25]
	add	w8, w25, #1
	and	x25, x8, #0xf
	cbz	x23, LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	x23, x23, #1
	cbnz	x25, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x26]
	mov	x0, x24
	mov	x2, x22
	mov	x3, x22
	bl	_mbedtls_aes_crypt_ecb
	b	LBB0_3
LBB0_6:
	cbz	x23, LBB0_11
; %bb.7:
Lloh5:
	adrp	x26, _MBEDTLS_AES_ENCRYPT@GOTPAGE
Lloh6:
	ldr	x26, [x26, _MBEDTLS_AES_ENCRYPT@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldrb	w8, [x22, x25]
	ldrb	w9, [x21], #1
	eor	w8, w9, w8
	strb	w8, [x20], #1
	strb	w8, [x22, x25]
	add	w8, w25, #1
	and	x25, x8, #0xf
	cbz	x23, LBB0_11
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sub	x23, x23, #1
	cbnz	x25, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w1, [x26]
	mov	x0, x24
	mov	x2, x22
	mov	x3, x22
	bl	_mbedtls_aes_crypt_ecb
	b	LBB0_8
LBB0_11:
	str	x25, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MBEDTLS_AES_DECRYPT,4,2        ; @MBEDTLS_AES_DECRYPT
	.comm	_MBEDTLS_AES_ENCRYPT,4,2        ; @MBEDTLS_AES_ENCRYPT
.subsections_via_symbols
