	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vino_init_channel_settings
_vino_init_channel_settings:            ## @vino_init_channel_settings
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movl	%esi, (%rdi)
	movq	_VINO_INPUT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%rdi)
	movq	_VINO_DATA_FMT_GREY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rdi)
	movq	_VINO_DATA_NORM_NTSC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rdi)
	movl	$1, 4(%rdi)
	callq	_vino_set_default_clipping
	movq	%rbx, %rdi
	callq	_vino_set_default_framerate
	movq	$0, 40(%rbx)
	leaq	32(%rbx), %rdi
	callq	_mutex_init
	leaq	28(%rbx), %rdi
	callq	_spin_lock_init
	leaq	16(%rbx), %r15
	leaq	24(%rbx), %rdi
	callq	_mutex_init
	leaq	20(%rbx), %rdi
	callq	_spin_lock_init
	movq	%r15, %rdi
	callq	_init_waitqueue_head
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_video_device_alloc
	movq	%rax, 8(%rbx)
	movq	_vino_init_stage@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	incl	%edi
	movl	%edi, (%rcx)
	movq	_vdev_template@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	8(%rbx), %rax
	movl	12(%rax), %edi
	movq	%r14, %rsi
	callq	_strcpy
	movq	_video_device_release@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rbx), %rdi
	movl	%eax, 8(%rdi)
	movq	_vino_drvdata@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdi)
	movq	%rbx, %rsi
	callq	_video_set_drvdata
	jmp	LBB0_3
LBB0_1:
	callq	_vino_module_cleanup
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VINO_INPUT_NONE,4,2            ## @VINO_INPUT_NONE
	.comm	_VINO_DATA_FMT_GREY,4,2         ## @VINO_DATA_FMT_GREY
	.comm	_VINO_DATA_NORM_NTSC,4,2        ## @VINO_DATA_NORM_NTSC
	.comm	_vino_init_stage,4,2            ## @vino_init_stage
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_vdev_template,4,2              ## @vdev_template
	.comm	_video_device_release,4,2       ## @video_device_release
	.comm	_vino_drvdata,8,3               ## @vino_drvdata
	.no_dead_strip	_vino_init_channel_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vino_init_channel_settings
_vino_init_channel_settings:            ; @vino_init_channel_settings
	.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	x20, x2
	mov	x19, x0
	mov	w8, #1
	str	w1, [x0]
Lloh0:
	adrp	x9, _VINO_INPUT_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VINO_INPUT_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x0, #72]
Lloh3:
	adrp	x9, _VINO_DATA_FMT_GREY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VINO_DATA_FMT_GREY@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _VINO_DATA_NORM_NTSC@GOTPAGE
Lloh7:
	ldr	x10, [x10, _VINO_DATA_NORM_NTSC@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	stp	w10, w9, [x0, #48]
	stp	xzr, xzr, [x0, #56]
	str	w8, [x0, #4]
	bl	_vino_set_default_clipping
	mov	x0, x19
	bl	_vino_set_default_framerate
	str	xzr, [x19, #40]
	add	x0, x19, #32
	bl	_mutex_init
	add	x0, x19, #28
	bl	_spin_lock_init
	add	x21, x19, #16
	add	x0, x19, #24
	bl	_mutex_init
	add	x0, x19, #20
	bl	_spin_lock_init
	mov	x0, x21
	bl	_init_waitqueue_head
	bl	_video_device_alloc
	str	x0, [x19, #8]
Lloh9:
	adrp	x9, _vino_init_stage@GOTPAGE
Lloh10:
	ldr	x9, [x9, _vino_init_stage@GOTPAGEOFF]
	ldr	w8, [x9]
	cbz	x0, LBB0_2
; %bb.1:
	add	w8, w8, #1
	str	w8, [x9]
Lloh11:
	adrp	x1, _vdev_template@GOTPAGE
Lloh12:
	ldr	x1, [x1, _vdev_template@GOTPAGEOFF]
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #12]
	mov	x1, x20
	bl	_strcpy
Lloh13:
	adrp	x8, _video_device_release@GOTPAGE
Lloh14:
	ldr	x8, [x8, _video_device_release@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	x0, [x19, #8]
	str	w8, [x0, #8]
Lloh16:
	adrp	x8, _vino_drvdata@GOTPAGE
Lloh17:
	ldr	x8, [x8, _vino_drvdata@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	x8, [x0]
	mov	x1, x19
	bl	_video_set_drvdata
	mov	w0, #0
	b	LBB0_3
LBB0_2:
	mov	x0, x8
	bl	_vino_module_cleanup
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	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 AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_VINO_INPUT_NONE,4,2            ; @VINO_INPUT_NONE
	.comm	_VINO_DATA_FMT_GREY,4,2         ; @VINO_DATA_FMT_GREY
	.comm	_VINO_DATA_NORM_NTSC,4,2        ; @VINO_DATA_NORM_NTSC
	.comm	_vino_init_stage,4,2            ; @vino_init_stage
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_vdev_template,4,2              ; @vdev_template
	.comm	_video_device_release,4,2       ; @video_device_release
	.comm	_vino_drvdata,8,3               ; @vino_drvdata
	.no_dead_strip	_vino_init_channel_settings
.subsections_via_symbols
