	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hid_submit_out
_hid_submit_out:                        ## @hid_submit_out
	.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, %r15
	movq	(%rdi), %rbx
	movq	(%rbx), %rax
	movq	24(%rbx), %rcx
	shlq	$4, %rax
	movq	(%rcx,%rax), %r14
	movq	8(%rcx,%rax), %r12
	movq	_HID_REPORTED_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	36(%rbx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.6:
	movq	_resumption_waker@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rbx
	movq	%rbx, %rsi
	callq	_queue_work
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_1:
	movl	(%r12), %eax
	decl	%eax
	sarl	$3, %eax
	xorl	%ecx, %ecx
	cmpq	$0, 8(%r12)
	setg	%cl
	addl	%ecx, %eax
	incl	%eax
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%r15, %rdi
	callq	_hid_to_usb_dev
	movq	16(%rbx), %rcx
	movl	%eax, 4(%rcx)
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	movl	32(%rbx), %edi
	movl	(%rcx), %edx
	movq	%r14, %rsi
	callq	_memcpy
	movq	%r14, %rdi
	callq	_kfree
	movq	(%rbx), %rax
	movq	24(%rbx), %rcx
	shlq	$4, %rax
	movq	$0, (%rcx,%rax)
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_dbg_hid
	movq	16(%rbx), %rdi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	_err_hid
	movl	$-1, %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_HID_REPORTED_IDLE,4,2          ## @HID_REPORTED_IDLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"submitting out urb\n"

	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.1:                               ## @.str.1
	.asciz	"usb_submit_urb(out) failed"

	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_resumption_waker,4,2           ## @resumption_waker
	.no_dead_strip	_hid_submit_out
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hid_submit_out
_hid_submit_out:                        ; @hid_submit_out
	.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
	mov	x20, x0
	ldr	x21, [x0]
	ldr	x8, [x21, #24]
	ldr	x9, [x21]
	add	x8, x8, x9, lsl #4
	ldp	x19, x22, [x8]
Lloh0:
	adrp	x8, _HID_REPORTED_IDLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HID_REPORTED_IDLE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x21, #36
	bl	_test_bit
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _resumption_waker@GOTPAGE
Lloh4:
	ldr	x8, [x8, _resumption_waker@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x21, #8
	bl	_queue_work
	mov	w0, #0
	b	LBB0_7
LBB0_2:
	ldr	w8, [x22]
	sub	w8, w8, #1
	asr	w8, w8, #3
	ldr	x9, [x22, #8]
	cmp	x9, #0
	cinc	w8, w8, gt
	add	w8, w8, #1
	ldr	x9, [x21, #16]
	str	w8, [x9]
	mov	x0, x20
	bl	_hid_to_usb_dev
	ldr	x8, [x21, #16]
	str	w0, [x8, #4]
	cbz	x19, LBB0_4
; %bb.3:
	ldr	w0, [x21, #32]
	ldr	w2, [x8]
	mov	x1, x19
	bl	_memcpy
	mov	x0, x19
	bl	_kfree
	ldr	x8, [x21, #24]
	ldr	x9, [x21]
	lsl	x9, x9, #4
	str	xzr, [x8, x9]
LBB0_4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dbg_hid
	ldr	x0, [x21, #16]
Lloh8:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_usb_submit_urb
	cbz	x0, LBB0_6
; %bb.5:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_err_hid
	mov	w0, #-1
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x8, _jiffies@GOTPAGE
Lloh14:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x21, #12]
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_HID_REPORTED_IDLE,4,2          ; @HID_REPORTED_IDLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"submitting out urb\n"

	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.1:                               ; @.str.1
	.asciz	"usb_submit_urb(out) failed"

	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_resumption_waker,4,2           ; @resumption_waker
	.no_dead_strip	_hid_submit_out
.subsections_via_symbols
