	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tvc_probe
_tvc_probe:                             ## @tvc_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	%r14, 32(%rbx)
	movq	_tvc_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movq	%r14, 16(%rbx)
	movq	_OMAP_DISPLAY_TYPE_VENC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	$1, (%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_BIT
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	callq	_omapdss_display_init
	movq	%rbx, %rdi
	callq	_omapdss_device_register
	jmp	LBB0_3
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_tvc_ops,4,2                    ## @tvc_ops
	.comm	_OMAP_DISPLAY_TYPE_VENC,4,2     ## @OMAP_DISPLAY_TYPE_VENC
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.no_dead_strip	_tvc_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tvc_probe
_tvc_probe:                             ; @tvc_probe
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	str	x20, [x19, #32]
Lloh3:
	adrp	x8, _tvc_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tvc_ops@GOTPAGEOFF]
	stp	x20, x8, [x19, #16]
Lloh5:
	adrp	x8, _OMAP_DISPLAY_TYPE_VENC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OMAP_DISPLAY_TYPE_VENC@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mov	w9, #1
	str	w9, [x19]
Lloh8:
	adrp	x9, _THIS_MODULE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _THIS_MODULE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
	mov	w0, #0
	bl	_BIT
	str	w0, [x19, #4]
	mov	x0, x19
	bl	_omapdss_display_init
	mov	x0, x19
	bl	_omapdss_device_register
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_tvc_ops,4,2                    ; @tvc_ops
	.comm	_OMAP_DISPLAY_TYPE_VENC,4,2     ; @OMAP_DISPLAY_TYPE_VENC
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.no_dead_strip	_tvc_probe
.subsections_via_symbols
