	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ocxl_pasid_afu_alloc           ## -- Begin function ocxl_pasid_afu_alloc
	.p2align	4, 0x90
_ocxl_pasid_afu_alloc:                  ## @ocxl_pasid_afu_alloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	4(%rdi), %ecx
	testl	%ecx, %ecx
	js	LBB0_1
## %bb.2:
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	leaq	L_.str(%rip), %rcx
	popq	%rbp
	jmp	_range_alloc                    ## TAILCALL
LBB0_1:
	movq	_ENOSPC@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"afu pasid"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ocxl_pasid_afu_alloc           ; -- Begin function ocxl_pasid_afu_alloc
	.p2align	2
_ocxl_pasid_afu_alloc:                  ; @ocxl_pasid_afu_alloc
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #4]
	tbnz	w8, #31, LBB0_2
; %bb.1:
	mov	w9, #1
	lsl	w2, w9, w8
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	b	_range_alloc
LBB0_2:
Lloh2:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"afu pasid"

.subsections_via_symbols
