	.file	"extr_sony-laptop.c_sony_nc_rfkill_update.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sony_nc_rfkill_update, @function
sony_nc_rfkill_update:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	esi, 512
	mov	edi, 292
	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
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	r13, 4[rsp]
	mov	rdx, r13
	call	sony_call_snc_handle@PLT
	mov	r12d, DWORD PTR 4[rsp]
	mov	eax, DWORD PTR N_SONY_RFKILL[rip]
	and	r12d, 1
	test	eax, eax
	je	.L1
	xor	ebx, ebx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR sony_rfkill_address[rip]
	mov	rdx, r13
	mov	edi, 292
	mov	esi, DWORD PTR [rax+rbp*4]
	call	sony_call_snc_handle@PLT
	mov	rax, QWORD PTR sony_rfkill_devices[rip]
	xor	esi, esi
	test	BYTE PTR 4[rsp], 15
	sete	sil
	xor	edx, edx
	mov	edi, DWORD PTR [rax+rbp*4]
	call	rfkill_set_states@PLT
.L3:
	add	ebx, 1
	cmp	DWORD PTR N_SONY_RFKILL[rip], ebx
	jbe	.L1
.L5:
	mov	rax, QWORD PTR sony_rfkill_devices[rip]
	mov	ebp, ebx
	mov	edi, DWORD PTR [rax+rbp*4]
	test	edi, edi
	je	.L3
	test	r12d, r12d
	jne	.L4
	mov	esi, 1
	add	ebx, 1
	call	rfkill_set_hw_state@PLT
	cmp	DWORD PTR N_SONY_RFKILL[rip], ebx
	ja	.L5
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	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
.L13:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sony_nc_rfkill_update, .-sony_nc_rfkill_update
	.comm	sony_rfkill_devices,8,8
	.comm	sony_rfkill_address,8,8
	.comm	N_SONY_RFKILL,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_sony-laptop.c_sony_nc_rfkill_update.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sony_nc_rfkill_update, %function
sony_nc_rfkill_update:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L17
	sub	sp, sp, #12
	ldr	r9, .L17+4
	mov	r2, sp
	mov	r1, #512
	mov	r0, #292
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	sony_call_snc_handle
	ldr	r3, [r9]
	ldr	r7, [sp]
	cmp	r3, #0
	beq	.L1
	mov	r4, #0
	ldr	r6, .L17+8
	ldr	r8, .L17+12
	and	r7, r7, #1
	b	.L5
.L4:
	ldr	r3, [r8]
	mov	r2, sp
	ldr	r1, [r3, r5]
	mov	r0, #292
	bl	sony_call_snc_handle
	ldr	r2, [sp]
	ldr	r3, [r6]
	tst	r2, #15
	moveq	r1, #1
	movne	r1, #0
	mov	r2, #0
	ldr	r0, [r3, r5]
	bl	rfkill_set_states
.L3:
	ldr	r3, [r9]
	add	r4, r4, #1
	cmp	r3, r4
	bls	.L1
.L5:
	ldr	r3, [r6]
	lsl	r5, r4, #2
	ldr	r0, [r3, r4, lsl #2]
	cmp	r0, #0
	beq	.L3
	cmp	r7, #0
	bne	.L4
	mov	r1, #1
	bl	rfkill_set_hw_state
	ldr	r3, [r9]
	add	r4, r4, #1
	cmp	r3, r4
	bhi	.L5
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L16
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L16:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	N_SONY_RFKILL
	.word	sony_rfkill_devices
	.word	sony_rfkill_address
	.size	sony_nc_rfkill_update, .-sony_nc_rfkill_update
	.comm	sony_rfkill_devices,4,4
	.comm	sony_rfkill_address,4,4
	.comm	N_SONY_RFKILL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
