	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dc_i2c_probe
_dc_i2c_probe:                          ## @dc_i2c_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, %r12
	movq	(%rdi), %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$80, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r14
	movq	(%r12), %rdi
	leaq	72(%rax), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_of_property_read_u32
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_DEFAULT_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_3:
	movq	%r12, 64(%r14)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	leaq	56(%r14), %rdi
	callq	_spin_lock_init
	leaq	52(%r14), %rdi
	callq	_init_completion
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_devm_clk_get
	movl	%eax, (%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	(%r14), %edi
	jmp	LBB0_9
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_devm_ioremap_resource
	movl	%eax, 48(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movl	48(%r14), %edi
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_10:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_6
## %bb.11:
	movq	_dc_i2c_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_dev_name
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	js	LBB0_17
## %bb.12:
	movl	44(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movq	_dc_i2c_algorithm@GOTPCREL(%rip), %rax
	movq	%rax, 32(%r14)
	movq	%r12, 24(%r14)
	movq	%r13, 16(%r14)
	movq	%r14, 8(%r14)
	movq	%r14, %rdi
	callq	_dc_i2c_init_hw
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.13:
	movl	(%r14), %edi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	js	LBB0_17
## %bb.14:
	movq	%r14, %rdi
	addq	$8, %rdi
	callq	_i2c_add_adapter
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jns	LBB0_6
## %bb.15:
	movl	%eax, %ebx
	movl	(%r14), %edi
	callq	_clk_disable_unprepare
	movl	%ebx, %r15d
	jmp	LBB0_6
LBB0_17:
	movl	%eax, %r15d
	jmp	LBB0_6
	.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	"clock-frequency"

	.comm	_DEFAULT_FREQ,4,2               ## @DEFAULT_FREQ
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_dc_i2c_irq,4,2                 ## @dc_i2c_irq
L_.str.1:                               ## @.str.1
	.asciz	"Conexant Digicolor I2C adapter"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_dc_i2c_algorithm,4,2           ## @dc_i2c_algorithm
	.no_dead_strip	_dc_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dc_i2c_probe
_dc_i2c_probe:                          ; @dc_i2c_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #80
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x0, [x20]
	add	x21, x19, #72
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_of_property_read_u32
	cbz	x0, LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _DEFAULT_FREQ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DEFAULT_FREQ@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x21]
LBB0_3:
	str	x20, [x19, #64]
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	add	x0, x19, #56
	bl	_spin_lock_init
	add	x0, x19, #52
	bl	_init_completion
	mov	x0, x20
	mov	x1, #0
	bl	_devm_clk_get
	str	w0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.4:
	ldr	w0, [x19]
	b	LBB0_9
LBB0_5:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh11:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_platform_get_resource
	mov	x1, x0
	mov	x0, x20
	bl	_devm_ioremap_resource
	str	w0, [x19, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.8:
	ldr	w0, [x19, #48]
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_10:
	mov	x0, x20
	mov	w1, #0
	bl	_platform_get_irq
	mov	x21, x0
	tbnz	w0, #31, LBB0_6
; %bb.11:
Lloh14:
	adrp	x8, _dc_i2c_irq@GOTPAGE
Lloh15:
	ldr	x8, [x8, _dc_i2c_irq@GOTPAGEOFF]
Lloh16:
	ldr	w22, [x8]
	mov	x0, x20
	bl	_dev_name
	mov	x4, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	mov	x5, x19
	bl	_devm_request_irq
	tbnz	w0, #31, LBB0_16
; %bb.12:
	ldr	w0, [x19, #44]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #4
	bl	_strlcpy
Lloh19:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [x19, #40]
Lloh22:
	adrp	x8, _dc_i2c_algorithm@GOTPAGE
Lloh23:
	ldr	x8, [x8, _dc_i2c_algorithm@GOTPAGEOFF]
	stp	x20, x8, [x19, #24]
	stp	x19, x23, [x19, #8]
	mov	x0, x19
	bl	_dc_i2c_init_hw
	mov	x21, x0
	cbnz	w0, LBB0_6
; %bb.13:
	ldr	w0, [x19]
	bl	_clk_prepare_enable
	tbnz	w0, #31, LBB0_16
; %bb.14:
	add	x0, x19, #8
	bl	_i2c_add_adapter
	tbnz	w0, #31, LBB0_17
; %bb.15:
	mov	w21, #0
	b	LBB0_6
LBB0_16:
	mov	x21, x0
	b	LBB0_6
LBB0_17:
	mov	x21, x0
	ldr	w0, [x19]
	bl	_clk_disable_unprepare
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.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	"clock-frequency"

	.comm	_DEFAULT_FREQ,4,2               ; @DEFAULT_FREQ
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_dc_i2c_irq,4,2                 ; @dc_i2c_irq
l_.str.1:                               ; @.str.1
	.asciz	"Conexant Digicolor I2C adapter"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_dc_i2c_algorithm,4,2           ; @dc_i2c_algorithm
	.no_dead_strip	_dc_i2c_probe
.subsections_via_symbols
