	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_eee_config_ok
_bnxt_eee_config_ok:                    ## @bnxt_eee_config_ok
	.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	_BNXT_FLAG_EEE_CAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$1, %r14d
	testl	%eax, (%rdi)
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, 24(%rdi)
	je	LBB0_7
## %bb.2:
	movl	8(%rbx), %edi
	xorl	%esi, %esi
	callq	__bnxt_fw_to_ethtool_adv_spds
	movq	_BNXT_AUTONEG_SPEED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rbx)
	je	LBB0_3
## %bb.4:
	movl	%eax, %ecx
	notl	%ecx
	testl	%ecx, 16(%rbx)
	je	LBB0_7
## %bb.5:
	andl	20(%rbx), %eax
	movl	%eax, 16(%rbx)
	jmp	LBB0_6
LBB0_3:
	movq	$0, 24(%rbx)
LBB0_6:
	xorl	%r14d, %r14d
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_FLAG_EEE_CAP,4,2          ## @BNXT_FLAG_EEE_CAP
	.comm	_BNXT_AUTONEG_SPEED,4,2         ## @BNXT_AUTONEG_SPEED
	.no_dead_strip	_bnxt_eee_config_ok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_eee_config_ok
_bnxt_eee_config_ok:                    ; @bnxt_eee_config_ok
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _BNXT_FLAG_EEE_CAP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNXT_FLAG_EEE_CAP@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	w0, [x19, #8]
	mov	w1, #0
	bl	__bnxt_fw_to_ethtool_adv_spds
	ldr	w9, [x19, #4]
Lloh3:
	adrp	x10, _BNXT_AUTONEG_SPEED@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BNXT_AUTONEG_SPEED@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_7
; %bb.3:
	mov	x8, x0
	ldr	w9, [x19, #16]
	bics	wzr, w9, w0
	b.eq	LBB0_5
; %bb.4:
	mov	w0, #0
	ldr	w9, [x19, #20]
	and	w8, w9, w8
	str	w8, [x19, #16]
	b	LBB0_6
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	w0, #0
	str	xzr, [x19, #24]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BNXT_FLAG_EEE_CAP,4,2          ; @BNXT_FLAG_EEE_CAP
	.comm	_BNXT_AUTONEG_SPEED,4,2         ; @BNXT_AUTONEG_SPEED
	.no_dead_strip	_bnxt_eee_config_ok
.subsections_via_symbols
