	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uhid_hid_start
_uhid_hid_start:                        ## @uhid_hid_start
	.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, %r15
	movq	8(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_UHID_START@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	(%r15), %rax
	movq	_HID_FEATURE_REPORT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_4
## %bb.3:
	movq	_UHID_DEV_NUMBERED_FEATURE_REPORTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rbx)
LBB0_4:
	movq	_HID_OUTPUT_REPORT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_6
## %bb.5:
	movq	_UHID_DEV_NUMBERED_OUTPUT_REPORTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rbx)
LBB0_6:
	movq	_HID_INPUT_REPORT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_8
## %bb.7:
	movq	_UHID_DEV_NUMBERED_INPUT_REPORTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
LBB0_8:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_uhid_queue
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_UHID_START,4,2                 ## @UHID_START
	.comm	_HID_FEATURE_REPORT,8,3         ## @HID_FEATURE_REPORT
	.comm	_UHID_DEV_NUMBERED_FEATURE_REPORTS,4,2 ## @UHID_DEV_NUMBERED_FEATURE_REPORTS
	.comm	_HID_OUTPUT_REPORT,8,3          ## @HID_OUTPUT_REPORT
	.comm	_UHID_DEV_NUMBERED_OUTPUT_REPORTS,4,2 ## @UHID_DEV_NUMBERED_OUTPUT_REPORTS
	.comm	_HID_INPUT_REPORT,8,3           ## @HID_INPUT_REPORT
	.comm	_UHID_DEV_NUMBERED_INPUT_REPORTS,4,2 ## @UHID_DEV_NUMBERED_INPUT_REPORTS
	.no_dead_strip	_uhid_hid_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uhid_hid_start
_uhid_hid_start:                        ; @uhid_hid_start
	.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	x21, x0
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_kzalloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _UHID_START@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UHID_START@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #4]
	ldr	x8, [x21]
Lloh6:
	adrp	x9, _HID_FEATURE_REPORT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HID_FEATURE_REPORT@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_3
; %bb.2:
Lloh9:
	adrp	x9, _UHID_DEV_NUMBERED_FEATURE_REPORTS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _UHID_DEV_NUMBERED_FEATURE_REPORTS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ldr	w10, [x20]
	orr	w9, w10, w9
	str	w9, [x20]
LBB0_3:
Lloh12:
	adrp	x9, _HID_OUTPUT_REPORT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HID_OUTPUT_REPORT@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_5
; %bb.4:
Lloh15:
	adrp	x9, _UHID_DEV_NUMBERED_OUTPUT_REPORTS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _UHID_DEV_NUMBERED_OUTPUT_REPORTS@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	ldr	w10, [x20]
	orr	w9, w10, w9
	str	w9, [x20]
LBB0_5:
Lloh18:
	adrp	x9, _HID_INPUT_REPORT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _HID_INPUT_REPORT@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_7
; %bb.6:
Lloh21:
	adrp	x8, _UHID_DEV_NUMBERED_INPUT_REPORTS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _UHID_DEV_NUMBERED_INPUT_REPORTS@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_7:
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x0, x19
	mov	x1, x20
	bl	_uhid_queue
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh24:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_UHID_START,4,2                 ; @UHID_START
	.comm	_HID_FEATURE_REPORT,8,3         ; @HID_FEATURE_REPORT
	.comm	_UHID_DEV_NUMBERED_FEATURE_REPORTS,4,2 ; @UHID_DEV_NUMBERED_FEATURE_REPORTS
	.comm	_HID_OUTPUT_REPORT,8,3          ; @HID_OUTPUT_REPORT
	.comm	_UHID_DEV_NUMBERED_OUTPUT_REPORTS,4,2 ; @UHID_DEV_NUMBERED_OUTPUT_REPORTS
	.comm	_HID_INPUT_REPORT,8,3           ; @HID_INPUT_REPORT
	.comm	_UHID_DEV_NUMBERED_INPUT_REPORTS,4,2 ; @UHID_DEV_NUMBERED_INPUT_REPORTS
	.no_dead_strip	_uhid_hid_start
.subsections_via_symbols
