	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_buf
_prepare_buf:                           ## @prepare_buf
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_DEFAULT_XLOG_SEG_SIZE@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_4
## %bb.1:
	movq	_full_buf@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_random
	movq	(%r15), %rsi
	movl	%eax, (%rsi,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
	jmp	LBB0_3
LBB0_4:
	movq	_full_buf@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
LBB0_3:
	movq	_XLOG_BLCKSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_TYPEALIGN
	movq	_buf@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEFAULT_XLOG_SEG_SIZE,4,2      ## @DEFAULT_XLOG_SEG_SIZE
	.comm	_full_buf,8,3                   ## @full_buf
	.comm	_XLOG_BLCKSZ,4,2                ## @XLOG_BLCKSZ
	.comm	_buf,8,3                        ## @buf
	.no_dead_strip	_prepare_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_buf
_prepare_buf:                           ; @prepare_buf
	.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
Lloh0:
	adrp	x19, _DEFAULT_XLOG_SEG_SIZE@GOTPAGE
Lloh1:
	ldr	x19, [x19, _DEFAULT_XLOG_SEG_SIZE@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
Lloh2:
	adrp	x21, _full_buf@GOTPAGE
Lloh3:
	ldr	x21, [x21, _full_buf@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_random
	ldr	x1, [x21]
	str	w0, [x1, x20, lsl #2]
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.lt	LBB0_2
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _full_buf@GOTPAGE
Lloh5:
	ldr	x8, [x8, _full_buf@GOTPAGEOFF]
Lloh6:
	ldr	x1, [x8]
LBB0_4:
Lloh7:
	adrp	x8, _XLOG_BLCKSZ@GOTPAGE
Lloh8:
	ldr	x8, [x8, _XLOG_BLCKSZ@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_TYPEALIGN
Lloh10:
	adrp	x8, _buf@GOTPAGE
Lloh11:
	ldr	x8, [x8, _buf@GOTPAGEOFF]
Lloh12:
	str	x0, [x8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DEFAULT_XLOG_SEG_SIZE,4,2      ; @DEFAULT_XLOG_SEG_SIZE
	.comm	_full_buf,8,3                   ; @full_buf
	.comm	_XLOG_BLCKSZ,4,2                ; @XLOG_BLCKSZ
	.comm	_buf,8,3                        ; @buf
	.no_dead_strip	_prepare_buf
.subsections_via_symbols
