	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_dcbx_copy_mib
_qed_dcbx_copy_mib:                     ## @qed_dcbx_copy_mib
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%ebx, %ebx
	movq	_QED_DCBX_REMOTE_LLDP_MIB@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%rax)
	sete	%bl
	shlq	$4, %rbx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14,%rbx), %rdx
	movl	8(%r14), %r8d
	movl	12(%r14), %ecx
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_qed_memcpy_from
	movq	(%r14,%rbx), %rax
	movq	(%rax), %r14
	movq	8(%rax), %r13
	incl	%r15d
	movq	_QED_MSG_DCB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, (%rsp)
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r8d
	movq	%r14, %r9
	callq	_DP_VERBOSE
	movq	_QED_DCBX_MAX_MIB_READ_TRY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpq	%r13, %r14
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%ecx, %r15d
	jl	LBB0_1
LBB0_3:
	xorl	%eax, %eax
	cmpl	%ecx, %r15d
	jl	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r15d, %ecx
	movq	%r14, %r8
	movq	%r13, %r9
	callq	_DP_ERR
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_DCBX_REMOTE_LLDP_MIB,4,2   ## @QED_DCBX_REMOTE_LLDP_MIB
	.comm	_QED_MSG_DCB,4,2                ## @QED_MSG_DCB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mib type = %d, try count = %d prefix seq num  = %d suffix seq num = %d\n"

	.comm	_QED_DCBX_MAX_MIB_READ_TRY,4,2  ## @QED_DCBX_MAX_MIB_READ_TRY
L_.str.1:                               ## @.str.1
	.asciz	"MIB read err, mib type = %d, try count = %d prefix seq num = %d suffix seq num = %d\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_qed_dcbx_copy_mib
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_dcbx_copy_mib
_qed_dcbx_copy_mib:                     ; @qed_dcbx_copy_mib
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x21, x0
	mov	w20, #0
Lloh0:
	adrp	x28, _QED_MSG_DCB@GOTPAGE
Lloh1:
	ldr	x28, [x28, _QED_MSG_DCB@GOTPAGEOFF]
Lloh2:
	adrp	x27, _QED_DCBX_MAX_MIB_READ_TRY@GOTPAGE
Lloh3:
	ldr	x27, [x27, _QED_DCBX_MAX_MIB_READ_TRY@GOTPAGEOFF]
Lloh4:
	adrp	x24, l_.str@PAGE
Lloh5:
	add	x24, x24, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
Lloh6:
	adrp	x8, _QED_DCBX_REMOTE_LLDP_MIB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QED_DCBX_REMOTE_LLDP_MIB@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w19
	cset	w8, eq
	lsl	x25, x8, #4
	ldr	x2, [x22, x25]
	ldp	w4, w3, [x22, #8]
	mov	x0, x21
	mov	x1, x23
	bl	_qed_memcpy_from
	ldr	x8, [x22, x25]
	ldp	x26, x25, [x8]
	add	w20, w20, #1
	ldr	w1, [x28]
	mov	x0, x21
	mov	x2, x24
	mov	x3, x19
	mov	x4, x20
	mov	x5, x26
	mov	x6, x25
	bl	_DP_VERBOSE
	ldr	w8, [x27]
	cmp	x26, x25
	ccmp	w20, w8, #0, ne
	b.lt	LBB0_1
; %bb.2:
	cmp	w20, w8
	b.ge	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	mov	x3, x20
	mov	x4, x26
	mov	x5, x25
	bl	_DP_ERR
Lloh11:
	adrp	x8, _EIO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_DCBX_REMOTE_LLDP_MIB,4,2   ; @QED_DCBX_REMOTE_LLDP_MIB
	.comm	_QED_MSG_DCB,4,2                ; @QED_MSG_DCB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mib type = %d, try count = %d prefix seq num  = %d suffix seq num = %d\n"

	.comm	_QED_DCBX_MAX_MIB_READ_TRY,4,2  ; @QED_DCBX_MAX_MIB_READ_TRY
l_.str.1:                               ; @.str.1
	.asciz	"MIB read err, mib type = %d, try count = %d prefix seq num = %d suffix seq num = %d\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_qed_dcbx_copy_mib
.subsections_via_symbols
