	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sii9234_init_resources
_sii9234_init_resources:                ## @sii9234_init_resources
	.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, %r12
	movq	8(%rdi), %rdi
	cmpl	$0, (%rdi)
	je	LBB0_3
## %bb.1:
	movq	%rsi, %r15
	movq	(%rsi), %r14
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	callq	_devm_gpiod_get
	movl	%eax, 24(%r12)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	8(%r12), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_dev_err
	movl	24(%r12), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_3:
	leaq	L_.str(%rip), %rsi
LBB0_4:
	callq	_dev_err
LBB0_5:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_6:
	movq	16(%r12), %rdx
	leaq	L_.str.3(%rip), %rax
	movq	%rax, (%rdx)
	leaq	L_.str.4(%rip), %rax
	movq	%rax, 8(%rdx)
	leaq	L_.str.5(%rip), %rax
	movq	%rax, 16(%rdx)
	leaq	L_.str.6(%rip), %rax
	movq	%rax, 24(%rdx)
	movq	8(%r12), %rdi
	movl	$4, %esi
	callq	_devm_regulator_bulk_get
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movl	%eax, %ebx
	movq	8(%r12), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_dev_err
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	(%r12), %rax
	movq	_I2C_MHL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%r15, (%rax,%rcx,8)
	movq	_I2C_TPI_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_i2c_new_dummy
	movq	(%r12), %rcx
	movq	_I2C_TPI@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	(%r12), %rax
	cmpq	$0, (%rax,%rdx,8)
	je	LBB0_13
## %bb.10:
	movq	_I2C_HDMI_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_i2c_new_dummy
	movq	(%r12), %rcx
	movq	_I2C_HDMI@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	(%r12), %rax
	cmpq	$0, (%rax,%rdx,8)
	je	LBB0_14
## %bb.11:
	movq	_I2C_CBUS_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_i2c_new_dummy
	movq	(%r12), %rcx
	movq	_I2C_CBUS@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	(%r12), %rax
	xorl	%ebx, %ebx
	cmpq	$0, (%rax,%rdx,8)
	jne	LBB0_8
## %bb.12:
	movq	8(%r12), %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_dev_err
	movq	(%r12), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_i2c_unregister_device
	jmp	LBB0_15
LBB0_13:
	movq	8(%r12), %rdi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_4
LBB0_14:
	movq	8(%r12), %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_dev_err
LBB0_15:
	movq	(%r12), %rax
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_i2c_unregister_device
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"not DT device\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"reset"

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

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

L_.str.4:                               ## @.str.4
	.asciz	"avcc33"

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

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

L_.str.7:                               ## @.str.7
	.asciz	"regulator_bulk failed\n"

	.comm	_I2C_MHL,8,3                    ## @I2C_MHL
	.comm	_I2C_TPI_ADDR,4,2               ## @I2C_TPI_ADDR
	.comm	_I2C_TPI,8,3                    ## @I2C_TPI
L_.str.8:                               ## @.str.8
	.asciz	"failed to create TPI client\n"

	.comm	_I2C_HDMI_ADDR,4,2              ## @I2C_HDMI_ADDR
	.comm	_I2C_HDMI,8,3                   ## @I2C_HDMI
L_.str.9:                               ## @.str.9
	.asciz	"failed to create HDMI RX client\n"

	.comm	_I2C_CBUS_ADDR,4,2              ## @I2C_CBUS_ADDR
	.comm	_I2C_CBUS,8,3                   ## @I2C_CBUS
