	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pemu_loop_prep                 ## -- Begin function pemu_loop_prep
	.p2align	4, 0x90
_pemu_loop_prep:                        ## @pemu_loop_prep
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_gp2x_dev_id@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GP2X_DEV_CAANOO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_in_name_to_id
	movq	_IN_CFG_ABS_DEAD_ZONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_currentConfig@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_in_set_config_int
LBB0_2:
	xorl	%eax, %eax
	callq	_sync
	xorl	%edi, %edi
	popq	%rbp
	jmp	_sleep                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_gp2x_dev_id,8,3                ## @gp2x_dev_id
	.comm	_GP2X_DEV_CAANOO,8,3            ## @GP2X_DEV_CAANOO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"evdev:pollux-analog"

	.comm	_IN_CFG_ABS_DEAD_ZONE,4,2       ## @IN_CFG_ABS_DEAD_ZONE
	.comm	_currentConfig,4,2              ## @currentConfig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pemu_loop_prep                 ; -- Begin function pemu_loop_prep
	.p2align	2
_pemu_loop_prep:                        ; @pemu_loop_prep
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _gp2x_dev_id@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gp2x_dev_id@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _GP2X_DEV_CAANOO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GP2X_DEV_CAANOO@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_in_name_to_id
Lloh8:
	adrp	x8, _IN_CFG_ABS_DEAD_ZONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IN_CFG_ABS_DEAD_ZONE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _currentConfig@GOTPAGE
Lloh12:
	ldr	x8, [x8, _currentConfig@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	bl	_in_set_config_int
LBB0_2:
	bl	_sync
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_sleep
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_gp2x_dev_id,8,3                ; @gp2x_dev_id
	.comm	_GP2X_DEV_CAANOO,8,3            ; @GP2X_DEV_CAANOO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"evdev:pollux-analog"

	.comm	_IN_CFG_ABS_DEAD_ZONE,4,2       ; @IN_CFG_ABS_DEAD_ZONE
	.comm	_currentConfig,4,2              ; @currentConfig
.subsections_via_symbols
