	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extra_bits
_extra_bits:                            ## @extra_bits
	.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
	movq	8(%rsi), %rbx
	xorl	%r15d, %r15d
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	cmpl	$0, (%rbx)
	je	LBB0_5
## %bb.2:
	movq	%rsi, %r12
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_random
	cltd
	idivl	(%rbx)
	movq	8(%rbx), %rax
	movslq	%edx, %r13
	movl	(%r12), %edi
	imull	(%rax,%r13,8), %edi
	movl	$1000, %esi                     ## imm = 0x3E8
	callq	_div64
	movl	%eax, %r15d
	cmpl	4(%rbx), %r13d
	jl	LBB0_5
## %bb.3:
	movq	%r14, %rdi
	callq	_dn_tag_get
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_DIR_DROP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIR_DROP,4,2                   ## @DIR_DROP
	.no_dead_strip	_extra_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extra_bits
_extra_bits:                            ; @extra_bits
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x21, [x1, #8]
	cbz	x21, LBB0_5
; %bb.1:
	ldr	w8, [x21]
	cbz	w8, LBB0_5
; %bb.2:
	mov	x20, x1
	mov	x19, x0
	bl	_random
	ldr	w8, [x21]
	sdiv	w9, w0, w8
	msub	w22, w9, w8, w0
	ldr	x8, [x21, #8]
	ldr	x8, [x8, w22, sxtw #3]
	ldr	w9, [x20]
	mul	w0, w9, w8
	mov	w1, #1000
	bl	_div64
	mov	x20, x0
	ldr	w8, [x21, #4]
	cmp	w22, w8
	b.lt	LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_dn_tag_get
	cbz	x0, LBB0_6
; %bb.4:
Lloh0:
	adrp	x8, _DIR_DROP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIR_DROP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0]
	b	LBB0_6
LBB0_5:
	mov	w20, #0
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DIR_DROP,4,2                   ; @DIR_DROP
	.no_dead_strip	_extra_bits
.subsections_via_symbols
