	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function linuxraw_joypad_poll
_linuxraw_joypad_poll:                  ## @linuxraw_joypad_poll
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_USERS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	incl	%r15d
	leaq	(,%r15,8), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_linuxraw_epoll@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	%r13, %rsi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	callq	_epoll_wait
	testl	%eax, %eax
	jns	LBB0_4
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %r15
	movq	_EINTR@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	cmpq	(%r12), %rax
	jne	LBB0_28
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_MAX_USERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r14), %edi
	incl	%edx
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	callq	_epoll_wait
	testl	%eax, %eax
	js	LBB0_2
LBB0_4:
	testl	%eax, %eax
	je	LBB0_28
## %bb.5:
	movl	%eax, %r14d
	xorl	%ebx, %ebx
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	_free
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
LBB0_27:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	cmpq	%r14, %rbx
	je	LBB0_28
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##       Child Loop BB0_13 Depth 3
	movq	(%r13,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	callq	_linuxraw_poll_pad
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	_NAME_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	addq	$25, %rbx
	movl	$1, %edi
	movq	%rbx, %rsi
	callq	_calloc
	movq	%rax, %r13
	movq	_linuxraw_inotify@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=2
	movq	_linuxraw_inotify@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
LBB0_10:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_13 Depth 3
	callq	_read
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_26
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movslq	%r14d, %rax
	movb	$0, -1(%rax,%r13)
	testl	%eax, %eax
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	xorl	%eax, %eax
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	jmp	LBB0_13
LBB0_24:                                ##   in Loop: Header=BB0_13 Depth=3
	movq	-104(%rbp), %rsp                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_13 Depth=3
	movl	16(%r13,%r12), %eax
	addl	%r12d, %eax
	addl	$24, %eax
	cmpl	%r14d, %eax
	jge	LBB0_9
LBB0_13:                                ##   Parent Loop BB0_6 Depth=1
                                        ##     Parent Loop BB0_10 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movslq	%eax, %r12
	movq	(%r13,%r12), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strstr
	cmpq	(%r13,%r12), %rax
	jne	LBB0_25
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=3
	addq	$2, %rax
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtoul
	movl	%eax, %r15d
	movq	_MAX_USERS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jae	LBB0_25
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=3
	movl	8(%r13,%r12), %eax
	movq	_IN_DELETE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=3
	movq	_linuxraw_pads@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, %ebx
	shlq	$5, %rbx
	movl	(%rax,%rbx), %edi
	testl	%edi, %edi
	js	LBB0_25
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=3
	movq	_linuxraw_hotplug@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	movq	_linuxraw_pads@GOTPCREL(%rip), %r14
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=3
	movq	8(%rax,%rbx), %rsi
	movl	%r15d, %edi
	callq	_input_autoconfigure_disconnect
	movq	(%r14), %rax
	movl	(%rax,%rbx), %edi
LBB0_19:                                ##   in Loop: Header=BB0_13 Depth=3
	callq	_close
	movq	(%r14), %rax
	movq	$0, 24(%rax,%rbx)
	movl	16(%rax,%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	(%r14), %rax
	movl	$-1, (%rax,%rbx)
	movq	8(%rax,%rbx), %rax
	movb	$0, (%rax)
	movl	%r15d, %edi
	callq	_linuxraw_joypad_name
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	%eax, %edx
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_autoconfigure_connect
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_25
LBB0_20:                                ##   in Loop: Header=BB0_13 Depth=3
	movq	_IN_ATTRIB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IN_CREATE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%eax, %ecx
	je	LBB0_25
## %bb.21:                              ##   in Loop: Header=BB0_13 Depth=3
	movq	%rsp, -104(%rbp)                ## 8-byte Spill
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdi
	movb	$0, (%rdi)
	movq	(%r13,%r12), %rcx
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movl	%ebx, %esi
	leaq	L_.str.1(%rip), %rdx
	callq	_snprintf
	movq	_linuxraw_pads@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, %ebx
	shlq	$5, %rbx
	movq	8(%rax,%rbx), %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_13 Depth=3
	movq	_linuxraw_pads@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%rbx, %rsi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_linuxraw_joypad_init_pad
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_13 Depth=3
	movq	_linuxraw_pads@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax,%rbx), %rdi
	movq	_linuxraw_joypad@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	movl	%r15d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_input_autoconfigure_connect
	jmp	LBB0_24
LBB0_28:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_30
## %bb.29:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_USERS,4,2                  ## @MAX_USERS
	.comm	_linuxraw_epoll,4,2             ## @linuxraw_epoll
	.comm	_errno,8,3                      ## @errno
	.comm	_EINTR,8,3                      ## @EINTR
	.comm	_NAME_MAX,4,2                   ## @NAME_MAX
	.comm	_linuxraw_inotify,4,2           ## @linuxraw_inotify
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"js"

	.comm	_IN_DELETE,4,2                  ## @IN_DELETE
	.comm	_linuxraw_pads,8,3              ## @linuxraw_pads
	.comm	_linuxraw_hotplug,8,3           ## @linuxraw_hotplug
	.comm	_IN_CREATE,4,2                  ## @IN_CREATE
	.comm	_IN_ATTRIB,4,2                  ## @IN_ATTRIB
	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
L_.str.1:                               ## @.str.1
	.asciz	"/dev/input/%s"

	.comm	_linuxraw_joypad,4,2            ## @linuxraw_joypad
	.no_dead_strip	_linuxraw_joypad_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function linuxraw_joypad_poll
_linuxraw_joypad_poll:                  ; @linuxraw_joypad_poll
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x26, _MAX_USERS@GOTPAGE
Lloh4:
	ldr	x26, [x26, _MAX_USERS@GOTPAGEOFF]
	ldr	w8, [x26]
	add	w2, w8, #1
	lsl	x8, x2, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x22, x9, x8
	mov	sp, x22
Lloh7:
	adrp	x19, _linuxraw_epoll@GOTPAGE
Lloh8:
	ldr	x19, [x19, _linuxraw_epoll@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	x1, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	w3, #0
	bl	_epoll_wait
	tbz	w0, #31, LBB0_4
; %bb.1:
Lloh9:
	adrp	x20, _errno@GOTPAGE
Lloh10:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
Lloh11:
	adrp	x21, _EINTR@GOTPAGE
Lloh12:
	ldr	x21, [x21, _EINTR@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_28
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x26]
	ldr	w0, [x19]
	add	w2, w8, #1
	mov	x1, x22
	mov	w3, #0
	bl	_epoll_wait
	tbnz	w0, #31, LBB0_2
LBB0_4:
	cbz	w0, LBB0_28
; %bb.5:
	mov	x19, #0
Lloh13:
	adrp	x21, _IN_DELETE@GOTPAGE
Lloh14:
	ldr	x21, [x21, _IN_DELETE@GOTPAGEOFF]
	mov	w23, w0
Lloh15:
	adrp	x20, l_.str@PAGE
Lloh16:
	add	x20, x20, l_.str@PAGEOFF
Lloh17:
	adrp	x27, _linuxraw_pads@GOTPAGE
Lloh18:
	ldr	x27, [x27, _linuxraw_pads@GOTPAGEOFF]
	stp	x23, x22, [x29, #-120]          ; 16-byte Folded Spill
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x23
	bl	_free
	ldp	x22, x19, [x29, #-112]          ; 16-byte Folded Reload
	ldur	x23, [x29, #-120]               ; 8-byte Folded Reload
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x19, x19, #1
	cmp	x19, x23
	b.eq	LBB0_28
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;       Child Loop BB0_17 Depth 3
	ldr	x0, [x22, x19, lsl #3]
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	bl	_linuxraw_poll_pad
	b	LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	stur	x19, [x29, #-104]               ; 8-byte Folded Spill
Lloh19:
	adrp	x8, _NAME_MAX@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NAME_MAX@GOTPAGEOFF]
Lloh21:
	ldrsw	x8, [x8]
	add	x19, x8, #25
	mov	w0, #1
	mov	x1, x19
	bl	_calloc
	mov	x23, x0
Lloh22:
	adrp	x8, _linuxraw_inotify@GOTPAGE
Lloh23:
	ldr	x8, [x8, _linuxraw_inotify@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	mov	x1, x23
	stur	x19, [x29, #-96]                ; 8-byte Folded Spill
	mov	x2, x19
	bl	_read
	tbnz	w0, #31, LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x24, x0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
Lloh25:
	adrp	x8, _linuxraw_inotify@GOTPAGE
Lloh26:
	ldr	x8, [x8, _linuxraw_inotify@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	mov	x1, x23
	ldur	x2, [x29, #-96]                 ; 8-byte Folded Reload
	bl	_read
	mov	x24, x0
	tbnz	w0, #31, LBB0_6
LBB0_13:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_17 Depth 3
	add	x8, x23, w24, sxtw
	sturb	wzr, [x8, #-1]
	cbz	w24, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	mov	w28, #0
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=3
	mov	sp, x21
Lloh28:
	adrp	x26, _MAX_USERS@GOTPAGE
Lloh29:
	ldr	x26, [x26, _MAX_USERS@GOTPAGEOFF]
Lloh30:
	adrp	x21, _IN_DELETE@GOTPAGE
Lloh31:
	ldr	x21, [x21, _IN_DELETE@GOTPAGEOFF]
	mov	x27, x19
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=3
	ldr	w8, [x22, #16]
	add	w8, w28, w8
	add	w28, w8, #24
	cmp	w28, w24
	b.ge	LBB0_12
LBB0_17:                                ;   Parent Loop BB0_8 Depth=1
                                        ;     Parent Loop BB0_13 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x22, x23, w28, sxtw
	ldr	x0, [x22]
	mov	x1, x20
	bl	_strstr
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=3
	add	x0, x0, #2
	mov	x1, #0
	mov	w2, #0
	bl	_strtoul
	ldr	w8, [x26]
	cmp	w0, w8
	b.hs	LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=3
	mov	x25, x0
	ldr	w8, [x22, #8]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=3
	ldr	x8, [x27]
	mov	w9, w25
	lsl	x19, x9, #5
	ldr	w0, [x8, x19]
	tbnz	w0, #31, LBB0_16
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=3
Lloh32:
	adrp	x9, _linuxraw_hotplug@GOTPAGE
Lloh33:
	ldr	x9, [x9, _linuxraw_hotplug@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cbz	x9, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_17 Depth=3
	add	x8, x8, x19
	ldr	x1, [x8, #8]
	mov	x0, x25
	bl	_input_autoconfigure_disconnect
	ldr	x8, [x27]
	ldr	w0, [x8, x19]
LBB0_23:                                ;   in Loop: Header=BB0_17 Depth=3
	bl	_close
	ldr	x8, [x27]
	add	x8, x8, x19
	str	xzr, [x8, #24]
	ldr	w0, [x8, #16]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x27]
	add	x8, x8, x19
	mov	w9, #-1
	str	w9, [x8]
	ldr	x8, [x8, #8]
	strb	wzr, [x8]
	mov	x0, x25
	bl	_linuxraw_joypad_name
	mov	x2, x0
	mov	x0, #0
	mov	x1, #0
	mov	x3, x25
	mov	w4, #0
	mov	w5, #0
	bl	_input_autoconfigure_connect
	b	LBB0_16
LBB0_24:                                ;   in Loop: Header=BB0_17 Depth=3
Lloh35:
	adrp	x9, _IN_CREATE@GOTPAGE
Lloh36:
	ldr	x9, [x9, _IN_CREATE@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
Lloh38:
	adrp	x10, _IN_ATTRIB@GOTPAGE
Lloh39:
	ldr	x10, [x10, _IN_ATTRIB@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_16
; %bb.25:                               ;   in Loop: Header=BB0_17 Depth=3
	mov	x21, sp
Lloh41:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh42:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	x9, x1
Lloh44:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh45:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x26, x8, x9
	mov	sp, x26
	strb	wzr, [x26]
	ldr	x3, [x22]
	mov	x0, x26
                                        ; kill: def $w1 killed $w1 killed $x1
Lloh46:
	adrp	x2, l_.str.1@PAGE
Lloh47:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_snprintf
	ldr	x8, [x27]
	mov	x19, x27
	mov	w27, w25
	add	x8, x8, x27, lsl #5
	ldr	x0, [x8, #8]
	bl	_string_is_empty
	cbnz	w0, LBB0_15
; %bb.26:                               ;   in Loop: Header=BB0_17 Depth=3
	ldr	x8, [x19]
	add	x1, x8, x27, lsl #5
	mov	x0, x26
	bl	_linuxraw_joypad_init_pad
	cbz	x0, LBB0_15
; %bb.27:                               ;   in Loop: Header=BB0_17 Depth=3
	ldr	x8, [x19]
	add	x8, x8, x27, lsl #5
	ldr	x0, [x8, #8]
Lloh48:
	adrp	x8, _linuxraw_joypad@GOTPAGE
Lloh49:
	ldr	x8, [x8, _linuxraw_joypad@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
	mov	x1, #0
	mov	x3, x25
	mov	w4, #0
	mov	w5, #0
	bl	_input_autoconfigure_connect
	b	LBB0_15
LBB0_28:
	ldur	x8, [x29, #-88]
Lloh51:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh52:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.29:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_USERS,4,2                  ; @MAX_USERS
	.comm	_linuxraw_epoll,4,2             ; @linuxraw_epoll
	.comm	_errno,8,3                      ; @errno
	.comm	_EINTR,8,3                      ; @EINTR
	.comm	_NAME_MAX,4,2                   ; @NAME_MAX
	.comm	_linuxraw_inotify,4,2           ; @linuxraw_inotify
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"js"

	.comm	_IN_DELETE,4,2                  ; @IN_DELETE
	.comm	_linuxraw_pads,8,3              ; @linuxraw_pads
	.comm	_linuxraw_hotplug,8,3           ; @linuxraw_hotplug
	.comm	_IN_CREATE,4,2                  ; @IN_CREATE
	.comm	_IN_ATTRIB,4,2                  ; @IN_ATTRIB
	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
l_.str.1:                               ; @.str.1
	.asciz	"/dev/input/%s"

	.comm	_linuxraw_joypad,4,2            ; @linuxraw_joypad
	.no_dead_strip	_linuxraw_joypad_poll
.subsections_via_symbols
