	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v4l2_get_unmapped_area
_v4l2_get_unmapped_area:                ## @v4l2_get_unmapped_area
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	callq	_video_devdata
	movq	%rax, %rbx
	movq	8(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.3:
	movq	%rbx, %rdi
	callq	_video_is_registered
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	8(%rbx), %rax
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movq	%r15, %rcx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	callq	*(%rax)
	movl	%eax, %r14d
	movq	_V4L2_DEV_DEBUG_FOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_video_device_node_name
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_dprintk
LBB0_7:
	movslq	%r14d, %rax
	jmp	LBB0_8
LBB0_1:
	movq	_ENOSYS@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subq	(%rcx), %rax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOSYS,8,3                     ## @ENOSYS
	.comm	_ENODEV,8,3                     ## @ENODEV
	.comm	_V4L2_DEV_DEBUG_FOP,4,2         ## @V4L2_DEV_DEBUG_FOP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: get_unmapped_area (%d)\n"

	.no_dead_strip	_v4l2_get_unmapped_area
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v4l2_get_unmapped_area
_v4l2_get_unmapped_area:                ; @v4l2_get_unmapped_area
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	bl	_video_devdata
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x19, x0
	bl	_video_is_registered
	cbz	w0, LBB0_6
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	blr	x8
	mov	x20, x0
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _V4L2_DEV_DEBUG_FOP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_DEV_DEBUG_FOP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_video_device_node_name
	mov	x1, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dprintk
LBB0_4:
	sxtw	x0, w20
	b	LBB0_8
LBB0_5:
Lloh5:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh7:
	adrp	x8, _ENODEV@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_7:
	ldr	x8, [x8]
	neg	x0, x8
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOSYS,8,3                     ; @ENOSYS
	.comm	_ENODEV,8,3                     ; @ENODEV
	.comm	_V4L2_DEV_DEBUG_FOP,4,2         ; @V4L2_DEV_DEBUG_FOP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: get_unmapped_area (%d)\n"

	.no_dead_strip	_v4l2_get_unmapped_area
.subsections_via_symbols
