	.file	"extr_airo.c_proc_SSID_open.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	proc_SSID_open, @function
proc_SSID_open:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	PDE@PLT
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 40
	mov	rax, QWORD PTR [rax]
	mov	rbp, QWORD PTR [rax]
	call	kzalloc@PLT
	mov	QWORD PTR [rbx], rax
	test	rax, rax
	je	.L19
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 104
	mov	r13, rax
	call	kmalloc@PLT
	mov	QWORD PTR 0[r13], rax
	test	rax, rax
	je	.L18
	mov	QWORD PTR 32[r13], 0
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 100
	mov	DWORD PTR 8[r13], 99
	call	kzalloc@PLT
	mov	QWORD PTR 24[r13], rax
	test	rax, rax
	je	.L21
	mov	eax, DWORD PTR proc_SSID_on_close[rip]
	mov	rdi, rbp
	mov	rsi, rsp
	xor	r12d, r12d
	mov	ebp, 32
	mov	DWORD PTR 16[r13], eax
	call	readSsidRid@PLT
	mov	rbx, QWORD PTR 0[r13]
.L10:
	mov	rax, QWORD PTR [rsp]
	mov	edi, DWORD PTR 8[rax+r12]
	call	le16_to_cpu@PLT
	test	rax, rax
	je	.L6
	cmp	rax, 32
	cmova	rax, rbp
	lea	rcx, [rbx+rax]
	xor	eax, eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	mov	BYTE PTR -1[rbx], dl
	add	rax, 4
	cmp	rcx, rbx
	je	.L22
.L7:
	mov	rdx, QWORD PTR [rsp]
	mov	rsi, rbx
	add	rbx, 1
	mov	rdx, QWORD PTR [rdx+r12]
	mov	edx, DWORD PTR [rdx+rax]
	test	edx, edx
	jne	.L9
.L8:
	add	r12, 16
	mov	BYTE PTR [rsi], 10
	cmp	r12, 48
	jne	.L10
.L6:
	mov	BYTE PTR [rbx], 0
	mov	rdi, QWORD PTR 0[r13]
	call	strlen@PLT
	mov	DWORD PTR 12[r13], eax
	xor	eax, eax
	jmp	.L1
.L21:
	mov	rdi, QWORD PTR 0[r13]
	call	kfree@PLT
.L18:
	mov	rdi, QWORD PTR [rbx]
	call	kfree@PLT
.L19:
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L23
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	add	rbx, 1
	mov	rsi, rcx
	jmp	.L8
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	proc_SSID_open, .-proc_SSID_open
	.comm	proc_SSID_on_close,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_airo.c_proc_SSID_open.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	proc_SSID_open, %function
proc_SSID_open:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L24
	sub	sp, sp, #8
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	PDE
	ldr	r5, .L24+4
	ldr	r3, [r0]
	ldr	r1, [r5]
	mov	r0, #24
	ldr	r8, [r3]
	bl	kzalloc
	cmp	r0, #0
	str	r0, [r4]
	beq	.L19
	mov	r7, r0
	ldr	r1, [r5]
	mov	r0, #104
	bl	kmalloc
	cmp	r0, #0
	str	r0, [r7]
	beq	.L18
	mov	r6, #0
	mov	r3, #99
	mov	r0, #100
	ldr	r1, [r5]
	str	r6, [r7, #20]
	str	r3, [r7, #4]
	bl	kzalloc
	cmp	r0, r6
	str	r0, [r7, #16]
	beq	.L21
	mov	r5, #10
	ldr	r3, .L24+8
	mov	r0, r8
	ldr	r3, [r3]
	mov	r1, sp
	str	r3, [r7, #12]
	bl	readSsidRid
	ldr	r4, [r7]
.L10:
	ldr	r3, [sp]
	add	r3, r3, r6
	ldr	r0, [r3, #4]
	bl	le16_to_cpu
	cmp	r0, #0
	beq	.L6
	cmp	r0, #32
	addls	r1, r4, r0
	addhi	r1, r4, #32
	mov	r3, #0
	b	.L7
.L9:
	cmp	r1, r4
	strb	r2, [r4, #-1]
	add	r3, r3, #4
	beq	.L22
.L7:
	ldr	r2, [sp]
	mov	r0, r4
	ldr	r2, [r2, r6]
	add	r4, r4, #1
	ldr	r2, [r2, r3]
	cmp	r2, #0
	bne	.L9
.L8:
	add	r6, r6, #8
	cmp	r6, #24
	strb	r5, [r0]
	bne	.L10
.L6:
	mov	r5, #0
	strb	r5, [r4]
	ldr	r0, [r7]
	bl	strlen
	mov	r3, r0
	mov	r0, r5
	str	r3, [r7, #8]
	b	.L1
.L21:
	ldr	r0, [r7]
	bl	kfree
.L18:
	ldr	r0, [r4]
	bl	kfree
.L19:
	ldr	r3, .L24+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L22:
	mov	r0, r1
	add	r4, r4, #1
	b	.L8
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC0
	.word	GFP_KERNEL
	.word	proc_SSID_on_close
	.word	ENOMEM
	.size	proc_SSID_open, .-proc_SSID_open
	.comm	proc_SSID_on_close,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
