	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_aes_ct64_ctrcbc_decrypt     ## -- Begin function br_aes_ct64_ctrcbc_decrypt
	.p2align	4, 0x90
_br_aes_ct64_ctrcbc_decrypt:            ## @br_aes_ct64_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	$696, %rsp                      ## imm = 0x2B8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r12
	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, -720(%rbp)                ## 8-byte Spill
	movl	4(%rdi), %edx
	leaq	-528(%rbp), %rdi
	callq	_br_aes_ct64_skey_expand
	movq	%r13, %rdi
	callq	_br_dec32be
	movl	%eax, -632(%rbp)                ## 4-byte Spill
	leaq	4(%r13), %rdi
	movq	%rdi, -696(%rbp)                ## 8-byte Spill
	callq	_br_dec32be
	movl	%eax, %r14d
	leaq	8(%r13), %rdi
	movq	%rdi, -688(%rbp)                ## 8-byte Spill
	callq	_br_dec32be
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -640(%rbp)                ## 8-byte Spill
	movq	%r13, -704(%rbp)                ## 8-byte Spill
	leaq	12(%r13), %rdi
	movq	%rdi, -680(%rbp)                ## 8-byte Spill
	callq	_br_dec32be
	movl	%eax, -612(%rbp)                ## 4-byte Spill
	movq	%r15, %rdi
	callq	_br_dec32le
	movl	%eax, -620(%rbp)                ## 4-byte Spill
	leaq	4(%r15), %rdi
	movq	%rdi, -672(%rbp)                ## 8-byte Spill
	callq	_br_dec32le
	movl	%eax, -624(%rbp)                ## 4-byte Spill
	leaq	8(%r15), %rdi
	movq	%rdi, -664(%rbp)                ## 8-byte Spill
	callq	_br_dec32le
	movl	%eax, -628(%rbp)                ## 4-byte Spill
	movq	%r15, -712(%rbp)                ## 8-byte Spill
	leaq	12(%r15), %rdi
	movq	%rdi, -656(%rbp)                ## 8-byte Spill
	callq	_br_dec32le
	movl	%eax, -616(%rbp)                ## 4-byte Spill
	leaq	-560(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rax
	movl	$-2, %r15d
	subl	-612(%rbp), %r15d               ## 4-byte Folded Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, -728(%rbp)                ## 8-byte Spill
	movq	%rax, -736(%rbp)                ## 8-byte Spill
	movl	-632(%rbp), %r12d               ## 4-byte Reload
	movl	%r12d, %edi
	callq	_br_swap32
	movl	%eax, -592(%rbp)
	movl	%r14d, %edi
	callq	_br_swap32
	movl	%eax, -588(%rbp)
	movq	-640(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, %edi
	callq	_br_swap32
	movl	%eax, -584(%rbp)
	movl	-612(%rbp), %r13d               ## 4-byte Reload
	movl	%r13d, %edi
	callq	_br_swap32
	movl	%eax, -580(%rbp)
	movl	%r15d, %eax
	andl	%r13d, %eax
	incl	%r13d
	movl	%r13d, -612(%rbp)               ## 4-byte Spill
	sarl	$31, %eax
	leal	(%rax,%rbx), %edx
	movl	%edx, -648(%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,%r14), %ecx
	movl	%ecx, -644(%rbp)                ## 4-byte Spill
	leal	(%rdx,%r14), %eax
	decl	%eax
	notl	%ecx
	andl	%eax, %ecx
	shrl	$31, %ecx
	andl	%edx, %ecx
	addl	%ecx, %r12d
	movl	%r12d, -632(%rbp)               ## 4-byte Spill
	movq	-728(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rdi
	callq	_br_dec32le
	xorl	-620(%rbp), %eax                ## 4-byte Folded Reload
	movl	%eax, -576(%rbp)
	leaq	4(%r12), %rdi
	callq	_br_dec32le
	xorl	-624(%rbp), %eax                ## 4-byte Folded Reload
	movl	%eax, -572(%rbp)
	leaq	8(%r12), %rdi
	callq	_br_dec32le
	xorl	-628(%rbp), %eax                ## 4-byte Folded Reload
	movl	%eax, -568(%rbp)
	leaq	12(%r12), %rdi
	callq	_br_dec32le
	xorl	-616(%rbp), %eax                ## 4-byte Folded Reload
	movl	%eax, -564(%rbp)
	leaq	-560(%rbp), %r14
	movq	%r14, %rdi
	leaq	-544(%rbp), %rsi
	leaq	-592(%rbp), %r13
	movq	%r13, %rdx
	callq	_br_aes_ct64_interleave_in
	leaq	-556(%rbp), %rdi
	leaq	-540(%rbp), %rsi
	leaq	-576(%rbp), %rbx
	movq	%rbx, %rdx
	callq	_br_aes_ct64_interleave_in
	movq	%r14, %rdi
	callq	_br_aes_ct64_ortho
	movq	-720(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %edi
	leaq	-528(%rbp), %rsi
	movq	%r14, %rdx
	callq	_br_aes_ct64_bitslice_encrypt
	movq	%r14, %rdi
	callq	_br_aes_ct64_ortho
	movl	-560(%rbp), %esi
	movl	-544(%rbp), %edx
	movq	%r13, %rdi
	callq	_br_aes_ct64_interleave_out
	movl	-556(%rbp), %esi
	movl	-540(%rbp), %edx
	movq	%rbx, %rdi
	callq	_br_aes_ct64_interleave_out
	movl	-592(%rbp), %esi
	leaq	-608(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_br_enc32le
	movl	-588(%rbp), %esi
	leaq	-604(%rbp), %rdi
	callq	_br_enc32le
	movl	-584(%rbp), %esi
	leaq	-600(%rbp), %rdi
	callq	_br_enc32le
	movl	-580(%rbp), %esi
	leaq	-596(%rbp), %rdi
	callq	_br_enc32le
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$16, %edx
	callq	_xorbuf
	movq	-736(%rbp), %rax                ## 8-byte Reload
	movl	-576(%rbp), %ecx
	movl	%ecx, -620(%rbp)                ## 4-byte Spill
	movl	-572(%rbp), %ecx
	movl	%ecx, -624(%rbp)                ## 4-byte Spill
	movl	-568(%rbp), %ecx
	movl	%ecx, -628(%rbp)                ## 4-byte Spill
	movl	-564(%rbp), %ecx
	movl	%ecx, -616(%rbp)                ## 4-byte Spill
	decl	%r15d
	addq	$16, %r12
	movl	-648(%rbp), %ecx                ## 4-byte Reload
	movl	%ecx, %r13d
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -640(%rbp)                ## 8-byte Spill
	movl	-644(%rbp), %ecx                ## 4-byte Reload
	movl	%ecx, %ebx
	movl	%ecx, %r14d
	addq	$-16, %rax
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movl	%r14d, %ebx
	movq	-640(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %r13d
LBB0_4:
	movq	-704(%rbp), %rdi                ## 8-byte Reload
	movl	-632(%rbp), %esi                ## 4-byte Reload
	callq	_br_enc32be
	movq	-696(%rbp), %rdi                ## 8-byte Reload
	movl	%ebx, %esi
	callq	_br_enc32be
	movq	-688(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %esi
	callq	_br_enc32be
	movq	-680(%rbp), %rdi                ## 8-byte Reload
	movl	-612(%rbp), %esi                ## 4-byte Reload
	callq	_br_enc32be
	movq	-712(%rbp), %rdi                ## 8-byte Reload
	movl	-620(%rbp), %esi                ## 4-byte Reload
	callq	_br_enc32le
	movq	-672(%rbp), %rdi                ## 8-byte Reload
	movl	-624(%rbp), %esi                ## 4-byte Reload
	callq	_br_enc32le
	movq	-664(%rbp), %rdi                ## 8-byte Reload
	movl	-628(%rbp), %esi                ## 4-byte Reload
	callq	_br_enc32le
	movq	-656(%rbp), %rdi                ## 8-byte Reload
	movl	-616(%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	$696, %rsp                      ## imm = 0x2B8
	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_ct64_ctrcbc_decrypt     ; -- Begin function br_aes_ct64_ctrcbc_decrypt
	.p2align	2
_br_aes_ct64_ctrcbc_decrypt:            ; @br_aes_ct64_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, #720
	mov	x24, x4
	mov	x25, x3
	mov	x20, 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]
	stur	x8, [x29, #-96]
	ldp	w1, w2, [x0]
	add	x0, sp, #224
	bl	_br_aes_ct64_skey_expand
	mov	x0, x19
	bl	_br_dec32be
	str	w0, [sp, #128]                  ; 4-byte Folded Spill
	add	x0, x19, #4
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	bl	_br_dec32be
	mov	x26, x0
	add	x0, x19, #8
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	bl	_br_dec32be
	mov	x21, x0
	str	x19, [sp, #48]                  ; 8-byte Folded Spill
	add	x0, x19, #12
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	bl	_br_dec32be
	mov	x27, x0
	mov	x0, x20
	bl	_br_dec32le
	mov	x19, x0
	add	x0, x20, #4
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	bl	_br_dec32le
	mov	x23, x0
	add	x0, x20, #8
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	bl	_br_dec32le
	mov	x22, x0
	str	x20, [sp, #56]                  ; 8-byte Folded Spill
	add	x0, x20, #12
	str	x0, [sp]                        ; 8-byte Folded Spill
	bl	_br_dec32le
	str	w0, [sp, #140]                  ; 4-byte Folded Spill
	add	x20, sp, #192
	add	x0, sp, #192
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	cbz	x24, LBB0_3
; %bb.1:
	mov	x10, x24
	add	x8, sp, #160
	add	x9, x8, #16
	add	x8, x20, #16
	stp	x8, x9, [sp, #112]              ; 16-byte Folded Spill
	add	x9, x20, #4
	add	x8, x20, #20
	stp	x8, x9, [sp, #96]               ; 16-byte Folded Spill
	add	x8, sp, #144
	add	x11, x8, #4
	add	x9, x8, #8
	stp	x9, x11, [sp, #80]              ; 16-byte Folded Spill
	add	x8, x8, #12
	stp	x28, x8, [sp, #64]              ; 16-byte Folded Spill
	mov	w8, #-2
	sub	w28, w8, w27
	ldr	w24, [sp, #128]                 ; 4-byte Folded Reload
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	x10, [sp, #128]                 ; 8-byte Folded Spill
	mov	x0, x24
	bl	_br_swap32
	str	w0, [sp, #160]
	mov	x0, x26
	bl	_br_swap32
	str	w0, [sp, #164]
	mov	x0, x21
	bl	_br_swap32
	str	w0, [sp, #168]
	mov	x0, x27
	bl	_br_swap32
	str	w0, [sp, #172]
	add	w20, w27, #1
	and	w8, w28, w27
	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, w19
	str	w8, [sp, #176]
	add	x0, x25, #4
	bl	_br_dec32le
	eor	w8, w0, w23
	str	w8, [sp, #180]
	add	x0, x25, #8
	bl	_br_dec32le
	eor	w8, w0, w22
	str	w8, [sp, #184]
	add	x0, x25, #12
	bl	_br_dec32le
	ldr	w8, [sp, #140]                  ; 4-byte Folded Reload
	eor	w8, w0, w8
	str	w8, [sp, #188]
	add	x0, sp, #192
	add	x2, sp, #160
	ldr	x1, [sp, #112]                  ; 8-byte Folded Reload
	bl	_br_aes_ct64_interleave_in
	ldp	x1, x0, [sp, #96]               ; 16-byte Folded Reload
	ldr	x19, [sp, #120]                 ; 8-byte Folded Reload
	mov	x2, x19
	bl	_br_aes_ct64_interleave_in
	add	x0, sp, #192
	bl	_br_aes_ct64_ortho
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	ldr	w0, [x8]
	add	x1, sp, #224
	add	x2, sp, #192
	bl	_br_aes_ct64_bitslice_encrypt
	add	x0, sp, #192
	bl	_br_aes_ct64_ortho
	ldr	w1, [sp, #192]
	ldr	w2, [sp, #208]
	add	x0, sp, #160
	bl	_br_aes_ct64_interleave_out
	ldr	w1, [sp, #196]
	ldr	w2, [sp, #212]
	mov	x0, x19
	bl	_br_aes_ct64_interleave_out
	ldr	w1, [sp, #160]
	add	x0, sp, #144
	bl	_br_enc32le
	ldr	w1, [sp, #164]
	ldr	x0, [sp, #88]                   ; 8-byte Folded Reload
	bl	_br_enc32le
	ldr	w1, [sp, #168]
	ldr	x0, [sp, #80]                   ; 8-byte Folded Reload
	bl	_br_enc32le
	ldr	w1, [sp, #172]
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	bl	_br_enc32le
	add	x1, sp, #144
	mov	x0, x25
	mov	w2, #16
	bl	_xorbuf
	ldr	x10, [sp, #128]                 ; 8-byte Folded Reload
	ldp	w19, w23, [sp, #176]
	sub	w28, w28, #1
	add	x25, x25, #16
	mov	x27, x20
	ldp	w22, w8, [sp, #184]
	str	w8, [sp, #140]                  ; 4-byte Folded Spill
	sub	x10, x10, #16
	cbnz	x10, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x20, x27
	ldr	w24, [sp, #128]                 ; 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, x20
	bl	_br_enc32be
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	mov	x1, x19
	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, #140]                  ; 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, #720
	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
