	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ams_input_init                 ## -- Begin function ams_input_init
	.p2align	4, 0x90
_ams_input_init:                        ## @ams_input_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_joystick@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_ams_input_enable
LBB0_2:
	movq	_ams_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_dev_attr_joystick@GOTPCREL(%rip), %rsi
	popq	%rbp
	jmp	_device_create_file             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_joystick,8,3                   ## @joystick
	.comm	_ams_info,8,3                   ## @ams_info
	.comm	_dev_attr_joystick,4,2          ## @dev_attr_joystick
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ams_input_init                 ; -- Begin function ams_input_init
	.p2align	2
_ams_input_init:                        ; @ams_input_init
	.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, _joystick@GOTPAGE
Lloh1:
	ldr	x8, [x8, _joystick@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_ams_input_enable
LBB0_2:
Lloh3:
	adrp	x8, _ams_info@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ams_info@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
Lloh6:
	adrp	x1, _dev_attr_joystick@GOTPAGE
Lloh7:
	ldr	x1, [x1, _dev_attr_joystick@GOTPAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_device_create_file
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_joystick,8,3                   ; @joystick
	.comm	_ams_info,8,3                   ; @ams_info
	.comm	_dev_attr_joystick,4,2          ; @dev_attr_joystick
.subsections_via_symbols
