	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ztest_spa_checkpoint_create_discard ## -- Begin function ztest_spa_checkpoint_create_discard
	.p2align	4, 0x90
_ztest_spa_checkpoint_create_discard:   ## @ztest_spa_checkpoint_create_discard
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_ztest_spa@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_ztest_checkpoint_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_enter
	movl	$2, %edi
	callq	_ztest_random
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	callq	_ztest_spa_discard_checkpoint
	jmp	LBB0_3
LBB0_1:
	callq	_ztest_spa_checkpoint
LBB0_3:
	movq	_ztest_checkpoint_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mutex_exit                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ztest_spa,8,3                  ## @ztest_spa
	.comm	_ztest_checkpoint_lock,4,2      ## @ztest_checkpoint_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ztest_spa_checkpoint_create_discard ; -- Begin function ztest_spa_checkpoint_create_discard
	.p2align	2
_ztest_spa_checkpoint_create_discard:   ; @ztest_spa_checkpoint_create_discard
	.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, _ztest_spa@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ztest_spa@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
Lloh3:
	adrp	x0, _ztest_checkpoint_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _ztest_checkpoint_lock@GOTPAGEOFF]
	bl	_mutex_enter
	mov	w0, #2
	bl	_ztest_random
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_ztest_spa_discard_checkpoint
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_ztest_spa_checkpoint
LBB0_3:
Lloh5:
	adrp	x0, _ztest_checkpoint_lock@GOTPAGE
Lloh6:
	ldr	x0, [x0, _ztest_checkpoint_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_exit
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ztest_spa,8,3                  ; @ztest_spa
	.comm	_ztest_checkpoint_lock,4,2      ; @ztest_checkpoint_lock
.subsections_via_symbols
