	.file	"extr_ipr.c_ipr_reset_ioa_job.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ipr_reset_ioa_job, @function
ipr_reset_ioa_job:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rbp, QWORD PTR 32[rdi]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L2:
	call	IPR_IOASC_SENSE_KEY@PLT
	test	rax, rax
	je	.L6
	mov	rdi, rbx
	call	[QWORD PTR [rbx]]
	cmp	QWORD PTR IPR_RC_JOB_RETURN[rip], rax
	je	.L1
.L6:
	mov	rdi, rbx
	call	ipr_reinit_ipr_cmnd@PLT
	mov	rax, QWORD PTR ipr_reset_cmd_failed@GOTPCREL[rip]
	mov	rdi, rbx
	mov	QWORD PTR [rbx], rax
	call	[QWORD PTR 8[rbx]]
	cmp	QWORD PTR IPR_RC_JOB_CONTINUE[rip], rax
	jne	.L1
.L4:
	mov	edi, DWORD PTR 28[rbx]
	call	be32_to_cpu@PLT
	mov	rdi, rax
	cmp	QWORD PTR 0[rbp], rbx
	je	.L2
	mov	rsi, QWORD PTR 16[rbx]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, 24[rbx]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	list_add_tail@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ipr_reset_ioa_job, .-ipr_reset_ioa_job
	.comm	IPR_RC_JOB_RETURN,8,8
	.comm	IPR_RC_JOB_CONTINUE,8,8
	.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_ipr.c_ipr_reset_ioa_job.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ipr_reset_ioa_job, %function
ipr_reset_ioa_job:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r8, .L11
	ldr	r5, [r0, #20]
	ldr	r7, .L11+4
	ldr	r6, .L11+8
	b	.L4
.L2:
	bl	IPR_IOASC_SENSE_KEY
	cmp	r0, #0
	beq	.L6
	ldr	r3, [r4]
	mov	r0, r4
	blx	r3
	ldr	r3, [r8]
	cmp	r3, r0
	popeq	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r0, r4
	bl	ipr_reinit_ipr_cmnd
	ldr	r3, [r4, #4]
	mov	r0, r4
	str	r7, [r4]
	blx	r3
	ldr	r3, [r6]
	cmp	r3, r0
	popne	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r0, [r4, #16]
	bl	be32_to_cpu
	ldr	r3, [r5]
	cmp	r3, r4
	beq	.L2
	ldr	r1, [r4, #8]
	add	r0, r4, #12
	pop	{r4, r5, r6, r7, r8, lr}
	b	list_add_tail
.L12:
	.align	2
.L11:
	.word	IPR_RC_JOB_RETURN
	.word	ipr_reset_cmd_failed
	.word	IPR_RC_JOB_CONTINUE
	.size	ipr_reset_ioa_job, .-ipr_reset_ioa_job
	.comm	IPR_RC_JOB_RETURN,4,4
	.comm	IPR_RC_JOB_CONTINUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
