	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hid_io_error
_hid_io_error:                          ## @hid_io_error
	.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), %rbx
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_HID_DISCONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rbx), %r15
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	movq	_jiffies@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rsi
	addq	24(%rbx), %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movl	$13, (%rbx)
	movq	(%r12), %r13
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_msecs_to_jiffies
	addq	%r13, %rax
	movq	%rax, 24(%rbx)
LBB0_6:
	movq	(%r12), %rdi
	movq	24(%rbx), %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	_HID_NO_BANDWIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	movq	_HID_RESET_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_and_set_bit
	testl	%eax, %eax
	je	LBB0_9
LBB0_10:
	movq	(%r12), %r15
	movl	(%rbx), %edi
	addq	$8, %rbx
	callq	_msecs_to_jiffies
	addq	%rax, %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mod_timer
LBB0_11:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
LBB0_2:
	movl	(%rbx), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	cmpl	$99, %eax
	jg	LBB0_6
## %bb.5:
	addl	%eax, %eax
	movl	%eax, (%rbx)
	jmp	LBB0_6
LBB0_9:
	addq	$12, %rbx
	movq	%rbx, %rdi
	callq	_schedule_work
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_DISCONNECTED,4,2           ## @HID_DISCONNECTED
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_HID_NO_BANDWIDTH,4,2           ## @HID_NO_BANDWIDTH
	.comm	_HID_RESET_PENDING,4,2          ## @HID_RESET_PENDING
	.no_dead_strip	_hid_io_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hid_io_error
_hid_io_error:                          ; @hid_io_error
	.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	x20, [x0]
	add	x19, x20, #4
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _HID_DISCONNECTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HID_DISCONNECTED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x21, x20, #16
	mov	x1, x21
	bl	_test_bit
	cbnz	x0, LBB0_7
; %bb.1:
Lloh3:
	adrp	x22, _jiffies@GOTPAGE
Lloh4:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	ldr	x0, [x22]
Lloh5:
	adrp	x8, _HZ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
	ldr	x9, [x20, #24]
Lloh7:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	add	x1, x9, w8, sxtw
	bl	_time_after
	cbz	x0, LBB0_8
LBB0_2:
	mov	w8, #13
	str	w8, [x20]
	ldr	x23, [x22]
	mov	w0, #1000
	bl	_msecs_to_jiffies
	add	x8, x0, x23
	str	x8, [x20, #24]
LBB0_3:
	ldr	x0, [x22]
	ldr	x1, [x20, #24]
	bl	_time_after
	cbz	x0, LBB0_6
; %bb.4:
Lloh8:
	adrp	x8, _HID_NO_BANDWIDTH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HID_NO_BANDWIDTH@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbnz	x0, LBB0_6
; %bb.5:
Lloh11:
	adrp	x8, _HID_RESET_PENDING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HID_RESET_PENDING@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_and_set_bit
	cbz	w0, LBB0_11
LBB0_6:
	ldr	x21, [x22]
	ldr	w0, [x20], #8
	bl	_msecs_to_jiffies
	add	x1, x0, x21
	mov	x0, x20
	bl	_mod_timer
LBB0_7:
	mov	x0, x19
	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	_spin_unlock_irqrestore
LBB0_8:
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.9:
	cmp	w8, #99
	b.gt	LBB0_3
; %bb.10:
	lsl	w8, w8, #1
	str	w8, [x20]
	b	LBB0_3
LBB0_11:
	add	x0, x20, #12
	bl	_schedule_work
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_DISCONNECTED,4,2           ; @HID_DISCONNECTED
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_HID_NO_BANDWIDTH,4,2           ; @HID_NO_BANDWIDTH
	.comm	_HID_RESET_PENDING,4,2          ; @HID_RESET_PENDING
	.no_dead_strip	_hid_io_error
.subsections_via_symbols
