	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_fill_report_data
_bnx2x_fill_report_data:                ## @bnx2x_fill_report_data
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_bnx2x_get_mf_speed
	movl	%eax, %r15d
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	%r15d, 4(%r14)
	cmpl	$0, 20(%rbx)
	je	LBB0_2
## %bb.1:
	movq	_MF_FUNC_DIS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
LBB0_2:
	movq	_BNX2X_LINK_REPORT_LINK_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	___set_bit
LBB0_3:
	movq	8(%rbx), %rax
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_BNX2X_LINK_REPORT_FD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	___set_bit
LBB0_5:
	movl	16(%rbx), %eax
	movq	_BNX2X_FLOW_CTRL_RX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:
	movq	_BNX2X_LINK_REPORT_RX_FC_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	___set_bit
	movl	16(%rbx), %eax
LBB0_7:
	movq	_BNX2X_FLOW_CTRL_TX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.9:
	movq	_BNX2X_LINK_REPORT_TX_FC_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___set_bit                      ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MF_FUNC_DIS,4,2                ## @MF_FUNC_DIS
	.comm	_BNX2X_LINK_REPORT_LINK_DOWN,4,2 ## @BNX2X_LINK_REPORT_LINK_DOWN
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
	.comm	_BNX2X_LINK_REPORT_FD,4,2       ## @BNX2X_LINK_REPORT_FD
	.comm	_BNX2X_FLOW_CTRL_RX,4,2         ## @BNX2X_FLOW_CTRL_RX
	.comm	_BNX2X_LINK_REPORT_RX_FC_ON,4,2 ## @BNX2X_LINK_REPORT_RX_FC_ON
	.comm	_BNX2X_FLOW_CTRL_TX,4,2         ## @BNX2X_FLOW_CTRL_TX
	.comm	_BNX2X_LINK_REPORT_TX_FC_ON,4,2 ## @BNX2X_LINK_REPORT_TX_FC_ON
	.no_dead_strip	_bnx2x_fill_report_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_fill_report_data
_bnx2x_fill_report_data:                ; @bnx2x_fill_report_data
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_bnx2x_get_mf_speed
	mov	x21, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	str	w21, [x19, #4]
	ldr	w8, [x20, #20]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _MF_FUNC_DIS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MF_FUNC_DIS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _BNX2X_LINK_REPORT_LINK_DOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNX2X_LINK_REPORT_LINK_DOWN@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	___set_bit
LBB0_3:
	ldr	x8, [x20, #8]
Lloh6:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
Lloh9:
	adrp	x8, _BNX2X_LINK_REPORT_FD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BNX2X_LINK_REPORT_FD@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, x19
	bl	___set_bit
LBB0_5:
	ldr	w8, [x20, #16]
Lloh12:
	adrp	x9, _BNX2X_FLOW_CTRL_RX@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BNX2X_FLOW_CTRL_RX@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
Lloh15:
	adrp	x8, _BNX2X_LINK_REPORT_RX_FC_ON@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BNX2X_LINK_REPORT_RX_FC_ON@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x19
	bl	___set_bit
	ldr	w8, [x20, #16]
LBB0_7:
Lloh18:
	adrp	x9, _BNX2X_FLOW_CTRL_TX@GOTPAGE
Lloh19:
	ldr	x9, [x9, _BNX2X_FLOW_CTRL_TX@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
Lloh21:
	adrp	x8, _BNX2X_LINK_REPORT_TX_FC_ON@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BNX2X_LINK_REPORT_TX_FC_ON@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	___set_bit
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 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
	.cfi_endproc
                                        ; -- End function
	.comm	_MF_FUNC_DIS,4,2                ; @MF_FUNC_DIS
	.comm	_BNX2X_LINK_REPORT_LINK_DOWN,4,2 ; @BNX2X_LINK_REPORT_LINK_DOWN
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
	.comm	_BNX2X_LINK_REPORT_FD,4,2       ; @BNX2X_LINK_REPORT_FD
	.comm	_BNX2X_FLOW_CTRL_RX,4,2         ; @BNX2X_FLOW_CTRL_RX
	.comm	_BNX2X_LINK_REPORT_RX_FC_ON,4,2 ; @BNX2X_LINK_REPORT_RX_FC_ON
	.comm	_BNX2X_FLOW_CTRL_TX,4,2         ; @BNX2X_FLOW_CTRL_TX
	.comm	_BNX2X_LINK_REPORT_TX_FC_ON,4,2 ; @BNX2X_LINK_REPORT_TX_FC_ON
	.no_dead_strip	_bnx2x_fill_report_data
.subsections_via_symbols
