	.file	"extr_ipath_sysfs.c_store_enabled.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"attempt to use non-numeric on enable\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Enabling unit %d\n"
.LC2:
	.string	"Failed to enable unit %d\n"
.LC3:
	.string	"Disabling unit %d\n"
	.text
	.p2align 4
	.type	store_enabled, @function
store_enabled:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	dev_get_drvdata@PLT
	mov	rdi, r12
	mov	rsi, rsp
	mov	QWORD PTR [rsp], 0
	mov	rbp, rax
	call	ipath_parse_ushort@PLT
	mov	r12, rax
	test	rax, rax
	js	.L12
	mov	eax, DWORD PTR 0[rbp]
	and	eax, DWORD PTR IPATH_DISABLED[rip]
	cmp	QWORD PTR [rsp], 0
	jne	.L13
	test	eax, eax
	je	.L14
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	rax, r12
	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
.L13:
	.cfi_restore_state
	test	eax, eax
	je	.L1
	mov	edx, DWORD PTR 16[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, r13
	call	dev_info@PLT
	mov	esi, 1
	mov	rdi, rbp
	call	ipath_init_chip@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L16
	mov	eax, DWORD PTR IPATH_DISABLED[rip]
	mov	rdx, QWORD PTR 8[rbp]
	not	eax
	and	DWORD PTR 0[rbp], eax
	mov	eax, DWORD PTR IPATH_STATUS_ADMIN_DISABLED[rip]
	not	eax
	and	DWORD PTR [rdx], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edx, DWORD PTR 16[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	ipath_dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	ipath_dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
.L3:
	endbr64
	mov	edx, DWORD PTR 16[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, r13
	call	dev_info@PLT
	mov	rdi, rbp
	call	ipath_shutdown_device@PLT
	mov	eax, DWORD PTR IPATH_DISABLED[rip]
	or	DWORD PTR 0[rbp], eax
	mov	rax, QWORD PTR 8[rbp]
	mov	edx, DWORD PTR IPATH_STATUS_ADMIN_DISABLED[rip]
	or	DWORD PTR [rax], edx
	jmp	.L1
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	store_enabled, .-store_enabled
	.comm	IPATH_STATUS_ADMIN_DISABLED,4,4
	.comm	IPATH_DISABLED,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_ipath_sysfs.c_store_enabled.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"attempt to use non-numeric on enable\012\000"
	.align	2
.LC1:
	.ascii	"Enabling unit %d\012\000"
	.align	2
.LC2:
	.ascii	"Failed to enable unit %d\012\000"
	.align	2
.LC3:
	.ascii	"Disabling unit %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	store_enabled, %function
store_enabled:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L17
	sub	sp, sp, #12
	mov	r4, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r6, r0
	bl	dev_get_drvdata
	mov	r3, #0
	mov	r5, r0
	mov	r1, sp
	mov	r0, r4
	str	r3, [sp]
	bl	ipath_parse_ushort
	subs	r4, r0, #0
	blt	.L12
	ldr	r7, .L17+4
	ldr	r1, [sp]
	ldr	r2, [r7]
	ldr	r3, [r5]
	cmp	r1, #0
	and	r3, r3, r2
	bne	.L13
	cmp	r3, #0
	beq	.L14
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L13:
	cmp	r3, #0
	beq	.L1
	ldr	r2, [r5, #8]
	ldr	r1, .L17+8
	mov	r0, r6
	bl	dev_info
	mov	r1, #1
	mov	r0, r5
	bl	ipath_init_chip
	subs	r4, r0, #0
	bne	.L16
	ldr	r1, [r7]
	ldr	r3, [r5]
	ldr	r2, [r5, #4]
	bic	r3, r3, r1
	ldr	r1, .L17+12
	str	r3, [r5]
	ldr	r3, [r2]
	ldr	r1, [r1]
	bic	r3, r3, r1
	str	r3, [r2]
	b	.L1
.L16:
	mov	r0, r5
	ldr	r2, [r5, #8]
	ldr	r1, .L17+16
	bl	ipath_dev_err
	b	.L1
.L12:
	mov	r0, r5
	ldr	r1, .L17+20
	bl	ipath_dev_err
	b	.L1
.L14:
.L3:
	ldr	r2, [r5, #8]
	ldr	r1, .L17+24
	mov	r0, r6
	bl	dev_info
	mov	r0, r5
	bl	ipath_shutdown_device
	ldr	r1, [r7]
	ldr	r3, [r5]
	ldr	r2, [r5, #4]
	orr	r3, r3, r1
	ldr	r1, .L17+12
	str	r3, [r5]
	ldr	r3, [r2]
	ldr	r1, [r1]
	orr	r3, r3, r1
	str	r3, [r2]
	b	.L1
.L15:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC4
	.word	IPATH_DISABLED
	.word	.LC1
	.word	IPATH_STATUS_ADMIN_DISABLED
	.word	.LC2
	.word	.LC0
	.word	.LC3
	.size	store_enabled, .-store_enabled
	.comm	IPATH_STATUS_ADMIN_DISABLED,4,4
	.comm	IPATH_DISABLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
