	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%edx, %ebx
	movq	_UMA_SLAB_PRIV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	movl	%r8d, %edi
	callq	_malloc2vm_flags
	movq	_VM_ALLOC_NOOBJ@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_VM_ALLOC_WIRED@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_vm_page_alloc_domain
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movl	4(%rax), %r14d
	movq	_M_NODUMP@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	jne	LBB0_3
## %bb.2:
	movl	%r14d, %edi
	callq	_dump_add_page
LBB0_3:
	movl	%r14d, %edi
	callq	_PHYS_TO_DMAP
	movq	%rax, %r14
	movq	_M_ZERO@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_6
## %bb.4:
	movq	_PG_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_6
## %bb.5:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_bzero
LBB0_6:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UMA_SLAB_PRIV,4,2              ## @UMA_SLAB_PRIV
	.comm	_VM_ALLOC_NOOBJ,4,2             ## @VM_ALLOC_NOOBJ
	.comm	_VM_ALLOC_WIRED,4,2             ## @VM_ALLOC_WIRED
	.comm	_M_NODUMP,4,2                   ## @M_NODUMP
	.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, x2
Lloh0:
	adrp	x8, _UMA_SLAB_PRIV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UMA_SLAB_PRIV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x3]
	mov	x0, x4
	bl	_malloc2vm_flags
Lloh3:
	adrp	x8, _VM_ALLOC_NOOBJ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VM_ALLOC_NOOBJ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh6:
	adrp	x9, _VM_ALLOC_WIRED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VM_ALLOC_WIRED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w3, w8, w9
	mov	x0, #0
	mov	w1, #0
	mov	x2, x20
	bl	_vm_page_alloc_domain
	cbz	x0, LBB0_6
; %bb.1:
	mov	x21, x0
	ldr	w20, [x0, #4]
Lloh9:
	adrp	x8, _M_NODUMP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _M_NODUMP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w19
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_dump_add_page
LBB0_3:
	mov	x0, x20
	bl	_PHYS_TO_DMAP
	mov	x20, x0
Lloh12:
	adrp	x8, _M_ZERO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _M_ZERO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_7
; %bb.4:
	ldr	w8, [x21]
Lloh15:
	adrp	x9, _PG_ZERO@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PG_ZERO@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.5:
Lloh18:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_bzero
	b	LBB0_7
LBB0_6:
	mov	x20, #0
LBB0_7:
	mov	x0, x20
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_UMA_SLAB_PRIV,4,2              ; @UMA_SLAB_PRIV
	.comm	_VM_ALLOC_NOOBJ,4,2             ; @VM_ALLOC_NOOBJ
	.comm	_VM_ALLOC_WIRED,4,2             ; @VM_ALLOC_WIRED
	.comm	_M_NODUMP,4,2                   ; @M_NODUMP
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_PG_ZERO,4,2                    ; @PG_ZERO
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
.subsections_via_symbols
