	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mei_cl_alloc_cb                ## -- Begin function mei_cl_alloc_cb
	.p2align	4, 0x90
_mei_cl_alloc_cb:                       ## @mei_cl_alloc_cb
	.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
	movq	%rsi, %r14
	movl	%edx, %esi
	movq	%rcx, %rdx
	callq	_mei_io_cb_init
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	testq	%r14, %r14
	je	LBB0_7
## %bb.2:
	movq	_MEI_SLOT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_roundup
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_kmalloc
	movl	%eax, 8(%rbx)
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	%r14, (%rbx)
	jmp	LBB0_7
LBB0_5:
	movq	%rbx, %rdi
	callq	_mei_io_cb_free
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEI_SLOT_SIZE,4,2              ## @MEI_SLOT_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mei_cl_alloc_cb                ; -- Begin function mei_cl_alloc_cb
	.p2align	2
_mei_cl_alloc_cb:                       ; @mei_cl_alloc_cb
	.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	x1, x2
	mov	x2, x3
	bl	_mei_io_cb_init
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.1:
	cbz	x20, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _MEI_SLOT_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEI_SLOT_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_roundup
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_kmalloc
	str	w0, [x19, #8]
	cbz	w0, LBB0_4
; %bb.3:
	str	x20, [x19]
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_mei_io_cb_free
	mov	x19, #0
LBB0_5:
	mov	x0, x19
	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	_MEI_SLOT_SIZE,4,2              ; @MEI_SLOT_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
