	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_hmac_drbg_generate          ## -- Begin function br_hmac_drbg_generate
	.p2align	4, 0x90
_br_hmac_drbg_generate:                 ## @br_hmac_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, %r15
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	16(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_br_digest_size
	movq	%rax, %r12
	movq	(%r14), %rdx
	leaq	-48(%rbp), %rdi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	movq	%rax, %rcx
	callq	_br_hmac_key_init
	testq	%r15, %r15
	je	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-52(%rbp), %rbx
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rsi
	xorl	%edx, %edx
	callq	_br_hmac_init
	movq	8(%r14), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_br_hmac_update
	movq	8(%r14), %rsi
	movq	%rbx, %rdi
	callq	_br_hmac_out
	cmpq	%r15, %r12
	movq	%r15, %rbx
	cmovbq	%r12, %rbx
	movq	8(%r14), %rsi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_memcpy
	addq	%rbx, %r13
	subq	%rbx, %r15
	jne	LBB0_1
LBB0_2:
	leaq	-52(%rbp), %rbx
	leaq	-48(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_br_hmac_init
	movq	8(%r14), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_br_hmac_update
	movb	$0, -41(%rbp)
	leaq	-41(%rbp), %rsi
	movl	$1, %edx
	movq	%rbx, %rdi
	callq	_br_hmac_update
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_br_hmac_out
	movq	(%r14), %rdx
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rcx
	callq	_br_hmac_key_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_br_hmac_init
	movq	8(%r14), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_br_hmac_update
	movq	8(%r14), %rsi
	movq	%rbx, %rdi
	callq	_br_hmac_out
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_br_hmac_drbg_generate          ; -- Begin function br_hmac_drbg_generate
	.p2align	2
_br_hmac_drbg_generate:                 ; @br_hmac_drbg_generate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
	ldr	x21, [x0, #16]
	mov	x0, x21
	bl	_br_digest_size
	mov	x20, x0
	ldr	x2, [x19]
	add	x0, sp, #12
	mov	x1, x21
	mov	x3, x20
	bl	_br_hmac_key_init
	cbz	x22, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	add	x1, sp, #12
	mov	w2, #0
	bl	_br_hmac_init
	ldr	x1, [x19, #8]
	add	x0, sp, #8
	mov	x2, x20
	bl	_br_hmac_update
	ldr	x1, [x19, #8]
	add	x0, sp, #8
	bl	_br_hmac_out
	cmp	x20, x22
	csel	x24, x20, x22, lo
	ldr	x1, [x19, #8]
	mov	x0, x23
	mov	x2, x24
	bl	_memcpy
	add	x23, x23, x24
	subs	x22, x22, x24
	b.ne	LBB0_1
LBB0_2:
	add	x0, sp, #8
	add	x1, sp, #12
	mov	w2, #0
	bl	_br_hmac_init
	ldr	x1, [x19, #8]
	add	x0, sp, #8
	mov	x2, x20
	bl	_br_hmac_update
	strb	wzr, [sp, #7]
	add	x0, sp, #8
	add	x1, sp, #7
	mov	w2, #1
	bl	_br_hmac_update
	ldr	x1, [x19]
	add	x0, sp, #8
	bl	_br_hmac_out
	ldr	x2, [x19]
	add	x0, sp, #12
	mov	x1, x21
	mov	x3, x20
	bl	_br_hmac_key_init
	add	x0, sp, #8
	add	x1, sp, #12
	mov	w2, #0
	bl	_br_hmac_init
	ldr	x1, [x19, #8]
	add	x0, sp, #8
	mov	x2, x20
	bl	_br_hmac_update
	ldr	x1, [x19, #8]
	add	x0, sp, #8
	bl	_br_hmac_out
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
