	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lbs_thread
_lbs_thread:                            ## @lbs_thread
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rbx
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	callq	_init_waitqueue_entry
	leaq	184(%rbx), %r12
	leaq	60(%rbx), %r14
	leaq	200(%rbx), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	152(%rbx), %r15
	leaq	52(%rbx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.5(%rip), %rdi
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_lbs_deb_thread
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	movq	(%rbx), %rsi
	movq	80(%rbx), %rdx
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_lbs_deb_thread
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_add_wait_queue
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_current_state
	movq	%r14, %rdi
	callq	_spin_lock_irq
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testq	%rax, %rax
	je	LBB0_2
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 176(%rbx)
	jne	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rax
	movq	_PS_STATE_SLEEP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rcx
	movq	32(%rbx), %rsi
	movq	192(%rbx), %rdx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_lbs_deb_thread
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	xorl	%eax, %eax
	callq	_schedule
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rsi
	movq	80(%rbx), %rdx
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_lbs_deb_thread
	movq	_TASK_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_current_state
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_remove_wait_queue
	movq	(%rbx), %rsi
	movq	80(%rbx), %rdx
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_lbs_deb_thread
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testq	%rax, %rax
	jne	LBB0_57
## %bb.16:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 176(%rbx)
	jne	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rsi
	movq	80(%rbx), %rdx
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_lbs_deb_thread
	movq	%r14, %rdi
	callq	_spin_lock_irq
	movq	24(%rbx), %r12
	movq	160(%rbx), %rax
	cmpq	$0, (%rax,%r12,8)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	movq	160(%rbx), %rax
	movq	168(%rbx), %rcx
	movl	(%rcx,%r12,4), %esi
	movq	(%rax,%r12,8), %rdx
	movq	%rbx, %rdi
	callq	_lbs_process_command_response
	movq	%r14, %rdi
	callq	_spin_lock_irq
	movq	160(%rbx), %rax
	movq	$0, (%rax,%r12,8)
LBB0_21:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	movq	%r14, %rdi
	callq	_spin_lock_irq
	movq	%r15, %rdi
	callq	_kfifo_len
	testq	%rax, %rax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_24
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r15, %rdi
	leaq	-44(%rbp), %rsi
	movl	$4, %edx
	callq	_kfifo_out
	cmpl	$4, %eax
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=2
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	movl	-44(%rbp), %esi
	movq	%rbx, %rdi
	callq	_lbs_process_event
	movq	%r14, %rdi
	callq	_spin_lock_irq
	movq	%r15, %rdi
	callq	_kfifo_len
	testq	%rax, %rax
	jne	LBB0_22
LBB0_24:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	cmpq	$0, 144(%rbx)
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_lbs_deb_thread
	movq	%rbx, %rdi
	callq	*136(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.26:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_18
LBB0_27:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 120(%rbx)
	je	LBB0_32
## %bb.28:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	96(%rbx), %r12
	testq	%r12, %r12
	je	LBB0_32
## %bb.29:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	leaq	L_.str.9(%rip), %rsi
	movl	%eax, %edx
	callq	_netdev_info
	xorl	%edx, %edx
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	subl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_lbs_complete_command
	cmpl	$0, (%r13)
	leaq	-48(%rbp), %r13
	jne	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	128(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	*%rax
LBB0_32:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, 120(%rbx)
	cmpl	$0, 112(%rbx)
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_1
## %bb.33:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rax
	movq	_PS_STATE_PRE_SLEEP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_39
## %bb.34:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 80(%rbx)
	jne	LBB0_39
## %bb.35:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 96(%rbx)
	jne	LBB0_39
## %bb.36:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	32(%rbx), %rax
	movq	_LBS_CONNECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rsi
	leaq	L_.str.10(%rip), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_lbs_deb_thread
	movq	%rbx, %rdi
	callq	_lbs_ps_confirm_sleep
	jmp	LBB0_39
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 120(%rbx)
	jne	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 112(%rbx)
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 80(%rbx)
	jne	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 16(%rbx)
	jg	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%rbx), %rax
	movq	160(%rbx), %rcx
	cmpq	$0, (%rcx,%rax,8)
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 96(%rbx)
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 144(%rbx)
	je	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	callq	_kfifo_len
	testq	%rax, %rax
	jne	LBB0_14
	jmp	LBB0_13
LBB0_38:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_PS_STATE_AWAKE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.11(%rip), %rsi
	callq	_netdev_alert
LBB0_39:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rax
	movq	_PS_STATE_SLEEP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_1
## %bb.40:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_PS_STATE_PRE_SLEEP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_1
## %bb.41:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 104(%rbx)
	jne	LBB0_1
## %bb.42:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 80(%rbx)
	jne	LBB0_45
## %bb.43:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 96(%rbx)
	jne	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_lbs_execute_next_command
LBB0_45:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_spin_lock_irq
	cmpq	$0, 80(%rbx)
	je	LBB0_46
LBB0_56:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	jmp	LBB0_1
LBB0_46:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rbx), %rcx
	testq	%rcx, %rcx
	jle	LBB0_56
## %bb.47:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_MVMS_DAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	88(%rbx), %edx
	movq	%rbx, %rdi
	callq	*40(%rbx)
	testl	%eax, %eax
	je	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.12(%rip), %rdi
	movl	%eax, %esi
	callq	_lbs_deb_tx
	movq	_DNLD_RES_RECEIVED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 80(%rbx)
	jmp	LBB0_50
LBB0_49:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rax,%rax,4), %rsi
	movq	_jiffies@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_mod_timer
