	.file	"76013.c"
	.intel_syntax noprefix
	.text
	.type	lookup_value, @function
lookup_value:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L3
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L4
.L3:
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L5
	mov	eax, -1
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	lookup_value, .-lookup_value
	.type	lookup_name, @function
lookup_name:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	cmp	DWORD PTR -16[rbp], 0
	js	.L7
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jge	.L7
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	jmp	.L9
.L7:
	mov	eax, 0
.L9:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	lookup_name, .-lookup_name
	.section	.rodata
.LC0:
	.string	"    %s\n"
	.text
	.type	list_names, @function
list_names:
.LFB8:
	.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	DWORD PTR -4[rbp], 0
	jmp	.L11
.L13:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L12
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L12:
	add	DWORD PTR -4[rbp], 1
.L11:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L13
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	list_names, .-list_names
	.section	.rodata
.LC1:
	.string	"OFF"
.LC2:
	.string	"ON"
.LC3:
	.string	"ONESTEP_SYNC"
	.section	.data.rel.local,"aw"
	.align 16
	.type	tx_types, @object
	.size	tx_types, 24
tx_types:
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.section	.rodata
.LC4:
	.string	"NONE"
.LC5:
	.string	"ALL"
.LC6:
	.string	"SOME"
.LC7:
	.string	"PTP_V1_L4_EVENT"
.LC8:
	.string	"PTP_V1_L4_SYNC"
.LC9:
	.string	"PTP_V1_L4_DELAY_REQ"
.LC10:
	.string	"PTP_V2_L4_EVENT"
.LC11:
	.string	"PTP_V2_L4_SYNC"
.LC12:
	.string	"PTP_V2_L4_DELAY_REQ"
.LC13:
	.string	"PTP_V2_L2_EVENT"
.LC14:
	.string	"PTP_V2_L2_SYNC"
.LC15:
	.string	"PTP_V2_L2_DELAY_REQ"
.LC16:
	.string	"PTP_V2_EVENT"
.LC17:
	.string	"PTP_V2_SYNC"
.LC18:
	.string	"PTP_V2_DELAY_REQ"
	.section	.data.rel.local
	.align 32
	.type	rx_filters, @object
	.size	rx_filters, 120
rx_filters:
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	.LC7
	.quad	.LC8
	.quad	.LC9
	.quad	.LC10
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	.LC14
	.quad	.LC15
	.quad	.LC16
	.quad	.LC17
	.quad	.LC18
	.section	.rodata
	.align 8
.LC19:
	.string	"Usage: hwtstamp_config if_name [tx_type rx_filter]\ntx_type is any of (case-insensitive):\n"
	.align 8
.LC20:
	.string	"rx_filter is any of (case-insensitive):\n"
	.text
	.type	usage, @function
usage:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 89
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 3
	lea	rsi, tx_types[rip]
	mov	rdi, rax
	call	list_names
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 40
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 15
	lea	rsi, rx_filters[rip]
	mov	rdi, rax
	call	list_names
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	usage, .-usage
	.section	.rodata
.LC21:
	.string	"socket"
.LC22:
	.string	"ioctl"
.LC23:
	.string	"flags = %#x\n"
.LC24:
	.string	"tx_type = %s\n"
.LC25:
	.string	"tx_type = %d\n"
.LC26:
	.string	"rx_filter = %s\n"
.LC27:
	.string	"rx_filter = %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -84[rbp], 2
	je	.L16
	cmp	DWORD PTR -84[rbp], 4
	jne	.L17
.L16:
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 15
	jbe	.L18
.L17:
	call	usage
	mov	eax, 2
	jmp	.L30
