	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_aes_ct_ctrcbc_encrypt       ## -- Begin function br_aes_ct_ctrcbc_encrypt
	.p2align	4, 0x90
_br_aes_ct_ctrcbc_encrypt:              ## @br_aes_ct_ctrcbc_encrypt
	.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	$648, %rsp                      ## imm = 0x288
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movq	%rcx, -608(%rbp)                ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %esi
	movq	%rdi, -624(%rbp)                ## 8-byte Spill
	movl	4(%rdi), %edx
	leaq	-528(%rbp), %rdi
	callq	_br_aes_ct_skey_expand
	movq	%r15, %rdi
	callq	_br_dec32be
	movl	%eax, -568(%rbp)                ## 4-byte Spill
	leaq	4(%r15), %rbx
	movq	%rbx, %rdi
	callq	_br_dec32be
	movl	%eax, -588(%rbp)                ## 4-byte Spill
	leaq	8(%r15), %r12
	movq	%r12, %rdi
	callq	_br_dec32be
	movl	%eax, -592(%rbp)                ## 4-byte Spill
	leaq	12(%r15), %rdi
	movq	%rdi, -688(%rbp)                ## 8-byte Spill
	callq	_br_dec32be
	movl	%eax, -564(%rbp)                ## 4-byte Spill
	movq	%r14, %rdi
	callq	_br_dec32le
	movl	%eax, -584(%rbp)                ## 4-byte Spill
	leaq	4(%r14), %rdi
	movq	%rdi, -680(%rbp)                ## 8-byte Spill
	callq	_br_dec32le
	movl	%eax, -580(%rbp)                ## 4-byte Spill
	leaq	8(%r14), %rdi
	movq	%rdi, -672(%rbp)                ## 8-byte Spill
	callq	_br_dec32le
	movl	%eax, -576(%rbp)                ## 4-byte Spill
	leaq	12(%r14), %rdi
	movq	%rdi, -664(%rbp)                ## 8-byte Spill
	callq	_br_dec32le
	testq	%r13, %r13
	movl	%eax, -572(%rbp)                ## 4-byte Spill
	je	LBB0_1
