	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ztest_random_blocksize
_ztest_random_blocksize:                ## @ztest_random_blocksize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_SPA_OLD_MAXBLOCKSHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ztest_spa@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_spa_maxblocksize
	movq	_SPA_MAXBLOCKSIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	$20, %edi
	cmovnel	%ebx, %edi
	movq	(%r14), %rax
	subl	(%rax), %edi
	incl	%edi
	callq	_ztest_random
	movq	_SPA_MINBLOCKSHIFT@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	movl	%edx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPA_OLD_MAXBLOCKSHIFT,4,2      ## @SPA_OLD_MAXBLOCKSHIFT
	.comm	_ztest_spa,8,3                  ## @ztest_spa
	.comm	_SPA_MAXBLOCKSIZE,8,3           ## @SPA_MAXBLOCKSIZE
	.comm	_SPA_MINBLOCKSHIFT,4,2          ## @SPA_MINBLOCKSHIFT
	.no_dead_strip	_ztest_random_blocksize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ztest_random_blocksize
_ztest_random_blocksize:                ; @ztest_random_blocksize
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _SPA_OLD_MAXBLOCKSHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPA_OLD_MAXBLOCKSHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x20, _ztest_spa@GOTPAGE
Lloh4:
	ldr	x20, [x20, _ztest_spa@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_spa_maxblocksize
Lloh5:
	adrp	x8, _SPA_MAXBLOCKSIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SPA_MAXBLOCKSIZE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	mov	w8, #20
	csel	w8, w8, w19, eq
	ldr	x9, [x20]
	ldr	w9, [x9]
	sub	w8, w8, w9
	add	w0, w8, #1
	bl	_ztest_random
Lloh8:
	adrp	x8, _SPA_MINBLOCKSHIFT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SPA_MINBLOCKSHIFT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	add	w8, w8, w0
	mov	w9, #1
	lsl	w0, w9, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SPA_OLD_MAXBLOCKSHIFT,4,2      ; @SPA_OLD_MAXBLOCKSHIFT
	.comm	_ztest_spa,8,3                  ; @ztest_spa
	.comm	_SPA_MAXBLOCKSIZE,8,3           ; @SPA_MAXBLOCKSIZE
	.comm	_SPA_MINBLOCKSHIFT,4,2          ; @SPA_MINBLOCKSHIFT
	.no_dead_strip	_ztest_random_blocksize
.subsections_via_symbols
