	.file	"862727.c"
	.intel_syntax noprefix
	.text
	.type	pongo_send_command, @function
pongo_send_command:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -8[rbp], 1
	cmp	QWORD PTR -32[rbp], 0
	je	.L2
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	QWORD PTR -8[rbp], rax
.L2:
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, ax
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	push	0
	push	rdx
	mov	r9, rcx
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 3
	mov	esi, 33
	mov	rdi, rax
	call	libusb_control_transfer@PLT
	add	rsp, 16
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	pongo_send_command, .-pongo_send_command
	.type	pongo_init_bulk_upload, @function
pongo_init_bulk_upload:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	push	0
	push	0
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 1
	mov	esi, 33
	mov	rdi, rax
	call	libusb_control_transfer@PLT
	add	rsp, 16
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	pongo_init_bulk_upload, .-pongo_init_bulk_upload
	.type	pongo_discard_bulk_upload, @function
pongo_discard_bulk_upload:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	push	0
	push	0
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 2
	mov	esi, 33
	mov	rdi, rax
	call	libusb_control_transfer@PLT
	add	rsp, 16
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	pongo_discard_bulk_upload, .-pongo_discard_bulk_upload
	.type	pongo_do_bulk_upload, @function
pongo_do_bulk_upload:
.LFB23:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, eax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	r9d, 0
	mov	r8d, 0
	mov	esi, 2
	mov	rdi, rax
	call	libusb_bulk_transfer@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	pongo_do_bulk_upload, .-pongo_do_bulk_upload
	.type	pongo_get_stdout, @function
pongo_get_stdout:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	push	0
	push	512
	mov	r9, rdx
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 1
	mov	esi, 161
	mov	rdi, rax
	call	libusb_control_transfer@PLT
	add	rsp, 16
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	pongo_get_stdout, .-pongo_get_stdout
	.section	.rodata
	.align 8
.LC0:
	.string	"Couldn't open pongoOS device: %s\n"
	.text
	.type	hotplug_callback, @function
hotplug_callback:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	QWORD PTR -48[rbp], rcx
	cmp	DWORD PTR -36[rbp], 1
	je	.L13
	mov	eax, 0
	jmp	.L14