LBB0_50:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, 16(%rbx)
	cmpq	$0, (%rbx)
	jne	LBB0_56
## %bb.51:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	32(%rbx), %rax
	movq	_LBS_CONNECTED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_53
## %bb.52:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	72(%rbx), %rdi
	callq	_netif_wake_queue
LBB0_53:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	64(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_56
## %bb.54:                              ##   in Loop: Header=BB0_1 Depth=1
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_56
## %bb.55:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	64(%rbx), %rdi
	callq	_netif_wake_queue
	jmp	LBB0_56
LBB0_57:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_lbs_deb_thread
	leaq	56(%rbx), %rdi
	callq	_del_timer
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_del_timer
	addq	$48, %rbx
	movq	%rbx, %rdi
	callq	_del_timer
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current,4,2                    ## @current
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"1: currenttxskb %p, dnld_sent %d\n"

	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_PS_STATE_SLEEP,8,3             ## @PS_STATE_SLEEP
L_.str.1:                               ## @.str.1
	.asciz	"sleeping, connect_status %d, psmode %d, psstate %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"2: currenttxskb %p, dnld_send %d\n"

	.comm	_TASK_RUNNING,4,2               ## @TASK_RUNNING
L_.str.3:                               ## @.str.3
	.asciz	"3: currenttxskb %p, dnld_sent %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"break from main thread\n"

L_.str.5:                               ## @.str.5
	.asciz	"adapter removed; waiting to die...\n"

L_.str.6:                               ## @.str.6
	.asciz	"4: currenttxskb %p, dnld_sent %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"Waking up device...\n"

L_.str.8:                               ## @.str.8
	.asciz	"Wakeup device failed\n"

L_.str.9:                               ## @.str.9
	.asciz	"Timeout submitting command 0x%04x\n"

	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_PS_STATE_PRE_SLEEP,8,3         ## @PS_STATE_PRE_SLEEP
	.comm	_LBS_CONNECTED,8,3              ## @LBS_CONNECTED
L_.str.10:                              ## @.str.10
	.asciz	"pre-sleep, currenttxskb %p, dnld_sent %d, cur_cmd %p\n"

	.comm	_PS_STATE_AWAKE,8,3             ## @PS_STATE_AWAKE
L_.str.11:                              ## @.str.11
	.asciz	"ignore PS_SleepConfirm in non-connected state\n"

	.comm	_MVMS_DAT,4,2                   ## @MVMS_DAT
L_.str.12:                              ## @.str.12
	.asciz	"host_to_card failed %d\n"

	.comm	_DNLD_RES_RECEIVED,8,3          ## @DNLD_RES_RECEIVED
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_lbs_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lbs_thread
_lbs_thread:                            ; @lbs_thread
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x8, _current@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #60
	bl	_init_waitqueue_entry
	add	x22, x19, #184
	add	x23, x19, #60
	add	x9, x19, #200
	add	x25, x19, #152
	add	x8, x19, #52
	stp	x9, x8, [sp, #32]               ; 16-byte Folded Spill
Lloh3:
	adrp	x26, l_.str@PAGE
Lloh4:
	add	x26, x26, l_.str@PAGEOFF
Lloh5:
	adrp	x21, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh6:
	ldr	x21, [x21, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
Lloh7:
	adrp	x24, l_.str.2@PAGE
Lloh8:
	add	x24, x24, l_.str.2@PAGEOFF
Lloh9:
	adrp	x27, _TASK_RUNNING@GOTPAGE
Lloh10:
	ldr	x27, [x27, _TASK_RUNNING@GOTPAGEOFF]
Lloh11:
	adrp	x20, l_.str.3@PAGE
Lloh12:
	add	x20, x20, l_.str.3@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_lbs_deb_thread
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldr	x8, [x19]
	ldr	x9, [x19, #80]
	stp	x8, x9, [sp]
	mov	x0, x26
	bl	_lbs_deb_thread
	add	x1, sp, #60
	mov	x0, x22
	bl	_add_wait_queue
	ldr	w0, [x21]
	bl	_set_current_state
	mov	x0, x23
	bl	_spin_lock_irq
	bl	_kthread_should_stop
	cbz	x0, LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_spin_unlock_irq
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #176]
	cbnz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #8]
Lloh15:
	adrp	x9, _PS_STATE_SLEEP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PS_STATE_SLEEP@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_28
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #32]
	ldr	x9, [x19, #192]
	ldr	x10, [x19, #8]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_lbs_deb_thread
	mov	x0, x23
	bl	_spin_unlock_irq
	bl	_schedule
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x19, #80]
	stp	x8, x9, [sp]
	mov	x0, x24
	bl	_lbs_deb_thread
	ldr	w0, [x27]
	bl	_set_current_state
	add	x1, sp, #60
	mov	x0, x22
	bl	_remove_wait_queue
	ldr	x8, [x19]
	ldr	x9, [x19, #80]
	stp	x8, x9, [sp]
	mov	x0, x20
	bl	_lbs_deb_thread
	bl	_kthread_should_stop
	cbnz	x0, LBB0_55
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #176]
	cbnz	x8, LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x28, x27
	ldr	x8, [x19]
	ldr	x9, [x19, #80]
	stp	x8, x9, [sp]
Lloh20:
	adrp	x0, l_.str.6@PAGE
Lloh21:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_lbs_deb_thread
	mov	x0, x23
	bl	_spin_lock_irq
	ldr	x27, [x19, #24]
	ldr	x8, [x19, #160]
	ldr	x8, [x8, x27, lsl #3]
	cbz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_spin_unlock_irq
	ldp	x9, x8, [x19, #160]
	ldr	w1, [x8, x27, lsl #2]
	lsl	x27, x27, #3
	ldr	x2, [x9, x27]
	mov	x0, x19
	bl	_lbs_process_command_response
	mov	x0, x23
	bl	_spin_lock_irq
	ldr	x8, [x19, #160]
	str	xzr, [x8, x27]
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_spin_unlock_irq
	mov	x0, x23
	bl	_spin_lock_irq
	mov	x0, x25
	bl	_kfifo_len
	mov	x27, x28
	cbz	x0, LBB0_14
LBB0_12:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x1, sp, #56
	mov	x0, x25
	mov	w2, #4
	bl	_kfifo_out
	cmp	w0, #4
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	x0, x23
	bl	_spin_unlock_irq
	ldr	w1, [sp, #56]
	mov	x0, x19
	bl	_lbs_process_event
	mov	x0, x23
	bl	_spin_lock_irq
	mov	x0, x25
	bl	_kfifo_len
	cbnz	x0, LBB0_12
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_spin_unlock_irq
	ldr	x8, [x19, #144]
	cbz	x8, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh22:
	adrp	x0, l_.str.7@PAGE
Lloh23:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_lbs_deb_thread
	ldr	x8, [x19, #136]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_2
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh24:
	adrp	x0, l_.str.8@PAGE
Lloh25:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_lbs_deb_thread
	b	LBB0_2
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #120]
	cbz	x8, LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x27, [x19, #96]
	cbz	x27, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x27]
	ldr	w0, [x8]
	bl	_le16_to_cpu
	mov	x2, x0
	mov	x24, x21
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
	mov	x0, x21
Lloh26:
	adrp	x1, l_.str.9@PAGE
Lloh27:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_netdev_info
Lloh28:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	neg	w2, w8
	mov	x0, x19
	mov	x1, x27
	bl	_lbs_complete_command
	ldr	w8, [x21]
	mov	x21, x24
Lloh31:
	adrp	x24, l_.str.2@PAGE
Lloh32:
	add	x24, x24, l_.str.2@PAGEOFF
	cbnz	w8, LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #128]
	cbz	x8, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	blr	x8
LBB0_22:                                ;   in Loop: Header=BB0_2 Depth=1
	str	xzr, [x19, #120]
	ldr	w8, [x19, #112]
	mov	x27, x28
	cbz	w8, LBB0_2
; %bb.23:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #8]
Lloh33:
	adrp	x9, _PS_STATE_PRE_SLEEP@GOTPAGE
Lloh34:
	ldr	x9, [x9, _PS_STATE_PRE_SLEEP@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_38
; %bb.24:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #80]
	cbnz	x8, LBB0_38
; %bb.25:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #96]
	cbnz	x8, LBB0_38
; %bb.26:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #32]
Lloh36:
	adrp	x9, _LBS_CONNECTED@GOTPAGE
Lloh37:
	ldr	x9, [x9, _LBS_CONNECTED@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_37
; %bb.27:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	stp	xzr, xzr, [sp, #8]
	str	x8, [sp]
Lloh39:
	adrp	x0, l_.str.10@PAGE
Lloh40:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_lbs_deb_thread
	mov	x0, x19
	bl	_lbs_ps_confirm_sleep
	b	LBB0_38
LBB0_28:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #120]
	cbnz	x8, LBB0_3
; %bb.29:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x19, #112]
	cbz	w8, LBB0_6
; %bb.30:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #80]
	cbnz	x8, LBB0_6
; %bb.31:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #16]
	cmp	x8, #0
	b.gt	LBB0_3
; %bb.32:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #160]
	ldr	x9, [x19, #24]
	ldr	x8, [x8, x9, lsl #3]
	cbnz	x8, LBB0_3
; %bb.33:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #96]
	cbnz	x8, LBB0_6
; %bb.34:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	bl	_list_empty
	cbnz	w0, LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #144]
	cbz	x8, LBB0_3
LBB0_36:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x25
	bl	_kfifo_len
	cbnz	x0, LBB0_3
	b	LBB0_6
LBB0_37:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh41:
	adrp	x8, _PS_STATE_AWAKE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _PS_STATE_AWAKE@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
Lloh44:
	adrp	x1, l_.str.11@PAGE
Lloh45:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_netdev_alert
LBB0_38:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #8]
Lloh46:
	adrp	x9, _PS_STATE_SLEEP@GOTPAGE
Lloh47:
	ldr	x9, [x9, _PS_STATE_SLEEP@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
Lloh49:
	adrp	x10, _PS_STATE_PRE_SLEEP@GOTPAGE
Lloh50:
	ldr	x10, [x10, _PS_STATE_PRE_SLEEP@GOTPAGEOFF]
Lloh51:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_2
; %bb.39:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #104]
	cbnz	x8, LBB0_2
; %bb.40:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #80]
	cbnz	x8, LBB0_43
; %bb.41:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #96]
	cbnz	x8, LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_lbs_execute_next_command
LBB0_43:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_spin_lock_irq
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_45
LBB0_44:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_spin_unlock_irq
	b	LBB0_2
LBB0_45:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x3, [x19, #16]
	cmp	x3, #1
	b.lt	LBB0_44
; %bb.46:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #40]
Lloh52:
	adrp	x9, _MVMS_DAT@GOTPAGE
Lloh53:
	ldr	x9, [x9, _MVMS_DAT@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x9]
	ldr	w2, [x19, #88]
	mov	x0, x19
	blr	x8
	cbz	w0, LBB0_48
; %bb.47:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x1, x0
Lloh55:
	adrp	x0, l_.str.12@PAGE
Lloh56:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_lbs_deb_tx
Lloh57:
	adrp	x8, _DNLD_RES_RECEIVED@GOTPAGE
Lloh58:
	ldr	x8, [x8, _DNLD_RES_RECEIVED@GOTPAGEOFF]
Lloh59:
	ldr	x8, [x8]
	str	x8, [x19, #80]
	b	LBB0_49
LBB0_48:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh60:
	adrp	x8, _jiffies@GOTPAGE
Lloh61:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh62:
	ldr	x8, [x8]
Lloh63:
	adrp	x9, _HZ@GOTPAGE
Lloh64:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh65:
	ldrsw	x9, [x9]
	add	x9, x9, x9, lsl #2
	add	x1, x8, x9
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_mod_timer
LBB0_49:                                ;   in Loop: Header=BB0_2 Depth=1
	str	xzr, [x19, #16]
	ldr	x8, [x19]
	cbnz	x8, LBB0_44
; %bb.50:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #32]
Lloh66:
	adrp	x9, _LBS_CONNECTED@GOTPAGE
Lloh67:
	ldr	x9, [x9, _LBS_CONNECTED@GOTPAGEOFF]
Lloh68:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_52
; %bb.51:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19, #72]
	bl	_netif_wake_queue
LBB0_52:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19, #64]
	cbz	x0, LBB0_44
; %bb.53:                               ;   in Loop: Header=BB0_2 Depth=1
	bl	_netif_running
	cbz	x0, LBB0_44
; %bb.54:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19, #64]
	bl	_netif_wake_queue
	b	LBB0_44
LBB0_55:
Lloh69:
	adrp	x0, l_.str.4@PAGE
Lloh70:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_lbs_deb_thread
	add	x0, x19, #56
	bl	_del_timer
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_del_timer
	add	x0, x19, #48
	bl	_del_timer
	mov	w0, #0
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.cfi_endproc
                                        ; -- End function
	.comm	_current,4,2                    ; @current
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"1: currenttxskb %p, dnld_sent %d\n"

	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_PS_STATE_SLEEP,8,3             ; @PS_STATE_SLEEP
l_.str.1:                               ; @.str.1
	.asciz	"sleeping, connect_status %d, psmode %d, psstate %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"2: currenttxskb %p, dnld_send %d\n"

	.comm	_TASK_RUNNING,4,2               ; @TASK_RUNNING
l_.str.3:                               ; @.str.3
	.asciz	"3: currenttxskb %p, dnld_sent %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"break from main thread\n"

l_.str.5:                               ; @.str.5
	.asciz	"adapter removed; waiting to die...\n"

l_.str.6:                               ; @.str.6
	.asciz	"4: currenttxskb %p, dnld_sent %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"Waking up device...\n"

l_.str.8:                               ; @.str.8
	.asciz	"Wakeup device failed\n"

l_.str.9:                               ; @.str.9
	.asciz	"Timeout submitting command 0x%04x\n"

	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_PS_STATE_PRE_SLEEP,8,3         ; @PS_STATE_PRE_SLEEP
	.comm	_LBS_CONNECTED,8,3              ; @LBS_CONNECTED
l_.str.10:                              ; @.str.10
	.asciz	"pre-sleep, currenttxskb %p, dnld_sent %d, cur_cmd %p\n"

	.comm	_PS_STATE_AWAKE,8,3             ; @PS_STATE_AWAKE
l_.str.11:                              ; @.str.11
	.asciz	"ignore PS_SleepConfirm in non-connected state\n"

	.comm	_MVMS_DAT,4,2                   ; @MVMS_DAT
l_.str.12:                              ; @.str.12
	.asciz	"host_to_card failed %d\n"

	.comm	_DNLD_RES_RECEIVED,8,3          ; @DNLD_RES_RECEIVED
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_lbs_thread
.subsections_via_symbols
