	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_hwrm_set_pause_common
_bnxt_hwrm_set_pause_common:            ## @bnxt_hwrm_set_pause_common
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_BNXT_AUTONEG_FLOW_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rdi)
	je	LBB0_7
## %bb.1:
	cmpl	$66049, (%rbx)                  ## imm = 0x10201
	jl	LBB0_3
## %bb.2:
	movq	_PORT_PHY_CFG_REQ_AUTO_PAUSE_AUTONEG_PAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
LBB0_3:
	movl	8(%rbx), %eax
	movq	_BNXT_LINK_PAUSE_RX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_PORT_PHY_CFG_REQ_AUTO_PAUSE_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 8(%r14)
LBB0_5:
	movq	_BNXT_LINK_PAUSE_TX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.6:
	movq	_PORT_PHY_CFG_REQ_AUTO_PAUSE_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
	jmp	LBB0_13
LBB0_7:
	movl	8(%rbx), %eax
	movq	_BNXT_LINK_PAUSE_RX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	_PORT_PHY_CFG_REQ_FORCE_PAUSE_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 4(%r14)
LBB0_9:
	movq	_BNXT_LINK_PAUSE_TX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:
	movq	_PORT_PHY_CFG_REQ_FORCE_PAUSE_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r14)
LBB0_11:
	movq	_PORT_PHY_CFG_REQ_ENABLES_FORCE_PAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	orl	%eax, (%r14)
	cmpl	$66049, (%rbx)                  ## imm = 0x10201
	jl	LBB0_14
## %bb.12:
	movl	4(%r14), %eax
	movl	%eax, 8(%r14)
LBB0_13:
	movq	_PORT_PHY_CFG_REQ_ENABLES_AUTO_PAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	orl	%eax, (%r14)
