	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hid_start_in
_hid_start_in:                          ## @hid_start_in
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	movq	_HID_IN_POLLING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%rbx), %r15
	movq	%r15, %rsi
	callq	_test_bit
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	_HID_DISCONNECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_8
## %bb.2:
	movq	_HID_SUSPENDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	movq	_HID_IN_RUNNING@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_test_and_set_bit
	testl	%eax, %eax
	je	LBB0_4
LBB0_8:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	8(%rbx), %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movl	%eax, %r14d
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	movq	_ENOSPC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r14d, %eax
	jne	LBB0_8
## %bb.6:
	movq	_HID_NO_BANDWIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
	jmp	LBB0_8
LBB0_7:
	movq	_HID_NO_BANDWIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	xorl	%r14d, %r14d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_IN_POLLING,4,2             ## @HID_IN_POLLING
	.comm	_HID_DISCONNECTED,4,2           ## @HID_DISCONNECTED
	.comm	_HID_SUSPENDED,4,2              ## @HID_SUSPENDED
	.comm	_HID_IN_RUNNING,4,2             ## @HID_IN_RUNNING
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOSPC,4,2                     ## @ENOSPC
	.comm	_HID_NO_BANDWIDTH,4,2           ## @HID_NO_BANDWIDTH
	.no_dead_strip	_hid_start_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hid_start_in
_hid_start_in:                          ; @hid_start_in
	.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
	ldr	x19, [x0]
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh0:
	adrp	x8, _HID_IN_POLLING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HID_IN_POLLING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x20, x19, #4
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _HID_DISCONNECTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HID_DISCONNECTED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbnz	x0, LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _HID_SUSPENDED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HID_SUSPENDED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbnz	x0, LBB0_4
; %bb.3:
Lloh9:
	adrp	x22, _HID_IN_RUNNING@GOTPAGE
Lloh10:
	ldr	x22, [x22, _HID_IN_RUNNING@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x20
	bl	_test_and_set_bit
	cbz	w0, LBB0_6
LBB0_4:
	mov	w21, #0
LBB0_5:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x21
	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
	ret
LBB0_6:
	ldr	w0, [x19, #8]
Lloh11:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_usb_submit_urb
	mov	x21, x0
	cbz	w0, LBB0_9
; %bb.7:
	ldr	w0, [x22]
	mov	x1, x20
	bl	_clear_bit
Lloh14:
	adrp	x8, _ENOSPC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOSPC@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmn	w21, w8
	b.ne	LBB0_5
; %bb.8:
Lloh17:
	adrp	x8, _HID_NO_BANDWIDTH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _HID_NO_BANDWIDTH@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
	b	LBB0_5
LBB0_9:
Lloh20:
	adrp	x8, _HID_NO_BANDWIDTH@GOTPAGE
Lloh21:
	ldr	x8, [x8, _HID_NO_BANDWIDTH@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_clear_bit
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_IN_POLLING,4,2             ; @HID_IN_POLLING
	.comm	_HID_DISCONNECTED,4,2           ; @HID_DISCONNECTED
	.comm	_HID_SUSPENDED,4,2              ; @HID_SUSPENDED
	.comm	_HID_IN_RUNNING,4,2             ; @HID_IN_RUNNING
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOSPC,4,2                     ; @ENOSPC
	.comm	_HID_NO_BANDWIDTH,4,2           ; @HID_NO_BANDWIDTH
	.no_dead_strip	_hid_start_in
.subsections_via_symbols
