	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v4l2_mmap
_v4l2_mmap:                             ## @v4l2_mmap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_video_devdata
	movq	%rax, %r14
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	movq	8(%r14), %rcx
	subl	(%rax), %ebx
	cmpq	$0, (%rcx)
	je	LBB0_5
## %bb.1:
	movq	%r14, %rdi
	callq	_video_is_registered
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	8(%r14), %rax
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	*(%rax)
	movl	%eax, %ebx
LBB0_3:
	movq	_V4L2_DEV_DEBUG_FOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_video_device_node_name
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_dprintk
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_V4L2_DEV_DEBUG_FOP,4,2         ## @V4L2_DEV_DEBUG_FOP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: mmap (%d)\n"

	.no_dead_strip	_v4l2_mmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v4l2_mmap
_v4l2_mmap:                             ; @v4l2_mmap
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x22, x0
	bl	_video_devdata
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x20, x0
	bl	_video_is_registered
	cbz	x0, LBB0_3
; %bb.2:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	mov	x0, x22
	mov	x1, x21
	blr	x8
	mov	x19, x0
LBB0_3:
	ldr	w8, [x20]
Lloh3:
	adrp	x9, _V4L2_DEV_DEBUG_FOP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_DEV_DEBUG_FOP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_video_device_node_name
	mov	x1, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_dprintk
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_V4L2_DEV_DEBUG_FOP,4,2         ; @V4L2_DEV_DEBUG_FOP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: mmap (%d)\n"

	.no_dead_strip	_v4l2_mmap
.subsections_via_symbols
