	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_aes_small_ctrcbc_ctr        ## -- Begin function br_aes_small_ctrcbc_ctr
	.p2align	4, 0x90
_br_aes_small_ctrcbc_ctr:               ## @br_aes_small_ctrcbc_ctr
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_br_dec32be
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	leaq	4(%r14), %rdi
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	callq	_br_dec32be
	movl	%eax, %ebx
	leaq	8(%r14), %rdi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	callq	_br_dec32be
	movl	%eax, %r13d
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	leaq	12(%r14), %rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	callq	_br_dec32be
	movl	%eax, %r15d
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movq	%r12, %rax
	movl	$-2, %r12d
	subl	%r15d, %r12d
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%ebx, -68(%rbp)                 ## 4-byte Spill
	leaq	-64(%rbp), %rdi
	movl	%esi, %ebx
	callq	_br_enc32be
	leaq	-60(%rbp), %rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_br_enc32be
	leaq	-56(%rbp), %rdi
	movl	%r13d, %esi
	callq	_br_enc32be
	leaq	-52(%rbp), %rdi
	movl	%r15d, %esi
	callq	_br_enc32be
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	movl	4(%rax), %edi
	leaq	-64(%rbp), %rdx
	callq	_br_aes_small_encrypt
	movq	%r14, %rdi
	leaq	-64(%rbp), %rsi
	movl	$16, %edx
	callq	_xorbuf
	movl	%ebx, %esi
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	addq	$16, %r14
	movl	%r12d, %eax
	andl	%r15d, %eax
	incl	%r15d
	sarl	$31, %eax
	addl	%eax, %r13d
	movl	$0, %ecx
	cmovnel	%ecx, %eax
	addl	%eax, %ebx
	cmovnel	%ecx, %eax
	addl	%eax, %esi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	decl	%r12d
	addq	$-16, %rax
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movl	-68(%rbp), %esi                 ## 4-byte Reload
LBB0_4:
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_br_enc32be
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	%ebx, %esi
	callq	_br_enc32be
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_br_enc32be
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	callq	_br_enc32be
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	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	_br_aes_small_ctrcbc_ctr        ; -- Begin function br_aes_small_ctrcbc_ctr
	.p2align	2
_br_aes_small_ctrcbc_ctr:               ; @br_aes_small_ctrcbc_ctr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x3
	mov	x26, x2
	mov	x19, x1
	mov	x28, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	mov	x0, x1
	bl	_br_dec32be
	mov	x21, x0
	add	x0, x19, #4
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	bl	_br_dec32be
	mov	x23, x0
	add	x0, x19, #8
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	bl	_br_dec32be
	mov	x27, x0
	str	x19, [sp, #32]                  ; 8-byte Folded Spill
	add	x0, x19, #12
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	bl	_br_dec32be
	mov	x19, x0
	cbz	x24, LBB0_3
; %bb.1:
	add	x8, sp, #56
	add	x10, x8, #4
	add	x9, x8, #8
	stp	x9, x10, [sp, #40]              ; 16-byte Folded Spill
	add	x25, x8, #12
	mov	w8, #-2
	sub	w22, w8, w19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #56
	mov	x1, x21
	bl	_br_enc32be
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	mov	x1, x23
	bl	_br_enc32be
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x1, x27
	bl	_br_enc32be
	mov	x0, x25
	mov	x1, x19
	bl	_br_enc32be
	ldp	w1, w0, [x28]
	add	x2, sp, #56
	bl	_br_aes_small_encrypt
	add	x1, sp, #56
	mov	x0, x26
	mov	w2, #16
	bl	_xorbuf
	add	x26, x26, #16
	add	w20, w19, #1
	and	w8, w22, w19
	asr	w8, w8, #31
	adds	w27, w8, w27
	csel	w8, w8, wzr, eq
	adds	w23, w8, w23
	csel	w8, w8, wzr, eq
	add	w21, w8, w21
	sub	w22, w22, #1
	mov	x19, x20
	sub	x24, x24, #16
	cbnz	x24, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x20, x19
LBB0_4:
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x1, x21
	bl	_br_enc32be
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x23
	bl	_br_enc32be
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x1, x27
	bl	_br_enc32be
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x20
	bl	_br_enc32be
	ldr	x8, [sp, #72]
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_6
; %bb.5:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
