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