	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dm_kvzalloc
_dm_kvzalloc:                           ## @dm_kvzalloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_claim_shared_memory
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movq	___GFP_NOMEMALLOC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_kvzalloc_node
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_free_shared_memory
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	___GFP_NOMEMALLOC,4,2           ## @__GFP_NOMEMALLOC
	.no_dead_strip	_dm_kvzalloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dm_kvzalloc
_dm_kvzalloc:                           ; @dm_kvzalloc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_claim_shared_memory
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, ___GFP_NOMEMALLOC@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___GFP_NOMEMALLOC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	mov	x2, x20
	bl	_kvzalloc_node
	cbnz	x0, LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_free_shared_memory
LBB0_3:
	mov	x0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	___GFP_NOMEMALLOC,4,2           ; @__GFP_NOMEMALLOC
	.no_dead_strip	_dm_kvzalloc
.subsections_via_symbols
