	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function linuxraw_joypad_name
_linuxraw_joypad_name:                  ## @linuxraw_joypad_name
	.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), %rax
	cmpl	%edi, (%rax)
	jbe	LBB0_3
## %bb.1:
	movq	_linuxraw_pads@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	%edi, %ebx
	movq	(%rax,%rbx,8), %rdi
	callq	_string_is_empty
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_4:
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_USERS,4,2                  ## @MAX_USERS
	.comm	_linuxraw_pads,8,3              ## @linuxraw_pads
	.no_dead_strip	_linuxraw_joypad_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function linuxraw_joypad_name
_linuxraw_joypad_name:                  ; @linuxraw_joypad_name
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
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:
	mov	x19, x0
Lloh3:
	adrp	x20, _linuxraw_pads@GOTPAGE
Lloh4:
	ldr	x20, [x20, _linuxraw_pads@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x0, [x8, w0, uxtw #3]
	bl	_string_is_empty
	cbz	x0, LBB0_3
LBB0_2:
	mov	x0, #0
	b	LBB0_4
LBB0_3:
	mov	w8, w19
	ldr	x9, [x20]
	ldr	x0, [x9, x8, lsl #3]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_USERS,4,2                  ; @MAX_USERS
	.comm	_linuxraw_pads,8,3              ; @linuxraw_pads
	.no_dead_strip	_linuxraw_joypad_name
.subsections_via_symbols
