	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_fh_init                   ## -- Begin function v4l2_fh_init
	.p2align	4, 0x90
_v4l2_fh_init:                          ## @v4l2_fh_init
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, 24(%rdi)
	movl	12(%rsi), %eax
	movl	%eax, 36(%rdi)
	addq	$32, %rdi
	callq	_INIT_LIST_HEAD
	movq	_V4L2_FL_USES_V4L2_FH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	24(%rbx), %rsi
	addq	$8, %rsi
	callq	_set_bit
	movq	_VIDIOC_G_PRIORITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__IOC_NR
	movq	(%r14), %rsi
	movl	%eax, %edi
	callq	_set_bit
	movq	_VIDIOC_S_PRIORITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__IOC_NR
	movq	(%r14), %rsi
	movl	%eax, %edi
	callq	_set_bit
	movq	_V4L2_PRIORITY_UNSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	leaq	16(%rbx), %rdi
	callq	_init_waitqueue_head
	leaq	12(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	8(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movl	$-1, (%rbx)
	addq	$4, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mutex_init                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_FL_USES_V4L2_FH,4,2       ## @V4L2_FL_USES_V4L2_FH
	.comm	_VIDIOC_G_PRIORITY,4,2          ## @VIDIOC_G_PRIORITY
	.comm	_VIDIOC_S_PRIORITY,4,2          ## @VIDIOC_S_PRIORITY
	.comm	_V4L2_PRIORITY_UNSET,4,2        ## @V4L2_PRIORITY_UNSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_v4l2_fh_init                   ; -- Begin function v4l2_fh_init
	.p2align	2
_v4l2_fh_init:                          ; @v4l2_fh_init
	.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	x20, x1
	mov	x19, x0
	str	x1, [x0, #24]
	ldr	w8, [x1, #12]
	str	w8, [x0, #36]
	add	x0, x0, #32
	bl	_INIT_LIST_HEAD
Lloh0:
	adrp	x8, _V4L2_FL_USES_V4L2_FH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_FL_USES_V4L2_FH@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19, #24]
	add	x1, x8, #8
	bl	_set_bit
Lloh3:
	adrp	x8, _VIDIOC_G_PRIORITY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VIDIOC_G_PRIORITY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	__IOC_NR
	ldr	x1, [x20]
	bl	_set_bit
Lloh6:
	adrp	x8, _VIDIOC_S_PRIORITY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VIDIOC_S_PRIORITY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	__IOC_NR
	ldr	x1, [x20]
	bl	_set_bit
Lloh9:
	adrp	x8, _V4L2_PRIORITY_UNSET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V4L2_PRIORITY_UNSET@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #20]
	add	x0, x19, #16
	bl	_init_waitqueue_head
	add	x0, x19, #12
	bl	_INIT_LIST_HEAD
	add	x0, x19, #8
	bl	_INIT_LIST_HEAD
	mov	w8, #-1
	str	w8, [x19]
	add	x0, x19, #4
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_init
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_FL_USES_V4L2_FH,4,2       ; @V4L2_FL_USES_V4L2_FH
	.comm	_VIDIOC_G_PRIORITY,4,2          ; @VIDIOC_G_PRIORITY
	.comm	_VIDIOC_S_PRIORITY,4,2          ; @VIDIOC_S_PRIORITY
	.comm	_V4L2_PRIORITY_UNSET,4,2        ; @V4L2_PRIORITY_UNSET
.subsections_via_symbols