LBB0_14:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_AUTONEG_FLOW_CTRL,4,2     ## @BNXT_AUTONEG_FLOW_CTRL
	.comm	_PORT_PHY_CFG_REQ_AUTO_PAUSE_AUTONEG_PAUSE,4,2 ## @PORT_PHY_CFG_REQ_AUTO_PAUSE_AUTONEG_PAUSE
	.comm	_BNXT_LINK_PAUSE_RX,4,2         ## @BNXT_LINK_PAUSE_RX
	.comm	_PORT_PHY_CFG_REQ_AUTO_PAUSE_RX,4,2 ## @PORT_PHY_CFG_REQ_AUTO_PAUSE_RX
	.comm	_BNXT_LINK_PAUSE_TX,4,2         ## @BNXT_LINK_PAUSE_TX
	.comm	_PORT_PHY_CFG_REQ_AUTO_PAUSE_TX,4,2 ## @PORT_PHY_CFG_REQ_AUTO_PAUSE_TX
	.comm	_PORT_PHY_CFG_REQ_ENABLES_AUTO_PAUSE,4,2 ## @PORT_PHY_CFG_REQ_ENABLES_AUTO_PAUSE
	.comm	_PORT_PHY_CFG_REQ_FORCE_PAUSE_RX,4,2 ## @PORT_PHY_CFG_REQ_FORCE_PAUSE_RX
	.comm	_PORT_PHY_CFG_REQ_FORCE_PAUSE_TX,4,2 ## @PORT_PHY_CFG_REQ_FORCE_PAUSE_TX
	.comm	_PORT_PHY_CFG_REQ_ENABLES_FORCE_PAUSE,4,2 ## @PORT_PHY_CFG_REQ_ENABLES_FORCE_PAUSE
	.no_dead_strip	_bnxt_hwrm_set_pause_common
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_hwrm_set_pause_common
_bnxt_hwrm_set_pause_common:            ; @bnxt_hwrm_set_pause_common
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0, #4]
Lloh0:
	adrp	x9, _BNXT_AUTONEG_FLOW_CTRL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNXT_AUTONEG_FLOW_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.1:
	ldr	w8, [x20]
	mov	w9, #512
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.le	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _PORT_PHY_CFG_REQ_AUTO_PAUSE_AUTONEG_PAUSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PORT_PHY_CFG_REQ_AUTO_PAUSE_AUTONEG_PAUSE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_3:
	ldr	w8, [x20, #8]
Lloh6:
	adrp	x9, _BNXT_LINK_PAUSE_RX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BNXT_LINK_PAUSE_RX@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh9:
	adrp	x9, _PORT_PHY_CFG_REQ_AUTO_PAUSE_RX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PORT_PHY_CFG_REQ_AUTO_PAUSE_RX@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ldr	w10, [x19, #8]
	orr	w9, w10, w9
	str	w9, [x19, #8]
LBB0_5:
Lloh12:
	adrp	x9, _BNXT_LINK_PAUSE_TX@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BNXT_LINK_PAUSE_TX@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.6:
Lloh15:
	adrp	x8, _PORT_PHY_CFG_REQ_AUTO_PAUSE_TX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PORT_PHY_CFG_REQ_AUTO_PAUSE_TX@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	b	LBB0_13
LBB0_7:
	ldr	w8, [x20, #8]
Lloh18:
	adrp	x9, _BNXT_LINK_PAUSE_RX@GOTPAGE
Lloh19:
	ldr	x9, [x9, _BNXT_LINK_PAUSE_RX@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
Lloh21:
	adrp	x9, _PORT_PHY_CFG_REQ_FORCE_PAUSE_RX@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PORT_PHY_CFG_REQ_FORCE_PAUSE_RX@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	ldr	w10, [x19, #4]
	orr	w9, w10, w9
	str	w9, [x19, #4]
LBB0_9:
Lloh24:
	adrp	x9, _BNXT_LINK_PAUSE_TX@GOTPAGE
Lloh25:
	ldr	x9, [x9, _BNXT_LINK_PAUSE_TX@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
Lloh27:
	adrp	x8, _PORT_PHY_CFG_REQ_FORCE_PAUSE_TX@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PORT_PHY_CFG_REQ_FORCE_PAUSE_TX@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	orr	w8, w9, w8
	str	w8, [x19, #4]
LBB0_11:
Lloh30:
	adrp	x8, _PORT_PHY_CFG_REQ_ENABLES_FORCE_PAUSE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PORT_PHY_CFG_REQ_ENABLES_FORCE_PAUSE@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
	ldr	w8, [x20]
	mov	w9, #512
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.le	LBB0_15
; %bb.12:
	ldr	w8, [x19, #4]
LBB0_13:
	str	w8, [x19, #8]
LBB0_14:
Lloh33:
	adrp	x8, _PORT_PHY_CFG_REQ_ENABLES_AUTO_PAUSE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PORT_PHY_CFG_REQ_ENABLES_AUTO_PAUSE@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	w8, [x19]
	orr	w8, w8, w0
	str	w8, [x19]
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_BNXT_AUTONEG_FLOW_CTRL,4,2     ; @BNXT_AUTONEG_FLOW_CTRL
	.comm	_PORT_PHY_CFG_REQ_AUTO_PAUSE_AUTONEG_PAUSE,4,2 ; @PORT_PHY_CFG_REQ_AUTO_PAUSE_AUTONEG_PAUSE
	.comm	_BNXT_LINK_PAUSE_RX,4,2         ; @BNXT_LINK_PAUSE_RX
	.comm	_PORT_PHY_CFG_REQ_AUTO_PAUSE_RX,4,2 ; @PORT_PHY_CFG_REQ_AUTO_PAUSE_RX
	.comm	_BNXT_LINK_PAUSE_TX,4,2         ; @BNXT_LINK_PAUSE_TX
	.comm	_PORT_PHY_CFG_REQ_AUTO_PAUSE_TX,4,2 ; @PORT_PHY_CFG_REQ_AUTO_PAUSE_TX
	.comm	_PORT_PHY_CFG_REQ_ENABLES_AUTO_PAUSE,4,2 ; @PORT_PHY_CFG_REQ_ENABLES_AUTO_PAUSE
	.comm	_PORT_PHY_CFG_REQ_FORCE_PAUSE_RX,4,2 ; @PORT_PHY_CFG_REQ_FORCE_PAUSE_RX
	.comm	_PORT_PHY_CFG_REQ_FORCE_PAUSE_TX,4,2 ; @PORT_PHY_CFG_REQ_FORCE_PAUSE_TX
	.comm	_PORT_PHY_CFG_REQ_ENABLES_FORCE_PAUSE,4,2 ; @PORT_PHY_CFG_REQ_ENABLES_FORCE_PAUSE
	.no_dead_strip	_bnxt_hwrm_set_pause_common
.subsections_via_symbols
