	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos5_i2c_probe
_exynos5_i2c_probe:                     ## @exynos5_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, %r14
	movq	(%rdi), %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$88, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	leaq	80(%rax), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_of_property_read_u32
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_HSI2C_FS_TX_CLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_4:
	movl	52(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edx
	callq	_strlcpy
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r12)
	movq	_exynos5_i2c_algorithm@GOTPCREL(%rip), %rax
	movq	%rax, 40(%r12)
	movl	$3, 8(%r12)
	movq	%r14, 72(%r12)
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_clk_get
	movl	%eax, 4(%r12)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENOENT@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_17
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_17
LBB0_6:
	movl	4(%r12), %edi
	callq	_clk_prepare_enable
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.7:
	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
	movl	%eax, 68(%r12)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	68(%r12), %edi
	callq	_PTR_ERR
LBB0_15:
	movl	%eax, %ebx
LBB0_16:
	movl	4(%r12), %edi
	callq	_clk_disable_unprepare
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r15, 24(%r12)
	movq	%r12, 32(%r12)
	movq	%r14, 16(%r12)
	movq	%r12, %rdi
	callq	_exynos5_i2c_clr_pend_irq
	leaq	64(%r12), %rdi
	callq	_spin_lock_init
	leaq	60(%r12), %rdi
	callq	_init_completion
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, (%r12)
	testl	%eax, %eax
	jle	LBB0_10
## %bb.11:
	movl	%eax, %r15d
	movq	_exynos5_i2c_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_IRQF_NO_SUSPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_dev_name
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	movq	%r12, %r9
	callq	_devm_request_irq
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	%eax, %ebx
	movl	(%r12), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_16
LBB0_10:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_16
LBB0_13:
	movq	%r14, %rdi
	callq	_of_device_get_match_data
	movl	%eax, 56(%r12)
	movq	%r12, %rdi
	callq	_exynos5_hsi2c_clock_setup
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.14:
	movq	%r12, %rbx
	addq	$8, %rbx
	movq	%r12, %rdi
	callq	_exynos5_i2c_reset
	movq	%rbx, %rdi
	callq	_i2c_add_adapter
	testl	%eax, %eax
	js	LBB0_15
## %bb.18:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_platform_set_drvdata
	movl	4(%r12), %edi
	callq	_clk_disable
	xorl	%ebx, %ebx
	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	"clock-frequency"

	.comm	_HSI2C_FS_TX_CLOCK,4,2          ## @HSI2C_FS_TX_CLOCK
L_.str.1:                               ## @.str.1
	.asciz	"exynos5-i2c"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_exynos5_i2c_algorithm,4,2      ## @exynos5_i2c_algorithm
L_.str.2:                               ## @.str.2
	.asciz	"hsi2c"

L_.str.3:                               ## @.str.3
	.asciz	"cannot get clock\n"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
L_.str.4:                               ## @.str.4
	.asciz	"cannot find HS-I2C IRQ\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_exynos5_i2c_irq,4,2            ## @exynos5_i2c_irq
	.comm	_IRQF_NO_SUSPEND,4,2            ## @IRQF_NO_SUSPEND
L_.str.5:                               ## @.str.5
	.asciz	"cannot request HS-I2C IRQ %d\n"

	.no_dead_strip	_exynos5_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos5_i2c_probe
_exynos5_i2c_probe:                     ; @exynos5_i2c_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	x22, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #88
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	add	x21, x0, #80
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x21
	bl	_of_property_read_u32
	cbz	x0, LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _HSI2C_FS_TX_CLOCK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HSI2C_FS_TX_CLOCK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x21]
