	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_8073_set_pause_cl37
_bnx2x_8073_set_pause_cl37:             ## @bnx2x_8073_set_pause_cl37
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	movq	_MDIO_AN_DEVAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_AN_REG_CL37_FC_LD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-44(%rbp), %r8
	movq	%r14, %rdi
	callq	_bnx2x_cl45_read
	movq	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_BOTH@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	notl	%eax
	andl	%eax, -44(%rbp)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_bnx2x_calc_ieee_aneg_adv
	movl	(%r12), %eax
	movq	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_SYMMETRIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%eax
	testl	%eax, %ecx
	jne	LBB0_2
## %bb.1:
	orl	%ecx, -44(%rbp)
LBB0_2:
	movq	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_ASYMMETRIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	jne	LBB0_4
## %bb.3:
	orl	%ecx, -44(%rbp)
LBB0_4:
	movl	(%r13), %ecx
	movl	-44(%rbp), %edx
	testl	%eax, %ecx
	jne	LBB0_6
## %bb.5:
	orl	%ecx, %edx
	movl	%edx, -44(%rbp)
LBB0_6:
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movq	_MDIO_AN_DEVAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_AN_REG_CL37_FC_LD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	-44(%rbp), %r8d
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_bnx2x_cl45_write
	movl	$500, %edi                      ## imm = 0x1F4
	callq	_msleep
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_AN_DEVAD,4,2              ## @MDIO_AN_DEVAD
	.comm	_MDIO_AN_REG_CL37_FC_LD,4,2     ## @MDIO_AN_REG_CL37_FC_LD
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_BOTH,4,2 ## @MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_BOTH
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_SYMMETRIC,4,2 ## @MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_SYMMETRIC
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_ASYMMETRIC,4,2 ## @MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_ASYMMETRIC
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ext phy AN advertize cl37 0x%x\n"

	.no_dead_strip	_bnx2x_8073_set_pause_cl37
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_8073_set_pause_cl37
_bnx2x_8073_set_pause_cl37:             ; @bnx2x_8073_set_pause_cl37
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x23, _MDIO_AN_DEVAD@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MDIO_AN_DEVAD@GOTPAGEOFF]
	ldr	w2, [x23]
Lloh2:
	adrp	x24, _MDIO_AN_REG_CL37_FC_LD@GOTPAGE
Lloh3:
	ldr	x24, [x24, _MDIO_AN_REG_CL37_FC_LD@GOTPAGEOFF]
	ldr	w3, [x24]
	add	x4, sp, #12
	mov	x0, x20
	bl	_bnx2x_cl45_read
Lloh4:
	adrp	x25, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_BOTH@GOTPAGE
Lloh5:
	ldr	x25, [x25, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_BOTH@GOTPAGEOFF]
	ldr	w8, [x25]
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
	str	w8, [sp, #12]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_bnx2x_calc_ieee_aneg_adv
	ldr	w8, [x21]
Lloh6:
	adrp	x9, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_SYMMETRIC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_SYMMETRIC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	bics	wzr, w9, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	w10, [sp, #12]
	orr	w9, w10, w9
	str	w9, [sp, #12]
LBB0_2:
Lloh9:
	adrp	x9, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_ASYMMETRIC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_ASYMMETRIC@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	bics	wzr, w9, w8
	b.ne	LBB0_4
; %bb.3:
	ldr	w10, [sp, #12]
	orr	w9, w10, w9
	str	w9, [sp, #12]
LBB0_4:
	ldr	w9, [x25]
	ldr	w2, [sp, #12]
	bics	wzr, w9, w8
	b.ne	LBB0_6
; %bb.5:
	orr	w2, w2, w9
	str	w2, [sp, #12]
LBB0_6:
Lloh12:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	ldr	w2, [x23]
	ldr	w3, [x24]
	ldr	w4, [sp, #12]
	mov	x0, x20
	mov	x1, x19
	bl	_bnx2x_cl45_write
	mov	w0, #500
	bl	_msleep
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIO_AN_DEVAD,4,2              ; @MDIO_AN_DEVAD
	.comm	_MDIO_AN_REG_CL37_FC_LD,4,2     ; @MDIO_AN_REG_CL37_FC_LD
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_BOTH,4,2 ; @MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_BOTH
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_SYMMETRIC,4,2 ; @MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_SYMMETRIC
	.comm	_MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_ASYMMETRIC,4,2 ; @MDIO_COMBO_IEEE0_AUTO_NEG_ADV_PAUSE_ASYMMETRIC
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ext phy AN advertize cl37 0x%x\n"

	.no_dead_strip	_bnx2x_8073_set_pause_cl37
.subsections_via_symbols