.L13:
	mov	rax, QWORD PTR -48[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	libusb_open@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L15
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	libusb_error_name@PLT
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	libusb_exit@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	mov	eax, 0
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	hotplug_callback, .-hotplug_callback
	.section	.rodata
.LC1:
	.string	"usage: loader <pongo module>"
.LC2:
	.string	"libusb_init failed: %d\n"
.LC3:
	.string	"Waiting for pongoOS device..."
	.align 8
.LC4:
	.string	"libusb_hotplug_register_callback: %s\n"
.LC5:
	.string	"Got pongoOS device"
.LC6:
	.string	"libusb_claim_interface: %s\n"
.LC7:
	.string	"Problem stat'ing '%s': %s\n"
.LC8:
	.string	"Problem open'ing '%s': %s\n"
.LC9:
	.string	"Module size %#lx\n"
.LC10:
	.string	"Problem mmap'ing '%s': %s\n"
.LC11:
	.string	"pongo_init_bulk_upload: %s\n"
.LC12:
	.string	"pongo_do_bulk_upload: %s\n"
.LC13:
	.string	"modload\n"
.LC14:
	.string	"pongo_send_command: %s\n"
.LC15:
	.string	"stalker-getkernelv\n"
.LC16:
	.string	"stalker-prep\n"
.LC17:
	.string	"stalker-patch-ss\n"
.LC18:
	.string	"bootx\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB26:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 240
	mov	DWORD PTR -212[rbp], edi
	mov	QWORD PTR -224[rbp], rsi
	mov	QWORD PTR -232[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -212[rbp], 1
	jg	.L17
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L34
.L17:
	mov	edi, 0
	call	libusb_init@PLT
	mov	DWORD PTR -200[rbp], eax
	cmp	DWORD PTR -200[rbp], 0
	jns	.L19
	mov	eax, DWORD PTR -200[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L34
.L19:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR -204[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	sub	rsp, 8
	lea	rax, -204[rbp]
	push	rax
	lea	rax, -192[rbp]
	push	rax
	lea	rax, hotplug_callback[rip]
	push	rax
	mov	r9d, -1
	mov	r8d, 16705
	mov	ecx, 1452
	mov	edx, 1
	mov	esi, 1
	mov	edi, 0
	call	libusb_hotplug_register_callback@PLT
	add	rsp, 32
	mov	DWORD PTR -200[rbp], eax
	cmp	DWORD PTR -200[rbp], 0
	jns	.L21
	mov	eax, DWORD PTR -200[rbp]
	mov	edi, eax
	call	libusb_error_name@PLT
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L34
.L22:
	mov	esi, 0
	mov	edi, 0
	call	libusb_handle_events_completed@PLT
.L21:
	mov	rax, QWORD PTR -192[rbp]
	test	rax, rax
	je	.L22
	mov	eax, DWORD PTR -204[rbp]
	mov	esi, eax
	mov	edi, 0
	call	libusb_hotplug_deregister_callback@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	libusb_claim_interface@PLT
	mov	DWORD PTR -200[rbp], eax
	cmp	DWORD PTR -200[rbp], 0
	jns	.L23
	mov	eax, DWORD PTR -200[rbp]
	mov	edi, eax
	call	libusb_error_name@PLT
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	libusb_release_interface@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	libusb_close@PLT
	mov	edi, 0
	call	libusb_exit@PLT
	mov	eax, 1
	jmp	.L34
.L23:
	mov	rax, QWORD PTR -224[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -184[rbp], rax
	lea	rdx, -160[rbp]
	mov	eax, 0
	mov	ecx, 18
	mov	rdi, rdx
	rep stosq
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	je	.L24
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	libusb_release_interface@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	libusb_close@PLT
	mov	edi, 0
	call	libusb_exit@PLT
	mov	eax, 1
	jmp	.L34
.L24:
	mov	rax, QWORD PTR -184[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -196[rbp], eax
	cmp	DWORD PTR -196[rbp], 0
	jns	.L25
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	libusb_release_interface@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	libusb_close@PLT
	mov	edi, 0
	call	libusb_exit@PLT
	mov	eax, 1
	jmp	.L34
.L25:
	mov	rax, QWORD PTR -112[rbp]
	mov	QWORD PTR -176[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -196[rbp]
	mov	rax, QWORD PTR -176[rbp]
	mov	r9d, 0
	mov	r8d, edx
	mov	ecx, 2
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	mmap@PLT
	mov	QWORD PTR -168[rbp], rax
	cmp	QWORD PTR -168[rbp], -1
	jne	.L26
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -184[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	libusb_release_interface@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	libusb_close@PLT
	mov	edi, 0
	call	libusb_exit@PLT
	mov	eax, 1
	jmp	.L34
.L26:
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	pongo_init_bulk_upload
	mov	DWORD PTR -200[rbp], eax
	cmp	DWORD PTR -200[rbp], 0
	jns	.L27
	mov	eax, DWORD PTR -200[rbp]
	mov	edi, eax
	call	libusb_error_name@PLT
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	libusb_release_interface@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	libusb_close@PLT
	mov	edi, 0
	call	libusb_exit@PLT
	mov	eax, 1
	jmp	.L34
.L27:
	mov	rax, QWORD PTR -192[rbp]
	mov	rdx, QWORD PTR -176[rbp]
	mov	rcx, QWORD PTR -168[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	pongo_do_bulk_upload
	mov	DWORD PTR -200[rbp], eax
	cmp	DWORD PTR -200[rbp], 0
	jns	.L28
	mov	eax, DWORD PTR -200[rbp]
	mov	edi, eax
	call	libusb_error_name@PLT
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	libusb_release_interface@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	libusb_close@PLT
	mov	edi, 0
	call	libusb_exit@PLT
	mov	eax, 1
	jmp	.L34
.L28:
	mov	rax, QWORD PTR -192[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	pongo_send_command
	mov	DWORD PTR -200[rbp], eax
	cmp	DWORD PTR -200[rbp], 0
	jns	.L29
	mov	eax, DWORD PTR -200[rbp]
	mov	edi, eax
	call	libusb_error_name@PLT
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	libusb_release_interface@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	libusb_close@PLT
	mov	edi, 0
	call	libusb_exit@PLT
	mov	eax, 1
	jmp	.L34
.L29:
	mov	rdx, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR -168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	munmap@PLT
	mov	edi, 200000
	call	usleep@PLT
	mov	rax, QWORD PTR -192[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	pongo_send_command
	mov	DWORD PTR -200[rbp], eax
	cmp	DWORD PTR -200[rbp], 0
	jns	.L30
	mov	eax, DWORD PTR -200[rbp]
	mov	edi, eax
	call	libusb_error_name@PLT
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	libusb_release_interface@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	libusb_close@PLT
	mov	edi, 0
	call	libusb_exit@PLT
	mov	eax, 1
	jmp	.L34
.L30:
	mov	edi, 4
	call	sleep@PLT
	mov	rax, QWORD PTR -192[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	pongo_send_command
	mov	DWORD PTR -200[rbp], eax
	cmp	DWORD PTR -200[rbp], 0
	jns	.L31
	mov	eax, DWORD PTR -200[rbp]
	mov	edi, eax
	call	libusb_error_name@PLT
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	libusb_release_interface@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	libusb_close@PLT
	mov	edi, 0
	call	libusb_exit@PLT
	mov	eax, 1
	jmp	.L34
.L31:
	mov	edi, 800000
	call	usleep@PLT
	mov	rax, QWORD PTR -192[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	pongo_send_command
	mov	DWORD PTR -200[rbp], eax
	cmp	DWORD PTR -200[rbp], 0
	jns	.L32
	mov	eax, DWORD PTR -200[rbp]
	mov	edi, eax
	call	libusb_error_name@PLT
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	libusb_release_interface@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	libusb_close@PLT
	mov	edi, 0
	call	libusb_exit@PLT
	mov	eax, 1
	jmp	.L34
.L32:
	mov	edi, 800000
	call	usleep@PLT
	mov	rax, QWORD PTR -192[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	pongo_send_command
	mov	DWORD PTR -200[rbp], eax
	cmp	DWORD PTR -200[rbp], 0
	jns	.L33
	mov	eax, DWORD PTR -200[rbp]
	mov	edi, eax
	call	libusb_error_name@PLT
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	libusb_release_interface@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	libusb_close@PLT
	mov	edi, 0
	call	libusb_exit@PLT
	mov	eax, 1
	jmp	.L34
.L33:
	mov	rax, QWORD PTR -192[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	libusb_release_interface@PLT
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	libusb_close@PLT
	mov	edi, 0
	call	libusb_exit@PLT
	mov	eax, 0
.L34:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"862727.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pongo_send_command, %function
pongo_send_command:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L2
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r2, #0
	str	r2, [sp, #12]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-20]
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #3
	mov	r1, #33
	ldr	r0, [fp, #-16]
	bl	libusb_control_transfer
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pongo_send_command, .-pongo_send_command
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pongo_init_bulk_upload, %function
pongo_init_bulk_upload:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #1
	mov	r1, #33
	ldr	r0, [fp, #-8]
	bl	libusb_control_transfer
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pongo_init_bulk_upload, .-pongo_init_bulk_upload
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pongo_discard_bulk_upload, %function
pongo_discard_bulk_upload:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #2
	mov	r1, #33
	ldr	r0, [fp, #-8]
	bl	libusb_control_transfer
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pongo_discard_bulk_upload, .-pongo_discard_bulk_upload
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pongo_do_bulk_upload, %function
pongo_do_bulk_upload:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [sp, #4]
	mov	r2, #0
	str	r2, [sp]
	ldr	r2, [fp, #-12]
	mov	r1, #2
	ldr	r0, [fp, #-8]
	bl	libusb_bulk_transfer
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pongo_do_bulk_upload, .-pongo_do_bulk_upload
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pongo_get_stdout, %function
pongo_get_stdout:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #512
	str	r3, [sp, #8]
	ldr	r3, [fp, #-12]
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #1
	mov	r1, #161
	ldr	r0, [fp, #-8]
	bl	libusb_control_transfer
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	pongo_get_stdout, .-pongo_get_stdout
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Couldn't open pongoOS device: %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hotplug_callback, %function
hotplug_callback:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	beq	.L13
	mov	r3, #0
	b	.L14
.L13:
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-20]
	bl	libusb_open
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L15
	ldr	r0, [fp, #-8]
	bl	libusb_error_name
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L16
	bl	printf
	mov	r0, #0
	bl	libusb_exit
	mov	r0, #1
	bl	exit
.L15:
	mov	r3, #0
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC0
	.size	hotplug_callback, .-hotplug_callback
	.section	.rodata
	.align	2
.LC1:
	.ascii	"usage: loader <pongo module>\000"
	.align	2
.LC2:
	.ascii	"libusb_init failed: %d\012\000"
	.align	2
.LC3:
	.ascii	"Waiting for pongoOS device...\000"
	.align	2
.LC4:
	.ascii	"libusb_hotplug_register_callback: %s\012\000"
	.align	2
.LC5:
	.ascii	"Got pongoOS device\000"
	.align	2
.LC6:
	.ascii	"libusb_claim_interface: %s\012\000"
	.align	2
.LC7:
	.ascii	"Problem stat'ing '%s': %s\012\000"
	.align	2
.LC8:
	.ascii	"Problem open'ing '%s': %s\012\000"
	.align	2
.LC9:
	.ascii	"Module size %#lx\012\000"
	.align	2
.LC10:
	.ascii	"Problem mmap'ing '%s': %s\012\000"
	.align	2
.LC11:
	.ascii	"pongo_init_bulk_upload: %s\012\000"
	.align	2
.LC12:
	.ascii	"pongo_do_bulk_upload: %s\012\000"
	.align	2
.LC13:
	.ascii	"modload\012\000"
	.align	2
.LC14:
	.ascii	"pongo_send_command: %s\012\000"
	.align	2
.LC15:
	.ascii	"stalker-getkernelv\012\000"
	.align	2
.LC16:
	.ascii	"stalker-prep\012\000"
	.align	2
.LC17:
	.ascii	"stalker-patch-ss\012\000"
	.align	2
.LC18:
	.ascii	"bootx\012\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #168
	str	r0, [fp, #-136]
	str	r1, [fp, #-140]
	str	r2, [fp, #-144]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-136]
	cmp	r3, #1
	bgt	.L19
	ldr	r0, .L38+4
	bl	puts
	mov	r3, #1
	b	.L36
.L19:
	mov	r0, #0
	bl	libusb_init
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bge	.L21
	ldr	r1, [fp, #-120]
	ldr	r0, .L38+8
	bl	printf
	mov	r3, #1
	b	.L36
.L21:
	ldr	r0, .L38+12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-128]
	mov	r3, #0
	str	r3, [fp, #-124]
	sub	r3, fp, #128
	str	r3, [sp, #16]
	sub	r3, fp, #124
	str	r3, [sp, #12]
	ldr	r3, .L38+16
	str	r3, [sp, #8]
	mvn	r3, #0
	str	r3, [sp, #4]
	ldr	r3, .L38+20
	str	r3, [sp]
	ldr	r3, .L38+24
	mov	r2, #1
	mov	r1, #1
	mov	r0, #0
	bl	libusb_hotplug_register_callback
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bge	.L23
	ldr	r0, [fp, #-120]
	bl	libusb_error_name
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L38+28
	bl	printf
	mov	r3, #1
	b	.L36
.L24:
	mov	r1, #0
	mov	r0, #0
	bl	libusb_handle_events_completed
.L23:
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	beq	.L24
	ldr	r3, [fp, #-128]
	mov	r1, r3
	mov	r0, #0
	bl	libusb_hotplug_deregister_callback
	ldr	r0, .L38+32
	bl	puts
	ldr	r3, [fp, #-124]
	mov	r1, #0
	mov	r0, r3
	bl	libusb_claim_interface
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bge	.L25
	ldr	r0, [fp, #-120]
	bl	libusb_error_name
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L38+36
	bl	printf
	ldr	r3, [fp, #-124]
	mov	r1, #0
	mov	r0, r3
	bl	libusb_release_interface
	ldr	r3, [fp, #-124]
	mov	r0, r3
	bl	libusb_close
	mov	r0, #0
	bl	libusb_exit
	mov	r3, #1
	b	.L36
.L25:
	ldr	r3, [fp, #-140]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-116]
	sub	r3, fp, #100
	mov	r2, #88
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-116]
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-116]
	ldr	r0, .L38+40
	bl	printf
	ldr	r3, [fp, #-124]
	mov	r1, #0
	mov	r0, r3
	bl	libusb_release_interface
	ldr	r3, [fp, #-124]
	mov	r0, r3
	bl	libusb_close
	mov	r0, #0
	bl	libusb_exit
	mov	r3, #1
	b	.L36
.L26:
	mov	r1, #0
	ldr	r0, [fp, #-116]
	bl	open
	str	r0, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bge	.L27
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-116]
	ldr	r0, .L38+44
	bl	printf
	ldr	r3, [fp, #-124]
	mov	r1, #0
	mov	r0, r3
	bl	libusb_release_interface
	ldr	r3, [fp, #-124]
	mov	r0, r3
	bl	libusb_close
	mov	r0, #0
	bl	libusb_exit
	mov	r3, #1
	b	.L36
.L27:
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-108]
	ldr	r1, [fp, #-108]
	ldr	r0, .L38+48
	bl	printf
	mov	r3, #0
	str	r3, [sp, #4]
	ldr	r3, [fp, #-112]
	str	r3, [sp]
	mov	r3, #2
	mov	r2, #1
	ldr	r1, [fp, #-108]
	mov	r0, #0
	bl	mmap
	str	r0, [fp, #-104]
	ldr	r3, [fp, #-104]
	cmn	r3, #1
	bne	.L28
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-116]
	ldr	r0, .L38+52
	bl	printf
	ldr	r3, [fp, #-124]
	mov	r1, #0
	mov	r0, r3
	bl	libusb_release_interface
	ldr	r3, [fp, #-124]
	mov	r0, r3
	bl	libusb_close
	mov	r0, #0
	bl	libusb_exit
	mov	r3, #1
	b	.L36
.L28:
	ldr	r3, [fp, #-124]
	mov	r0, r3
	bl	pongo_init_bulk_upload
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bge	.L29
	ldr	r0, [fp, #-120]
	bl	libusb_error_name
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L38+56
	bl	printf
	ldr	r1, [fp, #-108]
	ldr	r0, [fp, #-104]
	bl	munmap
	ldr	r3, [fp, #-124]
	mov	r1, #0
	mov	r0, r3
	bl	libusb_release_interface
	ldr	r3, [fp, #-124]
	mov	r0, r3
	bl	libusb_close
	mov	r0, #0
	bl	libusb_exit
	mov	r3, #1
	b	.L36
.L29:
	ldr	r3, [fp, #-124]
	ldr	r2, [fp, #-108]
	ldr	r1, [fp, #-104]
	mov	r0, r3
	bl	pongo_do_bulk_upload
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bge	.L30
	ldr	r0, [fp, #-120]
	bl	libusb_error_name
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L38+60
	bl	printf
	ldr	r1, [fp, #-108]
	ldr	r0, [fp, #-104]
	bl	munmap
	ldr	r3, [fp, #-124]
	mov	r1, #0
	mov	r0, r3
	bl	libusb_release_interface
	ldr	r3, [fp, #-124]
	mov	r0, r3
	bl	libusb_close
	mov	r0, #0
	bl	libusb_exit
	mov	r3, #1
	b	.L36
.L30:
	ldr	r3, [fp, #-124]
	ldr	r1, .L38+64
	mov	r0, r3
	bl	pongo_send_command
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bge	.L31
	ldr	r0, [fp, #-120]
	bl	libusb_error_name
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L38+68
	bl	printf
	ldr	r1, [fp, #-108]
	ldr	r0, [fp, #-104]
	bl	munmap
	ldr	r3, [fp, #-124]
	mov	r1, #0
	mov	r0, r3
	bl	libusb_release_interface
	ldr	r3, [fp, #-124]
	mov	r0, r3
	bl	libusb_close
	mov	r0, #0
	bl	libusb_exit
	mov	r3, #1
	b	.L36
.L31:
	ldr	r1, [fp, #-108]
	ldr	r0, [fp, #-104]
	bl	munmap
	ldr	r0, .L38+72
	bl	usleep
	ldr	r3, [fp, #-124]
	ldr	r1, .L38+76
	mov	r0, r3
	bl	pongo_send_command
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bge	.L32
	ldr	r0, [fp, #-120]
	bl	libusb_error_name
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L38+68
	bl	printf
	ldr	r3, [fp, #-124]
	mov	r1, #0
	mov	r0, r3
	bl	libusb_release_interface
	ldr	r3, [fp, #-124]
	mov	r0, r3
	bl	libusb_close
	mov	r0, #0
	bl	libusb_exit
	mov	r3, #1
	b	.L36
.L32:
	mov	r0, #4
	bl	sleep
	ldr	r3, [fp, #-124]
	ldr	r1, .L38+80
	mov	r0, r3
	bl	pongo_send_command
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bge	.L33
	ldr	r0, [fp, #-120]
	bl	libusb_error_name
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L38+68
	bl	printf
	ldr	r3, [fp, #-124]
	mov	r1, #0
	mov	r0, r3
	bl	libusb_release_interface
	ldr	r3, [fp, #-124]
	mov	r0, r3
	bl	libusb_close
	mov	r0, #0
	bl	libusb_exit
	mov	r3, #1
	b	.L36
.L33:
	ldr	r0, .L38+84
	bl	usleep
	ldr	r3, [fp, #-124]
	ldr	r1, .L38+88
	mov	r0, r3
	bl	pongo_send_command
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bge	.L34
	ldr	r0, [fp, #-120]
	bl	libusb_error_name
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L38+68
	bl	printf
	ldr	r3, [fp, #-124]
	mov	r1, #0
	mov	r0, r3
	bl	libusb_release_interface
	ldr	r3, [fp, #-124]
	mov	r0, r3
	bl	libusb_close
	mov	r0, #0
	bl	libusb_exit
	mov	r3, #1
	b	.L36
.L34:
	ldr	r0, .L38+84
	bl	usleep
	ldr	r3, [fp, #-124]
	ldr	r1, .L38+92
	mov	r0, r3
	bl	pongo_send_command
	str	r0, [fp, #-120]
	ldr	r3, [fp, #-120]
	cmp	r3, #0
	bge	.L35
	ldr	r0, [fp, #-120]
	bl	libusb_error_name
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L38+68
	bl	printf
	ldr	r3, [fp, #-124]
	mov	r1, #0
	mov	r0, r3
	bl	libusb_release_interface
	ldr	r3, [fp, #-124]
	mov	r0, r3
	bl	libusb_close
	mov	r0, #0
	bl	libusb_exit
	mov	r3, #1
	b	.L36
.L35:
	ldr	r3, [fp, #-124]
	mov	r1, #0
	mov	r0, r3
	bl	libusb_release_interface
	ldr	r3, [fp, #-124]
	mov	r0, r3
	bl	libusb_close
	mov	r0, #0
	bl	libusb_exit
	mov	r3, #0
.L36:
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC19
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	hotplug_callback
	.word	16705
	.word	1452
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	200000
	.word	.LC15
	.word	.LC16
	.word	800000
	.word	.LC17
	.word	.LC18
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
