	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qib_user_sdma_num_pages
_qib_user_sdma_num_pages:               ## @qib_user_sdma_num_pages
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	_PAGE_MASK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	addq	%rcx, %rax
	decq	%rax
	andq	%rdx, %rax
	andq	%rcx, %rdx
	subq	%rdx, %rax
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrq	%cl, %rax
	incl	%eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_MASK,8,3                  ## @PAGE_MASK
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.no_dead_strip	_qib_user_sdma_num_pages
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_user_sdma_num_pages
_qib_user_sdma_num_pages:               ; @qib_user_sdma_num_pages
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0]
Lloh0:
	adrp	x10, _PAGE_MASK@GOTPAGE
Lloh1:
	ldr	x10, [x10, _PAGE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	and	x11, x10, x8
	add	x8, x8, x9
	sub	x8, x8, #1
	and	x8, x8, x10
	sub	x8, x8, x11
Lloh3:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	lsr	x8, x8, x9
	add	w0, w8, #1
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_MASK,8,3                  ; @PAGE_MASK
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.no_dead_strip	_qib_user_sdma_num_pages
.subsections_via_symbols
