	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uclogic_input_configured
_uclogic_input_configured:              ## @uclogic_input_configured
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_hid_get_drvdata
	movq	8(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.1:
	movq	(%rcx), %rdx
	cmpq	8(%rax), %rdx
	jne	LBB0_3
## %bb.2:
	movq	(%r14), %rdx
	movq	%rdx, (%rax)
LBB0_3:
	movq	8(%rcx), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_6
## %bb.4:
	cltq
	leaq	l_switch.table.uclogic_input_configured(%rip), %rcx
	movq	(%rcx,%rax,8), %r15
	movq	(%rbx), %rdi
	callq	_strlen
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%r12d, %eax
	addl	$2, %eax
	movslq	%eax, %r12
	movq	(%r14), %rdi
	addq	$8, %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %r13
	movq	(%rbx), %rcx
	leaq	L_.str.6(%rip), %rdx
	movq	%rax, %rdi
	movq	%r12, %rsi
	movq	%r15, %r8
	callq	_snprintf
	movq	(%r14), %rax
	movq	%r13, (%rax)
LBB0_6:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Keyboard"

L_.str.1:                               ## @.str.1
	.asciz	"Mouse"

L_.str.2:                               ## @.str.2
	.asciz	"Pad"

L_.str.3:                               ## @.str.3
	.asciz	"Pen"

L_.str.4:                               ## @.str.4
	.asciz	"Consumer Control"

L_.str.5:                               ## @.str.5
	.asciz	"System Control"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.6:                               ## @.str.6
	.asciz	"%s %s"

	.no_dead_strip	_uclogic_input_configured
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.uclogic_input_configured
l_switch.table.uclogic_input_configured:
	.quad	L_.str.5
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str
	.quad	L_.str.3
	.quad	L_.str.4

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uclogic_input_configured
_uclogic_input_configured:              ; @uclogic_input_configured
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_hid_get_drvdata
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	x9, [x8]
	ldr	x10, [x0, #8]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
	ldr	x9, [x19]
	str	x9, [x0]
LBB0_3:
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_6
; %bb.4:
Lloh0:
	adrp	x9, l_switch.table.uclogic_input_configured@PAGE
Lloh1:
	add	x9, x9, l_switch.table.uclogic_input_configured@PAGEOFF
	ldr	x21, [x9, w8, sxtw #3]
	ldr	x0, [x20]
	bl	_strlen
	mov	x22, x0
	mov	x0, x21
	bl	_strlen
	add	w8, w22, w0
	add	w8, w8, #2
	sxtw	x22, w8
	ldr	x8, [x19]
	add	x0, x8, #8
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_devm_kzalloc
	cbz	x0, LBB0_6
; %bb.5:
	mov	x23, x0
	ldr	x3, [x20]
Lloh5:
	adrp	x2, l_.str.6@PAGE
Lloh6:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x1, x22
	mov	x4, x21
	bl	_snprintf
	ldr	x8, [x19]
	str	x23, [x8]
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Keyboard"

l_.str.1:                               ; @.str.1
	.asciz	"Mouse"

l_.str.2:                               ; @.str.2
	.asciz	"Pad"

l_.str.3:                               ; @.str.3
	.asciz	"Pen"

l_.str.4:                               ; @.str.4
	.asciz	"Consumer Control"

l_.str.5:                               ; @.str.5
	.asciz	"System Control"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.6:                               ; @.str.6
	.asciz	"%s %s"

	.no_dead_strip	_uclogic_input_configured
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.uclogic_input_configured
l_switch.table.uclogic_input_configured:
	.quad	l_.str.5
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str
	.quad	l_.str.3
	.quad	l_.str.4

.subsections_via_symbols
