	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ms_probe
_ms_probe:                              ## @ms_probe
	.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	(%rsi), %rbx
	movq	%rbx, %rsi
	callq	_hid_set_drvdata
	movq	_MS_NOGET@GOTPCREL(%rip), %rax
	testq	%rbx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_HID_QUIRK_NOGET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r15)
LBB0_2:
	movq	%r15, %rdi
	callq	_hid_parse
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_8
LBB0_4:
	movq	_HID_CONNECT_DEFAULT@GOTPCREL(%rip), %rax
	movq	_MS_HIDINPUT@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	movl	$0, %esi
	andq	(%rcx), %rbx
	je	LBB0_6
## %bb.5:
	movq	_HID_CONNECT_HIDINPUT_FORCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_6:
	orl	(%rax), %esi
	movq	%r15, %rdi
	callq	_hid_hw_start
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %r14d
LBB0_8:
	movq	%r15, %rdi
	callq	_dev_err
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MS_NOGET,8,3                   ## @MS_NOGET
	.comm	_HID_QUIRK_NOGET,4,2            ## @HID_QUIRK_NOGET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"parse failed\n"

	.comm	_HID_CONNECT_DEFAULT,4,2        ## @HID_CONNECT_DEFAULT
	.comm	_MS_HIDINPUT,8,3                ## @MS_HIDINPUT
	.comm	_HID_CONNECT_HIDINPUT_FORCE,4,2 ## @HID_CONNECT_HIDINPUT_FORCE
L_.str.1:                               ## @.str.1
	.asciz	"hw start failed\n"

	.no_dead_strip	_ms_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ms_probe
_ms_probe:                              ; @ms_probe
	.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	x20, [x1]
	mov	x1, x20
	bl	_hid_set_drvdata
Lloh0:
	adrp	x8, _MS_NOGET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MS_NOGET@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	tst	x8, x20
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _HID_QUIRK_NOGET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HID_QUIRK_NOGET@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_2:
	mov	x0, x19
	bl	_hid_parse
	cbz	w0, LBB0_4
; %bb.3:
	mov	x21, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh8:
	adrp	x8, _HID_CONNECT_DEFAULT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HID_CONNECT_DEFAULT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _MS_HIDINPUT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MS_HIDINPUT@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
Lloh14:
	adrp	x10, _HID_CONNECT_HIDINPUT_FORCE@GOTPAGE
Lloh15:
	ldr	x10, [x10, _HID_CONNECT_HIDINPUT_FORCE@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	tst	x9, x20
	csel	w9, wzr, w10, eq
	orr	w1, w9, w8
	mov	x0, x19
	bl	_hid_hw_start
	mov	x21, x0
	cbz	w0, LBB0_7
; %bb.5:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_dev_err
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MS_NOGET,8,3                   ; @MS_NOGET
	.comm	_HID_QUIRK_NOGET,4,2            ; @HID_QUIRK_NOGET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"parse failed\n"

	.comm	_HID_CONNECT_DEFAULT,4,2        ; @HID_CONNECT_DEFAULT
	.comm	_MS_HIDINPUT,8,3                ; @MS_HIDINPUT
	.comm	_HID_CONNECT_HIDINPUT_FORCE,4,2 ; @HID_CONNECT_HIDINPUT_FORCE
l_.str.1:                               ; @.str.1
	.asciz	"hw start failed\n"

	.no_dead_strip	_ms_probe
.subsections_via_symbols
