	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_reset_npar_config       ## -- Begin function qlcnic_reset_npar_config
	.p2align	4, 0x90
_qlcnic_reset_npar_config:              ## @qlcnic_reset_npar_config
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	callq	_qlcnic_82xx_check
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpl	$0, 16(%r15)
	je	LBB0_12
LBB0_2:
	movq	8(%r15), %rax
	cmpl	$0, (%rax)
	jle	LBB0_12
## %bb.3:
	xorl	%r14d, %r14d
	leaq	-56(%rbp), %rdi
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	(%rax), %rcx
	addq	$32, %r14
	cmpq	%rcx, %rbx
	jge	LBB0_12
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %r13
	cmpl	$0, 24(%r13,%r14)
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	28(%r13,%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_qlcnic_get_nic_info
	testl	%eax, %eax
	jne	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	20(%r13,%r14), %eax
	movl	%eax, -52(%rbp)
	movl	16(%r13,%r14), %eax
	movl	%eax, -56(%rbp)
	movq	%r15, %rbx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_qlcnic_set_nic_info
	testl	%eax, %eax
	jne	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 8(%r13,%r14)
	movq	%rbx, %r15
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r13,%r14), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	movl	%ebx, %ecx
	callq	_qlcnic_config_port_mirroring
	testl	%eax, %eax
	jne	LBB0_13
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	%r14, %r13
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_qlcnic_reset_eswitch_config
	testl	%eax, %eax
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%r15), %rax
	leaq	-56(%rbp), %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_reset_npar_config       ; -- Begin function qlcnic_reset_npar_config
	.p2align	2
_qlcnic_reset_npar_config:              ; @qlcnic_reset_npar_config
	.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	x19, x0
	bl	_qlcnic_82xx_check
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_12
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.3:
	mov	x22, #0
	mov	x23, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	ldrsw	x9, [x8]
	add	x22, x22, #32
	cmp	x23, x9
	b.ge	LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x19]
	add	x20, x24, x22
	ldr	w9, [x20, #24]
	cbz	w9, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w21, [x20, #28]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x21
	bl	_qlcnic_get_nic_info
	cbnz	w0, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x24, x22
	ldr	d0, [x25, #16]
	str	d0, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_qlcnic_set_nic_info
	cbnz	w0, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x24, x22]
	mov	x0, x19
	mov	w2, #1
	mov	x3, x21
	bl	_qlcnic_config_port_mirroring
	cbnz	w0, LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_qlcnic_reset_eswitch_config
	cbnz	w0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #8]
	b	LBB0_4
LBB0_12:
	mov	w0, #0
LBB0_13:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
