	.file	"extr_bnxt_hwrm.c_bnxt_hwrm_set_pause_common.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bnxt_hwrm_set_pause_common, @function
bnxt_hwrm_set_pause_common:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	cmp	QWORD PTR 16[rdi], 0
	mov	rbx, rsi
	mov	rax, QWORD PTR 8[rdi]
	je	.L2
	mov	edx, DWORD PTR HWRM_PORT_PHY_CFG_INPUT_AUTO_PAUSE_AUTONEG_PAUSE[rip]
	mov	DWORD PTR 8[rsi], edx
	test	rax, rax
	je	.L3
	or	edx, DWORD PTR HWRM_PORT_PHY_CFG_INPUT_AUTO_PAUSE_RX[rip]
	mov	DWORD PTR 8[rsi], edx
.L3:
	cmp	QWORD PTR [rdi], 0
	je	.L4
	mov	eax, DWORD PTR HWRM_PORT_PHY_CFG_INPUT_AUTO_PAUSE_TX[rip]
	or	DWORD PTR 8[rbx], eax
.L4:
	mov	edi, DWORD PTR HWRM_PORT_PHY_CFG_INPUT_ENABLES_AUTO_PAUSE[rip]
	call	htole32@PLT
	or	DWORD PTR [rbx], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	test	rax, rax
	je	.L6
	mov	eax, DWORD PTR HWRM_PORT_PHY_CFG_INPUT_FORCE_PAUSE_RX[rip]
	or	DWORD PTR 4[rsi], eax
.L6:
	cmp	QWORD PTR [rdi], 0
	je	.L7
	mov	eax, DWORD PTR HWRM_PORT_PHY_CFG_INPUT_FORCE_PAUSE_TX[rip]
	or	DWORD PTR 4[rbx], eax
.L7:
	mov	edi, DWORD PTR HWRM_PORT_PHY_CFG_INPUT_ENABLES_FORCE_PAUSE[rip]
	call	htole32@PLT
	or	DWORD PTR [rbx], eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	bnxt_hwrm_set_pause_common, .-bnxt_hwrm_set_pause_common
	.comm	HWRM_PORT_PHY_CFG_INPUT_FORCE_PAUSE_TX,4,4
	.comm	HWRM_PORT_PHY_CFG_INPUT_FORCE_PAUSE_RX,4,4
	.comm	HWRM_PORT_PHY_CFG_INPUT_ENABLES_FORCE_PAUSE,4,4
	.comm	HWRM_PORT_PHY_CFG_INPUT_ENABLES_AUTO_PAUSE,4,4
	.comm	HWRM_PORT_PHY_CFG_INPUT_AUTO_PAUSE_TX,4,4
	.comm	HWRM_PORT_PHY_CFG_INPUT_AUTO_PAUSE_RX,4,4
	.comm	HWRM_PORT_PHY_CFG_INPUT_AUTO_PAUSE_AUTONEG_PAUSE,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_bnxt_hwrm.c_bnxt_hwrm_set_pause_common.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnxt_hwrm_set_pause_common, %function
bnxt_hwrm_set_pause_common:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #8]
	push	{r4, lr}
	cmp	r3, #0
	mov	r4, r1
	ldr	r3, [r0, #4]
	beq	.L2
	ldr	r2, .L23
	cmp	r3, #0
	ldr	r3, [r2]
	ldrne	r2, .L23+4
	str	r3, [r1, #8]
	ldrne	r2, [r2]
	orrne	r3, r2, r3
	strne	r3, [r1, #8]
	ldr	r3, [r0]
	cmp	r3, #0
	ldrne	r2, .L23+8
	ldrne	r3, [r1, #8]
	ldrne	r2, [r2]
	orrne	r3, r3, r2
	strne	r3, [r1, #8]
	ldr	r3, .L23+12
.L21:
	ldr	r0, [r3]
	bl	htole32
	ldr	r3, [r4]
	orr	r3, r3, r0
	str	r3, [r4]
	pop	{r4, pc}
.L2:
	cmp	r3, #0
	ldrne	r2, .L23+16
	ldrne	r3, [r1, #4]
	ldrne	r2, [r2]
	orrne	r3, r3, r2
	strne	r3, [r1, #4]
	ldr	r3, [r0]
	cmp	r3, #0
	ldrne	r2, .L23+20
	ldrne	r3, [r1, #4]
	ldrne	r2, [r2]
	orrne	r3, r3, r2
	strne	r3, [r1, #4]
	ldr	r3, .L23+24
	b	.L21
.L24:
	.align	2
.L23:
	.word	HWRM_PORT_PHY_CFG_INPUT_AUTO_PAUSE_AUTONEG_PAUSE
	.word	HWRM_PORT_PHY_CFG_INPUT_AUTO_PAUSE_RX
	.word	HWRM_PORT_PHY_CFG_INPUT_AUTO_PAUSE_TX
	.word	HWRM_PORT_PHY_CFG_INPUT_ENABLES_AUTO_PAUSE
	.word	HWRM_PORT_PHY_CFG_INPUT_FORCE_PAUSE_RX
	.word	HWRM_PORT_PHY_CFG_INPUT_FORCE_PAUSE_TX
	.word	HWRM_PORT_PHY_CFG_INPUT_ENABLES_FORCE_PAUSE
	.size	bnxt_hwrm_set_pause_common, .-bnxt_hwrm_set_pause_common
	.comm	HWRM_PORT_PHY_CFG_INPUT_FORCE_PAUSE_TX,4,4
	.comm	HWRM_PORT_PHY_CFG_INPUT_FORCE_PAUSE_RX,4,4
	.comm	HWRM_PORT_PHY_CFG_INPUT_ENABLES_FORCE_PAUSE,4,4
	.comm	HWRM_PORT_PHY_CFG_INPUT_ENABLES_AUTO_PAUSE,4,4
	.comm	HWRM_PORT_PHY_CFG_INPUT_AUTO_PAUSE_TX,4,4
	.comm	HWRM_PORT_PHY_CFG_INPUT_AUTO_PAUSE_RX,4,4
	.comm	HWRM_PORT_PHY_CFG_INPUT_AUTO_PAUSE_AUTONEG_PAUSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
