	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function synusb_probe
_synusb_probe:                          ## @synusb_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	callq	_interface_to_usbdev
	movq	%rax, %r15
	movq	8(%r13), %rax
	movl	(%rax), %r12d
	movl	16(%r13), %edi
	movl	$1, %esi
	callq	_min
	movl	%eax, %r14d
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_usb_set_interface
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	addq	$8, %r15
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_44
LBB0_2:
	movl	%r12d, %r14d
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	8(%r13), %rdi
	callq	_synusb_get_in_endpoint
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$64, %edi
	callq	_kzalloc
	movq	%rax, %r13
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_input_allocate_device
	movq	%rax, %rdi
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	testq	%r13, %r13
	je	LBB0_6
## %bb.5:
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	movq	%r15, %r13
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r13, 56(%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 32(%r15)
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, 24(%r15)
	movq	%r15, %rdi
	addq	$48, %rdi
	callq	_mutex_init
	movl	(%r12), %eax
	movl	%eax, (%r15)
	movq	_SYNUSB_COMBO@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.8:
	cmpl	$1, %r14d
	jne	LBB0_9
## %bb.10:
	movq	_SYNUSB_STICK@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_3:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_44
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_43
LBB0_9:
	movq	_SYNUSB_TOUCHPAD@GOTPCREL(%rip), %rcx
LBB0_11:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	orl	(%rcx), %eax
	movl	%eax, (%r15)
LBB0_12:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	movq	%r15, %r12
	je	LBB0_13
## %bb.14:
	movq	_SYNUSB_RECV_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	(%r14), %edx
	movq	%r13, %rdi
	movq	%rax, %rcx
	callq	_usb_alloc_coherent
	movl	%eax, 16(%r12)
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:
	movq	8(%r12), %r14
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	4(%rbx), %esi
	movq	%r13, %rdi
	callq	_usb_rcvintpipe
	movl	16(%r12), %ecx
	movl	(%r15), %r8d
	movq	_synusb_irq@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movl	(%rbx), %ebx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	pushq	%rbx
	pushq	%r12
	callq	_usb_fill_int_urb
	addq	$16, %rsp
	movq	_URB_NO_TRANSFER_DMA_MAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r12), %rcx
	orl	%eax, 4(%rcx)
	movq	24(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.17:
	movl	44(%r12), %edi
	movl	$4, %edx
	callq	_strlcpy
LBB0_18:
	movq	(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.19:
	cmpq	$0, 24(%r13)
	je	LBB0_21
## %bb.20:
	movl	44(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edx
	callq	_strlcat
	movq	(%r13), %rsi
LBB0_21:
	movl	44(%r12), %edi
	movl	$4, %edx
	callq	_strlcat
LBB0_22:
	movl	44(%r12), %edi
	callq	_strlen
	testl	%eax, %eax
	jne	LBB0_24
## %bb.23:
	movl	44(%r12), %r14d
	movl	16(%r13), %edi
	callq	_le16_to_cpu
	movl	%eax, %ebx
	movl	12(%r13), %edi
	callq	_le16_to_cpu
	leaq	L_.str.2(%rip), %rdx
	movl	%r14d, %edi
	movl	$4, %esi
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_snprintf
LBB0_24:
	movq	_SYNUSB_STICK@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, (%r12)
	je	LBB0_26
## %bb.25:
	movl	44(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	$4, %edx
	callq	_strlcat
LBB0_26:
	movl	40(%r12), %esi
	movq	%r13, %rdi
	movl	$4, %edx
	callq	_usb_make_path
	movl	40(%r12), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	$4, %edx
	callq	_strlcat
	movl	44(%r12), %eax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	%eax, 48(%r15)
	movl	40(%r12), %eax
	movl	%eax, 44(%r15)
	movq	%r15, %rsi
	addq	$40, %rsi
	movq	%r13, %rdi
	callq	_usb_to_input_id
	movq	32(%r12), %rax
	movq	%rax, 32(%r15)
	movq	_SYNUSB_IO_ALWAYS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	testl	%eax, (%r12)
	jne	LBB0_28
## %bb.27:
	movq	_synusb_open@GOTPCREL(%rip), %rax
	movq	%rax, (%r15)
	movq	_synusb_close@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r15)
LBB0_28:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_input_set_drvdata
	movq	_EV_ABS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	20(%r15), %esi
	callq	___set_bit
	movq	_EV_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	20(%r15), %esi
	callq	___set_bit
	movl	(%r14), %eax
	testl	%eax, (%r12)
	je	LBB0_30
## %bb.29:
	movq	_EV_REL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	20(%r15), %esi
	callq	___set_bit
	movq	_REL_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r15), %esi
	callq	___set_bit
	movq	_REL_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%r15), %esi
	callq	___set_bit
	movq	_INPUT_PROP_POINTING_STICK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%r15), %esi
	callq	___set_bit
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	$127, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	jmp	LBB0_31
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_42
LBB0_15:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_41
LBB0_30:
	movq	_ABS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_XMIN_NOMINAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_XMAX_NOMINAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_Y@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_YMIN_NOMINAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_YMAX_NOMINAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_PRESSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	$255, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_ABS_TOOL_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	$15, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_set_abs_params
	movq	_BTN_TOUCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r15), %esi
	callq	___set_bit
	movq	_BTN_TOOL_FINGER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r15), %esi
	callq	___set_bit
	movq	_BTN_TOOL_DOUBLETAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r15), %esi
	callq	___set_bit
	movq	_BTN_TOOL_TRIPLETAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r15), %esi
	callq	___set_bit
