	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ivtv_udma_get_page_info        ## -- Begin function ivtv_udma_get_page_info
	.p2align	4, 0x90
_ivtv_udma_get_page_info:               ## @ivtv_udma_get_page_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PAGE_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	andq	%rsi, %rcx
	movq	%rcx, (%rdi)
	movq	(%rax), %rax
	movq	%rax, %r9
	notq	%r9
	movq	%r9, %r8
	andq	%rsi, %r8
	movq	%r8, 8(%rdi)
	addq	%rsi, %rdx
	decq	%rdx
	andl	%edx, %r9d
	incl	%r9d
	movl	%r9d, 16(%rdi)
	andq	%rax, %rsi
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrq	%cl, %rsi
	movq	%rsi, 24(%rdi)
	andq	%rdx, %rax
	shrq	%cl, %rax
	movq	%rax, 32(%rdi)
	subq	%rsi, %rax
	leaq	1(%rax), %rax
	movq	%rax, 40(%rdi)
	jne	LBB0_2
## %bb.1:
	subl	%r8d, %r9d
	movl	%r9d, 16(%rdi)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_MASK,8,3                  ## @PAGE_MASK
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ivtv_udma_get_page_info        ; -- Begin function ivtv_udma_get_page_info
	.p2align	2
_ivtv_udma_get_page_info:               ; @ivtv_udma_get_page_info
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PAGE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_MASK@GOTPAGEOFF]
	ldr	x9, [x8]
	and	x9, x9, x1
	str	x9, [x0]
	ldr	x10, [x8]
	mvn	x9, x10
	bic	x8, x1, x10
	str	x8, [x0, #8]
	add	x11, x1, x2
	sub	x11, x11, #1
	and	w9, w11, w9
	add	w9, w9, #1
	str	w9, [x0, #16]
	and	x12, x10, x1
Lloh2:
	adrp	x13, _PAGE_SHIFT@GOTPAGE
Lloh3:
	ldr	x13, [x13, _PAGE_SHIFT@GOTPAGEOFF]
Lloh4:
	ldr	x13, [x13]
	lsr	x12, x12, x13
	and	x10, x10, x11
	lsr	x10, x10, x13
	stp	x12, x10, [x0, #24]
	subs	x10, x10, x12
	add	x10, x10, #1
	str	x10, [x0, #40]
	b.ne	LBB0_2
; %bb.1:
	sub	w8, w9, w8
	str	w8, [x0, #16]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_MASK,8,3                  ; @PAGE_MASK
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
.subsections_via_symbols
