	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function drbg_add
LCPI0_0:
	.long	1127219200                      ## 0x43300000
	.long	1160773632                      ## 0x45300000
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_1:
	.quad	0x4330000000000000              ## double 4503599627370496
	.quad	0x4530000000000000              ## double 1.9342813113834067E+25
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_2:
	.quad	0x4020000000000000              ## double 8
LCPI0_3:
	.quad	0x43e0000000000000              ## double 9.2233720368547758E+18
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_drbg_add:                              ## @drbg_add
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movapd	%xmm0, -48(%rbp)                ## 16-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_RAND_DRBG_get0_master
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	testl	%r15d, %r15d
	js	LBB0_6
## %bb.2:
	xorpd	%xmm0, %xmm0
	ucomisd	-48(%rbp), %xmm0                ## 16-byte Folded Reload
	ja	LBB0_6
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_rand_drbg_lock
	movq	%rbx, %rdi
	callq	_rand_drbg_seedlen
	xorpd	%xmm2, %xmm2
	movq	%rax, %xmm1
	punpckldq	LCPI0_0(%rip), %xmm1    ## xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
	subpd	LCPI0_1(%rip), %xmm1
	movl	%r15d, %edx
	movapd	%xmm1, %xmm0
	unpckhpd	%xmm1, %xmm0                    ## xmm0 = xmm0[1],xmm1[1]
	addsd	%xmm1, %xmm0
	cmpq	%rdx, %rax
	ja	LBB0_5
## %bb.4:
	movapd	-48(%rbp), %xmm1                ## 16-byte Reload
	movapd	%xmm1, %xmm2
	cmpltsd	%xmm0, %xmm2
	andnpd	%xmm1, %xmm2
LBB0_5:
	minsd	%xmm2, %xmm0
	mulsd	LCPI0_2(%rip), %xmm0
	cvttsd2si	%xmm0, %rax
	movq	%rax, %rsi
	sarq	$63, %rsi
	subsd	LCPI0_3(%rip), %xmm0
	cvttsd2si	%xmm0, %rcx
	andq	%rsi, %rcx
	orq	%rax, %rcx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_rand_drbg_restart
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_rand_drbg_unlock
	movl	%r14d, %eax
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_drbg_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drbg_add
_drbg_add:                              ; @drbg_add
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 b8, -56
	.cfi_offset b9, -64
	fmov	d8, d0
	mov	x21, x1
	mov	x20, x0
	bl	_RAND_DRBG_get0_master
	cbz	x0, LBB0_4
; %bb.1:
	tbnz	w21, #31, LBB0_4
; %bb.2:
	fcmp	d8, #0.0
	b.mi	LBB0_4
; %bb.3:
	mov	x19, x0
	bl	_rand_drbg_lock
	mov	x0, x19
	bl	_rand_drbg_seedlen
	mov	w2, w21
	ucvtf	d0, x0
	fcmp	d0, d8
	ccmp	x0, x2, #2, le
	movi	d1, #0000000000000000
	fcsel	d1, d1, d8, hi
	fcmp	d1, d0
	fcsel	d0, d0, d1, gt
	fcvtzu	x3, d0, #3
	mov	x0, x19
	mov	x1, x20
	bl	_rand_drbg_restart
	mov	x20, x0
	mov	x0, x19
	bl	_rand_drbg_unlock
	mov	x0, x20
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_drbg_add
.subsections_via_symbols