## %bb.2:
	movq	%r12, -632(%rbp)                ## 8-byte Spill
	movq	%rbx, -640(%rbp)                ## 8-byte Spill
	movq	%r15, -648(%rbp)                ## 8-byte Spill
	movq	%r14, -656(%rbp)                ## 8-byte Spill
	addq	$-16, %r13
	movq	%r13, -616(%rbp)                ## 8-byte Spill
	movl	$-2, %r12d
	movl	-564(%rbp), %ebx                ## 4-byte Reload
	subl	%ebx, %r12d
	movl	$0, -596(%rbp)                  ## 4-byte Folded Spill
	movl	-568(%rbp), %edi                ## 4-byte Reload
	movq	-608(%rbp), %r13                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	-588(%rbp), %eax                ## 4-byte Reload
	movl	%eax, %r14d
	movl	-592(%rbp), %eax                ## 4-byte Reload
	movl	%eax, %r15d
	movl	%edi, -568(%rbp)                ## 4-byte Spill
	callq	_br_swap32
	movl	%eax, -560(%rbp)
	movl	%r14d, %edi
	callq	_br_swap32
	movl	%eax, -552(%rbp)
	movl	%r15d, %edi
	callq	_br_swap32
	movl	%eax, -544(%rbp)
	movl	%ebx, %edi
	callq	_br_swap32
	movl	%eax, -536(%rbp)
	movl	%r12d, -608(%rbp)               ## 4-byte Spill
	movl	%r12d, %eax
	movl	%ebx, -564(%rbp)                ## 4-byte Spill
	andl	%ebx, %eax
	sarl	$31, %eax
	leal	(%rax,%r15), %edx
	leal	(%rax,%r15), %ecx
	decl	%ecx
	movl	%edx, -592(%rbp)                ## 4-byte Spill
                                        ## kill: def $edx killed $edx def $rdx
	notl	%edx
	andl	%ecx, %edx
	shrl	$31, %edx
	andl	%eax, %edx
	leal	(%rdx,%r14), %r12d
	leal	(%rdx,%r14), %eax
	decl	%eax
	movl	%r12d, -588(%rbp)               ## 4-byte Spill
	notl	%r12d
	andl	%eax, %r12d
	shrl	$31, %r12d
	andl	%edx, %r12d
	movl	-584(%rbp), %eax                ## 4-byte Reload
	movl	%eax, -556(%rbp)
	movl	-580(%rbp), %eax                ## 4-byte Reload
	movl	%eax, -548(%rbp)
	movl	-576(%rbp), %eax                ## 4-byte Reload
	movl	%eax, -540(%rbp)
	movl	-572(%rbp), %eax                ## 4-byte Reload
	movl	%eax, -532(%rbp)
	leaq	-560(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_br_aes_ct_ortho
	movq	-624(%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
	movq	%r13, %rdi
	callq	_br_dec32le
	xorl	%eax, -560(%rbp)
	leaq	4(%r13), %rbx
	movq	%rbx, %rdi
	callq	_br_dec32le
	xorl	%eax, -552(%rbp)
	leaq	8(%r13), %r15
	movq	%r15, %rdi
	callq	_br_dec32le
	xorl	%eax, -544(%rbp)
	leaq	12(%r13), %r14
	movq	%r14, %rdi
	callq	_br_dec32le
	xorl	%eax, -536(%rbp)
	movl	-560(%rbp), %esi
	movq	%r13, %rdi
	callq	_br_enc32le
	movl	-552(%rbp), %esi
	movq	%rbx, %rdi
	callq	_br_enc32le
	movl	-544(%rbp), %esi
	movq	%r15, %rdi
	callq	_br_enc32le
	movl	-536(%rbp), %esi
	movq	%r14, %rdi
	callq	_br_enc32le
	movl	-560(%rbp), %eax
	testb	$1, -596(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	-556(%rbp), %eax
	movl	-548(%rbp), %r13d
	movl	-540(%rbp), %ecx
	xorl	-552(%rbp), %r13d
	xorl	-544(%rbp), %ecx
	movl	-532(%rbp), %esi
	xorl	-536(%rbp), %esi
	movl	%eax, %edx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-584(%rbp), %edx                ## 4-byte Reload
	xorl	%eax, %edx
	movl	-580(%rbp), %r13d               ## 4-byte Reload
	xorl	-552(%rbp), %r13d
	movl	-576(%rbp), %ecx                ## 4-byte Reload
	xorl	-544(%rbp), %ecx
	movl	-572(%rbp), %esi                ## 4-byte Reload
	xorl	-536(%rbp), %esi
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-616(%rbp), %rax                ## 8-byte Reload
	movl	-568(%rbp), %edi                ## 4-byte Reload
	addl	%r12d, %edi
	testq	%rax, %rax
	movl	-564(%rbp), %ebx                ## 4-byte Reload
	je	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%esi, -572(%rbp)                ## 4-byte Spill
	movl	%edx, -584(%rbp)                ## 4-byte Spill
	movl	%ecx, -576(%rbp)                ## 4-byte Spill
	movl	%r13d, -580(%rbp)               ## 4-byte Spill
	addq	$-16, %rax
	movq	%rax, -616(%rbp)                ## 8-byte Spill
	movl	-608(%rbp), %r12d               ## 4-byte Reload
	decl	%r12d
	addq	$4, %r14
	incl	%ebx
	movb	$1, %al
	movl	%eax, -596(%rbp)                ## 4-byte Spill
	movq	%r14, %r13
	jmp	LBB0_3
LBB0_7:
	movl	%edi, -568(%rbp)                ## 4-byte Spill
	movl	%edx, -560(%rbp)
	movl	%r13d, -552(%rbp)
	movl	%ecx, -544(%rbp)
	movl	%esi, -536(%rbp)
	leaq	-560(%rbp), %r14
	movq	%r14, %rdi
	callq	_br_aes_ct_ortho
	movq	-624(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	leaq	-528(%rbp), %rsi
	movq	%r14, %rdx
	callq	_br_aes_ct_bitslice_encrypt
	movq	%r14, %rdi
	callq	_br_aes_ct_ortho
	movl	-560(%rbp), %r13d
	movl	-552(%rbp), %eax
	movl	%eax, -580(%rbp)                ## 4-byte Spill
	movl	-544(%rbp), %eax
	movl	%eax, -576(%rbp)                ## 4-byte Spill
	movl	-536(%rbp), %eax
	movl	%eax, -572(%rbp)                ## 4-byte Spill
	incl	%ebx
	movl	%ebx, -564(%rbp)                ## 4-byte Spill
	movq	-656(%rbp), %r14                ## 8-byte Reload
	movq	-648(%rbp), %r15                ## 8-byte Reload
	movq	-640(%rbp), %rbx                ## 8-byte Reload
	movq	-632(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_8
LBB0_1:
	movl	-584(%rbp), %r13d               ## 4-byte Reload
LBB0_8:
	movq	%r15, %rdi
	movl	-568(%rbp), %esi                ## 4-byte Reload
	callq	_br_enc32be
	movq	%rbx, %rdi
	movl	-588(%rbp), %esi                ## 4-byte Reload
	callq	_br_enc32be
	movq	%r12, %rdi
	movl	-592(%rbp), %esi                ## 4-byte Reload
	callq	_br_enc32be
	movq	-688(%rbp), %rdi                ## 8-byte Reload
	movl	-564(%rbp), %esi                ## 4-byte Reload
	callq	_br_enc32be
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_br_enc32le
	movq	-680(%rbp), %rdi                ## 8-byte Reload
	movl	-580(%rbp), %esi                ## 4-byte Reload
	callq	_br_enc32le
	movq	-672(%rbp), %rdi                ## 8-byte Reload
	movl	-576(%rbp), %esi                ## 4-byte Reload
	callq	_br_enc32le
	movq	-664(%rbp), %rdi                ## 8-byte Reload
	movl	-572(%rbp), %esi                ## 4-byte Reload
	callq	_br_enc32le
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.9:
	addq	$648, %rsp                      ## imm = 0x288
	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_encrypt       ; -- Begin function br_aes_ct_ctrcbc_encrypt
	.p2align	2
_br_aes_ct_ctrcbc_encrypt:              ; @br_aes_ct_ctrcbc_encrypt
	.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, #656
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x23, 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, #80]                   ; 8-byte Folded Spill
	add	x0, sp, #160
	bl	_br_aes_ct_skey_expand
	mov	x0, x23
	bl	_br_dec32be
	mov	x22, x0
	add	x25, x23, #4
	mov	x0, x25
	bl	_br_dec32be
	mov	x24, x0
	add	x28, x23, #8
	mov	x0, x28
	bl	_br_dec32be
	mov	x26, x0
	add	x0, x23, #12
	str	x0, [sp, #56]                   ; 8-byte Folded Spill
	bl	_br_dec32be
	mov	x27, x0
	mov	x0, x21
	bl	_br_dec32le
	str	w0, [sp, #120]                  ; 4-byte Folded Spill
	add	x0, x21, #4
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	bl	_br_dec32le
	str	w0, [sp, #96]                   ; 4-byte Folded Spill
	add	x0, x21, #8
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	bl	_br_dec32le
	str	w0, [sp, #124]                  ; 4-byte Folded Spill
	add	x0, x21, #12
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	bl	_br_dec32le
	mov	x10, x19
	mov	x19, x0
	cbz	x10, LBB0_8
; %bb.1:
	stp	x28, x25, [sp]                  ; 16-byte Folded Spill
	stp	x23, x21, [sp, #16]             ; 16-byte Folded Spill
	str	wzr, [sp, #100]                 ; 4-byte Folded Spill
	add	x8, sp, #128
	add	x9, x8, #24
	add	x8, x8, #28
	stp	x8, x9, [sp, #64]               ; 16-byte Folded Spill
	sub	x8, x10, #16
	str	x8, [sp, #104]                  ; 8-byte Folded Spill
	mov	w8, #-2
	sub	w23, w8, w27
	ldp	w21, w28, [sp, #120]            ; 8-byte Folded Reload
	ldr	w25, [sp, #96]                  ; 4-byte Folded Reload
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_br_swap32
	str	w0, [sp, #128]
	mov	x0, x24
	bl	_br_swap32
	str	w0, [sp, #136]
	mov	x0, x26
	bl	_br_swap32
	str	w0, [sp, #144]
	mov	x0, x27
	bl	_br_swap32
	str	w23, [sp, #92]                  ; 4-byte Folded Spill
	and	w8, w23, w27
	asr	w8, w8, #31
	add	w26, w8, w26
	sub	w9, w26, #1
	str	w26, [sp, #116]                 ; 4-byte Folded Spill
	bic	w9, w9, w26
	and	w23, w8, w9, lsr #31
	str	w21, [sp, #132]
	str	w25, [sp, #140]
	add	w24, w23, w24
	stp	w24, w27, [sp, #120]            ; 8-byte Folded Spill
	sub	w8, w24, #1
	str	w8, [sp, #96]                   ; 4-byte Folded Spill
	stp	w28, w0, [sp, #148]
	str	w19, [sp, #156]
	add	x0, sp, #128
	bl	_br_aes_ct_ortho
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
	add	x1, sp, #160
	add	x2, sp, #128
	bl	_br_aes_ct_bitslice_encrypt
	add	x0, sp, #128
	bl	_br_aes_ct_ortho
	mov	x0, x20
	bl	_br_dec32le
	ldr	w8, [sp, #128]
	eor	w8, w8, w0
	str	w8, [sp, #128]
	mov	x24, x25
	add	x25, x20, #4
	mov	x0, x25
	bl	_br_dec32le
	ldr	w8, [sp, #136]
	eor	w8, w8, w0
	str	w8, [sp, #136]
	mov	x26, x28
	mov	x28, x21
	add	x21, x20, #8
	mov	x0, x21
	bl	_br_dec32le
	ldr	w8, [sp, #144]
	eor	w8, w8, w0
	str	w8, [sp, #144]
	add	x27, x20, #12
	mov	x0, x27
	bl	_br_dec32le
	ldr	w8, [sp, #152]
	ldr	w1, [sp, #128]
	eor	w8, w8, w0
	str	w8, [sp, #152]
	mov	x0, x20
	bl	_br_enc32le
	ldr	w1, [sp, #136]
	mov	x0, x25
	bl	_br_enc32le
	ldr	w1, [sp, #144]
	mov	x0, x21
	bl	_br_enc32le
	ldr	w1, [sp, #152]
	mov	x0, x27
	bl	_br_enc32le
	ldr	w8, [sp, #128]
	ldr	w9, [sp, #100]                  ; 4-byte Folded Reload
	tbz	w9, #0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldp	w9, w10, [sp, #132]
	eor	w21, w9, w8
	ldp	w8, w9, [sp, #140]
	eor	w25, w8, w10
	ldp	w8, w19, [sp, #148]
	eor	w28, w8, w9
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	eor	w21, w8, w28
	ldr	w8, [sp, #136]
	ldr	w9, [sp, #144]
	eor	w25, w8, w24
	eor	w28, w9, w26
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [sp, #104]                 ; 8-byte Folded Reload
	ldp	w26, w24, [sp, #116]            ; 8-byte Folded Reload
	ldr	w9, [sp, #96]                   ; 4-byte Folded Reload
	bic	w9, w9, w24
	and	w9, w23, w9, lsr #31
	add	w22, w9, w22
	ldr	w8, [x8]
	eor	w19, w8, w19
	cbz	x10, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x10, x10, #16
	str	x10, [sp, #104]                 ; 8-byte Folded Spill
	ldr	w23, [sp, #92]                  ; 4-byte Folded Reload
	sub	w23, w23, #1
	add	x20, x27, #4
	ldr	w27, [sp, #124]                 ; 4-byte Folded Reload
	add	w27, w27, #1
	mov	w8, #1
	str	w8, [sp, #100]                  ; 4-byte Folded Spill
	b	LBB0_2
LBB0_7:
	str	w21, [sp, #128]
	str	w25, [sp, #136]
	str	w28, [sp, #144]
	str	w19, [sp, #152]
	add	x0, sp, #128
	bl	_br_aes_ct_ortho
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
	add	x1, sp, #160
	add	x2, sp, #128
	bl	_br_aes_ct_bitslice_encrypt
	add	x0, sp, #128
	bl	_br_aes_ct_ortho
	ldp	w27, w20, [sp, #124]            ; 4-byte Folded Reload
	ldr	w8, [sp, #136]
	str	w8, [sp, #96]                   ; 4-byte Folded Spill
	add	w27, w27, #1
	ldr	w8, [sp, #144]
	str	w8, [sp, #124]                  ; 4-byte Folded Spill
	ldr	w19, [sp, #152]
	ldp	x23, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x25, [sp]                  ; 16-byte Folded Reload
	b	LBB0_9
LBB0_8:
	ldr	w20, [sp, #120]                 ; 4-byte Folded Reload
LBB0_9:
	mov	x0, x23
	mov	x1, x22
	bl	_br_enc32be
	mov	x0, x25
	mov	x1, x24
	bl	_br_enc32be
	mov	x0, x28
	mov	x1, x26
	bl	_br_enc32be
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	mov	x1, x27
	bl	_br_enc32be
	mov	x0, x21
	mov	x1, x20
	bl	_br_enc32le
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #96]                   ; 4-byte Folded Reload
	bl	_br_enc32le
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w1, [sp, #124]                  ; 4-byte Folded Reload
	bl	_br_enc32le
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x1, x19
	bl	_br_enc32le
	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_11
; %bb.10:
	add	sp, sp, #656
	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_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