L_.str.10:                              ## @.str.10
	.asciz	"failed to create CBUS client\n"

	.no_dead_strip	_sii9234_init_resources
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sii9234_init_resources
_sii9234_init_resources:                ; @sii9234_init_resources
	.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	x0, [x0, #8]
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x21, x1
	ldr	x20, [x1]
Lloh0:
	adrp	x8, _GPIOD_OUT_LOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPIOD_OUT_LOW@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_devm_gpiod_get
	str	w0, [x19, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x0, [x19, #8]
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	ldr	w0, [x19, #24]
	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_3:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	bl	_dev_err
LBB0_5:
Lloh9:
	adrp	x8, _ENODEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_8
LBB0_6:
Lloh12:
	adrp	x8, l_.str.3@PAGE
Lloh13:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh14:
	adrp	x9, l_.str.4@PAGE
Lloh15:
	add	x9, x9, l_.str.4@PAGEOFF
	ldp	x0, x2, [x19, #8]
	stp	x8, x9, [x2]
Lloh16:
	adrp	x8, l_.str.5@PAGE
Lloh17:
	add	x8, x8, l_.str.5@PAGEOFF
Lloh18:
	adrp	x9, l_.str.6@PAGE
Lloh19:
	add	x9, x9, l_.str.6@PAGEOFF
	stp	x8, x9, [x2, #16]
	mov	w1, #4
	bl	_devm_regulator_bulk_get
	cbz	w0, LBB0_9
; %bb.7:
	mov	x22, x0
	ldr	x0, [x19, #8]
Lloh20:
	adrp	x1, l_.str.7@PAGE
Lloh21:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_dev_err
LBB0_8:
	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_9:
	ldr	x8, [x19]
Lloh22:
	adrp	x9, _I2C_MHL@GOTPAGE
Lloh23:
	ldr	x9, [x9, _I2C_MHL@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	str	x21, [x8, x9, lsl #3]
Lloh25:
	adrp	x8, _I2C_TPI_ADDR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _I2C_TPI_ADDR@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_i2c_new_dummy
	ldr	x8, [x19]
Lloh28:
	adrp	x21, _I2C_TPI@GOTPAGE
Lloh29:
	ldr	x21, [x21, _I2C_TPI@GOTPAGEOFF]
	ldr	x9, [x21]
	lsl	x9, x9, #3
	str	x0, [x8, x9]
	ldr	x8, [x19]
	ldr	x8, [x8, x9]
	cbz	x8, LBB0_13
; %bb.10:
Lloh30:
	adrp	x8, _I2C_HDMI_ADDR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _I2C_HDMI_ADDR@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_i2c_new_dummy
	ldr	x8, [x19]
Lloh33:
	adrp	x22, _I2C_HDMI@GOTPAGE
Lloh34:
	ldr	x22, [x22, _I2C_HDMI@GOTPAGEOFF]
	ldr	x9, [x22]
	lsl	x9, x9, #3
	str	x0, [x8, x9]
	ldr	x8, [x19]
	ldr	x8, [x8, x9]
	cbz	x8, LBB0_14
; %bb.11:
Lloh35:
	adrp	x8, _I2C_CBUS_ADDR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _I2C_CBUS_ADDR@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_i2c_new_dummy
	ldr	x8, [x19]
Lloh38:
	adrp	x9, _I2C_CBUS@GOTPAGE
Lloh39:
	ldr	x9, [x9, _I2C_CBUS@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	lsl	x9, x9, #3
	str	x0, [x8, x9]
	ldr	x8, [x19]
	ldr	x8, [x8, x9]
	cbz	x8, LBB0_15
; %bb.12:
	mov	w22, #0
	b	LBB0_8
LBB0_13:
	ldr	x0, [x19, #8]
Lloh41:
	adrp	x1, l_.str.8@PAGE
Lloh42:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_4
LBB0_14:
	ldr	x0, [x19, #8]
Lloh43:
	adrp	x1, l_.str.9@PAGE
Lloh44:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_dev_err
	b	LBB0_16
LBB0_15:
	ldr	x0, [x19, #8]
Lloh45:
	adrp	x1, l_.str.10@PAGE
Lloh46:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_dev_err
	ldr	x8, [x19]
	ldr	x9, [x22]
	ldr	x0, [x8, x9, lsl #3]
	bl	_i2c_unregister_device
LBB0_16:
	ldr	x8, [x19]
	ldr	x9, [x21]
	ldr	x0, [x8, x9, lsl #3]
	bl	_i2c_unregister_device
	b	LBB0_5
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"not DT device\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"reset"

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

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

l_.str.4:                               ; @.str.4
	.asciz	"avcc33"

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

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

l_.str.7:                               ; @.str.7
	.asciz	"regulator_bulk failed\n"

	.comm	_I2C_MHL,8,3                    ; @I2C_MHL
	.comm	_I2C_TPI_ADDR,4,2               ; @I2C_TPI_ADDR
	.comm	_I2C_TPI,8,3                    ; @I2C_TPI
l_.str.8:                               ; @.str.8
	.asciz	"failed to create TPI client\n"

	.comm	_I2C_HDMI_ADDR,4,2              ; @I2C_HDMI_ADDR
	.comm	_I2C_HDMI,8,3                   ; @I2C_HDMI
l_.str.9:                               ; @.str.9
	.asciz	"failed to create HDMI RX client\n"

	.comm	_I2C_CBUS_ADDR,4,2              ; @I2C_CBUS_ADDR
	.comm	_I2C_CBUS,8,3                   ; @I2C_CBUS
l_.str.10:                              ; @.str.10
	.asciz	"failed to create CBUS client\n"

	.no_dead_strip	_sii9234_init_resources
.subsections_via_symbols
