	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function twl4030_i2c_access
_twl4030_i2c_access:                    ## @twl4030_i2c_access
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_PHY_CLK_CTRL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_twl4030_usb_read
	testl	%eax, %eax
	js	LBB0_9
## %bb.1:
	movq	_REQ_PHY_DPLL_CLK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.2:
	orl	%eax, %edx
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_twl4030_usb_write_verify
	shrq	$63, %rax
	movl	%eax, %edi
	callq	_WARN_ON
	movq	_jiffies@GOTPCREL(%rip), %r15
	movq	_HZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	addq	(%r15), %rbx
	movq	_PHY_CLK_CTRL_STS@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_twl4030_usb_read
	movq	_PHY_DPLL_CLK@GOTPCREL(%rip), %r13
	testl	%eax, (%r13)
	jne	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movq	%rbx, %rsi
	callq	_time_before
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$10, %edi
	callq	_udelay
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_twl4030_usb_read
	testl	%eax, (%r13)
	je	LBB0_4
LBB0_6:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_twl4030_usb_read
	testl	%eax, (%r13)
	je	LBB0_7
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	notl	%edx
	andl	%edx, %eax
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_twl4030_usb_write_verify
	shrq	$63, %rax
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WARN_ON                        ## TAILCALL
LBB0_7:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PHY_CLK_CTRL,4,2               ## @PHY_CLK_CTRL
	.comm	_REQ_PHY_DPLL_CLK,4,2           ## @REQ_PHY_DPLL_CLK
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,8,3                         ## @HZ
	.comm	_PHY_CLK_CTRL_STS,4,2           ## @PHY_CLK_CTRL_STS
	.comm	_PHY_DPLL_CLK,4,2               ## @PHY_DPLL_CLK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Timeout setting T2 HSUSB PHY DPLL clock\n"

	.no_dead_strip	_twl4030_i2c_access
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function twl4030_i2c_access
_twl4030_i2c_access:                    ; @twl4030_i2c_access
	.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, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _PHY_CLK_CTRL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PHY_CLK_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_twl4030_usb_read
	tbnz	w0, #31, LBB0_7
; %bb.1:
Lloh2:
	adrp	x8, _REQ_PHY_DPLL_CLK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REQ_PHY_DPLL_CLK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbz	w20, LBB0_8
; %bb.2:
	orr	w2, w8, w0
	ldr	w1, [x21]
	mov	x0, x19
	bl	_twl4030_usb_write_verify
	lsr	x0, x0, #63
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_WARN_ON
Lloh5:
	adrp	x21, _jiffies@GOTPAGE
Lloh6:
	ldr	x21, [x21, _jiffies@GOTPAGEOFF]
	ldr	x20, [x21]
Lloh7:
	adrp	x8, _HZ@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh9:
	ldr	x24, [x8]
Lloh10:
	adrp	x22, _PHY_CLK_CTRL_STS@GOTPAGE
Lloh11:
	ldr	x22, [x22, _PHY_CLK_CTRL_STS@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_twl4030_usb_read
Lloh12:
	adrp	x23, _PHY_DPLL_CLK@GOTPAGE
Lloh13:
	ldr	x23, [x23, _PHY_DPLL_CLK@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_6
; %bb.3:
	add	x20, x24, x20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	mov	x1, x20
	bl	_time_before
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #10
	bl	_udelay
	ldr	w1, [x22]
	mov	x0, x19
	bl	_twl4030_usb_read
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_4
LBB0_6:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_twl4030_usb_read
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_9
LBB0_7:
	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_8:
	bic	w2, w0, w8
	ldr	w1, [x21]
	mov	x0, x19
	bl	_twl4030_usb_write_verify
	lsr	x0, x0, #63
                                        ; kill: def $w0 killed $w0 killed $x0
	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	_WARN_ON
LBB0_9:
	ldr	w0, [x19]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	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	_dev_err
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_PHY_CLK_CTRL,4,2               ; @PHY_CLK_CTRL
	.comm	_REQ_PHY_DPLL_CLK,4,2           ; @REQ_PHY_DPLL_CLK
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,8,3                         ; @HZ
	.comm	_PHY_CLK_CTRL_STS,4,2           ; @PHY_CLK_CTRL_STS
	.comm	_PHY_DPLL_CLK,4,2               ; @PHY_DPLL_CLK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Timeout setting T2 HSUSB PHY DPLL clock\n"

	.no_dead_strip	_twl4030_i2c_access
.subsections_via_symbols
