	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opa362_probe
_opa362_probe:                          ## @opa362_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$48, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_platform_set_drvdata
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_gpiod_get_optional
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_10:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, 40(%r12)
	movq	_opa362_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%r12)
	movq	%r14, 24(%r12)
	movq	_OMAP_DISPLAY_TYPE_VENC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r12)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movl	$1, %edi
	callq	_BIT
	movl	%eax, %ebx
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_BIT
	orl	%ebx, %eax
	movl	%eax, (%r12)
	movl	(%r14), %edi
	movl	$1, %esi
	callq	_omapdss_of_find_connected_device
	movq	%rax, 8(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	8(%r12), %rdi
	callq	_PTR_ERR
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_8:
	movq	8(%r12), %rdi
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_9:
	movq	%r12, %rdi
	callq	_omapdss_device_register
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"probe\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"enable"

	.comm	_GPIOD_OUT_LOW,4,2              ## @GPIOD_OUT_LOW
	.comm	_opa362_ops,4,2                 ## @opa362_ops
	.comm	_OMAP_DISPLAY_TYPE_VENC,4,2     ## @OMAP_DISPLAY_TYPE_VENC
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.2:                               ## @.str.2
	.asciz	"failed to find video sink\n"

	.no_dead_strip	_opa362_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opa362_probe
_opa362_probe:                          ; @opa362_probe
	.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	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #48
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh5:
	adrp	x8, _GPIOD_OUT_LOW@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GPIOD_OUT_LOW@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_devm_gpiod_get_optional
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.2:
	mov	x0, x21
	b	LBB0_9
LBB0_3:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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
LBB0_5:
	str	x21, [x20, #40]
Lloh13:
	adrp	x8, _opa362_ops@GOTPAGE
Lloh14:
	ldr	x8, [x8, _opa362_ops@GOTPAGEOFF]
	stp	x19, x8, [x20, #24]
Lloh15:
	adrp	x8, _OMAP_DISPLAY_TYPE_VENC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OMAP_DISPLAY_TYPE_VENC@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _THIS_MODULE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _THIS_MODULE@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #16]
	mov	w0, #1
	bl	_BIT
	mov	x21, x0
	mov	w0, #0
	bl	_BIT
	orr	w8, w0, w21
	str	w8, [x20]
	ldr	w0, [x19]
	mov	w1, #1
	bl	_omapdss_of_find_connected_device
	str	x0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.6:
	ldr	x0, [x20, #8]
	bl	_PTR_ERR
Lloh21:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_8
; %bb.7:
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_8:
	ldr	x0, [x20, #8]
LBB0_9:
	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
	b	_PTR_ERR
LBB0_10:
	mov	x0, x20
	bl	_omapdss_device_register
	mov	w0, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"probe\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"enable"

	.comm	_GPIOD_OUT_LOW,4,2              ; @GPIOD_OUT_LOW
	.comm	_opa362_ops,4,2                 ; @opa362_ops
	.comm	_OMAP_DISPLAY_TYPE_VENC,4,2     ; @OMAP_DISPLAY_TYPE_VENC
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.2:                               ; @.str.2
	.asciz	"failed to find video sink\n"

	.no_dead_strip	_opa362_probe
.subsections_via_symbols
