	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uma_small_alloc                ## -- Begin function uma_small_alloc
	.p2align	4, 0x90
_uma_small_alloc:                       ## @uma_small_alloc
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movq	%rcx, %rbx
	movl	%edx, %r15d
	movq	_uma_nsmall_alloc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PMAP_STATS_INC
	movq	_UMA_SLAB_PRIV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	%r14d, %edi
	callq	_malloc2vm_flags
	movq	_VM_ALLOC_WIRED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_VM_ALLOC_NOOBJ@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_vm_page_alloc_domain
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_VM_PAGE_TO_PHYS
	movl	%eax, %r15d
	movq	_dcache_color_ignore@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_6
## %bb.2:
	movq	8(%r12), %rbx
	movl	%r15d, %edi
	callq	_DCACHE_COLOR
	cmpq	%rax, %rbx
	je	LBB0_6
## %bb.3:
	movq	16(%r12), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.4:
	xorl	%edi, %edi
	cmpq	$0, 8(%rax)
	sete	%dil
LBB0_5:
	movq	%r12, %rsi
	callq	_KASSERT
	movq	_uma_nsmall_alloc_oc@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PMAP_STATS_INC
	movl	%r15d, %edi
	callq	_DCACHE_COLOR
	movq	%rax, 8(%r12)
	movl	%r15d, %edi
	callq	_dcache_page_inval
LBB0_6:
	movl	%r15d, %edi
	callq	_TLB_PHYS_TO_DIRECT
	movq	%rax, %rbx
	movq	_M_ZERO@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_9
## %bb.7:
	movq	_PG_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	jne	LBB0_9
## %bb.8:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_cpu_block_zero
LBB0_9:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_uma_nsmall_alloc,4,2           ## @uma_nsmall_alloc
	.comm	_UMA_SLAB_PRIV,4,2              ## @UMA_SLAB_PRIV
	.comm	_VM_ALLOC_WIRED,4,2             ## @VM_ALLOC_WIRED
	.comm	_VM_ALLOC_NOOBJ,4,2             ## @VM_ALLOC_NOOBJ
	.comm	_dcache_color_ignore,8,3        ## @dcache_color_ignore
	.comm	_uma_nsmall_alloc_oc,4,2        ## @uma_nsmall_alloc_oc
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_PG_ZERO,4,2                    ## @PG_ZERO
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_uma_small_alloc                ; -- Begin function uma_small_alloc
	.p2align	2
_uma_small_alloc:                       ; @uma_small_alloc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x4
	mov	x20, x3
	mov	x21, x2
Lloh0:
	adrp	x8, _uma_nsmall_alloc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _uma_nsmall_alloc@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_PMAP_STATS_INC
Lloh3:
	adrp	x8, _UMA_SLAB_PRIV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UMA_SLAB_PRIV@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x19
	bl	_malloc2vm_flags
Lloh6:
	adrp	x8, _VM_ALLOC_WIRED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VM_ALLOC_WIRED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh9:
	adrp	x9, _VM_ALLOC_NOOBJ@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VM_ALLOC_NOOBJ@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w3, w8, w9
	mov	x0, #0
	mov	w1, #0
	mov	x2, x21
	bl	_vm_page_alloc_domain
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
	bl	_VM_PAGE_TO_PHYS
	mov	x21, x0
Lloh12:
	adrp	x8, _dcache_color_ignore@GOTPAGE
Lloh13:
	ldr	x8, [x8, _dcache_color_ignore@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbnz	x8, LBB0_8
; %bb.2:
	ldr	x22, [x20, #8]
	mov	x0, x21
	bl	_DCACHE_COLOR
	cmp	x22, x0
	b.eq	LBB0_8
; %bb.3:
	ldr	x8, [x20, #16]
	ldr	x9, [x8]
	cbz	x9, LBB0_6
; %bb.4:
	mov	w0, #0
	b	LBB0_7
LBB0_5:
	mov	x21, #0
	b	LBB0_11
LBB0_6:
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w0, eq
LBB0_7:
	mov	x1, x20
	bl	_KASSERT
Lloh15:
	adrp	x8, _uma_nsmall_alloc_oc@GOTPAGE
Lloh16:
	ldr	x8, [x8, _uma_nsmall_alloc_oc@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_PMAP_STATS_INC
	mov	x0, x21
	bl	_DCACHE_COLOR
	str	x0, [x20, #8]
	mov	x0, x21
	bl	_dcache_page_inval
LBB0_8:
	mov	x0, x21
	bl	_TLB_PHYS_TO_DIRECT
	mov	x21, x0
Lloh18:
	adrp	x8, _M_ZERO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _M_ZERO@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_11
; %bb.9:
	ldr	w8, [x20]
Lloh21:
	adrp	x9, _PG_ZERO@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PG_ZERO@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_11
; %bb.10:
Lloh24:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_cpu_block_zero
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_uma_nsmall_alloc,4,2           ; @uma_nsmall_alloc
	.comm	_UMA_SLAB_PRIV,4,2              ; @UMA_SLAB_PRIV
	.comm	_VM_ALLOC_WIRED,4,2             ; @VM_ALLOC_WIRED
	.comm	_VM_ALLOC_NOOBJ,4,2             ; @VM_ALLOC_NOOBJ
	.comm	_dcache_color_ignore,8,3        ; @dcache_color_ignore
	.comm	_uma_nsmall_alloc_oc,4,2        ; @uma_nsmall_alloc_oc
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_PG_ZERO,4,2                    ; @PG_ZERO
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
.subsections_via_symbols
