	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_autoconfigure_reset      ## -- Begin function input_autoconfigure_reset
	.p2align	4, 0x90
_input_autoconfigure_reset:             ## @input_autoconfigure_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_MAX_USERS@GOTPCREL(%rip), %r8
	movl	(%r8), %esi
	testl	%esi, %esi
	je	LBB0_7
## %bb.1:
	movq	_input_autoconf_binds@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	_input_device_name_index@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movq	_input_autoconfigured@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	movq	_RARCH_BIND_LIST_END@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ebx
	xorl	%r14d, %r14d
	movq	_NO_BTN@GOTPCREL(%rip), %rcx
	movq	_AXIS_NONE@GOTPCREL(%rip), %rdx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, (%r10,%r14,8)
	movq	$0, (%r11,%r14,8)
	incq	%r14
	movl	%esi, %eax
	cmpq	%rax, %r14
	jae	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%ebx, %ebx
	movl	$0, %ebx
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r9,%r14,8), %rsi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rcx), %ebx
	movl	%ebx, 4(%rsi,%rax,8)
	movl	(%rdx), %ebx
	movl	%ebx, (%rsi,%rax,8)
	incq	%rax
	movl	(%rdi), %ebx
	cmpq	%rbx, %rax
	jb	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r8), %esi
	jmp	LBB0_6
LBB0_7:
	movq	_input_autoconfigure_swap_override@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_USERS,4,2                  ## @MAX_USERS
	.comm	_RARCH_BIND_LIST_END,4,2        ## @RARCH_BIND_LIST_END
	.comm	_NO_BTN,4,2                     ## @NO_BTN
	.comm	_input_autoconf_binds,8,3       ## @input_autoconf_binds
	.comm	_AXIS_NONE,4,2                  ## @AXIS_NONE
	.comm	_input_device_name_index,8,3    ## @input_device_name_index
	.comm	_input_autoconfigured,8,3       ## @input_autoconfigured
	.comm	_input_autoconfigure_swap_override,4,2 ## @input_autoconfigure_swap_override
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_input_autoconfigure_reset      ; -- Begin function input_autoconfigure_reset
	.p2align	2
_input_autoconfigure_reset:             ; @input_autoconfigure_reset
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MAX_USERS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_USERS@GOTPAGEOFF]
	ldr	w16, [x8]
	cbz	w16, LBB0_7
; %bb.1:
	mov	x9, #0
Lloh2:
	adrp	x10, _input_autoconf_binds@GOTPAGE
Lloh3:
	ldr	x10, [x10, _input_autoconf_binds@GOTPAGEOFF]
Lloh4:
	adrp	x11, _input_device_name_index@GOTPAGE
Lloh5:
	ldr	x11, [x11, _input_device_name_index@GOTPAGEOFF]
Lloh6:
	ldr	x10, [x10]
Lloh7:
	ldr	x11, [x11]
Lloh8:
	adrp	x13, _input_autoconfigured@GOTPAGE
Lloh9:
	ldr	x13, [x13, _input_autoconfigured@GOTPAGEOFF]
Lloh10:
	adrp	x12, _RARCH_BIND_LIST_END@GOTPAGE
Lloh11:
	ldr	x12, [x12, _RARCH_BIND_LIST_END@GOTPAGEOFF]
Lloh12:
	ldr	x13, [x13]
	ldr	w17, [x12]
Lloh13:
	adrp	x14, _NO_BTN@GOTPAGE
Lloh14:
	ldr	x14, [x14, _NO_BTN@GOTPAGEOFF]
Lloh15:
	adrp	x15, _AXIS_NONE@GOTPAGE
Lloh16:
	ldr	x15, [x15, _AXIS_NONE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	lsl	x0, x9, #3
	str	xzr, [x11, x0]
	str	xzr, [x13, x0]
	add	x9, x9, #1
	cmp	x9, w16, uxtw
	b.hs	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cbz	w17, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x16, #0
	ldr	x17, [x10, x9, lsl #3]
	add	x0, x17, #4
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w17, [x14]
	str	w17, [x0]
	ldr	w17, [x15]
	stur	w17, [x0, #-4]
	add	x16, x16, #1
	ldr	w17, [x12]
	add	x0, x0, #8
	cmp	x16, x17
	b.lo	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w16, [x8]
	b	LBB0_2
LBB0_7:
Lloh17:
	adrp	x8, _input_autoconfigure_swap_override@GOTPAGE
Lloh18:
	ldr	x8, [x8, _input_autoconfigure_swap_override@GOTPAGEOFF]
Lloh19:
	str	wzr, [x8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_USERS,4,2                  ; @MAX_USERS
	.comm	_RARCH_BIND_LIST_END,4,2        ; @RARCH_BIND_LIST_END
	.comm	_NO_BTN,4,2                     ; @NO_BTN
	.comm	_input_autoconf_binds,8,3       ; @input_autoconf_binds
	.comm	_AXIS_NONE,4,2                  ; @AXIS_NONE
	.comm	_input_device_name_index,8,3    ; @input_device_name_index
	.comm	_input_autoconfigured,8,3       ; @input_autoconfigured
	.comm	_input_autoconfigure_swap_override,4,2 ; @input_autoconfigure_swap_override
.subsections_via_symbols
