	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wiiu_joypad_connection_listener
_wiiu_joypad_connection_listener:       ## @wiiu_joypad_connection_listener
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MAX_USERS@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jbe	LBB0_2
## %bb.1:
	movq	_pad_drivers@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, %ecx
	movq	%rsi, (%rax,%rcx,8)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_USERS,4,2                  ## @MAX_USERS
	.comm	_pad_drivers,8,3                ## @pad_drivers
	.no_dead_strip	_wiiu_joypad_connection_listener
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wiiu_joypad_connection_listener
_wiiu_joypad_connection_listener:       ; @wiiu_joypad_connection_listener
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MAX_USERS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_USERS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ls	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _pad_drivers@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pad_drivers@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x1, [x8, w0, uxtw #3]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_USERS,4,2                  ; @MAX_USERS
	.comm	_pad_drivers,8,3                ; @pad_drivers
	.no_dead_strip	_wiiu_joypad_connection_listener
.subsections_via_symbols
