	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rwebpad_joypad_query_pad
_rwebpad_joypad_query_pad:              ## @rwebpad_joypad_query_pad
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	leaq	-8(%rbp), %rsi
	callq	_emscripten_get_gamepad_status
	movq	_EMSCRIPTEN_RESULT_SUCCESS@GOTPCREL(%rip), %rcx
	xorq	(%rcx), %rax
	movq	-8(%rbp), %rdx
	movq	_EM_TRUE@GOTPCREL(%rip), %rcx
	xorq	(%rcx), %rdx
	xorl	%ecx, %ecx
	orq	%rax, %rdx
	sete	%cl
	movl	%ecx, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EMSCRIPTEN_RESULT_SUCCESS,8,3  ## @EMSCRIPTEN_RESULT_SUCCESS
	.comm	_EM_TRUE,8,3                    ## @EM_TRUE
	.no_dead_strip	_rwebpad_joypad_query_pad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rwebpad_joypad_query_pad
_rwebpad_joypad_query_pad:              ; @rwebpad_joypad_query_pad
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	add	x1, sp, #8
	bl	_emscripten_get_gamepad_status
Lloh0:
	adrp	x8, _EMSCRIPTEN_RESULT_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EMSCRIPTEN_RESULT_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	ldr	x8, [sp, #8]
Lloh3:
	adrp	x9, _EM_TRUE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EM_TRUE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ccmp	x8, x9, #0, eq
	cset	w0, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EMSCRIPTEN_RESULT_SUCCESS,8,3  ; @EMSCRIPTEN_RESULT_SUCCESS
	.comm	_EM_TRUE,8,3                    ; @EM_TRUE
	.no_dead_strip	_rwebpad_joypad_query_pad
.subsections_via_symbols