LBB0_3:
	ldr	w0, [x19, #52]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #4
	bl	_strlcpy
	mov	w8, #3
	mov	x21, x19
	str	w8, [x21, #8]!
Lloh10:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x21, #40]
Lloh13:
	adrp	x8, _exynos5_i2c_algorithm@GOTPAGE
Lloh14:
	ldr	x8, [x8, _exynos5_i2c_algorithm@GOTPAGEOFF]
	str	x8, [x21, #32]
	str	x20, [x21, #64]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_devm_clk_get
	stur	w0, [x21, #-4]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.4:
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh19:
	adrp	x8, _ENOENT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh21:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_7:
	mov	x0, x23
	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_8:
	ldr	w0, [x19, #4]
	bl	_clk_prepare_enable
	mov	x23, x0
	cbnz	w0, LBB0_7
; %bb.9:
Lloh23:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh25:
	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, #68]
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.10:
	ldr	w0, [x19, #68]
	bl	_PTR_ERR
LBB0_11:
	mov	x23, x0
LBB0_12:
	ldr	w0, [x19, #4]
	bl	_clk_disable_unprepare
	b	LBB0_7
LBB0_13:
	stp	x22, x19, [x19, #24]
	str	x20, [x19, #16]
	mov	x0, x19
	bl	_exynos5_i2c_clr_pend_irq
	add	x0, x19, #64
	bl	_spin_lock_init
	add	x0, x19, #60
	bl	_init_completion
	mov	x0, x20
	mov	w1, #0
	bl	_platform_get_irq
	str	w0, [x19]
	cmp	w0, #0
	b.le	LBB0_16
; %bb.14:
	mov	x22, x0
Lloh26:
	adrp	x8, _exynos5_i2c_irq@GOTPAGE
Lloh27:
	ldr	x8, [x8, _exynos5_i2c_irq@GOTPAGEOFF]
Lloh28:
	ldr	w23, [x8]
Lloh29:
	adrp	x8, _IRQF_NO_SUSPEND@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IRQF_NO_SUSPEND@GOTPAGEOFF]
Lloh31:
	ldr	w24, [x8]
	mov	x0, x20
	bl	_dev_name
	mov	x4, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	mov	x5, x19
	bl	_devm_request_irq
	cbz	w0, LBB0_17
; %bb.15:
	mov	x23, x0
	ldr	w8, [x19]
	str	x8, [sp]
Lloh32:
	adrp	x1, l_.str.5@PAGE
Lloh33:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_12
LBB0_16:
Lloh34:
	adrp	x1, l_.str.4@PAGE
Lloh35:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh36:
	adrp	x8, _EINVAL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_12
LBB0_17:
	mov	x0, x20
	bl	_of_device_get_match_data
	str	w0, [x19, #56]
	mov	x0, x19
	bl	_exynos5_hsi2c_clock_setup
	mov	x23, x0
	cbnz	w0, LBB0_12
; %bb.18:
	mov	x0, x19
	bl	_exynos5_i2c_reset
	mov	x0, x21
	bl	_i2c_add_adapter
	tbnz	w0, #31, LBB0_11
; %bb.19:
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	ldr	w0, [x19, #4]
	bl	_clk_disable
	mov	w23, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.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	_HSI2C_FS_TX_CLOCK,4,2          ; @HSI2C_FS_TX_CLOCK
l_.str.1:                               ; @.str.1
	.asciz	"exynos5-i2c"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_exynos5_i2c_algorithm,4,2      ; @exynos5_i2c_algorithm
l_.str.2:                               ; @.str.2
	.asciz	"hsi2c"

l_.str.3:                               ; @.str.3
	.asciz	"cannot get clock\n"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
l_.str.4:                               ; @.str.4
	.asciz	"cannot find HS-I2C IRQ\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_exynos5_i2c_irq,4,2            ; @exynos5_i2c_irq
	.comm	_IRQF_NO_SUSPEND,4,2            ; @IRQF_NO_SUSPEND
l_.str.5:                               ; @.str.5
	.asciz	"cannot request HS-I2C IRQ %d\n"

	.no_dead_strip	_exynos5_i2c_probe
.subsections_via_symbols
