	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usbhid_restart_out_queue
_usbhid_restart_out_queue:              ## @usbhid_restart_out_queue
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	24(%rdi), %edi
	callq	_usb_get_intfdata
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdx
	cmpq	%rdx, %rsi
	je	LBB0_4
## %bb.2:
	movq	%rax, %r15
	leaq	L_.str(%rip), %rdi
	callq	_dbg
	movq	%r15, %rdi
	callq	_hid_submit_out
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_HID_OUT_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	20(%rbx), %rsi
	callq	_clear_bit
	addq	$16, %rbx
	movq	%rbx, %rdi
	callq	_wake_up
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Kicking head %d tail %d"

	.comm	_HID_OUT_RUNNING,4,2            ## @HID_OUT_RUNNING
	.no_dead_strip	_usbhid_restart_out_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usbhid_restart_out_queue
_usbhid_restart_out_queue:              ; @usbhid_restart_out_queue
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #24]
	bl	_usb_get_intfdata
	cbz	x0, LBB0_6
; %bb.1:
	ldp	x1, x2, [x19]
	cmp	x1, x2
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_6
LBB0_3:
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dbg
	mov	x0, x20
	bl	_hid_submit_out
	cbz	x0, LBB0_5
; %bb.4:
Lloh2:
	adrp	x8, _HID_OUT_RUNNING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HID_OUT_RUNNING@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, x19, #20
	bl	_clear_bit
	add	x0, x19, #16
	bl	_wake_up
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Kicking head %d tail %d"

	.comm	_HID_OUT_RUNNING,4,2            ; @HID_OUT_RUNNING
	.no_dead_strip	_usbhid_restart_out_queue
.subsections_via_symbols
