	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tfp410_probe
_tfp410_probe:                          ## @tfp410_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r13
	xorl	%r15d, %r15d
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$16, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	leaq	12(%rax), %r14
	movq	%r14, (%rbx)
	leaq	L_.str.1(%rip), %rsi
	movq	_tfp410_module_ops@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	callq	_tilcdc_module_init
	movq	%rbx, %rdi
	callq	_devm_pinctrl_get_select_default
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_warn
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
	leaq	-52(%rbp), %rdx
	movq	%r13, %rdi
	callq	_of_property_read_u32
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	jmp	LBB0_17
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	_ENXIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_18
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_18
LBB0_8:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	-52(%rbp), %edi
	callq	_of_find_node_by_phandle
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_of_find_i2c_adapter_by_node
	movl	%eax, 8(%r12)
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	movq	%r14, %rdi
	callq	_of_node_put
	leaq	L_.str.7(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_of_get_named_gpio_flags
	movq	%rax, (%r12)
	testq	%rax, %rax
	js	LBB0_13
## %bb.14:
	leaq	L_.str.9(%rip), %rsi
	movq	%rax, %rdi
	callq	_gpio_request
	testl	%eax, %eax
	je	LBB0_18
## %bb.15:
	movl	%eax, %r14d
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movl	8(%r12), %edi
	callq	_i2c_put_adapter
	movl	%r14d, %r15d
	jmp	LBB0_16
LBB0_9:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	jmp	LBB0_16
LBB0_11:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_err
	movq	%r14, %rdi
	callq	_of_node_put
LBB0_16:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_17:
	movq	%r14, %rdi
	callq	_tilcdc_module_cleanup
LBB0_18:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_warn
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"device-tree data is missing\n"

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

	.comm	_tfp410_module_ops,4,2          ## @tfp410_module_ops
L_.str.2:                               ## @.str.2
	.asciz	"pins are not configured\n"

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

L_.str.4:                               ## @.str.4
	.asciz	"could not get i2c bus phandle\n"

L_.str.5:                               ## @.str.5
	.asciz	"could not get i2c bus node\n"

L_.str.6:                               ## @.str.6
	.asciz	"could not get i2c\n"

L_.str.7:                               ## @.str.7
	.asciz	"powerdn-gpio"

L_.str.8:                               ## @.str.8
	.asciz	"No power down GPIO\n"

L_.str.9:                               ## @.str.9
	.asciz	"DVI_PDn"

L_.str.10:                              ## @.str.10
	.asciz	"could not get DVI_PDn gpio\n"

	.no_dead_strip	_tfp410_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tfp410_probe
_tfp410_probe:                          ; @tfp410_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x0
	ldr	x23, [x0, #8]
	cbz	x23, LBB0_8
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #16
	bl	_devm_kzalloc
	cbz	x0, LBB0_9
; %bb.2:
	mov	x22, x0
	neg	w21, w19
	add	x19, x0, #12
	str	x19, [x20]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh8:
	adrp	x2, _tfp410_module_ops@GOTPAGE
Lloh9:
	ldr	x2, [x2, _tfp410_module_ops@GOTPAGEOFF]
	mov	x0, x19
	bl	_tilcdc_module_init
	mov	x0, x20
	bl	_devm_pinctrl_get_select_default
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_warn
LBB0_4:
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #12
	mov	x0, x23
	bl	_of_property_read_u32
	cbz	x0, LBB0_12
; %bb.5:
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_6:
	mov	x0, x20
	bl	_dev_err
LBB0_7:
	mov	x0, x19
	bl	_tilcdc_module_cleanup
	b	LBB0_11
LBB0_8:
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh18:
	adrp	x8, _ENXIO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_12:
	ldr	w0, [sp, #12]
	bl	_of_find_node_by_phandle
	cbz	x0, LBB0_17
; %bb.13:
	mov	x24, x0
	bl	_of_find_i2c_adapter_by_node
	str	w0, [x22, #8]
	cbz	w0, LBB0_18
; %bb.14:
	mov	x0, x24
	bl	_of_node_put
Lloh22:
	adrp	x1, l_.str.7@PAGE
Lloh23:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x23
	mov	w2, #0
	mov	x3, #0
	bl	_of_get_named_gpio_flags
	str	x0, [x22]
	tbnz	x0, #63, LBB0_19
; %bb.15:
Lloh24:
	adrp	x1, l_.str.9@PAGE
Lloh25:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_gpio_request
	mov	x21, x0
	cbz	w0, LBB0_11
; %bb.16:
Lloh26:
	adrp	x1, l_.str.10@PAGE
Lloh27:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	w0, [x22, #8]
	bl	_i2c_put_adapter
	b	LBB0_7
LBB0_17:
Lloh28:
	adrp	x1, l_.str.5@PAGE
Lloh29:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_6
LBB0_18:
Lloh30:
	adrp	x1, l_.str.6@PAGE
Lloh31:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	mov	x0, x24
	bl	_of_node_put
	b	LBB0_7
LBB0_19:
Lloh32:
	adrp	x1, l_.str.8@PAGE
Lloh33:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_dev_warn
	mov	w21, #0
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"device-tree data is missing\n"

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

	.comm	_tfp410_module_ops,4,2          ; @tfp410_module_ops
l_.str.2:                               ; @.str.2
	.asciz	"pins are not configured\n"

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

l_.str.4:                               ; @.str.4
	.asciz	"could not get i2c bus phandle\n"

l_.str.5:                               ; @.str.5
	.asciz	"could not get i2c bus node\n"

l_.str.6:                               ; @.str.6
	.asciz	"could not get i2c\n"

l_.str.7:                               ; @.str.7
	.asciz	"powerdn-gpio"

l_.str.8:                               ; @.str.8
	.asciz	"No power down GPIO\n"

l_.str.9:                               ; @.str.9
	.asciz	"DVI_PDn"

l_.str.10:                              ; @.str.10
	.asciz	"could not get DVI_PDn gpio\n"

	.no_dead_strip	_tfp410_probe
.subsections_via_symbols
