	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ivtv_init_struct1
_ivtv_init_struct1:                     ## @ivtv_init_struct1
	.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	%rdi, %rbx
	movl	$99, -32(%rbp)
	movl	132(%rdi), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_pci_resource_start
	movl	%eax, 136(%rbx)
	movabsq	$8589934593, %rax               ## imm = 0x200000001
	movq	%rax, 124(%rbx)
	leaq	120(%rbx), %rdi
	callq	_mutex_init
	leaq	116(%rbx), %rdi
	callq	_mutex_init
	leaq	44(%rbx), %rdi
	callq	_mutex_init
	leaq	112(%rbx), %rdi
	callq	_spin_lock_init
	leaq	108(%rbx), %rdi
	callq	_spin_lock_init
	leaq	104(%rbx), %r15
	movq	%r15, %rdi
	callq	_kthread_init_worker
	movq	_kthread_worker_fn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	100(%rbx), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rsi
	callq	_kthread_run
	movl	%eax, 96(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_IVTV_ERR
	movl	$-1, %r14d
	jmp	LBB0_3
LBB0_2:
	movl	96(%rbx), %edi
	movq	_SCHED_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	callq	_sched_setscheduler
	leaq	92(%rbx), %rdi
	movq	_ivtv_irq_work_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kthread_init_work
	movq	_CX2341X_PORT_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rbx)
	movq	_CX2341X_CAP_HAS_SLICED_VBI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 84(%rbx)
	leaq	80(%rbx), %rdi
	callq	_init_waitqueue_head
	leaq	76(%rbx), %rdi
	callq	_init_waitqueue_head
	leaq	72(%rbx), %rdi
	callq	_init_waitqueue_head
	leaq	68(%rbx), %rdi
	callq	_init_waitqueue_head
	leaq	64(%rbx), %rdi
	movq	_ivtv_unfinished_dma@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_timer_setup
	movq	$-1, (%rbx)
	movl	$1000, 8(%rbx)                  ## imm = 0x3E8
	movq	_V4L2_BUF_TYPE_VBI_CAPTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	48(%rbx), %rcx
	movl	%eax, 52(%rbx)
	movq	%rcx, 56(%rbx)
	movl	40(%rbx), %edi
	movq	_IVTV_DMA_SG_OSD_ENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sg_init_table
	movabsq	$1095216660481, %rax            ## imm = 0xFF00000001
	movq	%rax, 12(%rbx)
	leaq	36(%rbx), %rdi
	movl	$-1, %esi
	callq	_atomic_set
	movq	_ivtv_yuv_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_ivtv_yuv_threshold@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movabsq	$4294967299, %rax               ## imm = 0x100000003
	movq	%rax, 20(%rbx)
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kthread_worker_fn,4,2          ## @kthread_worker_fn
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"Could not create ivtv task\n"

	.comm	_SCHED_FIFO,4,2                 ## @SCHED_FIFO
	.comm	_ivtv_irq_work_handler,4,2      ## @ivtv_irq_work_handler
	.comm	_CX2341X_PORT_MEMORY,4,2        ## @CX2341X_PORT_MEMORY
	.comm	_CX2341X_CAP_HAS_SLICED_VBI,4,2 ## @CX2341X_CAP_HAS_SLICED_VBI
	.comm	_ivtv_unfinished_dma,4,2        ## @ivtv_unfinished_dma
	.comm	_V4L2_BUF_TYPE_VBI_CAPTURE,4,2  ## @V4L2_BUF_TYPE_VBI_CAPTURE
	.comm	_IVTV_DMA_SG_OSD_ENT,4,2        ## @IVTV_DMA_SG_OSD_ENT
	.comm	_ivtv_yuv_mode,4,2              ## @ivtv_yuv_mode
	.comm	_ivtv_yuv_threshold,4,2         ## @ivtv_yuv_threshold
	.no_dead_strip	_ivtv_init_struct1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ivtv_init_struct1
lCPI0_0:
	.long	1                               ; 0x1
	.long	2                               ; 0x2
lCPI0_1:
	.long	1                               ; 0x1
	.long	255                             ; 0xff
