	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_aesctr_drbg_generate        ## -- Begin function br_aesctr_drbg_generate
	.p2align	4, 0x90
_br_aesctr_drbg_generate:               ## @br_aesctr_drbg_generate
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-60(%rbp), %rdi
	movl	$12, %edx
	xorl	%esi, %esi
	callq	_memset
	testq	%r14, %r14
	je	LBB0_7
## %bb.1:
	leaq	8(%r15), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	%r13, %rbx
	testq	%r14, %r14
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$65280, %r14                    ## imm = 0xFF00
	movl	$65280, %r13d                   ## imm = 0xFF00
	cmovbq	%r14, %r13
	movl	(%r15), %eax
	leaq	15(%r13), %rcx
	shrq	$4, %rcx
	addl	%eax, %ecx
	cmpl	$32769, %ecx                    ## imm = 0x8001
	jl	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	shll	$4, %eax
	movl	$524288, %ecx                   ## imm = 0x80000
	subl	%eax, %ecx
	movslq	%ecx, %r13
	cmpq	%r13, %r14
	cmovbq	%r14, %r13
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_memset
	movq	8(%r15), %rax
	movl	(%r15), %edx
	movq	%r12, %rdi
	leaq	-60(%rbp), %rsi
	movq	%rbx, %rcx
	movq	%r13, %r8
	callq	*(%rax)
	movl	%eax, (%r15)
	subq	%r13, %r14
	cmpl	$32768, %eax                    ## imm = 0x8000
	jl	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_br_aesctr_drbg_update
	jmp	LBB0_6
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	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_aesctr_drbg_generate        ; -- Begin function br_aesctr_drbg_generate
	.p2align	2
_br_aesctr_drbg_generate:               ; @br_aesctr_drbg_generate
	.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	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	add	x0, sp, #12
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	cbz	x19, LBB0_5
; %bb.1:
	add	x22, x21, #8
	mov	w24, #65280
	mov	w25, #524288
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, x23
	cbz	x19, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x19, x24
	csel	x8, x19, x24, lo
	ldr	w9, [x21]
	add	x10, x8, #15
	lsr	x10, x10, #4
	add	w10, w9, w10
	sub	w9, w25, w9, lsl #4
	sxtw	x9, w9
	cmp	x19, x9
	csel	x9, x19, x9, lo
	cmp	w10, #8, lsl #12                ; =32768
	csel	x23, x8, x9, le
	mov	x0, x20
	mov	w1, #0
	mov	x2, x23
	bl	_memset
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	w2, [x21]
	add	x1, sp, #12
	mov	x0, x22
	mov	x3, x20
	mov	x4, x23
	blr	x8
	str	w0, [x21]
	sub	x19, x19, x23
	cmp	w0, #8, lsl #12                 ; =32768
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, #0
	mov	w2, #0
	bl	_br_aesctr_drbg_update
	b	LBB0_2
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:
	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
