	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_aes_big_ctr_run             ## -- Begin function br_aes_big_ctr_run
	.p2align	4, 0x90
_br_aes_big_ctr_run:                    ## @br_aes_big_ctr_run
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%r8, %r8
	je	LBB0_4
## %bb.1:
	movq	%r8, %r14
	movq	%rcx, %rbx
	movq	%rdi, %r12
	leaq	-64(%rbp), %rdi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movl	$12, %edx
	callq	_memcpy
	leal	1(%r15), %r13d
	leaq	-52(%rbp), %rdi
	movl	%r15d, %esi
	callq	_br_enc32be
	movl	(%r12), %esi
	movl	4(%r12), %edi
	leaq	-64(%rbp), %rdx
	callq	_br_aes_big_encrypt
	cmpq	$17, %r14
	jae	LBB0_6
## %bb.2:
	movl	%r13d, %r15d
	jmp	LBB0_3
LBB0_6:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	leaq	-64(%rbp), %r12
	movq	%r12, %rsi
	movl	$16, %edx
	callq	_xorbuf
	addq	$16, %rbx
	addq	$-16, %r14
	movq	%r12, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	$12, %edx
	callq	_memcpy
	leal	1(%r13), %r15d
	leaq	-52(%rbp), %rdi
	movl	%r13d, %esi
	callq	_br_enc32be
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	4(%rax), %edi
	movq	%r12, %rdx
	callq	_br_aes_big_encrypt
	movl	%r15d, %r13d
	cmpq	$17, %r14
	jae	LBB0_7
LBB0_3:
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_xorbuf
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.8:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	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_big_ctr_run             ; -- Begin function br_aes_big_ctr_run
	.p2align	2
_br_aes_big_ctr_run:                    ; @br_aes_big_ctr_run
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x24, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	cbz	x4, LBB0_5
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x1
	mov	x22, x0
	add	x8, sp, #8
	add	x23, x8, #12
	add	x0, sp, #8
	mov	w2, #12
	bl	_memcpy
	add	w25, w24, #1
	mov	x0, x23
	mov	x1, x24
	bl	_br_enc32be
	ldp	w1, w0, [x22]
	add	x2, sp, #8
	bl	_br_aes_big_encrypt
	cmp	x19, #17
	b.hs	LBB0_3
; %bb.2:
	mov	x24, x25
	b	LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #16
	bl	_xorbuf
	add	x20, x20, #16
	sub	x19, x19, #16
	add	x0, sp, #8
	mov	x1, x21
	mov	w2, #12
	bl	_memcpy
	add	w24, w25, #1
	mov	x0, x23
	mov	x1, x25
	bl	_br_enc32be
	ldp	w1, w0, [x22]
	add	x2, sp, #8
	bl	_br_aes_big_encrypt
	mov	x25, x24
	cmp	x19, #17
	b.hs	LBB0_3
LBB0_4:
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x19
	bl	_xorbuf
LBB0_5:
	ldr	x8, [sp, #24]
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:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
