	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dt3155_probe
_dt3155_probe:                          ## @dt3155_probe
	.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	%rdi, %r15
	leaq	4(%rdi), %r12
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_dma_set_mask_and_coherent
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_21:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$144, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	leaq	8(%rax), %r14
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_v4l2_device_register
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_21
## %bb.6:
	leaq	24(%rbx), %rdi
	movq	_dt3155_vdev@GOTPCREL(%rip), %rax
	movq	16(%rax), %rcx
	movq	%rcx, 40(%rbx)
	movups	(%rax), %xmm0
	movups	%xmm0, 24(%rbx)
	movq	%r14, 48(%rbx)
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_video_set_drvdata
	movq	%r15, 16(%rbx)
	movq	_V4L2_STD_625_50@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 140(%rbx)
	movq	_VT_50HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 136(%rbx)
	movabsq	$2473901163264, %rax            ## imm = 0x24000000300
	movq	%rax, (%rbx)
	leaq	132(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	128(%rbx), %r13
	movq	%r13, %rdi
	callq	_mutex_init
	movq	%r13, 40(%rbx)
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	64(%rbx), %rdi
	movl	%eax, 124(%rbx)
	movq	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 120(%rbx)
	movq	_VB2_MMAP@GOTPCREL(%rip), %rax
	movq	_VB2_DMABUF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_VB2_READ@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 64(%rbx)
	movq	_q_ops@GOTPCREL(%rip), %rax
	movq	%rax, 112(%rbx)
	movq	_vb2_dma_contig_memops@GOTPCREL(%rip), %rax
	movq	%rax, 104(%rbx)
	movq	%rbx, 96(%rbx)
	movl	$2, 68(%rbx)
	movq	_GFP_DMA32@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rbx)
	movq	%r13, 80(%rbx)
	movq	%r12, 72(%rbx)
	movq	%rdi, 32(%rbx)
	callq	_vb2_queue_init
	testl	%eax, %eax
	js	LBB0_7
## %bb.8:
	movq	%rbx, %rdi
	addq	$60, %rdi
	callq	_spin_lock_init
	movq	_ACQ_MODE_EVEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	%r15, %rdi
	callq	_pci_enable_device
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_20
## %bb.9:
	movq	%r15, %rdi
	callq	_pci_name
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_pci_request_region
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_19
## %bb.10:
	movq	16(%rbx), %rdi
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	callq	_pci_resource_len
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_pci_iomap
	movl	%eax, 12(%rbx)
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	movq	%rbx, %rdi
	callq	_dt3155_init_board
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.13:
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	movq	_dt3155_irq_handler_even@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DT3155_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %r8
	callq	_request_irq
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.14:
	movq	_VFL_TYPE_GRABBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$-1, %edx
	callq	_video_register_device
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:
	movl	%eax, %r13d
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_free_irq
LBB0_17:
	movl	12(%rbx), %esi
	movq	%r15, %rdi
	callq	_pci_iounmap
	jmp	LBB0_18
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_7:
	movl	%eax, %r13d
	jmp	LBB0_20
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
LBB0_18:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_pci_release_region
LBB0_19:
	movq	%r15, %rdi
	callq	_pci_disable_device
LBB0_20:
	movq	%r14, %rdi
	callq	_v4l2_device_unregister
	jmp	LBB0_21
LBB0_15:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_info
	xorl	%r13d, %r13d
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_dt3155_vdev,32,3               ## @dt3155_vdev
	.comm	_V4L2_STD_625_50,4,2            ## @V4L2_STD_625_50
	.comm	_VT_50HZ,4,2                    ## @VT_50HZ
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ## @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
	.comm	_VB2_MMAP,4,2                   ## @VB2_MMAP
	.comm	_VB2_DMABUF,4,2                 ## @VB2_DMABUF
	.comm	_VB2_READ,4,2                   ## @VB2_READ
	.comm	_q_ops,4,2                      ## @q_ops
	.comm	_vb2_dma_contig_memops,4,2      ## @vb2_dma_contig_memops
	.comm	_GFP_DMA32,4,2                  ## @GFP_DMA32
	.comm	_ACQ_MODE_EVEN,4,2              ## @ACQ_MODE_EVEN
	.comm	_dt3155_irq_handler_even,4,2    ## @dt3155_irq_handler_even
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_DT3155_NAME,4,2                ## @DT3155_NAME
	.comm	_VFL_TYPE_GRABBER,4,2           ## @VFL_TYPE_GRABBER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/dev/video%i is ready\n"

	.no_dead_strip	_dt3155_probe