LBB0_31:
	movq	_SYNUSB_TOUCHSCREEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r12), %eax
	jne	LBB0_32
## %bb.33:
	movq	_INPUT_PROP_POINTER@GOTPCREL(%rip), %rax
	jmp	LBB0_34
LBB0_32:
	movq	_INPUT_PROP_DIRECT@GOTPCREL(%rip), %rax
LBB0_34:
	movl	(%rax), %edi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	12(%r15), %esi
	callq	___set_bit
	movq	_BTN_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r15), %esi
	callq	___set_bit
	movq	_BTN_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r15), %esi
	callq	___set_bit
	movq	_BTN_MIDDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r15), %esi
	callq	___set_bit
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_usb_set_intfdata
	movq	%rbx, %r14
	movl	(%rbx), %eax
	testl	%eax, (%r12)
	je	LBB0_36
## %bb.35:
	movq	%r15, %rdi
	callq	_synusb_open
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_40
LBB0_36:
	movq	%r15, %rdi
	callq	_input_register_device
	testl	%eax, %eax
	je	LBB0_37
## %bb.38:
	movl	%eax, %ebx
	movq	%r13, %rdi
	addq	$8, %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	(%r14), %eax
	testl	%eax, (%r12)
	je	LBB0_40
## %bb.39:
	movq	24(%r12), %rdi
	callq	_synusb_close
LBB0_40:
	movq	_SYNUSB_RECV_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r12), %edx
	movq	8(%r12), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_usb_free_coherent
LBB0_41:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	8(%r12), %rdi
	callq	_usb_free_urb
LBB0_42:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_43:
	callq	_input_free_device
	movq	%r12, %rdi
	callq	_kfree
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_usb_set_intfdata
LBB0_44:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_37:
	xorl	%ebx, %ebx
	jmp	LBB0_44
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can not set alternate setting to %i, error: %i"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_SYNUSB_COMBO,4,2               ## @SYNUSB_COMBO
	.comm	_SYNUSB_STICK,4,2               ## @SYNUSB_STICK
	.comm	_SYNUSB_TOUCHPAD,4,2            ## @SYNUSB_TOUCHPAD
	.comm	_SYNUSB_RECV_SIZE,4,2           ## @SYNUSB_RECV_SIZE
	.comm	_synusb_irq,4,2                 ## @synusb_irq
	.comm	_URB_NO_TRANSFER_DMA_MAP,4,2    ## @URB_NO_TRANSFER_DMA_MAP
