	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vino_init
_vino_init:                             ## @vino_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	%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	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	$4, %edi
	callq	_kzalloc
	movq	_vino_drvdata@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	movq	_vino_init_stage@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	incl	%edi
	movl	%edi, (%r15)
	movl	24(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	(%r14), %rsi
	addq	$24, %rsi
	xorl	%edi, %edi
	callq	_v4l2_device_register
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.2:
	incl	(%r15)
	movq	_GFP_DMA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	orl	(%r12), %edi
	callq	_get_zeroed_page
	movq	(%r14), %rdx
	movq	%rax, 16(%rdx)
	movl	(%r15), %edi
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	incl	%edi
	movl	%edi, (%r15)
	movq	_VINO_DUMMY_DESC_COUNT@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	shll	$2, %esi
	movl	(%rbx), %ecx
	orl	(%r12), %ecx
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_dma_alloc_coherent
	movq	(%r14), %rcx
	movq	%rax, 8(%rcx)
	movl	(%r15), %edi
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	incl	%edi
	movl	%edi, (%r15)
	movq	16(%rcx), %rsi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_dma_map_single
	cmpl	$0, (%r13)
	movq	(%r14), %rcx
	jle	LBB0_7
## %bb.5:
	movq	8(%rcx), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, (%rdx,%rsi,4)
	incq	%rsi
	movslq	(%r13), %rdi
	cmpq	%rdi, %rsi
	jl	LBB0_6
LBB0_7:
	movq	_vino@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	$0, 40(%rax)
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rax)
	movl	%ecx, 8(%rax)
	movq	_VINO_DESC_FETCH_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_udelay
	movq	(%r14), %rax
	movq	$0, 32(%rax)
	movq	_VINO_FIFO_THRESHOLD_DEFAULT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 16(%rax)
	movq	%rcx, (%rax)
	jmp	LBB0_10
LBB0_8:
	callq	_vino_module_cleanup
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_9:
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	_vino_module_cleanup
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_vino_drvdata,8,3               ## @vino_drvdata
	.comm	_vino_init_stage,4,2            ## @vino_init_stage
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vino"

	.comm	_GFP_DMA,4,2                    ## @GFP_DMA
	.comm	_VINO_DUMMY_DESC_COUNT,4,2      ## @VINO_DUMMY_DESC_COUNT
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_vino,8,3                       ## @vino
	.comm	_VINO_DESC_FETCH_DELAY,4,2      ## @VINO_DESC_FETCH_DELAY
	.comm	_VINO_FIFO_THRESHOLD_DEFAULT,8,3 ## @VINO_FIFO_THRESHOLD_DEFAULT
	.no_dead_strip	_vino_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vino_init
_vino_init:                             ; @vino_init
	.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
Lloh0:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w0, #4
	bl	_kzalloc
Lloh2:
	adrp	x19, _vino_drvdata@GOTPAGE
Lloh3:
	ldr	x19, [x19, _vino_drvdata@GOTPAGEOFF]
	str	x0, [x19]
Lloh4:
	adrp	x20, _vino_init_stage@GOTPAGE
Lloh5:
	ldr	x20, [x20, _vino_init_stage@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	x0, LBB0_8
; %bb.1:
	add	w8, w8, #1
	str	w8, [x20]
	ldr	w0, [x0, #24]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_strlcpy
	ldr	x8, [x19]
	add	x1, x8, #24
	mov	x0, #0
	bl	_v4l2_device_register
	cbnz	w0, LBB0_10
; %bb.2:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	ldr	w8, [x21]
Lloh8:
	adrp	x23, _GFP_DMA@GOTPAGE
Lloh9:
	ldr	x23, [x23, _GFP_DMA@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w0, w9, w8
	bl	_get_zeroed_page
	mov	x8, x0
	ldr	x2, [x19]
	str	x0, [x2, #16]
	ldr	w0, [x20]
	cbz	x8, LBB0_9
; %bb.3:
	add	w8, w0, #1
Lloh10:
	adrp	x22, _VINO_DUMMY_DESC_COUNT@GOTPAGE
Lloh11:
	ldr	x22, [x22, _VINO_DUMMY_DESC_COUNT@GOTPAGEOFF]
	str	w8, [x20]
	ldr	w8, [x22]
	lsl	w1, w8, #2
	ldr	w8, [x21]
	ldr	w9, [x23]
	orr	w3, w9, w8
	mov	x0, #0
	bl	_dma_alloc_coherent
	mov	x8, x0
	ldr	x9, [x19]
	str	x0, [x9, #8]
	ldr	w0, [x20]
	cbz	x8, LBB0_9
; %bb.4:
	add	w8, w0, #1
	str	w8, [x20]
	ldr	x1, [x9, #16]
Lloh12:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, #0
	bl	_dma_map_single
	ldr	w9, [x22]
	ldr	x8, [x19]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x9, #0
	ldr	x10, [x8, #8]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	str	w0, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x11, [x22]
	cmp	x9, x11
	b.lt	LBB0_6
LBB0_7:
Lloh18:
	adrp	x19, _vino@GOTPAGE
Lloh19:
	ldr	x19, [x19, _vino@GOTPAGEOFF]
	ldr	x9, [x19]
	str	xzr, [x9, #40]
	ldr	w8, [x8]
	str	w8, [x9, #24]
	str	w8, [x9, #8]
Lloh20:
	adrp	x8, _VINO_DESC_FETCH_DELAY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _VINO_DESC_FETCH_DELAY@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_udelay
	mov	w0, #0
	ldr	x8, [x19]
	str	xzr, [x8, #32]
Lloh23:
	adrp	x9, _VINO_FIFO_THRESHOLD_DEFAULT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _VINO_FIFO_THRESHOLD_DEFAULT@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	str	x9, [x8, #16]
	str	x9, [x8]
	b	LBB0_10
LBB0_8:
	mov	x0, x8
LBB0_9:
	bl	_vino_module_cleanup
Lloh26:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_vino_drvdata,8,3               ; @vino_drvdata
	.comm	_vino_init_stage,4,2            ; @vino_init_stage
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vino"

	.comm	_GFP_DMA,4,2                    ; @GFP_DMA
	.comm	_VINO_DUMMY_DESC_COUNT,4,2      ; @VINO_DUMMY_DESC_COUNT
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_vino,8,3                       ; @vino
	.comm	_VINO_DESC_FETCH_DELAY,4,2      ; @VINO_DESC_FETCH_DELAY
	.comm	_VINO_FIFO_THRESHOLD_DEFAULT,8,3 ; @VINO_FIFO_THRESHOLD_DEFAULT
	.no_dead_strip	_vino_init
.subsections_via_symbols
