	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function videobuf_vm_fault
_videobuf_vm_fault:                     ## @videobuf_vm_fault
	.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	%rdi, %r14
	movq	16(%rdi), %rax
	movl	8(%rdi), %edx
	movl	(%rax), %r8d
	movl	4(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	callq	_dprintk
	movq	_GFP_USER@GOTPCREL(%rip), %rax
	movq	___GFP_DMA32@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_alloc_page
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	8(%r14), %esi
	movq	%rax, %rdi
	callq	_clear_user_highpage
	movq	%rbx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_VM_FAULT_OOM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fault: fault @ %08lx [vma %08lx-%08lx]\n"

	.comm	_GFP_USER,4,2                   ## @GFP_USER
	.comm	___GFP_DMA32,4,2                ## @__GFP_DMA32
	.comm	_VM_FAULT_OOM,4,2               ## @VM_FAULT_OOM
	.no_dead_strip	_videobuf_vm_fault
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function videobuf_vm_fault
_videobuf_vm_fault:                     ; @videobuf_vm_fault
	.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	x19, x0
	ldr	x8, [x0, #16]
	ldr	w2, [x0, #8]
	ldp	w4, w3, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	bl	_dprintk
Lloh2:
	adrp	x8, _GFP_USER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_USER@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, ___GFP_DMA32@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___GFP_DMA32@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_alloc_page
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	w1, [x19, #8]
	bl	_clear_user_highpage
	mov	w0, #0
	str	x20, [x19]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x8, _VM_FAULT_OOM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VM_FAULT_OOM@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fault: fault @ %08lx [vma %08lx-%08lx]\n"

	.comm	_GFP_USER,4,2                   ; @GFP_USER
	.comm	___GFP_DMA32,4,2                ; @__GFP_DMA32
	.comm	_VM_FAULT_OOM,4,2               ; @VM_FAULT_OOM
	.no_dead_strip	_videobuf_vm_fault
.subsections_via_symbols
