	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sii8620_probe
_sii8620_probe:                         ## @sii8620_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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	4(%rdi), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$56, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	%r15, 24(%rax)
	leaq	52(%rax), %rdi
	callq	_mutex_init
	leaq	48(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_clk_get
	movl	%eax, 44(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movl	44(%rbx), %edi
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_17:
	movl	%r12d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	(%r14), %edi
	testl	%edi, %edi
	je	LBB0_7
## %bb.8:
	movq	_IRQ_NOAUTOEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_irq_set_status_flags
	movl	(%r14), %esi
	movq	_sii8620_irq_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_TRIGGER_HIGH@GOTPCREL(%rip), %rax
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	(%rax), %r8d
	movq	%rbx, (%rsp)
	leaq	L_.str.3(%rip), %r9
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	js	LBB0_9
## %bb.10:
	movq	_GPIOD_OUT_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_devm_gpiod_get
	movl	%eax, 40(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movl	40(%rbx), %edi
	jmp	LBB0_5
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_9:
	movl	%eax, %r12d
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_17
LBB0_12:
	movq	32(%rbx), %rdx
	leaq	L_.str.7(%rip), %rax
	movq	%rax, (%rdx)
	leaq	L_.str.8(%rip), %rax
	movq	%rax, 8(%rdx)
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_devm_regulator_bulk_get
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.13:
	movq	%rbx, %rdi
	callq	_sii8620_extcon_init
	testl	%eax, %eax
	js	LBB0_14
## %bb.15:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_clientdata
	movq	%rbx, %rdi
	addq	$8, %rdi
	movq	_sii8620_bridge_funcs@GOTPCREL(%rip), %rax
	movq	%rax, 16(%rbx)
	movl	4(%r14), %eax
	movl	%eax, 8(%rbx)
	callq	_drm_bridge_add
	xorl	%r12d, %r12d
	cmpl	$0, (%rbx)
	jne	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	callq	_sii8620_cable_in
	jmp	LBB0_17
LBB0_14:
	movl	%eax, %r12d
	movq	24(%rbx), %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_dev_err
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xtal"

L_.str.1:                               ## @.str.1
	.asciz	"failed to get xtal clock from DT\n"

L_.str.2:                               ## @.str.2
	.asciz	"no irq provided\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IRQ_NOAUTOEN,4,2               ## @IRQ_NOAUTOEN
	.comm	_sii8620_irq_thread,4,2         ## @sii8620_irq_thread
	.comm	_IRQF_TRIGGER_HIGH,4,2          ## @IRQF_TRIGGER_HIGH
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
L_.str.3:                               ## @.str.3
	.asciz	"sii8620"

L_.str.4:                               ## @.str.4
	.asciz	"failed to install IRQ handler\n"

L_.str.5:                               ## @.str.5
	.asciz	"reset"

	.comm	_GPIOD_OUT_HIGH,4,2             ## @GPIOD_OUT_HIGH
L_.str.6:                               ## @.str.6
	.asciz	"failed to get reset gpio from DT\n"

L_.str.7:                               ## @.str.7
	.asciz	"cvcc10"

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

L_.str.9:                               ## @.str.9
	.asciz	"failed to initialize EXTCON\n"

	.comm	_sii8620_bridge_funcs,4,2       ## @sii8620_bridge_funcs
	.no_dead_strip	_sii8620_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sii8620_probe
_sii8620_probe:                         ; @sii8620_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	x20, x0
	add	x21, x0, #4
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #56
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	str	x21, [x0, #24]
	add	x0, x0, #52
	bl	_mutex_init
	add	x0, x19, #48
	bl	_INIT_LIST_HEAD
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_devm_clk_get
	str	w0, [x19, #44]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	ldr	w0, [x19, #44]
LBB0_3:
	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_4:
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_6:
	mov	x0, x22
	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_7:
	ldr	w0, [x20]
	cbz	w0, LBB0_11
; %bb.8:
Lloh9:
	adrp	x8, _IRQ_NOAUTOEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IRQ_NOAUTOEN@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_irq_set_status_flags
	ldr	w1, [x20]
Lloh12:
	adrp	x8, _sii8620_irq_thread@GOTPAGE
Lloh13:
	ldr	x8, [x8, _sii8620_irq_thread@GOTPAGEOFF]
Lloh14:
	adrp	x9, _IRQF_TRIGGER_HIGH@GOTPAGE
Lloh15:
	ldr	x9, [x9, _IRQF_TRIGGER_HIGH@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
Lloh17:
	ldr	w8, [x9]
Lloh18:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w4, w9, w8
Lloh21:
	adrp	x5, l_.str.3@PAGE
Lloh22:
	add	x5, x5, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x2, #0
	mov	x6, x19
	bl	_devm_request_threaded_irq
	tbnz	w0, #31, LBB0_12
; %bb.9:
Lloh23:
	adrp	x8, _GPIOD_OUT_HIGH@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GPIOD_OUT_HIGH@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
Lloh26:
	adrp	x1, l_.str.5@PAGE
Lloh27:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_devm_gpiod_get
	str	w0, [x19, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.10:
Lloh28:
	adrp	x1, l_.str.6@PAGE
Lloh29:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	ldr	w0, [x19, #40]
	b	LBB0_3
LBB0_11:
Lloh30:
	adrp	x1, l_.str.2@PAGE
Lloh31:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh32:
	adrp	x8, _EINVAL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_12:
	mov	x22, x0
Lloh34:
	adrp	x1, l_.str.4@PAGE
Lloh35:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	b	LBB0_6
LBB0_13:
	ldr	x2, [x19, #32]
Lloh36:
	adrp	x8, l_.str.7@PAGE
Lloh37:
	add	x8, x8, l_.str.7@PAGEOFF
Lloh38:
	adrp	x9, l_.str.8@PAGE
Lloh39:
	add	x9, x9, l_.str.8@PAGEOFF
	stp	x8, x9, [x2]
	mov	x0, x21
	mov	w1, #2
	bl	_devm_regulator_bulk_get
	mov	x22, x0
	cbnz	w0, LBB0_6
; %bb.14:
	mov	x0, x19
	bl	_sii8620_extcon_init
	tbnz	w0, #31, LBB0_18
; %bb.15:
	mov	x0, x20
	mov	x1, x19
	bl	_i2c_set_clientdata
Lloh40:
	adrp	x8, _sii8620_bridge_funcs@GOTPAGE
Lloh41:
	ldr	x8, [x8, _sii8620_bridge_funcs@GOTPAGEOFF]
	str	x8, [x19, #16]
	ldr	w8, [x20, #4]
	mov	x0, x19
	str	w8, [x0, #8]!
	bl	_drm_bridge_add
	ldr	w8, [x19]
	cbnz	w8, LBB0_17
; %bb.16:
	mov	x0, x19
	bl	_sii8620_cable_in
LBB0_17:
	mov	w22, #0
	b	LBB0_6
LBB0_18:
	mov	x22, x0
	ldr	x0, [x19, #24]
Lloh42:
	adrp	x1, l_.str.9@PAGE
Lloh43:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_dev_err
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xtal"

l_.str.1:                               ; @.str.1
	.asciz	"failed to get xtal clock from DT\n"

l_.str.2:                               ; @.str.2
	.asciz	"no irq provided\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IRQ_NOAUTOEN,4,2               ; @IRQ_NOAUTOEN
	.comm	_sii8620_irq_thread,4,2         ; @sii8620_irq_thread
	.comm	_IRQF_TRIGGER_HIGH,4,2          ; @IRQF_TRIGGER_HIGH
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
l_.str.3:                               ; @.str.3
	.asciz	"sii8620"

l_.str.4:                               ; @.str.4
	.asciz	"failed to install IRQ handler\n"

l_.str.5:                               ; @.str.5
	.asciz	"reset"

	.comm	_GPIOD_OUT_HIGH,4,2             ; @GPIOD_OUT_HIGH
l_.str.6:                               ; @.str.6
	.asciz	"failed to get reset gpio from DT\n"

l_.str.7:                               ; @.str.7
	.asciz	"cvcc10"

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

l_.str.9:                               ; @.str.9
	.asciz	"failed to initialize EXTCON\n"

	.comm	_sii8620_bridge_funcs,4,2       ; @sii8620_bridge_funcs
	.no_dead_strip	_sii8620_probe
.subsections_via_symbols