.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 dt3155_probe
lCPI0_0:
	.long	768                             ; 0x300
	.long	576                             ; 0x240
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dt3155_probe:                          ; @dt3155_probe
	.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
	mov	x19, x0
	add	x21, x0, #4
	mov	w0, #32
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x21
	bl	_dma_set_mask_and_coherent
	cbz	w0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_3:
	mov	x0, x24
	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
LBB0_4:
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #144
	bl	_devm_kzalloc
	cbz	x0, LBB0_15
; %bb.5:
	mov	x22, x0
	add	x20, x0, #8
	mov	x0, x21
	mov	x1, x20
	bl	_v4l2_device_register
	mov	x24, x0
	cbnz	w0, LBB0_3
; %bb.6:
Lloh5:
	adrp	x8, _dt3155_vdev@GOTPAGE
Lloh6:
	ldr	x8, [x8, _dt3155_vdev@GOTPAGEOFF]
	add	x23, x22, #24
	ldr	q0, [x8]
	stur	q0, [x22, #24]
	ldr	x8, [x8, #16]
	stp	x8, x20, [x22, #40]
	mov	x0, x23
	mov	x1, x22
	bl	_video_set_drvdata
	str	x19, [x22, #16]
Lloh7:
	adrp	x8, _V4L2_STD_625_50@GOTPAGE
Lloh8:
	ldr	x8, [x8, _V4L2_STD_625_50@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _VT_50HZ@GOTPAGE
Lloh11:
	ldr	x9, [x9, _VT_50HZ@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #136]
Lloh13:
	adrp	x8, lCPI0_0@PAGE
Lloh14:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x22]
	add	x0, x22, #132
	bl	_INIT_LIST_HEAD
	add	x24, x22, #128
	mov	x0, x24
	bl	_mutex_init
Lloh15:
	adrp	x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _VB2_MMAP@GOTPAGE
Lloh19:
	ldr	x9, [x9, _VB2_MMAP@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _VB2_DMABUF@GOTPAGE
Lloh22:
	ldr	x10, [x10, _VB2_DMABUF@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh24:
	adrp	x10, _VB2_READ@GOTPAGE
Lloh25:
	ldr	x10, [x10, _VB2_READ@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	orr	w9, w9, w10
	mov	x0, x22
	str	w9, [x0, #64]!
Lloh27:
	adrp	x9, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGE
Lloh28:
	ldr	x9, [x9, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #120]
Lloh30:
	adrp	x8, _q_ops@GOTPAGE
Lloh31:
	ldr	x8, [x8, _q_ops@GOTPAGEOFF]
	str	x8, [x22, #112]
Lloh32:
	adrp	x8, _vb2_dma_contig_memops@GOTPAGE
Lloh33:
	ldr	x8, [x8, _vb2_dma_contig_memops@GOTPAGEOFF]
	stp	x22, x8, [x22, #96]
	mov	w8, #2
	str	w8, [x22, #68]
Lloh34:
	adrp	x8, _GFP_DMA32@GOTPAGE
Lloh35:
	ldr	x8, [x8, _GFP_DMA32@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	str	w8, [x22, #88]
	stp	x21, x24, [x22, #72]
	stp	x0, x24, [x22, #32]
	bl	_vb2_queue_init
	tbnz	w0, #31, LBB0_16
; %bb.7:
	add	x0, x22, #60
	bl	_spin_lock_init
Lloh37:
	adrp	x8, _ACQ_MODE_EVEN@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ACQ_MODE_EVEN@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	str	w8, [x22, #56]
	mov	x0, x19
	bl	_pci_enable_device
	mov	x24, x0
	cbnz	w0, LBB0_20
; %bb.8:
	mov	x0, x19
	bl	_pci_name
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_pci_request_region
	mov	x24, x0
	cbnz	w0, LBB0_19
; %bb.9:
	ldr	x0, [x22, #16]
	mov	w1, #0
	bl	_pci_resource_len
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_pci_iomap
	str	w0, [x22, #12]
	cbz	w0, LBB0_17
; %bb.10:
	mov	x0, x22
	bl	_dt3155_init_board
	mov	x24, x0
	cbnz	w0, LBB0_14
; %bb.11:
	ldr	x8, [x22, #16]
	ldr	w0, [x8]
Lloh40:
	adrp	x8, _dt3155_irq_handler_even@GOTPAGE
Lloh41:
	ldr	x8, [x8, _dt3155_irq_handler_even@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
Lloh43:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh44:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
Lloh46:
	adrp	x8, _DT3155_NAME@GOTPAGE
Lloh47:
	ldr	x8, [x8, _DT3155_NAME@GOTPAGEOFF]
Lloh48:
	ldr	w3, [x8]
	mov	x4, x22
	bl	_request_irq
	mov	x24, x0
	cbnz	w0, LBB0_14
; %bb.12:
Lloh49:
	adrp	x8, _VFL_TYPE_GRABBER@GOTPAGE
Lloh50:
	ldr	x8, [x8, _VFL_TYPE_GRABBER@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
	mov	x0, x23
	mov	w2, #-1
	bl	_video_register_device
	mov	x24, x0
	cbz	w0, LBB0_21
; %bb.13:
	ldr	x8, [x22, #16]
	ldr	w0, [x8]
	mov	x1, x22
	bl	_free_irq
LBB0_14:
	ldr	w1, [x22, #12]
	mov	x0, x19
	bl	_pci_iounmap
	b	LBB0_18
LBB0_15:
Lloh52:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
LBB0_16:
	mov	x24, x0
	b	LBB0_20
LBB0_17:
Lloh54:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_18:
	mov	x0, x19
	mov	w1, #0
	bl	_pci_release_region
LBB0_19:
	mov	x0, x19
	bl	_pci_disable_device
LBB0_20:
	mov	x0, x20
	bl	_v4l2_device_unregister
	b	LBB0_3
LBB0_21:
	ldr	w2, [x23]
Lloh57:
	adrp	x1, l_.str@PAGE
Lloh58:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_info
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	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 AdrpLdr	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_dt3155_vdev,32,3               ; @dt3155_vdev
	.comm	_V4L2_STD_625_50,4,2            ; @V4L2_STD_625_50
	.comm	_VT_50HZ,4,2                    ; @VT_50HZ
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,4,2 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ; @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
	.comm	_VB2_MMAP,4,2                   ; @VB2_MMAP
	.comm	_VB2_DMABUF,4,2                 ; @VB2_DMABUF
	.comm	_VB2_READ,4,2                   ; @VB2_READ
	.comm	_q_ops,4,2                      ; @q_ops
	.comm	_vb2_dma_contig_memops,4,2      ; @vb2_dma_contig_memops
	.comm	_GFP_DMA32,4,2                  ; @GFP_DMA32
	.comm	_ACQ_MODE_EVEN,4,2              ; @ACQ_MODE_EVEN
	.comm	_dt3155_irq_handler_even,4,2    ; @dt3155_irq_handler_even
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_DT3155_NAME,4,2                ; @DT3155_NAME
	.comm	_VFL_TYPE_GRABBER,4,2           ; @VFL_TYPE_GRABBER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/dev/video%i is ready\n"

	.no_dead_strip	_dt3155_probe
.subsections_via_symbols
