	.file	"extr_ipmi_watchdog.c_set_param_wdog_ifnum.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	set_param_wdog_ifnum, @function
set_param_wdog_ifnum:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	call	param_set_int@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	rax, QWORD PTR ifnum_to_use[rip]
	test	rax, rax
	js	.L1
	mov	rdi, QWORD PTR watchdog_ifnum[rip]
	cmp	rax, rdi
	je	.L1
	call	ipmi_unregister_watchdog@PLT
	mov	rdi, QWORD PTR ifnum_to_use[rip]
	call	ipmi_register_watchdog@PLT
.L1:
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	set_param_wdog_ifnum, .-set_param_wdog_ifnum
	.comm	watchdog_ifnum,8,8
	.comm	ifnum_to_use,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_ipmi_watchdog.c_set_param_wdog_ifnum.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_param_wdog_ifnum, %function
set_param_wdog_ifnum:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	param_set_int
	subs	r4, r0, #0
	bne	.L1
	ldr	r5, .L5
	ldr	r3, [r5]
	cmp	r3, #0
	blt	.L1
	ldr	r2, .L5+4
	ldr	r0, [r2]
	cmp	r3, r0
	beq	.L1
	bl	ipmi_unregister_watchdog
	ldr	r0, [r5]
	bl	ipmi_register_watchdog
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L6:
	.align	2
.L5:
	.word	ifnum_to_use
	.word	watchdog_ifnum
	.size	set_param_wdog_ifnum, .-set_param_wdog_ifnum
	.comm	watchdog_ifnum,4,4
	.comm	ifnum_to_use,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
