	.file	"extr_ipath_sysfs.c_store_guid.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%hx:%hx:%hx:%hx:%hx:%hx:%hx:%hx"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"attempt to set invalid GUID\n"
	.text
	.p2align 4
	.type	store_guid, @function
store_guid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 48
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	rbx, 16[rsp]
	call	dev_get_drvdata@PLT
	lea	rcx, 18[rsp]
	mov	rdx, rbx
	mov	rdi, r12
	mov	rbp, rax
	lea	rax, 30[rsp]
	lea	rsi, .LC0[rip]
	push	rax
	.cfi_def_cfa_offset 88
	lea	rax, 36[rsp]
	push	rax
	.cfi_def_cfa_offset 96
	lea	rax, 42[rsp]
	push	rax
	.cfi_def_cfa_offset 104
	lea	rax, 48[rsp]
	push	rax
	.cfi_def_cfa_offset 112
	lea	r9, 54[rsp]
	lea	r8, 52[rsp]
	call	sscanf@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 80
	cmp	eax, 8
	jne	.L2
	xor	eax, eax
	.p2align 4,,10
	.p2align 3
.L3:
	movzx	edx, WORD PTR [rbx+rax]
	cmp	dx, 255
	ja	.L2
	mov	WORD PTR 8[rsp+rax], dx
	add	rax, 2
	cmp	rax, 16
	jne	.L3
	mov	rax, QWORD PTR 8[rsp]
	test	rax, rax
	jne	.L16
.L2:
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	ipath_dev_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L5:
	endbr64
.L1:
	mov	rsi, QWORD PTR 40[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L17
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rdx, QWORD PTR 8[rbp]
	mov	QWORD PTR 16[rbp], rax
	mov	DWORD PTR 0[rbp], 1
	test	rdx, rdx
	je	.L4
	mov	QWORD PTR [rdx], rax
.L4:
	mov	rdi, r12
	call	strlen@PLT
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	store_guid, .-store_guid
	.comm	EINVAL,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_guid.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%hx:%hx:%hx:%hx:%hx:%hx:%hx:%hx\000"
	.align	2
.LC1:
	.ascii	"attempt to set invalid GUID\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	store_guid, %function
store_guid:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, .L18
	sub	sp, sp, #52
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	dev_get_drvdata
	add	ip, sp, #42
	add	r1, sp, #40
	add	r3, sp, #38
	str	ip, [sp, #20]
	str	r1, [sp, #16]
	add	ip, sp, #36
	add	r1, sp, #34
	str	r3, [sp, #12]
	add	r3, sp, #32
	stmib	sp, {r1, ip}
	str	r3, [sp]
	mov	r4, r0
	ldr	r1, .L18+4
	mov	r0, r5
	add	r2, sp, #28
	add	r3, sp, #30
	bl	sscanf
	cmp	r0, #8
	bne	.L2
	add	r3, sp, #28
	add	ip, sp, #24
	add	r0, sp, #44
.L3:
	ldrh	r1, [r3], #2
	cmp	r1, #255
	bhi	.L2
	cmp	r3, r0
	strh	r1, [ip], #2	@ movhi
	bne	.L3
	ldr	r3, [sp, #24]
	cmp	r3, #0
	bne	.L16
.L2:
	mov	r0, r4
	ldr	r1, .L18+8
	bl	ipath_dev_err
	ldr	r3, .L18+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L5:
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, pc}
.L16:
	mov	r1, #1
	ldr	r2, [r4, #4]
	str	r3, [r4, #8]
	cmp	r2, #0
	str	r1, [r4]
	mov	r0, r5
	strne	r3, [r2]
	bl	strlen
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	EINVAL
	.size	store_guid, .-store_guid
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
