	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lio_nic_info
_lio_nic_info:                          ## @lio_nic_info
	.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	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r14
	movq	(%r14), %rax
	movq	(%rax), %rdx
	movq	_OCT_DROQ_INFO_SIZE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	addq	$4, %rax
	cmpq	%rax, %rdx
	jne	LBB0_1
## %bb.2:
	movl	24(%r14), %r13d
	movq	16(%r14), %rax
	movl	(%rax), %edi
	callq	_get_rbd
	movq	%rax, %r15
	addq	(%rbx), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_octeon_swap_8B_data
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.3:
	movq	8(%r12), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r13d, (%rcx,%rdx,8)
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_4
	jmp	LBB0_7
LBB0_1:
	movq	16(%r12), %rdi
	movl	24(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_7:
	cmpl	$0, 8(%r14)
	jle	LBB0_10
LBB0_8:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_recv_buffer_free
	incq	%rbx
	movslq	8(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_9
LBB0_10:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_octeon_free_recv_info
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	4(%rcx,%rdx,8), %edi
	movq	%r15, %rsi
	callq	_update_link_status
	cmpl	$0, 8(%r14)
	jg	LBB0_8
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_OCT_DROQ_INFO_SIZE,8,3         ## @OCT_DROQ_INFO_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Malformed NIC_INFO, len=%d, ifidx=%d\n"

	.no_dead_strip	_lio_nic_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lio_nic_info
_lio_nic_info:                          ; @lio_nic_info
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x22, [x0]
	ldr	x8, [x22]
	ldr	x2, [x8]
Lloh0:
	adrp	x20, _OCT_DROQ_INFO_SIZE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _OCT_DROQ_INFO_SIZE@GOTPAGEOFF]
	ldr	x8, [x20]
	add	x8, x8, #4
	cmp	x2, x8
	b.ne	LBB0_5
; %bb.1:
	ldr	w23, [x22, #24]
	ldr	x8, [x22, #16]
	ldr	w0, [x8]
	bl	_get_rbd
	ldr	x8, [x20]
	add	x20, x8, x0
	mov	x0, x20
	mov	w1, #0
	bl	_octeon_swap_8B_data
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	ldr	x9, [x21, #8]
	add	x9, x9, #4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x9, #-4]
	cmp	w10, w23
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_3
	b	LBB0_7
LBB0_5:
	ldr	x0, [x21, #16]
	ldr	w3, [x22, #24]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	b	LBB0_7
LBB0_6:
	ldr	w0, [x9]
	mov	x1, x20
	bl	_update_link_status
LBB0_7:
	ldr	w8, [x22, #8]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.8:
	mov	x20, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #16]
	ldr	w0, [x8, x20, lsl #2]
	bl	_recv_buffer_free
	add	x20, x20, #1
	ldrsw	x8, [x22, #8]
	cmp	x20, x8
	b.lt	LBB0_9
LBB0_10:
	mov	x0, x19
	bl	_octeon_free_recv_info
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_OCT_DROQ_INFO_SIZE,8,3         ; @OCT_DROQ_INFO_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Malformed NIC_INFO, len=%d, ifidx=%d\n"

	.no_dead_strip	_lio_nic_info
.subsections_via_symbols
