	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_aes_ct_ctrcbc_ctr           ## -- Begin function br_aes_ct_ctrcbc_ctr
	.p2align	4, 0x90
_br_aes_ct_ctrcbc_ctr:                  ## @br_aes_ct_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	$632, %rsp                      ## imm = 0x278
	.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	%rsi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %esi
	movq	%rdi, -672(%rbp)                ## 8-byte Spill
	movl	4(%rdi), %edx
	leaq	-528(%rbp), %rdi
	callq	_br_aes_ct_skey_expand
	movq	%r12, %rdi
	callq	_br_dec32be
	movl	%eax, %r13d
	leaq	4(%r12), %rdi
	movq	%rdi, -656(%rbp)                ## 8-byte Spill
	callq	_br_dec32be
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -608(%rbp)                ## 8-byte Spill
	leaq	8(%r12), %rdi
	movq	%rdi, -648(%rbp)                ## 8-byte Spill
	callq	_br_dec32be
	movl	%eax, %ebx
	movq	%r12, -664(%rbp)                ## 8-byte Spill
	leaq	12(%r12), %rdi
	movq	%rdi, -640(%rbp)                ## 8-byte Spill
	callq	_br_dec32be
                                        ## kill: def $eax killed $eax def $rax
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	%r15, -632(%rbp)                ## 8-byte Spill
	movq	%r14, -616(%rbp)                ## 8-byte Spill
	movq	%rax, %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	movl	%r13d, -620(%rbp)               ## 4-byte Spill
	movq	-608(%rbp), %r13                ## 8-byte Reload
                                        ## kill: def $r13d killed $r13d killed $r13 def $r13
                                        ## kill: def $ebx killed $ebx killed $rbx def $rbx
	callq	_br_swap32
	movl	%eax, -560(%rbp)
	movl	%r13d, %edi
	callq	_br_swap32
	movl	%eax, -552(%rbp)
	movl	%ebx, %edi
	callq	_br_swap32
	movl	%eax, -544(%rbp)
	movl	%r14d, %edi
	callq	_br_swap32
	movl	%eax, -536(%rbp)
	leal	1(%r14), %eax
	movl	%eax, -596(%rbp)                ## 4-byte Spill
	movl	$-2, %r12d
	subl	%r14d, %r12d
	movl	%r12d, %eax
	andl	%r14d, %eax
	sarl	$31, %eax
	leal	(%rax,%rbx), %r15d
	leal	(%rax,%rbx), %ecx
	decl	%ecx
	movl	%r15d, %edx
	notl	%edx
	andl	%ecx, %edx
	shrl	$31, %edx
	andl	%eax, %edx
	leal	(%rdx,%r13), %ebx
	leal	(%rdx,%r13), %eax
	decl	%eax
	movl	%ebx, %r13d
	notl	%r13d
	andl	%eax, %r13d
	shrl	$31, %r13d
	andl	%edx, %r13d
	addl	-620(%rbp), %r13d               ## 4-byte Folded Reload
	movl	%r13d, %edi
	callq	_br_swap32
	movl	%eax, -556(%rbp)
	movl	%ebx, %edi
	callq	_br_swap32
	movl	%eax, -548(%rbp)
	movl	%r15d, %edi
	callq	_br_swap32
	movl	%eax, -540(%rbp)
	movl	-596(%rbp), %edi                ## 4-byte Reload
	callq	_br_swap32
	movl	%eax, -532(%rbp)
	movq	-616(%rbp), %rax                ## 8-byte Reload
	cmpq	$17, %rax
	jb	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	$2, %r14d
	orl	%r14d, %r12d
	sarl	$31, %r12d
	movl	%r12d, %eax
	notl	%eax
	leal	(%r15,%rax), %ecx
	decl	%ecx
	subl	%r15d, %r12d
	leal	(%r15,%rax), %edx
	andl	%ecx, %r12d
	shrl	$31, %r12d
	andl	%eax, %r12d
	leal	(%rbx,%r12), %eax
	decl	%eax
	movl	%ebx, %ecx
	addl	%r12d, %ecx
	movl	%ecx, %esi
	notl	%esi
	andl	%eax, %esi
	shrl	$31, %esi
	andl	%r12d, %esi
	addl	%esi, %r13d
	movl	%ecx, %eax
	movq	%rax, -608(%rbp)                ## 8-byte Spill
	movl	%edx, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, -608(%rbp)                ## 8-byte Spill
	movl	-596(%rbp), %eax                ## 4-byte Reload
	movl	%eax, %r14d
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	-560(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_br_aes_ct_ortho
	movq	-672(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	leaq	-528(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_br_aes_ct_bitslice_encrypt
	movq	%rbx, %rdi
	callq	_br_aes_ct_ortho
	movl	-560(%rbp), %esi
	leaq	-592(%rbp), %r12
	movq	%r12, %rdi
	callq	_br_enc32le
	movl	-552(%rbp), %esi
	leaq	-588(%rbp), %rdi
	callq	_br_enc32le
	movl	-544(%rbp), %esi
	leaq	-584(%rbp), %rdi
	callq	_br_enc32le
	movl	-536(%rbp), %esi
	leaq	-580(%rbp), %rdi
	callq	_br_enc32le
	movl	-556(%rbp), %esi
	leaq	-576(%rbp), %rdi
	callq	_br_enc32le
	movl	-548(%rbp), %esi
	leaq	-572(%rbp), %rdi
	callq	_br_enc32le
	movl	-540(%rbp), %esi
	leaq	-568(%rbp), %rdi
	callq	_br_enc32le
	movl	-532(%rbp), %esi
	leaq	-564(%rbp), %rdi
	callq	_br_enc32le
	movq	-616(%rbp), %rax                ## 8-byte Reload
	cmpq	$32, %rax
	movq	-632(%rbp), %rbx                ## 8-byte Reload
	jbe	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$32, %edx
	movq	%rax, %r12
	callq	_xorbuf
	addq	$32, %rbx
	movq	%rbx, -632(%rbp)                ## 8-byte Spill
	addq	$-32, %r12
	movq	%r12, -616(%rbp)                ## 8-byte Spill
	movq	%r15, %rbx
	jmp	LBB0_3
LBB0_7:
	leaq	-592(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_xorbuf
	movq	%r15, %rbx
	jmp	LBB0_8
LBB0_1:
	movq	%rax, %r14
LBB0_8:
	movq	-664(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %esi
	callq	_br_enc32be
	movq	-656(%rbp), %rdi                ## 8-byte Reload
	movq	-608(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_br_enc32be
	movq	-648(%rbp), %rdi                ## 8-byte Reload
	movl	%ebx, %esi
	callq	_br_enc32be
	movq	-640(%rbp), %rdi                ## 8-byte Reload
	movl	%r14d, %esi
	callq	_br_enc32be
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.9:
	addq	$632, %rsp                      ## imm = 0x278
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	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_ct_ctrcbc_ctr           ; -- Begin function br_aes_ct_ctrcbc_ctr
	.p2align	2
_br_aes_ct_ctrcbc_ctr:                  ; @br_aes_ct_ctrcbc_ctr
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #640
	mov	x26, x3
	mov	x22, x2
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldp	w1, w2, [x0]
	str	x0, [sp, #72]                   ; 8-byte Folded Spill
	add	x0, sp, #144
	bl	_br_aes_ct_skey_expand
	mov	x0, x19
	bl	_br_dec32be
	mov	x27, x0
	add	x21, x19, #4
	mov	x0, x21
	bl	_br_dec32be
	mov	x28, x0
	add	x23, x19, #8
	mov	x0, x23
	bl	_br_dec32be
	mov	x20, x0
	add	x25, x19, #12
	mov	x0, x25
	bl	_br_dec32be
	mov	x24, x0
	cbz	x26, LBB0_5
; %bb.1:
	stp	x25, x23, [sp]                  ; 16-byte Folded Spill
	stp	x21, x19, [sp, #16]             ; 16-byte Folded Spill
	add	x8, sp, #80
	add	x10, x8, #4
	add	x9, x8, #8
	stp	x9, x10, [sp, #56]              ; 16-byte Folded Spill
	add	x10, x8, #12
	add	x9, x8, #16
	stp	x9, x10, [sp, #40]              ; 16-byte Folded Spill
	add	x9, x8, #20
	str	x9, [sp, #32]                   ; 8-byte Folded Spill
	add	x23, x8, #24
	add	x19, x8, #28
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x27
	bl	_br_swap32
	str	w0, [sp, #112]
	mov	x0, x28
	bl	_br_swap32
	str	w0, [sp, #120]
	mov	x0, x20
	bl	_br_swap32
	str	w0, [sp, #128]
	mov	x0, x24
	bl	_br_swap32
	str	w0, [sp, #136]
	add	w25, w24, #1
	mov	w8, #-2
	sub	w21, w8, w24
	and	w8, w21, w24
	asr	w8, w8, #31
	add	w20, w8, w20
	sub	w9, w20, #1
	bic	w9, w9, w20
	and	w8, w8, w9, lsr #31
	add	w28, w8, w28
	sub	w9, w28, #1
	bic	w9, w9, w28
	and	w8, w8, w9, lsr #31
	add	w27, w8, w27
	mov	x0, x27
	bl	_br_swap32
	str	w0, [sp, #116]
	mov	x0, x28
	bl	_br_swap32
	str	w0, [sp, #124]
	mov	x0, x20
	bl	_br_swap32
	str	w0, [sp, #132]
	mov	x0, x25
	bl	_br_swap32
	str	w0, [sp, #140]
	add	w8, w24, #2
	orr	w9, w8, w21
	asr	w9, w9, #31
	mvn	w10, w9
	add	w11, w20, w10
	sub	w12, w11, #1
	sub	w9, w9, w20
	and	w9, w12, w9
	and	w9, w10, w9, lsr #31
	add	w10, w28, w9
	sub	w12, w10, #1
	bic	w12, w12, w10
	and	w9, w9, w12, lsr #31
	add	w9, w27, w9
	cmp	x26, #17
	csel	w27, w27, w9, lo
	csel	w28, w28, w10, lo
	csel	w20, w20, w11, lo
	csinc	w24, w8, w24, hs
	add	x0, sp, #112
	bl	_br_aes_ct_ortho
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
	add	x1, sp, #144
	add	x2, sp, #112
	bl	_br_aes_ct_bitslice_encrypt
	add	x0, sp, #112
	bl	_br_aes_ct_ortho
	ldr	w1, [sp, #112]
	add	x0, sp, #80
	bl	_br_enc32le
	ldr	w1, [sp, #120]
	ldr	x0, [sp, #64]                   ; 8-byte Folded Reload
	bl	_br_enc32le
	ldr	w1, [sp, #128]
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	bl	_br_enc32le
	ldr	w1, [sp, #136]
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	bl	_br_enc32le
	ldr	w1, [sp, #116]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_br_enc32le
	ldr	w1, [sp, #124]
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	bl	_br_enc32le
	ldr	w1, [sp, #132]
	mov	x0, x23
	bl	_br_enc32le
	ldr	w1, [sp, #140]
	mov	x0, x19
	bl	_br_enc32le
	add	x1, sp, #80
	subs	x25, x26, #32
	b.ls	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	mov	w2, #32
	bl	_xorbuf
	add	x22, x22, #32
	mov	x26, x25
	b	LBB0_2
LBB0_4:
	mov	x0, x22
	mov	x2, x26
	bl	_xorbuf
	ldp	x21, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x25, x23, [sp]                  ; 16-byte Folded Reload
LBB0_5:
	mov	x0, x19
	mov	x1, x27
	bl	_br_enc32be
	mov	x0, x21
	mov	x1, x28
	bl	_br_enc32be
	mov	x0, x23
	mov	x1, x20
	bl	_br_enc32be
	mov	x0, x25
	mov	x1, x24
	bl	_br_enc32be
	ldur	x8, [x29, #-96]
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_7
; %bb.6:
	add	sp, sp, #640
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
