	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function account
_account:                               ## @account
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	4(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %eax
	movq	24(%rbx), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setg	%dil
	callq	_BUG_ON
	leaq	(,%r15,8), %rsi
	movl	16(%rbx), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DEBUG_ENT
	movl	(%rbx), %eax
	leal	7(%rax), %esi
	testl	%eax, %eax
	cmovnsl	%eax, %esi
	sarl	$3, %esi
	addl	%r12d, %r13d
	cmpl	%r13d, %esi
	jge	LBB0_2
## %bb.1:
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_2:
	cmpq	$0, 8(%rbx)
	je	LBB0_3
## %bb.4:
	movslq	%r12d, %rcx
	leaq	(%rcx,%r15), %rdi
	movslq	%esi, %rdx
	cmpq	%rdx, %rdi
	jb	LBB0_6
## %bb.5:
	subl	%r12d, %esi
	movslq	%esi, %r15
	jmp	LBB0_6
LBB0_3:
	movslq	%esi, %rdx
	movslq	%r12d, %rcx
LBB0_6:
	addq	%r15, %rcx
	leal	(,%r15,8), %esi
	subl	%esi, %eax
	cmpq	%rdx, %rcx
	cmoval	%r12d, %eax
	movl	%eax, (%rbx)
	movq	_random_write_wakeup_thresh@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_8
## %bb.7:
	movq	_random_write_wait@GOTPCREL(%rip), %rdi
	callq	_wake_up_interruptible
	movq	_SIGIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_POLL_OUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_fasync@GOTPCREL(%rip), %rdi
	callq	_kill_fasync
LBB0_8:
	leaq	(,%r15,8), %rsi
	movl	16(%rbx), %edx
	cmpq	$0, 8(%rbx)
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_DEBUG_ENT
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"trying to extract %d bits from %s\n"

	.comm	_random_write_wakeup_thresh,4,2 ## @random_write_wakeup_thresh
	.comm	_random_write_wait,4,2          ## @random_write_wait
	.comm	_fasync,4,2                     ## @fasync
	.comm	_SIGIO,4,2                      ## @SIGIO
	.comm	_POLL_OUT,4,2                   ## @POLL_OUT
L_.str.1:                               ## @.str.1
	.asciz	"debiting %d entropy credits from %s%s\n"

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	" (unlimited)"

	.no_dead_strip	_account
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function account
_account:                               ; @account
	.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	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x20, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x20]
	ldr	x9, [x20, #24]
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, gt
	bl	_BUG_ON
	lsl	x1, x22, #3
	ldr	w2, [x20, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DEBUG_ENT
	ldr	w8, [x20]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w9, w9, w8, lt
	asr	w9, w9, #3
	add	w10, w21, w23
	cmp	w9, w10
	b.ge	LBB0_2
; %bb.1:
	mov	x22, #0
	b	LBB0_4
LBB0_2:
	ldr	x10, [x20, #8]
	sxtw	x11, w21
	sxtw	x12, w9
	sub	w13, w9, w21
	sxtw	x13, w13
	add	x14, x11, x22
	cmp	x14, x12
	csel	x13, x22, x13, lo
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	sxtw	x9, w9
	mov	x14, x21
	sxtw	x14, w14
	cmp	x10, #0
	csel	x10, x11, x14, ne
	csel	x9, x12, x9, ne
	csel	x22, x13, x22, ne
	sub	w8, w8, w22, lsl #3
	add	x10, x22, x10
	cmp	x10, x9
	csel	w8, w21, w8, hi
	str	w8, [x20]
Lloh2:
	adrp	x9, _random_write_wakeup_thresh@GOTPAGE
Lloh3:
	ldr	x9, [x9, _random_write_wakeup_thresh@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_4
; %bb.3:
Lloh5:
	adrp	x0, _random_write_wait@GOTPAGE
Lloh6:
	ldr	x0, [x0, _random_write_wait@GOTPAGEOFF]
	bl	_wake_up_interruptible
Lloh7:
	adrp	x8, _SIGIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SIGIO@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _POLL_OUT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _POLL_OUT@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x0, _fasync@GOTPAGE
Lloh14:
	ldr	x0, [x0, _fasync@GOTPAGEOFF]
	bl	_kill_fasync
LBB0_4:
	lsl	x1, x22, #3
	ldr	w2, [x20, #16]
	ldr	x8, [x20, #8]
Lloh15:
	adrp	x9, l_.str.2@PAGE
Lloh16:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh17:
	adrp	x10, l_.str.3@PAGE
Lloh18:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	x8, #0
	csel	x8, x10, x9, eq
	str	x8, [sp]
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DEBUG_ENT
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x22
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"trying to extract %d bits from %s\n"

	.comm	_random_write_wakeup_thresh,4,2 ; @random_write_wakeup_thresh
	.comm	_random_write_wait,4,2          ; @random_write_wait
	.comm	_fasync,4,2                     ; @fasync
	.comm	_SIGIO,4,2                      ; @SIGIO
	.comm	_POLL_OUT,4,2                   ; @POLL_OUT
l_.str.1:                               ; @.str.1
	.asciz	"debiting %d entropy credits from %s%s\n"

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	" (unlimited)"

	.no_dead_strip	_account
.subsections_via_symbols
