	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sh_mobile_i2c_r8a7740_workaround
_sh_mobile_i2c_r8a7740_workaround:      ## @sh_mobile_i2c_r8a7740_workaround
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_ICCR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_ICCR_ICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_iic_set_clr
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_iic_rd
	movq	_ICSTART@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_ICSTART_ICSTART@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_iic_set_clr
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_iic_rd
	movl	$10, %edi
	callq	_udelay
	movl	(%r14), %esi
	movq	_ICCR_SCP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_iic_wr
	movl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_iic_wr
	movl	$10, %edi
	callq	_udelay
	movl	(%r14), %esi
	movq	_ICCR_TRS@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_iic_wr
	movl	$10, %edi
	callq	_udelay
	movl	(%r14), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_iic_wr
	movl	$10, %edi
	callq	_udelay
	movl	(%r14), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_iic_wr
	movl	$10, %edi
	callq	_udelay
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sh_mobile_i2c_init             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ICCR,4,2                       ## @ICCR
	.comm	_ICCR_ICE,4,2                   ## @ICCR_ICE
	.comm	_ICSTART,4,2                    ## @ICSTART
	.comm	_ICSTART_ICSTART,4,2            ## @ICSTART_ICSTART
	.comm	_ICCR_SCP,4,2                   ## @ICCR_SCP
	.comm	_ICCR_TRS,4,2                   ## @ICCR_TRS
	.no_dead_strip	_sh_mobile_i2c_r8a7740_workaround
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sh_mobile_i2c_r8a7740_workaround
_sh_mobile_i2c_r8a7740_workaround:      ; @sh_mobile_i2c_r8a7740_workaround
	.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
Lloh0:
	adrp	x20, _ICCR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ICCR@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _ICCR_ICE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ICCR_ICE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_iic_set_clr
	ldr	w1, [x20]
	mov	x0, x19
	bl	_iic_rd
Lloh5:
	adrp	x21, _ICSTART@GOTPAGE
Lloh6:
	ldr	x21, [x21, _ICSTART@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh7:
	adrp	x8, _ICSTART_ICSTART@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ICSTART_ICSTART@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_iic_set_clr
	ldr	w1, [x21]
	mov	x0, x19
	bl	_iic_rd
	mov	w0, #10
	bl	_udelay
	ldr	w1, [x20]
Lloh10:
	adrp	x8, _ICCR_SCP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ICCR_SCP@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_iic_wr
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_iic_wr
	mov	w0, #10
	bl	_udelay
	ldr	w1, [x20]
Lloh13:
	adrp	x21, _ICCR_TRS@GOTPAGE
Lloh14:
	ldr	x21, [x21, _ICCR_TRS@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_iic_wr
	mov	w0, #10
	bl	_udelay
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	bl	_iic_wr
	mov	w0, #10
	bl	_udelay
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_iic_wr
	mov	w0, #10
	bl	_udelay
	mov	x0, x19
	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	_sh_mobile_i2c_init
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ICCR,4,2                       ; @ICCR
	.comm	_ICCR_ICE,4,2                   ; @ICCR_ICE
	.comm	_ICSTART,4,2                    ; @ICSTART
	.comm	_ICSTART_ICSTART,4,2            ; @ICSTART_ICSTART
	.comm	_ICCR_SCP,4,2                   ; @ICCR_SCP
	.comm	_ICCR_TRS,4,2                   ; @ICCR_TRS
	.no_dead_strip	_sh_mobile_i2c_r8a7740_workaround
.subsections_via_symbols