L_.str.1:                               ## @.str.1
	.asciz	" "

L_.str.2:                               ## @.str.2
	.asciz	"USB Synaptics Device %04x:%04x"

L_.str.3:                               ## @.str.3
	.asciz	" (Stick)"

L_.str.4:                               ## @.str.4
	.asciz	"/input0"

	.comm	_SYNUSB_IO_ALWAYS,4,2           ## @SYNUSB_IO_ALWAYS
	.comm	_EV_ABS,4,2                     ## @EV_ABS
	.comm	_EV_KEY,4,2                     ## @EV_KEY
	.comm	_EV_REL,4,2                     ## @EV_REL
	.comm	_REL_X,4,2                      ## @REL_X
	.comm	_REL_Y,4,2                      ## @REL_Y
	.comm	_INPUT_PROP_POINTING_STICK,4,2  ## @INPUT_PROP_POINTING_STICK
	.comm	_ABS_PRESSURE,4,2               ## @ABS_PRESSURE
	.comm	_ABS_X,4,2                      ## @ABS_X
	.comm	_XMIN_NOMINAL,4,2               ## @XMIN_NOMINAL
	.comm	_XMAX_NOMINAL,4,2               ## @XMAX_NOMINAL
	.comm	_ABS_Y,4,2                      ## @ABS_Y
	.comm	_YMIN_NOMINAL,4,2               ## @YMIN_NOMINAL
	.comm	_YMAX_NOMINAL,4,2               ## @YMAX_NOMINAL
	.comm	_ABS_TOOL_WIDTH,4,2             ## @ABS_TOOL_WIDTH
	.comm	_BTN_TOUCH,4,2                  ## @BTN_TOUCH
	.comm	_BTN_TOOL_FINGER,4,2            ## @BTN_TOOL_FINGER
	.comm	_BTN_TOOL_DOUBLETAP,4,2         ## @BTN_TOOL_DOUBLETAP
	.comm	_BTN_TOOL_TRIPLETAP,4,2         ## @BTN_TOOL_TRIPLETAP
	.comm	_SYNUSB_TOUCHSCREEN,4,2         ## @SYNUSB_TOUCHSCREEN
	.comm	_INPUT_PROP_DIRECT,4,2          ## @INPUT_PROP_DIRECT
	.comm	_INPUT_PROP_POINTER,4,2         ## @INPUT_PROP_POINTER
	.comm	_BTN_LEFT,4,2                   ## @BTN_LEFT
	.comm	_BTN_RIGHT,4,2                  ## @BTN_RIGHT
	.comm	_BTN_MIDDLE,4,2                 ## @BTN_MIDDLE
L_.str.5:                               ## @.str.5
	.asciz	"Failed to register input device, error %d\n"

	.no_dead_strip	_synusb_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function synusb_probe
