	.file	"extr_device.c_i2o_device_issue_claim.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	i2o_device_issue_claim, @function
i2o_device_issue_claim:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	mov	esi, DWORD PTR I2O_TIMEOUT_MESSAGE_GET[rip]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	mov	edi, DWORD PTR [rdi]
	call	i2o_msg_get_wait@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L5
	mov	r14, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR FIVE_WORD_MSG_SIZE[rip]
	sal	r13d, 24
	or	edi, DWORD PTR SGL_OFFSET_0[rip]
	call	cpu_to_le32@PLT
	mov	edi, DWORD PTR HOST_TID[rip]
	mov	QWORD PTR [r14], rax
	mov	r14, QWORD PTR 8[rbp]
	sal	edi, 12
	or	edi, r13d
	or	edi, DWORD PTR 4[rbx]
	call	cpu_to_le32@PLT
	mov	edi, r12d
	mov	QWORD PTR 8[r14], rax
	mov	r13, QWORD PTR 0[rbp]
	call	cpu_to_le32@PLT
	mov	edi, DWORD PTR [rbx]
	mov	rsi, rbp
	mov	edx, 60
	mov	QWORD PTR 0[r13], rax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	i2o_msg_post_wait@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.cfi_endproc
.LFE0:
	.size	i2o_device_issue_claim, .-i2o_device_issue_claim
	.comm	SGL_OFFSET_0,4,4
	.comm	I2O_TIMEOUT_MESSAGE_GET,4,4
	.comm	HOST_TID,4,4
	.comm	FIVE_WORD_MSG_SIZE,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_device.c_i2o_device_issue_claim.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	i2o_device_issue_claim, %function
i2o_device_issue_claim:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	ldr	r1, .L6
	mov	r5, r0
	ldr	r1, [r1]
	ldr	r0, [r0]
	mov	r7, r2
	bl	i2o_msg_get_wait
	mov	r6, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L5
	ldr	r2, .L6+4
	ldr	r3, .L6+8
	ldr	r0, [r2]
	ldr	r3, [r3]
	ldr	r8, [r6, #4]
	orr	r0, r0, r3
	bl	cpu_to_le32
	ldr	r2, .L6+12
	lsl	r3, r4, #24
	ldr	r2, [r2]
	str	r0, [r8]
	ldr	r0, [r5, #4]
	orr	r3, r3, r2, lsl #12
	orr	r0, r3, r0
	ldr	r4, [r6, #4]
	bl	cpu_to_le32
	mov	r3, r0
	mov	r0, r7
	str	r3, [r4, #4]
	ldr	r4, [r6]
	bl	cpu_to_le32
	mov	r1, r6
	str	r0, [r4]
	mov	r2, #60
	ldr	r0, [r5]
	pop	{r4, r5, r6, r7, r8, lr}
	b	i2o_msg_post_wait
.L5:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	PTR_ERR
.L7:
	.align	2
.L6:
	.word	I2O_TIMEOUT_MESSAGE_GET
	.word	FIVE_WORD_MSG_SIZE
	.word	SGL_OFFSET_0
	.word	HOST_TID
	.size	i2o_device_issue_claim, .-i2o_device_issue_claim
	.comm	SGL_OFFSET_0,4,4
	.comm	I2O_TIMEOUT_MESSAGE_GET,4,4
	.comm	HOST_TID,4,4
	.comm	FIVE_WORD_MSG_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
