	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	(%rbx), %rax
	movq	24(%rbx), %rcx
	shlq	$4, %rax
	movq	(%rcx,%rax), %r15
	movq	8(%rcx,%rax), %rdi
	callq	_hid_report_len
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%r14, %rdi
	callq	_hid_to_usb_dev
	movq	16(%rbx), %rcx
	movl	%eax, 4(%rcx)
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movl	32(%rbx), %edi
	movl	(%rcx), %edx
	movq	%r15, %rsi
	callq	_memcpy
	movq	%r15, %rdi
	callq	_kfree
	movq	(%rbx), %rax
	movq	24(%rbx), %rcx
	shlq	$4, %rax
	movq	$0, (%rcx,%rax)
LBB0_2:
	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
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	xorl	%r15d, %r15d
	jmp	LBB0_5
LBB0_3:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_hid_err
LBB0_5:
	movl	%r15d, %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	"submitting out urb\n"

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

	.comm	_jiffies,4,2                    ## @jiffies
	.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	x19, x0
	ldr	x21, [x0]
	ldr	x8, [x21, #24]
	ldr	x9, [x21]
	add	x8, x8, x9, lsl #4
	ldp	x20, x0, [x8]
	bl	_hid_report_len
	ldr	x8, [x21, #16]
	str	w0, [x8]
	mov	x0, x19
	bl	_hid_to_usb_dev
	ldr	x8, [x21, #16]
	str	w0, [x8, #4]
	cbz	x20, LBB0_2
; %bb.1:
	ldr	w0, [x21, #32]
	ldr	w2, [x8]
	mov	x1, x20
	bl	_memcpy
	mov	x0, x20
	bl	_kfree
	ldr	x8, [x21, #24]
	ldr	x9, [x21]
	lsl	x9, x9, #4
	str	xzr, [x8, x9]
LBB0_2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dbg_hid
	ldr	x0, [x21, #16]
Lloh2:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_usb_submit_urb
	tbnz	w0, #31, LBB0_4
; %bb.3:
	mov	w20, #0
Lloh5:
	adrp	x8, _jiffies@GOTPAGE
Lloh6:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x21, #8]
	b	LBB0_5
LBB0_4:
	mov	x20, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_hid_err
LBB0_5:
	mov	x0, x20
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.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: %d\n"

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