_synusb_probe:                          ; @synusb_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x1
	mov	x19, x0
	bl	_interface_to_usbdev
	mov	x21, x0
	ldr	x8, [x19, #8]
	ldr	w24, [x8]
	ldr	w0, [x19, #16]
	mov	w1, #1
	bl	_min
	mov	x20, x0
	mov	x0, x21
	mov	x1, x24
	mov	x2, x20
	bl	_usb_set_interface
	cbz	w0, LBB0_2
; %bb.1:
	mov	x23, x0
	add	x0, x21, #8
	str	x23, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_err
	b	LBB0_34
LBB0_2:
	ldr	x0, [x19, #8]
	bl	_synusb_get_in_endpoint
	cbz	x0, LBB0_23
; %bb.3:
	mov	x23, x0
Lloh2:
	adrp	x27, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x27, [x27, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	w0, #64
	bl	_kzalloc
	mov	x20, x0
	bl	_input_allocate_device
	mov	x22, x0
	cmp	x20, #0
	ccmp	x0, #0, #4, ne
	b.eq	LBB0_22
; %bb.4:
	str	x21, [x20, #56]
	add	x0, x20, #48
	stp	x22, x19, [x20, #24]
	bl	_mutex_init
	ldr	w8, [x25]
	str	w8, [x20]
Lloh4:
	adrp	x9, _SYNUSB_COMBO@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SYNUSB_COMBO@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
Lloh7:
	adrp	x26, _SYNUSB_STICK@GOTPAGE
Lloh8:
	ldr	x26, [x26, _SYNUSB_STICK@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh9:
	adrp	x9, _SYNUSB_TOUCHPAD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SYNUSB_TOUCHPAD@GOTPAGEOFF]
	cmp	w24, #1
	csel	x9, x26, x9, eq
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_6:
	ldr	w1, [x27]
	mov	w0, #0
	bl	_usb_alloc_urb
	str	x0, [x20, #8]
	cbz	x0, LBB0_22
; %bb.7:
	mov	x3, x0
Lloh11:
	adrp	x25, _SYNUSB_RECV_SIZE@GOTPAGE
Lloh12:
	ldr	x25, [x25, _SYNUSB_RECV_SIZE@GOTPAGEOFF]
	ldr	w1, [x25]
	ldr	w2, [x27]
	mov	x0, x21
	bl	_usb_alloc_coherent
	str	w0, [x20, #16]
	cbz	w0, LBB0_24
; %bb.8:
	ldr	x24, [x20, #8]
	ldr	w1, [x23, #4]
	mov	x0, x21
	bl	_usb_rcvintpipe
	mov	x2, x0
	ldr	w3, [x20, #16]
	ldr	w4, [x25]
Lloh13:
	adrp	x8, _synusb_irq@GOTPAGE
Lloh14:
	ldr	x8, [x8, _synusb_irq@GOTPAGEOFF]
Lloh15:
	ldr	w5, [x8]
	ldr	w7, [x23]
	mov	x0, x24
	mov	x1, x21
	mov	x6, x20
	bl	_usb_fill_int_urb
Lloh16:
	adrp	x8, _URB_NO_TRANSFER_DMA_MAP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _URB_NO_TRANSFER_DMA_MAP@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	ldr	x9, [x20, #8]
	ldr	w10, [x9, #4]
	orr	w8, w10, w8
	str	w8, [x9, #4]
	ldr	x1, [x21, #24]
	cbz	x1, LBB0_10
; %bb.9:
	ldr	w0, [x20, #44]
	mov	w2, #4
	bl	_strlcpy
LBB0_10:
	ldr	x1, [x21]
	cbz	x1, LBB0_14
; %bb.11:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_13
; %bb.12:
	ldr	w0, [x20, #44]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #4
	bl	_strlcat
	ldr	x1, [x21]
LBB0_13:
	ldr	w0, [x20, #44]
	mov	w2, #4
	bl	_strlcat
LBB0_14:
	ldr	w0, [x20, #44]
	bl	_strlen
	cbnz	w0, LBB0_16
; %bb.15:
	ldr	w23, [x20, #44]
	ldr	w0, [x21, #16]
	bl	_le16_to_cpu
	mov	x24, x0
	ldr	w0, [x21, #12]
	bl	_le16_to_cpu
	mov	x4, x0
Lloh21:
	adrp	x2, l_.str.2@PAGE
Lloh22:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x23
	mov	w1, #4
	mov	x3, x24
	bl	_snprintf
LBB0_16:
	ldr	w8, [x20]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
	ldr	w0, [x20, #44]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #4
	bl	_strlcat
LBB0_18:
	ldr	w1, [x20, #40]
	mov	x0, x21
	mov	w2, #4
	bl	_usb_make_path
	ldr	w0, [x20, #40]
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #4
	bl	_strlcat
	ldr	d0, [x20, #40]
	stur	d0, [x22, #44]
	add	x1, x22, #40
	mov	x0, x21
	bl	_usb_to_input_id
	ldr	x8, [x20, #32]
	str	x8, [x22, #32]
	ldr	w8, [x20]
Lloh27:
	adrp	x24, _SYNUSB_IO_ALWAYS@GOTPAGE
Lloh28:
	ldr	x24, [x24, _SYNUSB_IO_ALWAYS@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_20
; %bb.19:
Lloh29:
	adrp	x8, _synusb_open@GOTPAGE
Lloh30:
	ldr	x8, [x8, _synusb_open@GOTPAGEOFF]
	str	x8, [x22]
Lloh31:
	adrp	x8, _synusb_close@GOTPAGE
Lloh32:
	ldr	x8, [x8, _synusb_close@GOTPAGEOFF]
	str	x8, [x22, #24]
LBB0_20:
	mov	x0, x22
	mov	x1, x20
	bl	_input_set_drvdata
Lloh33:
	adrp	x8, _EV_ABS@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EV_ABS@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	ldr	w1, [x22, #20]
	bl	___set_bit
Lloh36:
	adrp	x8, _EV_KEY@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EV_KEY@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	ldr	w1, [x22, #20]
	bl	___set_bit
	ldr	w8, [x20]
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.21:
Lloh39:
	adrp	x8, _EV_REL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EV_REL@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	ldr	w1, [x22, #20]
	bl	___set_bit
Lloh42:
	adrp	x8, _REL_X@GOTPAGE
Lloh43:
	ldr	x8, [x8, _REL_X@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	ldr	w1, [x22, #16]
	bl	___set_bit
Lloh45:
	adrp	x8, _REL_Y@GOTPAGE
Lloh46:
	ldr	x8, [x8, _REL_Y@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	ldr	w1, [x22, #16]
	bl	___set_bit
Lloh48:
	adrp	x8, _INPUT_PROP_POINTING_STICK@GOTPAGE
Lloh49:
	ldr	x8, [x8, _INPUT_PROP_POINTING_STICK@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	ldr	w1, [x22, #12]
	bl	___set_bit
Lloh51:
	adrp	x8, _ABS_PRESSURE@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #0
	mov	w3, #127
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
	b	LBB0_26
LBB0_22:
Lloh54:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_33
LBB0_23:
Lloh57:
	adrp	x8, _ENODEV@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_34
LBB0_24:
Lloh60:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh61:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_32
LBB0_25:
Lloh63:
	adrp	x8, _ABS_X@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ABS_X@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
Lloh66:
	adrp	x8, _XMIN_NOMINAL@GOTPAGE
Lloh67:
	ldr	x8, [x8, _XMIN_NOMINAL@GOTPAGEOFF]
Lloh68:
	ldr	w2, [x8]
Lloh69:
	adrp	x8, _XMAX_NOMINAL@GOTPAGE
Lloh70:
	ldr	x8, [x8, _XMAX_NOMINAL@GOTPAGEOFF]
Lloh71:
	ldr	w3, [x8]
	mov	x0, x22
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh72:
	adrp	x8, _ABS_Y@GOTPAGE
Lloh73:
	ldr	x8, [x8, _ABS_Y@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
Lloh75:
	adrp	x8, _YMIN_NOMINAL@GOTPAGE
Lloh76:
	ldr	x8, [x8, _YMIN_NOMINAL@GOTPAGEOFF]
Lloh77:
	ldr	w2, [x8]
Lloh78:
	adrp	x8, _YMAX_NOMINAL@GOTPAGE
Lloh79:
	ldr	x8, [x8, _YMAX_NOMINAL@GOTPAGEOFF]
Lloh80:
	ldr	w3, [x8]
	mov	x0, x22
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh81:
	adrp	x8, _ABS_PRESSURE@GOTPAGE
Lloh82:
	ldr	x8, [x8, _ABS_PRESSURE@GOTPAGEOFF]
Lloh83:
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #0
	mov	w3, #255
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh84:
	adrp	x8, _ABS_TOOL_WIDTH@GOTPAGE
Lloh85:
	ldr	x8, [x8, _ABS_TOOL_WIDTH@GOTPAGEOFF]
Lloh86:
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #0
	mov	w3, #15
	mov	w4, #0
	mov	w5, #0
	bl	_input_set_abs_params
Lloh87:
	adrp	x8, _BTN_TOUCH@GOTPAGE
Lloh88:
	ldr	x8, [x8, _BTN_TOUCH@GOTPAGEOFF]
Lloh89:
	ldr	w0, [x8]
	ldr	w1, [x22, #8]
	bl	___set_bit
Lloh90:
	adrp	x8, _BTN_TOOL_FINGER@GOTPAGE
Lloh91:
	ldr	x8, [x8, _BTN_TOOL_FINGER@GOTPAGEOFF]
Lloh92:
	ldr	w0, [x8]
	ldr	w1, [x22, #8]
	bl	___set_bit
Lloh93:
	adrp	x8, _BTN_TOOL_DOUBLETAP@GOTPAGE
Lloh94:
	ldr	x8, [x8, _BTN_TOOL_DOUBLETAP@GOTPAGEOFF]
Lloh95:
	ldr	w0, [x8]
	ldr	w1, [x22, #8]
	bl	___set_bit
Lloh96:
	adrp	x8, _BTN_TOOL_TRIPLETAP@GOTPAGE
Lloh97:
	ldr	x8, [x8, _BTN_TOOL_TRIPLETAP@GOTPAGEOFF]
Lloh98:
	ldr	w0, [x8]
	ldr	w1, [x22, #8]
	bl	___set_bit
LBB0_26:
	ldr	w8, [x20]
Lloh99:
	adrp	x9, _SYNUSB_TOUCHSCREEN@GOTPAGE
Lloh100:
	ldr	x9, [x9, _SYNUSB_TOUCHSCREEN@GOTPAGEOFF]
Lloh101:
	ldr	w9, [x9]
Lloh102:
	adrp	x10, _INPUT_PROP_POINTER@GOTPAGE
Lloh103:
	ldr	x10, [x10, _INPUT_PROP_POINTER@GOTPAGEOFF]
Lloh104:
	adrp	x11, _INPUT_PROP_DIRECT@GOTPAGE
Lloh105:
	ldr	x11, [x11, _INPUT_PROP_DIRECT@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w0, [x8]
	ldr	w1, [x22, #12]
	bl	___set_bit
Lloh106:
	adrp	x8, _BTN_LEFT@GOTPAGE
Lloh107:
	ldr	x8, [x8, _BTN_LEFT@GOTPAGEOFF]
Lloh108:
	ldr	w0, [x8]
	ldr	w1, [x22, #8]
	bl	___set_bit
Lloh109:
	adrp	x8, _BTN_RIGHT@GOTPAGE
Lloh110:
	ldr	x8, [x8, _BTN_RIGHT@GOTPAGEOFF]
Lloh111:
	ldr	w0, [x8]
	ldr	w1, [x22, #8]
	bl	___set_bit
Lloh112:
	adrp	x8, _BTN_MIDDLE@GOTPAGE
Lloh113:
	ldr	x8, [x8, _BTN_MIDDLE@GOTPAGEOFF]
Lloh114:
	ldr	w0, [x8]
	ldr	w1, [x22, #8]
	bl	___set_bit
	mov	x0, x19
	mov	x1, x20
	bl	_usb_set_intfdata
	ldr	w8, [x20]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_28
; %bb.27:
	mov	x0, x22
	bl	_synusb_open
	mov	x23, x0
	cbnz	w0, LBB0_31
LBB0_28:
	mov	x0, x22
	bl	_input_register_device
	mov	x23, x0
	cbz	w0, LBB0_34
; %bb.29:
	add	x0, x21, #8
Lloh115:
	adrp	x1, l_.str.5@PAGE
Lloh116:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x2, x23
	bl	_dev_err
	ldr	w8, [x20]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_31
; %bb.30:
	ldr	x0, [x20, #24]
	bl	_synusb_close
LBB0_31:
	ldr	w1, [x25]
	ldr	w2, [x20, #16]
	ldr	x8, [x20, #8]
	ldr	w3, [x8]
	mov	x0, x21
	bl	_usb_free_coherent
LBB0_32:
	ldr	x0, [x20, #8]
	bl	_usb_free_urb
LBB0_33:
	mov	x0, x22
	bl	_input_free_device
	mov	x0, x20
	bl	_kfree
	mov	x0, x19
	mov	x1, #0
	bl	_usb_set_intfdata
LBB0_34:
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGot	Lloh104, Lloh105
	.loh AdrpLdrGot	Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpAdd	Lloh115, Lloh116
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can not set alternate setting to %i, error: %i"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_SYNUSB_COMBO,4,2               ; @SYNUSB_COMBO
	.comm	_SYNUSB_STICK,4,2               ; @SYNUSB_STICK
	.comm	_SYNUSB_TOUCHPAD,4,2            ; @SYNUSB_TOUCHPAD
	.comm	_SYNUSB_RECV_SIZE,4,2           ; @SYNUSB_RECV_SIZE
	.comm	_synusb_irq,4,2                 ; @synusb_irq
	.comm	_URB_NO_TRANSFER_DMA_MAP,4,2    ; @URB_NO_TRANSFER_DMA_MAP
l_.str.1:                               ; @.str.1
	.asciz	" "

l_.str.2:                               ; @.str.2
	.asciz	"USB Synaptics Device %04x:%04x"

l_.str.3:                               ; @.str.3
	.asciz	" (Stick)"

l_.str.4:                               ; @.str.4
	.asciz	"/input0"

	.comm	_SYNUSB_IO_ALWAYS,4,2           ; @SYNUSB_IO_ALWAYS
	.comm	_EV_ABS,4,2                     ; @EV_ABS
	.comm	_EV_KEY,4,2                     ; @EV_KEY
	.comm	_EV_REL,4,2                     ; @EV_REL
	.comm	_REL_X,4,2                      ; @REL_X
	.comm	_REL_Y,4,2                      ; @REL_Y
	.comm	_INPUT_PROP_POINTING_STICK,4,2  ; @INPUT_PROP_POINTING_STICK
	.comm	_ABS_PRESSURE,4,2               ; @ABS_PRESSURE
	.comm	_ABS_X,4,2                      ; @ABS_X
	.comm	_XMIN_NOMINAL,4,2               ; @XMIN_NOMINAL
	.comm	_XMAX_NOMINAL,4,2               ; @XMAX_NOMINAL
	.comm	_ABS_Y,4,2                      ; @ABS_Y
	.comm	_YMIN_NOMINAL,4,2               ; @YMIN_NOMINAL
	.comm	_YMAX_NOMINAL,4,2               ; @YMAX_NOMINAL
	.comm	_ABS_TOOL_WIDTH,4,2             ; @ABS_TOOL_WIDTH
	.comm	_BTN_TOUCH,4,2                  ; @BTN_TOUCH
	.comm	_BTN_TOOL_FINGER,4,2            ; @BTN_TOOL_FINGER
	.comm	_BTN_TOOL_DOUBLETAP,4,2         ; @BTN_TOOL_DOUBLETAP
	.comm	_BTN_TOOL_TRIPLETAP,4,2         ; @BTN_TOOL_TRIPLETAP
	.comm	_SYNUSB_TOUCHSCREEN,4,2         ; @SYNUSB_TOUCHSCREEN
	.comm	_INPUT_PROP_DIRECT,4,2          ; @INPUT_PROP_DIRECT
	.comm	_INPUT_PROP_POINTER,4,2         ; @INPUT_PROP_POINTER
	.comm	_BTN_LEFT,4,2                   ; @BTN_LEFT
	.comm	_BTN_RIGHT,4,2                  ; @BTN_RIGHT
	.comm	_BTN_MIDDLE,4,2                 ; @BTN_MIDDLE
l_.str.5:                               ; @.str.5
	.asciz	"Failed to register input device, error %d\n"

	.no_dead_strip	_synusb_probe
.subsections_via_symbols
