	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uma_zfree_domain               ## -- Begin function uma_zfree_domain
	.p2align	4, 0x90
_uma_zfree_domain:                      ## @uma_zfree_domain
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, -32(%rbp)
	movq	_RANDOM_UMA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rdi
	movl	$8, %esi
	callq	_random_harvest_fast_uma
	movq	_KTR_UMA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_curthread@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movq	-32(%rbp), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_CTR2
	movq	(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	callq	_SCHEDULER_STOPPED
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	callq	_KASSERT
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movq	-32(%rbp), %rdi
	movq	_SKIP_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_zone_free_item
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RANDOM_UMA,4,2                 ## @RANDOM_UMA
	.comm	_KTR_UMA,4,2                    ## @KTR_UMA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"uma_zfree_domain thread %x zone %s"

	.comm	_curthread,8,3                  ## @curthread
L_.str.1:                               ## @.str.1
	.asciz	"uma_zfree_domain: called with spinlock or critical section held"

	.comm	_SKIP_NONE,4,2                  ## @SKIP_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uma_zfree_domain               ; -- Begin function uma_zfree_domain
	.p2align	2
_uma_zfree_domain:                      ; @uma_zfree_domain
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	str	x0, [sp, #8]
Lloh0:
	adrp	x8, _RANDOM_UMA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RANDOM_UMA@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	w1, #8
	bl	_random_harvest_fast_uma
Lloh3:
	adrp	x8, _KTR_UMA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KTR_UMA@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x21, _curthread@GOTPAGE
Lloh7:
	ldr	x21, [x21, _curthread@GOTPAGEOFF]
	ldr	x2, [x21]
	ldr	x8, [sp, #8]
	ldr	w3, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_CTR2
	ldr	x8, [x21]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_SCHEDULER_STOPPED
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_KASSERT
	cbz	x20, LBB0_5
; %bb.4:
	ldr	x0, [sp, #8]
Lloh12:
	adrp	x8, _SKIP_NONE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SKIP_NONE@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x1, x20
	mov	x2, x19
	bl	_zone_free_item
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_RANDOM_UMA,4,2                 ; @RANDOM_UMA
	.comm	_KTR_UMA,4,2                    ; @KTR_UMA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"uma_zfree_domain thread %x zone %s"

	.comm	_curthread,8,3                  ; @curthread
l_.str.1:                               ; @.str.1
	.asciz	"uma_zfree_domain: called with spinlock or critical section held"

	.comm	_SKIP_NONE,4,2                  ; @SKIP_NONE
.subsections_via_symbols
