	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ti_sn_bridge_probe
_ti_sn_bridge_probe:                    ## @ti_sn_bridge_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	4(%rdi), %edi
	movq	_I2C_FUNC_I2C@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$80, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r14
	movq	_ti_sn_bridge_regmap_config@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_regmap_init_i2c
	movq	%rax, 72(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	callq	_DRM_ERROR
	movq	72(%r14), %rdi
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_DRM_ERROR
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r15, 40(%r14)
	movl	(%r15), %edi
	leaq	64(%r14), %rcx
	movl	$1, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_drm_of_find_panel_or_bridge
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_DRM_ERROR
	jmp	LBB0_19
LBB0_10:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_dev_set_drvdata
	movq	40(%r14), %rdi
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	callq	_devm_gpiod_get
	movq	%rax, 56(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.4(%rip), %rdi
	callq	_DRM_ERROR
	movq	56(%r14), %rdi
	jmp	LBB0_7
LBB0_12:
	movq	%r14, %rdi
	callq	_ti_sn_bridge_parse_regulators
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	%eax, %ebx
	leaq	L_.str.5(%rip), %rdi
	callq	_DRM_ERROR
	jmp	LBB0_19
LBB0_14:
	movq	40(%r14), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_devm_clk_get
	movq	%rax, 48(%r14)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	48(%r14), %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%ebx, %ecx
	addl	(%rax), %ecx
	je	LBB0_19
## %bb.16:
	leaq	L_.str.7(%rip), %rdi
	callq	_DRM_DEBUG_KMS
	movq	$0, 48(%r14)
LBB0_17:
	movq	%r14, %rdi
	callq	_ti_sn_bridge_parse_dsi_host
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_19
## %bb.18:
	movq	40(%r14), %rdi
	callq	_pm_runtime_enable
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_i2c_set_clientdata
	movq	%r14, %rdi
	addq	$16, %rdi
	leaq	L_.str.8(%rip), %rax
	movq	%rax, 16(%r14)
	movq	40(%r14), %rax
	movq	%rax, 32(%r14)
	movq	_ti_sn_aux_transfer@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	callq	_drm_dp_aux_register
	movq	_ti_sn_bridge_funcs@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r14)
	movl	(%r15), %eax
	movl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_drm_bridge_add
	movq	%r14, %rdi
	callq	_ti_sn_debugfs_init
	xorl	%ebx, %ebx
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_I2C,4,2               ## @I2C_FUNC_I2C
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"device doesn't support I2C\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ti_sn_bridge_regmap_config,4,2 ## @ti_sn_bridge_regmap_config
L_.str.1:                               ## @.str.1
	.asciz	"regmap i2c init failed\n"

L_.str.2:                               ## @.str.2
	.asciz	"could not find any panel node\n"

L_.str.3:                               ## @.str.3
	.asciz	"enable"

	.comm	_GPIOD_OUT_LOW,4,2              ## @GPIOD_OUT_LOW
L_.str.4:                               ## @.str.4
	.asciz	"failed to get enable gpio from DT\n"

L_.str.5:                               ## @.str.5
	.asciz	"failed to parse regulators\n"

L_.str.6:                               ## @.str.6
	.asciz	"refclk"

	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.7:                               ## @.str.7
	.asciz	"refclk not found\n"

L_.str.8:                               ## @.str.8
	.asciz	"ti-sn65dsi86-aux"

	.comm	_ti_sn_aux_transfer,4,2         ## @ti_sn_aux_transfer
	.comm	_ti_sn_bridge_funcs,4,2         ## @ti_sn_bridge_funcs
	.no_dead_strip	_ti_sn_bridge_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ti_sn_bridge_probe
_ti_sn_bridge_probe:                    ; @ti_sn_bridge_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
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x8, _I2C_FUNC_I2C@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_I2C@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_check_functionality
	cbz	w0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #80
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x20, x0
Lloh6:
	adrp	x1, _ti_sn_bridge_regmap_config@GOTPAGE
Lloh7:
	ldr	x1, [x1, _ti_sn_bridge_regmap_config@GOTPAGEOFF]
	mov	x0, x19
	bl	_devm_regmap_init_i2c
	str	x0, [x20, #72]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.3:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DRM_ERROR
	ldr	x0, [x20, #72]
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
	b	_PTR_ERR
LBB0_5:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_ERROR
Lloh12:
	adrp	x8, _ENODEV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_8:
	mov	x0, x21
	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_9:
	str	x19, [x20, #40]
	ldr	w0, [x19]
	add	x3, x20, #64
	mov	w1, #1
	mov	w2, #0
	mov	x4, #0
	bl	_drm_of_find_panel_or_bridge
	cbz	w0, LBB0_11
; %bb.10:
	mov	x21, x0
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_8
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	bl	_dev_set_drvdata
	ldr	x0, [x20, #40]
Lloh18:
	adrp	x8, _GPIOD_OUT_LOW@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GPIOD_OUT_LOW@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_devm_gpiod_get
	str	x0, [x20, #56]
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.12:
Lloh23:
	adrp	x0, l_.str.4@PAGE
Lloh24:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DRM_ERROR
	ldr	x0, [x20, #56]
	b	LBB0_4
LBB0_13:
	mov	x0, x20
	bl	_ti_sn_bridge_parse_regulators
	cbz	w0, LBB0_15
; %bb.14:
	mov	x21, x0
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DRM_ERROR
	b	LBB0_8
LBB0_15:
	ldr	x0, [x20, #40]
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_devm_clk_get
	str	x0, [x20, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_18
; %bb.16:
	ldr	x0, [x20, #48]
	bl	_PTR_ERR
	mov	x21, x0
Lloh29:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_8
; %bb.17:
Lloh32:
	adrp	x0, l_.str.7@PAGE
Lloh33:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_DRM_DEBUG_KMS
	str	xzr, [x20, #48]
LBB0_18:
	mov	x0, x20
	bl	_ti_sn_bridge_parse_dsi_host
	mov	x21, x0
	cbnz	w0, LBB0_8
; %bb.19:
	ldr	x0, [x20, #40]
	bl	_pm_runtime_enable
	mov	x0, x19
	mov	x1, x20
	bl	_i2c_set_clientdata
Lloh34:
	adrp	x8, l_.str.8@PAGE
Lloh35:
	add	x8, x8, l_.str.8@PAGEOFF
	mov	x0, x20
	str	x8, [x0, #16]!
	ldr	x8, [x20, #40]
	str	x8, [x20, #32]
Lloh36:
	adrp	x8, _ti_sn_aux_transfer@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ti_sn_aux_transfer@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	str	w8, [x20, #24]
	bl	_drm_dp_aux_register
Lloh39:
	adrp	x8, _ti_sn_bridge_funcs@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ti_sn_bridge_funcs@GOTPAGEOFF]
	str	x8, [x20, #8]
	ldr	w8, [x19]
	str	w8, [x20]
	mov	x0, x20
	bl	_drm_bridge_add
	mov	x0, x20
	bl	_ti_sn_debugfs_init
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_I2C,4,2               ; @I2C_FUNC_I2C
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"device doesn't support I2C\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ti_sn_bridge_regmap_config,4,2 ; @ti_sn_bridge_regmap_config
l_.str.1:                               ; @.str.1
	.asciz	"regmap i2c init failed\n"

l_.str.2:                               ; @.str.2
	.asciz	"could not find any panel node\n"

l_.str.3:                               ; @.str.3
	.asciz	"enable"

	.comm	_GPIOD_OUT_LOW,4,2              ; @GPIOD_OUT_LOW
l_.str.4:                               ; @.str.4
	.asciz	"failed to get enable gpio from DT\n"

l_.str.5:                               ; @.str.5
	.asciz	"failed to parse regulators\n"

l_.str.6:                               ; @.str.6
	.asciz	"refclk"

	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.7:                               ; @.str.7
	.asciz	"refclk not found\n"

l_.str.8:                               ; @.str.8
	.asciz	"ti-sn65dsi86-aux"

	.comm	_ti_sn_aux_transfer,4,2         ; @ti_sn_aux_transfer
	.comm	_ti_sn_bridge_funcs,4,2         ; @ti_sn_bridge_funcs
	.no_dead_strip	_ti_sn_bridge_probe
.subsections_via_symbols
