	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function video_open
_video_open:                            ## @video_open
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %r10
	movq	%rdi, %rax
	movq	(%rsi), %rdi
	movq	8(%rax), %rdx
	leaq	4(%rax), %rcx
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	movq	_V4L2_FIELD_INTERLACED@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r9d
	subq	$8, %rsp
	movq	_video_qops@GOTPCREL(%rip), %rsi
	pushq	%rax
	pushq	%r10
	pushq	$4
	callq	_videobuf_queue_sg_init
	addq	$32, %rsp
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_video_qops,4,2                 ## @video_qops
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_V4L2_FIELD_INTERLACED,4,2      ## @V4L2_FIELD_INTERLACED
	.no_dead_strip	_video_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function video_open
_video_open:                            ; @video_open
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	x7, x1
	ldr	x8, [x1]
	ldr	x2, [x0, #8]
	add	x3, x0, #4
Lloh0:
	adrp	x9, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x9]
Lloh3:
	adrp	x9, _V4L2_FIELD_INTERLACED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_FIELD_INTERLACED@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x9]
	str	x0, [sp]
Lloh6:
	adrp	x1, _video_qops@GOTPAGE
Lloh7:
	ldr	x1, [x1, _video_qops@GOTPAGEOFF]
	mov	x0, x8
	mov	w6, #4
	bl	_videobuf_queue_sg_init
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_video_qops,4,2                 ; @video_qops
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_V4L2_FIELD_INTERLACED,4,2      ; @V4L2_FIELD_INTERLACED
	.no_dead_strip	_video_open
.subsections_via_symbols