lCPI0_2:
	.long	3                               ; 0x3
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ivtv_init_struct1:                     ; @ivtv_init_struct1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	mov	w8, #99
	str	w8, [sp, #8]
	ldr	w0, [x0, #132]
	mov	w1, #0
	bl	_pci_resource_start
	str	w0, [x19, #136]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x19, #124]
	add	x0, x19, #120
	bl	_mutex_init
	add	x0, x19, #116
	bl	_mutex_init
	add	x0, x19, #44
	bl	_mutex_init
	add	x0, x19, #112
	bl	_spin_lock_init
	add	x0, x19, #108
	bl	_spin_lock_init
	add	x20, x19, #104
	mov	x0, x20
	bl	_kthread_init_worker
Lloh2:
	adrp	x8, _kthread_worker_fn@GOTPAGE
Lloh3:
	ldr	x8, [x8, _kthread_worker_fn@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w3, [x19, #100]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x20
	bl	_kthread_run
	str	w0, [x19, #96]
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_IVTV_ERR
	mov	w0, #-1
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19, #96]
Lloh9:
	adrp	x8, _SCHED_FIFO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SCHED_FIFO@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_sched_setscheduler
	add	x0, x19, #92
Lloh12:
	adrp	x8, _ivtv_irq_work_handler@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ivtv_irq_work_handler@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_kthread_init_work
Lloh15:
	adrp	x8, _CX2341X_PORT_MEMORY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CX2341X_PORT_MEMORY@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _CX2341X_CAP_HAS_SLICED_VBI@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CX2341X_CAP_HAS_SLICED_VBI@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #84]
	add	x0, x19, #80
	bl	_init_waitqueue_head
	add	x0, x19, #76
	bl	_init_waitqueue_head
	add	x0, x19, #72
	bl	_init_waitqueue_head
	add	x0, x19, #68
	bl	_init_waitqueue_head
	add	x0, x19, #64
Lloh21:
	adrp	x8, _ivtv_unfinished_dma@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ivtv_unfinished_dma@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_timer_setup
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x19]
	mov	w8, #1000
	str	w8, [x19, #8]
Lloh24:
	adrp	x8, _V4L2_BUF_TYPE_VBI_CAPTURE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _V4L2_BUF_TYPE_VBI_CAPTURE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	add	x9, x19, #48
	str	w8, [x19, #52]
	str	x9, [x19, #56]
	ldr	w0, [x19, #40]
Lloh27:
	adrp	x8, _IVTV_DMA_SG_OSD_ENT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IVTV_DMA_SG_OSD_ENT@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_sg_init_table
Lloh30:
	adrp	x8, lCPI0_1@PAGE
Lloh31:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	stur	d0, [x19, #12]
	add	x0, x19, #36
	mov	w1, #-1
	bl	_atomic_set
	mov	w0, #0
Lloh32:
	adrp	x8, _ivtv_yuv_mode@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ivtv_yuv_mode@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _ivtv_yuv_threshold@GOTPAGE
Lloh36:
	ldr	x9, [x9, _ivtv_yuv_threshold@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #28]
Lloh38:
	adrp	x8, lCPI0_2@PAGE
Lloh39:
	ldr	d0, [x8, lCPI0_2@PAGEOFF]
	stur	d0, [x19, #20]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdr	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdr	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_kthread_worker_fn,4,2          ; @kthread_worker_fn
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"Could not create ivtv task\n"

	.comm	_SCHED_FIFO,4,2                 ; @SCHED_FIFO
	.comm	_ivtv_irq_work_handler,4,2      ; @ivtv_irq_work_handler
	.comm	_CX2341X_PORT_MEMORY,4,2        ; @CX2341X_PORT_MEMORY
	.comm	_CX2341X_CAP_HAS_SLICED_VBI,4,2 ; @CX2341X_CAP_HAS_SLICED_VBI
	.comm	_ivtv_unfinished_dma,4,2        ; @ivtv_unfinished_dma
	.comm	_V4L2_BUF_TYPE_VBI_CAPTURE,4,2  ; @V4L2_BUF_TYPE_VBI_CAPTURE
	.comm	_IVTV_DMA_SG_OSD_ENT,4,2        ; @IVTV_DMA_SG_OSD_ENT
	.comm	_ivtv_yuv_mode,4,2              ; @ivtv_yuv_mode
	.comm	_ivtv_yuv_threshold,4,2         ; @ivtv_yuv_threshold
	.no_dead_strip	_ivtv_init_struct1
.subsections_via_symbols
