	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_hdmi_probe
_tegra_hdmi_probe:                      ## @tegra_hdmi_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, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$120, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_of_device_get_match_data
	movl	%eax, 116(%rbx)
	movq	%r14, 40(%rbx)
	movq	_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%rbx)
	movq	$0, (%rbx)
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movq	%rax, 96(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	96(%rbx), %rdi
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_27:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_reset_control_get
	movq	%rax, 104(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	104(%rbx), %rdi
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_clk_get
	movq	%rax, 88(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	88(%rbx), %rdi
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_9:
	movq	88(%rbx), %rsi
	movq	96(%rbx), %rdi
	callq	_clk_set_parent
	testl	%eax, %eax
	js	LBB0_10
## %bb.11:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regulator_get
	movq	%rax, 80(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	80(%rbx), %rdi
	jmp	LBB0_8
LBB0_10:
	movl	%eax, %r15d
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_27
LBB0_13:
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regulator_get
	movq	%rax, 72(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	72(%rbx), %rdi
	jmp	LBB0_8
LBB0_15:
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_regulator_get
	movq	%rax, 64(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	64(%rbx), %rdi
	jmp	LBB0_8
LBB0_17:
	leaq	56(%rbx), %rdi
	movq	%r14, 56(%rbx)
	callq	_tegra_output_probe
	testl	%eax, %eax
	js	LBB0_18
## %bb.19:
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movq	%rax, 48(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	48(%rbx), %rdi
	jmp	LBB0_8
LBB0_18:
	movl	%eax, %r15d
	jmp	LBB0_27
LBB0_21:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_22
## %bb.23:
	movl	%r12d, 8(%rbx)
	movq	40(%rbx), %r13
	movq	_tegra_hdmi_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	callq	_dev_name
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	%rbx, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	js	LBB0_24
## %bb.25:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movq	%r14, %rdi
	callq	_pm_runtime_enable
	leaq	16(%rbx), %r12
	movq	%rbx, %rdi
	addq	$32, %rdi
	callq	_INIT_LIST_HEAD
	movq	_hdmi_client_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movq	%r14, 16(%rbx)
	movq	%r12, %rdi
	callq	_host1x_client_register
	testl	%eax, %eax
	jns	LBB0_27
## %bb.26:
	movl	%eax, %ebx
	leaq	L_.str.11(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	%ebx, %r15d
	jmp	LBB0_27
LBB0_22:
	movl	%r12d, %r15d
	jmp	LBB0_27
LBB0_24:
	movl	%eax, %r12d
	movl	8(%rbx), %edx
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	movl	%r12d, %r15d
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AUTO,4,2                       ## @AUTO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to get clock\n"

L_.str.1:                               ## @.str.1
	.asciz	"hdmi"

L_.str.2:                               ## @.str.2
	.asciz	"failed to get reset\n"

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

L_.str.4:                               ## @.str.4
	.asciz	"failed to setup clocks: %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"failed to get HDMI regulator\n"

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

L_.str.7:                               ## @.str.7
	.asciz	"failed to get PLL regulator\n"

L_.str.8:                               ## @.str.8
	.asciz	"vdd"

L_.str.9:                               ## @.str.9
	.asciz	"failed to get VDD regulator\n"

	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_tegra_hdmi_irq,4,2             ## @tegra_hdmi_irq
L_.str.10:                              ## @.str.10
	.asciz	"failed to request IRQ#%u: %d\n"

	.comm	_hdmi_client_ops,4,2            ## @hdmi_client_ops
L_.str.11:                              ## @.str.11
	.asciz	"failed to register host1x client: %d\n"

	.no_dead_strip	_tegra_hdmi_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_hdmi_probe
_tegra_hdmi_probe:                      ; @tegra_hdmi_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	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #120
	bl	_devm_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x0, x19
	bl	_of_device_get_match_data
Lloh3:
	adrp	x8, _AUTO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AUTO@GOTPAGEOFF]
	str	x19, [x20, #40]
Lloh5:
	ldr	w8, [x8]
	stp	w8, w0, [x20, #112]
	str	xzr, [x20]
	mov	x0, x19
	mov	x1, #0
	bl	_devm_clk_get
	str	x0, [x20, #96]
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #96]
	b	LBB0_9
LBB0_3:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_4:
	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_5:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_devm_reset_control_get
	str	x0, [x20, #104]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.6:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #104]
	b	LBB0_9
LBB0_7:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_devm_clk_get
	str	x0, [x20, #88]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.8:
	ldr	x0, [x20, #88]
LBB0_9:
	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
	b	_PTR_ERR
LBB0_10:
	ldp	x1, x0, [x20, #88]
	bl	_clk_set_parent
	tbnz	w0, #31, LBB0_13
; %bb.11:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_devm_regulator_get
	str	x0, [x20, #80]
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.12:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #80]
	b	LBB0_9
LBB0_13:
	mov	x21, x0
	str	x21, [sp]
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_4
LBB0_14:
Lloh23:
	adrp	x1, l_.str.6@PAGE
Lloh24:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_devm_regulator_get
	str	x0, [x20, #72]
	bl	_IS_ERR
	cbz	x0, LBB0_16
; %bb.15:
Lloh25:
	adrp	x1, l_.str.7@PAGE
Lloh26:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #72]
	b	LBB0_9
LBB0_16:
Lloh27:
	adrp	x1, l_.str.8@PAGE
Lloh28:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_devm_regulator_get
	str	x0, [x20, #64]
	bl	_IS_ERR
	cbz	x0, LBB0_18
; %bb.17:
Lloh29:
	adrp	x1, l_.str.9@PAGE
Lloh30:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	x0, [x20, #64]
	b	LBB0_9
LBB0_18:
	mov	x0, x20
	str	x19, [x0, #56]!
	bl	_tegra_output_probe
	tbnz	w0, #31, LBB0_21
; %bb.19:
Lloh31:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x19
	bl	_devm_ioremap_resource
	str	x0, [x20, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_22
; %bb.20:
	ldr	x0, [x20, #48]
	b	LBB0_9
LBB0_21:
	mov	x21, x0
	b	LBB0_4
LBB0_22:
	mov	x0, x19
	mov	w1, #0
	bl	_platform_get_irq
	mov	x21, x0
	tbnz	w0, #31, LBB0_4
; %bb.23:
	str	w21, [x20, #8]
	ldr	x22, [x20, #40]
Lloh34:
	adrp	x8, _tegra_hdmi_irq@GOTPAGE
Lloh35:
	ldr	x8, [x8, _tegra_hdmi_irq@GOTPAGEOFF]
Lloh36:
	ldr	w23, [x8]
	mov	x0, x22
	bl	_dev_name
	mov	x4, x0
	mov	x0, x22
	mov	x1, x21
	mov	x2, x23
	mov	w3, #0
	mov	x5, x20
	bl	_devm_request_irq
	tbnz	w0, #31, LBB0_26
; %bb.24:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	mov	x0, x19
	bl	_pm_runtime_enable
	add	x0, x20, #32
	bl	_INIT_LIST_HEAD
Lloh37:
	adrp	x8, _hdmi_client_ops@GOTPAGE
Lloh38:
	ldr	x8, [x8, _hdmi_client_ops@GOTPAGEOFF]
	stp	x19, x8, [x20, #16]!
	mov	x0, x20
	bl	_host1x_client_register
	tbnz	w0, #31, LBB0_27
; %bb.25:
	mov	w21, #0
	b	LBB0_4
LBB0_26:
	mov	x21, x0
	ldr	w8, [x20, #8]
	stp	x8, x21, [sp]
Lloh39:
	adrp	x1, l_.str.10@PAGE
Lloh40:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_28
LBB0_27:
	mov	x21, x0
	str	x21, [sp]
Lloh41:
	adrp	x1, l_.str.11@PAGE
Lloh42:
	add	x1, x1, l_.str.11@PAGEOFF
LBB0_28:
	mov	x0, x19
	bl	_dev_err
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AUTO,4,2                       ; @AUTO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to get clock\n"

l_.str.1:                               ; @.str.1
	.asciz	"hdmi"

l_.str.2:                               ; @.str.2
	.asciz	"failed to get reset\n"

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

l_.str.4:                               ; @.str.4
	.asciz	"failed to setup clocks: %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"failed to get HDMI regulator\n"

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

l_.str.7:                               ; @.str.7
	.asciz	"failed to get PLL regulator\n"

l_.str.8:                               ; @.str.8
	.asciz	"vdd"

l_.str.9:                               ; @.str.9
	.asciz	"failed to get VDD regulator\n"

	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_tegra_hdmi_irq,4,2             ; @tegra_hdmi_irq
l_.str.10:                              ; @.str.10
	.asciz	"failed to request IRQ#%u: %d\n"

	.comm	_hdmi_client_ops,4,2            ; @hdmi_client_ops
l_.str.11:                              ; @.str.11
	.asciz	"failed to register host1x client: %d\n"

	.no_dead_strip	_tegra_hdmi_probe
.subsections_via_symbols
