	.file	"extr_athradar.c_radarset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	radarset
	.type	radarset, @function
radarset:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	add	esi, -128
	mov	rbx, rdi
	add	rsp, -128
	.cfi_def_cfa_offset 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 120[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR HAL_PHYERR_PARAM_NOVAL[rip]
	mov	QWORD PTR 104[rsp], rax
	mov	QWORD PTR 96[rsp], rax
	mov	QWORD PTR 88[rsp], rax
	mov	QWORD PTR 80[rsp], rax
	mov	QWORD PTR 72[rsp], rax
	mov	QWORD PTR 112[rsp], rax
	mov	QWORD PTR 64[rsp], rax
	mov	QWORD PTR 56[rsp], rax
	mov	QWORD PTR 48[rsp], rax
	mov	QWORD PTR 40[rsp], rax
	mov	QWORD PTR 32[rsp], rax
	mov	QWORD PTR 24[rsp], rax
	mov	QWORD PTR 16[rsp], rax
	mov	QWORD PTR 8[rsp], rax
	mov	QWORD PTR [rsp], rax
	cmp	esi, 14
	ja	.L2
	lea	rcx, .L4[rip]
	movsx	rax, DWORD PTR [rcx+rsi*4]
	add	rax, rcx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L18-.L4
	.long	.L17-.L4
	.long	.L16-.L4
	.long	.L15-.L4
	.long	.L14-.L4
	.long	.L13-.L4
	.long	.L12-.L4
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L16:
	mov	QWORD PTR [rsp], rdx
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR DFS_SET_THRESH[rip]
	or	eax, DWORD PTR ATH_DIAG_IN[rip]
	mov	QWORD PTR 32[rbx], 0
	mov	rdx, rbx
	mov	edi, DWORD PTR 40[rbx]
	mov	esi, DWORD PTR SIOCGATHPHYERR[rip]
	mov	DWORD PTR [rbx], eax
	mov	rax, rsp
	mov	QWORD PTR 24[rbx], 0
	mov	QWORD PTR 16[rbx], rax
	mov	DWORD PTR 4[rbx], 120
	call	ioctl@PLT
	test	rax, rax
	js	.L23
.L1:
	mov	rax, QWORD PTR 120[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	sub	rsp, -128
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	esi, DWORD PTR 8[rbx]
	mov	edi, 1
	call	err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	QWORD PTR 112[rsp], rdx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	QWORD PTR 32[rsp], rdx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L18:
	mov	QWORD PTR 40[rsp], rdx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L17:
	mov	QWORD PTR 96[rsp], rdx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L15:
	mov	QWORD PTR 56[rsp], rdx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L14:
	mov	QWORD PTR 8[rsp], rdx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L13:
	mov	QWORD PTR 64[rsp], rdx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L12:
	mov	QWORD PTR 80[rsp], rdx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L11:
	mov	QWORD PTR 24[rsp], rdx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	mov	QWORD PTR 48[rsp], rdx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	mov	QWORD PTR 72[rsp], rdx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L8:
	mov	QWORD PTR 88[rsp], rdx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L7:
	mov	QWORD PTR 104[rsp], rdx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L6:
	mov	QWORD PTR 16[rsp], rdx
	jmp	.L2
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	radarset, .-radarset
	.comm	SIOCGATHPHYERR,4,4
	.comm	HAL_PHYERR_PARAM_NOVAL,8,8
	.comm	DFS_SET_THRESH,4,4
	.comm	ATH_DIAG_IN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_athradar.c_radarset.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	radarset
	.syntax unified
	.arm
	.fpu softvfp
	.type	radarset, %function
radarset:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L25
	mov	r4, r0
	ldr	r3, [r3]
	ldr	r0, .L25+4
	sub	sp, sp, #64
	sub	r1, r1, #128
	ldr	r0, [r0]
	str	r0, [sp, #60]
	mov	r0,#0
	str	r3, [sp, #52]
	str	r3, [sp, #48]
	str	r3, [sp, #44]
	str	r3, [sp, #40]
	str	r3, [sp, #36]
	str	r3, [sp, #56]
	str	r3, [sp, #32]
	str	r3, [sp, #28]
	str	r3, [sp, #24]
	str	r3, [sp, #20]
	str	r3, [sp, #16]
	str	r3, [sp, #12]
	str	r3, [sp, #8]
	str	r3, [sp, #4]
	str	r3, [sp]
	cmp	r1, #14
	ldrls	pc, [pc, r1, asl #2]
	b	.L2
.L4:
	.word	.L18
	.word	.L17
	.word	.L16
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L16:
	str	r2, [sp]
.L2:
	mov	r2, #0
	mov	r0, #60
	ldr	r1, .L25+8
	ldr	r3, .L25+12
	ldr	ip, [r1]
	ldr	r3, [r3]
	ldr	r1, .L25+16
	orr	r3, r3, ip
	str	r2, [r4, #20]
	str	r2, [r4, #16]
	str	r0, [r4, #4]
	mov	r2, r4
	ldr	r1, [r1]
	ldr	r0, [r4, #24]
	str	r3, [r4]
	str	sp, [r4, #12]
	bl	ioctl
	cmp	r0, #0
	blt	.L23
.L1:
	ldr	r3, .L25+4
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	add	sp, sp, #64
	@ sp needed
	pop	{r4, pc}
.L23:
	ldr	r1, [r4, #8]
	mov	r0, #1
	bl	err
	b	.L1
.L3:
	str	r2, [sp, #16]
	b	.L2
.L18:
	str	r2, [sp, #20]
	b	.L2
.L17:
	str	r2, [sp, #48]
	b	.L2
.L15:
	str	r2, [sp, #28]
	b	.L2
.L14:
	str	r2, [sp, #4]
	b	.L2
.L13:
	str	r2, [sp, #32]
	b	.L2
.L12:
	str	r2, [sp, #40]
	b	.L2
.L11:
	str	r2, [sp, #12]
	b	.L2
.L10:
	str	r2, [sp, #24]
	b	.L2
.L9:
	str	r2, [sp, #36]
	b	.L2
.L8:
	str	r2, [sp, #44]
	b	.L2
.L7:
	str	r2, [sp, #52]
	b	.L2
.L6:
	str	r2, [sp, #8]
	b	.L2
.L5:
	str	r2, [sp, #56]
	b	.L2
.L24:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	HAL_PHYERR_PARAM_NOVAL
	.word	.LC0
	.word	ATH_DIAG_IN
	.word	DFS_SET_THRESH
	.word	SIOCGATHPHYERR
	.size	radarset, .-radarset
	.comm	SIOCGATHPHYERR,4,4
	.comm	HAL_PHYERR_PARAM_NOVAL,4,4
	.comm	DFS_SET_THRESH,4,4
	.comm	ATH_DIAG_IN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