.L18:
	cmp	DWORD PTR -84[rbp], 4
	jne	.L20
	mov	DWORD PTR -60[rbp], 0
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdx, rax
	mov	esi, 3
	lea	rdi, tx_types[rip]
	call	lookup_value
	mov	DWORD PTR -56[rbp], eax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 24
	mov	rax, QWORD PTR [rax]
	mov	rdx, rax
	mov	esi, 15
	lea	rdi, rx_filters[rip]
	call	lookup_value
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	test	eax, eax
	js	.L21
	mov	eax, DWORD PTR -52[rbp]
	test	eax, eax
	jns	.L20
.L21:
	call	usage
	mov	eax, 2
	jmp	.L30
.L20:
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], 0
	jns	.L22
	lea	rdi, .LC21[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L30
.L22:
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -60[rbp]
	mov	QWORD PTR -32[rbp], rax
	cmp	DWORD PTR -84[rbp], 2
	jne	.L23
	mov	ecx, 35249
	jmp	.L24
.L23:
	mov	ecx, 35248
.L24:
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -76[rbp]
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	je	.L25
	lea	rdi, .LC22[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L30
.L25:
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -56[rbp]
	mov	edx, eax
	mov	esi, 3
	lea	rdi, tx_types[rip]
	call	lookup_name
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	je	.L26
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L27
.L26:
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, eax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
.L27:
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, eax
	mov	esi, 15
	lea	rdi, rx_filters[rip]
	call	lookup_name
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	je	.L28
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L29
.L28:
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
.L29:
	mov	eax, 0
.L30:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"76013.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lookup_value, %function
lookup_value:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L5:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L3
	ldr	r3, [fp, #-8]
	b	.L4
.L3:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L5
	mvn	r3, #0
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	lookup_value, .-lookup_value
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lookup_name, %function
lookup_name:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L7
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bge	.L7
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	b	.L9
.L7:
	mov	r3, #0
.L9:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	lookup_name, .-lookup_name
	.section	.rodata
	.align	2
.LC0:
	.ascii	"    %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	list_names, %function
list_names:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L11
.L13:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L14
	ldr	r0, [fp, #-16]
	bl	fprintf
.L12:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L11:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L13
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC0
	.size	list_names, .-list_names
	.section	.rodata
	.align	2
.LC1:
	.ascii	"OFF\000"
	.align	2
.LC2:
	.ascii	"ON\000"
	.align	2
.LC3:
	.ascii	"ONESTEP_SYNC\000"
	.data
	.align	2
	.type	tx_types, %object
	.size	tx_types, 12
tx_types:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.section	.rodata
	.align	2
.LC4:
	.ascii	"NONE\000"
	.align	2
.LC5:
	.ascii	"ALL\000"
	.align	2
.LC6:
	.ascii	"SOME\000"
	.align	2
.LC7:
	.ascii	"PTP_V1_L4_EVENT\000"
	.align	2
.LC8:
	.ascii	"PTP_V1_L4_SYNC\000"
	.align	2
.LC9:
	.ascii	"PTP_V1_L4_DELAY_REQ\000"
	.align	2
.LC10:
	.ascii	"PTP_V2_L4_EVENT\000"
	.align	2
.LC11:
	.ascii	"PTP_V2_L4_SYNC\000"
	.align	2
.LC12:
	.ascii	"PTP_V2_L4_DELAY_REQ\000"
	.align	2
.LC13:
	.ascii	"PTP_V2_L2_EVENT\000"
	.align	2
.LC14:
	.ascii	"PTP_V2_L2_SYNC\000"
	.align	2
.LC15:
	.ascii	"PTP_V2_L2_DELAY_REQ\000"
	.align	2
.LC16:
	.ascii	"PTP_V2_EVENT\000"
	.align	2
.LC17:
	.ascii	"PTP_V2_SYNC\000"
	.align	2
.LC18:
	.ascii	"PTP_V2_DELAY_REQ\000"
	.data
	.align	2
	.type	rx_filters, %object
	.size	rx_filters, 60
rx_filters:
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.section	.rodata
	.align	2
.LC19:
	.ascii	"Usage: hwtstamp_config if_name [tx_type rx_filter]\012"
	.ascii	"tx_type is any of (case-insensitive):\012\000"
	.align	2
.LC20:
	.ascii	"rx_filter is any of (case-insensitive):\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L17
	ldr	r3, [r3]
	mov	r2, #89
	mov	r1, #1
	ldr	r0, .L17+4
	bl	fwrite
	ldr	r3, .L17
	ldr	r3, [r3]
	mov	r2, #3
	ldr	r1, .L17+8
	mov	r0, r3
	bl	list_names
	ldr	r3, .L17
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #1
	ldr	r0, .L17+12
	bl	fwrite
	ldr	r3, .L17
	ldr	r3, [r3]
	mov	r2, #15
	ldr	r1, .L17+16
	mov	r0, r3
	bl	list_names
	nop
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	stderr
	.word	.LC19
	.word	tx_types
	.word	.LC20
	.word	rx_filters
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC21:
	.ascii	"socket\000"
	.align	2
.LC22:
	.ascii	"ioctl\000"
	.align	2
.LC23:
	.ascii	"flags = %#x\012\000"
	.align	2
.LC24:
	.ascii	"tx_type = %s\012\000"
	.align	2
.LC25:
	.ascii	"tx_type = %d\012\000"
	.align	2
.LC26:
	.ascii	"rx_filter = %s\012\000"
	.align	2
.LC27:
	.ascii	"rx_filter = %d\012\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-64]
	cmp	r3, #2
	beq	.L20
	ldr	r3, [fp, #-64]
	cmp	r3, #4
	bne	.L21
.L20:
	ldr	r3, [fp, #-68]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #15
	bls	.L22
.L21:
	bl	usage
	mov	r3, #2
	b	.L34
.L22:
	ldr	r3, [fp, #-64]
	cmp	r3, #4
	bne	.L24
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-68]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #3
	ldr	r0, .L36+4
	bl	lookup_value
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-68]
	add	r3, r3, #12
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #15
	ldr	r0, .L36+8
	bl	lookup_value
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	blt	.L25
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bge	.L24
.L25:
	bl	usage
	mov	r3, #2
	b	.L34
.L24:
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bge	.L26
	ldr	r0, .L36+12
	bl	perror
	mov	r3, #1
	b	.L34
.L26:
	ldr	r3, [fp, #-68]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #40
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #52
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-64]
	cmp	r3, #2
	bne	.L27
	ldr	r3, .L36+16
	b	.L28
.L27:
	ldr	r3, .L36+20
.L28:
	sub	r2, fp, #40
	mov	r1, r3
	ldr	r0, [fp, #-60]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	ldr	r0, .L36+24
	bl	perror
	mov	r3, #1
	b	.L34
.L29:
	ldr	r3, [fp, #-52]
	mov	r1, r3
	ldr	r0, .L36+28
	bl	printf
	ldr	r3, [fp, #-48]
	mov	r2, r3
	mov	r1, #3
	ldr	r0, .L36+4
	bl	lookup_name
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L30
	ldr	r1, [fp, #-56]
	ldr	r0, .L36+32
	bl	printf
	b	.L31
.L30:
	ldr	r3, [fp, #-48]
	mov	r1, r3
	ldr	r0, .L36+36
	bl	printf
.L31:
	ldr	r3, [fp, #-44]
	mov	r2, r3
	mov	r1, #15
	ldr	r0, .L36+8
	bl	lookup_name
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L32
	ldr	r1, [fp, #-56]
	ldr	r0, .L36+40
	bl	printf
	b	.L33
.L32:
	ldr	r3, [fp, #-44]
	mov	r1, r3
	ldr	r0, .L36+44
	bl	printf
.L33:
	mov	r3, #0
.L34:
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC28
	.word	tx_types
	.word	rx_filters
	.word	.LC21
	.word	35249
	.word	35248
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
