	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usbhs_runtime_resume
_usbhs_runtime_resume:                  ## @usbhs_runtime_resume
	.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
	callq	_dev_get_drvdata
	movq	%rax, %r12
	movq	40(%rax), %r15
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_dbg
	movq	%r15, %rdi
	callq	_omap_tll_enable
	movl	32(%r12), %edi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$0, (%r12)
	jg	LBB0_3
	jmp	LBB0_16
LBB0_1:
	movl	32(%r12), %edi
	callq	_clk_prepare_enable
	cmpl	$0, (%r12)
	jle	LBB0_16
LBB0_3:
	xorl	%ebx, %ebx
	leaq	L_.str.3(%rip), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_IS_ERR
	testl	%eax, %eax
	je	LBB0_13
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_16
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %eax
	cmpl	$128, %eax
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$129, %eax
	jne	LBB0_15
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_dev_err
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_dev_err
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_clk_prepare_enable
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_dev_err
	jmp	LBB0_15
LBB0_16:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usbhs_runtime_resume\n"

L_.str.1:                               ## @.str.1
	.asciz	"Can't enable port %d hsic60m clk:%d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Can't enable port %d hsic480m clk:%d\n"

L_.str.3:                               ## @.str.3
	.asciz	"Can't enable port %d clk : %d\n"

	.no_dead_strip	_usbhs_runtime_resume
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usbhs_runtime_resume
_usbhs_runtime_resume:                  ; @usbhs_runtime_resume
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_dev_get_drvdata
	mov	x20, x0
	ldr	x21, [x0, #40]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	mov	x0, x21
	bl	_omap_tll_enable
	ldr	w0, [x20, #32]
	bl	_IS_ERR
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x20, #32]
	bl	_clk_prepare_enable
LBB0_2:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.3:
	mov	x22, #0
Lloh2:
	adrp	x23, l_.str.3@PAGE
Lloh3:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh4:
	adrp	x24, l_.str.1@PAGE
Lloh5:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh6:
	adrp	x25, l_.str.2@PAGE
Lloh7:
	add	x25, x25, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x22, lsl #2]
	bl	_IS_ERR
	cbz	w0, LBB0_14
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x20]
	cmp	x22, x8
	b.ge	LBB0_16
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w8, [x8, x22, lsl #2]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #129
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #24]
	ldr	w0, [x8, x22, lsl #2]
	bl	_IS_ERR
	cbnz	w0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #24]
	ldr	w0, [x8, x22, lsl #2]
	bl	_clk_prepare_enable
	cbz	w0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x3, x0
	mov	x0, x19
	mov	x1, x24
	mov	x2, x22
	bl	_dev_err
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #16]
	ldr	w0, [x8, x22, lsl #2]
	bl	_IS_ERR
	cbnz	w0, LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #16]
	ldr	w0, [x8, x22, lsl #2]
	bl	_clk_prepare_enable
	cbz	w0, LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x3, x0
	mov	x0, x19
	mov	x1, x25
	mov	x2, x22
	bl	_dev_err
	b	LBB0_4
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x22, lsl #2]
	bl	_clk_prepare_enable
	cbz	w0, LBB0_5
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x3, x0
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	bl	_dev_err
	b	LBB0_5
LBB0_16:
	mov	w0, #0
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usbhs_runtime_resume\n"

l_.str.1:                               ; @.str.1
	.asciz	"Can't enable port %d hsic60m clk:%d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Can't enable port %d hsic480m clk:%d\n"

l_.str.3:                               ; @.str.3
	.asciz	"Can't enable port %d clk : %d\n"

	.no_dead_strip	_usbhs_runtime_resume
.subsections_via_symbols
