	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ztest_fzap                     ## -- Begin function ztest_fzap
	.p2align	4, 0x90
_ztest_fzap:                            ## @ztest_fzap
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r13
	movq	_FTAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMU_OT_ZAP_OTHER@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_ztest_od_init
	addq	$16, %rsp
	movl	$2, %edi
	callq	_ztest_random
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_ztest_object_init
	testq	%rax, %rax
	jne	LBB0_5
## %bb.1:
	movq	-56(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsp, %r12
	movq	_ZFS_MAX_DATASET_NAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r15, -80(%rbp)
	movq	%r14, %rdi
	movl	%ebx, %esi
	leaq	L_.str(%rip), %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_snprintf
	movq	%r13, %rbx
	movq	%r13, %rdi
	callq	_dmu_tx_create
	movq	%rax, %r13
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rcx
	callq	_dmu_tx_hold_zap
	movq	_TXG_MIGHTWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_FTAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_ztest_tx_assign
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	subq	$8, %rsp
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movl	$8, %ecx
	movl	$1, %r8d
	leaq	-80(%rbp), %r9
	pushq	%r13
	callq	_zap_add
	addq	$16, %rsp
	testl	%eax, %eax
	sete	%cl
	movq	_EEXIST@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_ASSERT
	movq	%r13, %rdi
	callq	_dmu_tx_commit
	movq	%r12, %rsp
	incq	%r15
	cmpq	$2050, %r15                     ## imm = 0x802
	movq	%rbx, %r13
	jne	LBB0_2
	jmp	LBB0_5
LBB0_4:
	movq	%r12, %rsp
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FTAG,4,2                       ## @FTAG
	.comm	_DMU_OT_ZAP_OTHER,4,2           ## @DMU_OT_ZAP_OTHER
	.comm	_ZFS_MAX_DATASET_NAME_LEN,4,2   ## @ZFS_MAX_DATASET_NAME_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fzap-%llu-%llu"

	.comm	_B_TRUE,4,2                     ## @B_TRUE
	.comm	_TXG_MIGHTWAIT,4,2              ## @TXG_MIGHTWAIT
	.comm	_EEXIST,4,2                     ## @EEXIST
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ztest_fzap                     ; -- Begin function ztest_fzap
	.p2align	2
_ztest_fzap:                            ; @ztest_fzap
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x20, [x0]
Lloh3:
	adrp	x8, _FTAG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FTAG@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _DMU_OT_ZAP_OTHER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DMU_OT_ZAP_OTHER@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	sub	x0, x29, #96
	mov	w3, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_ztest_od_init
	mov	w0, #2
	bl	_ztest_random
	cmp	w0, #0
	cset	w3, eq
	sub	x1, x29, #96
	mov	x0, x21
	mov	w2, #8
	bl	_ztest_object_init
	cbnz	x0, LBB0_5
; %bb.1:
	mov	x21, #0
	ldur	x22, [x29, #-96]
Lloh9:
	adrp	x23, l_.str@PAGE
Lloh10:
	add	x23, x23, l_.str@PAGEOFF
Lloh11:
	adrp	x26, _TXG_MIGHTWAIT@GOTPAGE
Lloh12:
	ldr	x26, [x26, _TXG_MIGHTWAIT@GOTPAGEOFF]
Lloh13:
	adrp	x27, _EEXIST@GOTPAGE
Lloh14:
	ldr	x27, [x27, _EEXIST@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x28, sp
Lloh15:
	adrp	x8, _ZFS_MAX_DATASET_NAME_LEN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ZFS_MAX_DATASET_NAME_LEN@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x9, x1
Lloh18:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh19:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x24, x8, x9
	mov	sp, x24
	stur	x21, [x29, #-104]
	mov	x0, x24
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x23
	mov	x3, x19
	mov	x4, x21
	bl	_snprintf
	mov	x0, x20
	bl	_dmu_tx_create
	mov	x25, x0
Lloh20:
	adrp	x8, _B_TRUE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _B_TRUE@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x1, x22
	mov	x3, x24
	bl	_dmu_tx_hold_zap
	ldr	w1, [x26]
Lloh23:
	adrp	x8, _FTAG@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FTAG@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x25
	bl	_ztest_tx_assign
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x5, x29, #104
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	mov	w3, #8
	mov	w4, #1
	mov	x6, x25
	bl	_zap_add
	cmp	w0, #0
	ldr	w8, [x27]
	ccmp	w0, w8, #4, ne
	cset	w0, eq
	bl	_ASSERT
	mov	x0, x25
	bl	_dmu_tx_commit
	mov	sp, x28
	add	x21, x21, #1
	cmp	x21, #2050
	b.ne	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	sp, x28
LBB0_5:
	ldur	x8, [x29, #-88]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_FTAG,4,2                       ; @FTAG
	.comm	_DMU_OT_ZAP_OTHER,4,2           ; @DMU_OT_ZAP_OTHER
	.comm	_ZFS_MAX_DATASET_NAME_LEN,4,2   ; @ZFS_MAX_DATASET_NAME_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fzap-%llu-%llu"

	.comm	_B_TRUE,4,2                     ; @B_TRUE
	.comm	_TXG_MIGHTWAIT,4,2              ; @TXG_MIGHTWAIT
	.comm	_EEXIST,4,2                     ; @EEXIST
.subsections_via_symbols
