	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uma_zalloc_domain              ## -- Begin function uma_zalloc_domain
	.p2align	4, 0x90
_uma_zalloc_domain:                     ## @uma_zalloc_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, -40(%rbp)
	movq	_RANDOM_UMA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %rdi
	movl	$8, %esi
	callq	_random_harvest_fast_uma
	movq	_KTR_UMA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_curthread@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	movq	-40(%rbp), %r8
	movl	(%r8), %ecx
	movl	%ebx, (%rsp)
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %r9d
	callq	_CTR5
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_WARN_GIANTOK@GOTPCREL(%rip), %rax
	movq	_WARN_SLEEPOK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	-40(%rbp), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rdx
	xorl	%esi, %esi
	callq	_WITNESS_WARN
LBB0_2:
	movq	(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.4:
	xorl	%eax, %eax
	callq	_SCHEDULER_STOPPED
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	jmp	LBB0_5
LBB0_3:
	movl	$1, %edi
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	callq	_KASSERT
	movq	-40(%rbp), %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	callq	_zone_alloc_item
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	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_zalloc_domain thread %x zone %s(%p) domain %d flags %d"

	.comm	_curthread,8,3                  ## @curthread
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_WARN_GIANTOK,4,2               ## @WARN_GIANTOK
	.comm	_WARN_SLEEPOK,4,2               ## @WARN_SLEEPOK
L_.str.1:                               ## @.str.1
	.asciz	"uma_zalloc_domain: zone \"%s\""

L_.str.2:                               ## @.str.2
	.asciz	"uma_zalloc_domain: called with spinlock or critical section held"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uma_zalloc_domain              ; -- Begin function uma_zalloc_domain
	.p2align	2
_uma_zalloc_domain:                     ; @uma_zalloc_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, x3
	mov	x20, x2
	mov	x21, 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	x22, _curthread@GOTPAGE
Lloh7:
	ldr	x22, [x22, _curthread@GOTPAGEOFF]
	ldr	x2, [x22]
	ldr	x4, [sp, #8]
	ldr	w3, [x4]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x5, x20
	mov	x6, x19
	bl	_CTR5
Lloh10:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_2
; %bb.1:
Lloh13:
	adrp	x8, _WARN_GIANTOK@GOTPAGE
Lloh14:
	ldr	x8, [x8, _WARN_GIANTOK@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _WARN_SLEEPOK@GOTPAGE
Lloh17:
	ldr	x9, [x9, _WARN_SLEEPOK@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldr	x8, [sp, #8]
	ldr	w3, [x8]
Lloh19:
	adrp	x2, l_.str.1@PAGE
Lloh20:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, #0
	bl	_WITNESS_WARN
LBB0_2:
	ldr	x8, [x22]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	bl	_SCHEDULER_STOPPED
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_5
LBB0_4:
	mov	w0, #1
LBB0_5:
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_KASSERT
	ldr	x0, [sp, #8]
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_zone_alloc_item
	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 AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.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_zalloc_domain thread %x zone %s(%p) domain %d flags %d"

	.comm	_curthread,8,3                  ; @curthread
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_WARN_GIANTOK,4,2               ; @WARN_GIANTOK
	.comm	_WARN_SLEEPOK,4,2               ; @WARN_SLEEPOK
l_.str.1:                               ; @.str.1
	.asciz	"uma_zalloc_domain: zone \"%s\""

l_.str.2:                               ; @.str.2
	.asciz	"uma_zalloc_domain: called with spinlock or critical section held"

.subsections_via_symbols
