	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exynos5_i2c_bus_check
_exynos5_i2c_bus_check:                 ## @exynos5_i2c_bus_check
	.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	8(%rdi), %rax
	movq	(%rax), %rax
	movq	_I2C_TYPE_EXYNOS7@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$100, %edi
	callq	_msecs_to_jiffies
	movq	%rax, %r14
	movq	_HSI2C_TRANS_STATUS@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	_HSI2C_MASTER_ST_MASK@GOTPCREL(%rip), %r12
	andl	(%r12), %eax
	movq	_HSI2C_MASTER_ST_LOSE@GOTPCREL(%rip), %r13
	cmpl	(%r13), %eax
	jne	LBB0_5
## %bb.2:
	addq	-48(%rbp), %r14                 ## 8-byte Folded Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_time_is_before_jiffies
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	callq	_exynos5_i2c_bus_recover
	movq	(%r15), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	andl	(%r12), %eax
	cmpl	(%r13), %eax
	je	LBB0_3
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_TYPE_EXYNOS7,8,3           ## @I2C_TYPE_EXYNOS7
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HSI2C_TRANS_STATUS,8,3         ## @HSI2C_TRANS_STATUS
	.comm	_HSI2C_MASTER_ST_MASK,4,2       ## @HSI2C_MASTER_ST_MASK
	.comm	_HSI2C_MASTER_ST_LOSE,4,2       ## @HSI2C_MASTER_ST_LOSE
	.no_dead_strip	_exynos5_i2c_bus_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exynos5_i2c_bus_check
_exynos5_i2c_bus_check:                 ; @exynos5_i2c_bus_check
	.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
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _I2C_TYPE_EXYNOS7@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I2C_TYPE_EXYNOS7@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x24, [x8]
	mov	w0, #100
	bl	_msecs_to_jiffies
	mov	x20, x0
	ldr	x8, [x19]
Lloh6:
	adrp	x21, _HSI2C_TRANS_STATUS@GOTPAGE
Lloh7:
	ldr	x21, [x21, _HSI2C_TRANS_STATUS@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
Lloh8:
	adrp	x22, _HSI2C_MASTER_ST_MASK@GOTPAGE
Lloh9:
	ldr	x22, [x22, _HSI2C_MASTER_ST_MASK@GOTPAGEOFF]
	ldr	w8, [x22]
	and	w8, w8, w0
Lloh10:
	adrp	x23, _HSI2C_MASTER_ST_LOSE@GOTPAGE
Lloh11:
	ldr	x23, [x23, _HSI2C_MASTER_ST_LOSE@GOTPAGEOFF]
	ldr	w9, [x23]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.2:
	add	x20, x20, x24
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_time_is_before_jiffies
	cbnz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_exynos5_i2c_bus_recover
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl
	ldr	w8, [x22]
	and	w8, w8, w0
	ldr	w9, [x23]
	cmp	w8, w9
	b.eq	LBB0_3
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_TYPE_EXYNOS7,8,3           ; @I2C_TYPE_EXYNOS7
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HSI2C_TRANS_STATUS,8,3         ; @HSI2C_TRANS_STATUS
	.comm	_HSI2C_MASTER_ST_MASK,4,2       ; @HSI2C_MASTER_ST_MASK
	.comm	_HSI2C_MASTER_ST_LOSE,4,2       ; @HSI2C_MASTER_ST_LOSE
	.no_dead_strip	_exynos5_i2c_bus_check
.subsections_via_symbols
