	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_83xx_init_rings
_qlcnic_83xx_init_rings:                ## @qlcnic_83xx_init_rings
	.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	%rdi, %rbx
	movq	_QLCNIC_DEF_SDS_RINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_QLCNIC_DEF_TX_RINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_QLCNIC_MAX_TX_RINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rdi)
	movq	_QLCNIC_MAX_SDS_RINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	movq	(%rdi), %rax
	cmpl	$0, (%rax)
	movq	_QLCNIC_SINGLE_RING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmovel	%eax, %r14d
	cmovel	%eax, %esi
	callq	_qlcnic_set_tx_ring_count
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_qlcnic_set_sds_ring_count      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QLCNIC_DEF_SDS_RINGS,4,2       ## @QLCNIC_DEF_SDS_RINGS
	.comm	_QLCNIC_DEF_TX_RINGS,4,2        ## @QLCNIC_DEF_TX_RINGS
	.comm	_QLCNIC_MAX_TX_RINGS,4,2        ## @QLCNIC_MAX_TX_RINGS
	.comm	_QLCNIC_MAX_SDS_RINGS,4,2       ## @QLCNIC_MAX_SDS_RINGS
	.comm	_QLCNIC_SINGLE_RING,4,2         ## @QLCNIC_SINGLE_RING
	.no_dead_strip	_qlcnic_83xx_init_rings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_83xx_init_rings
_qlcnic_83xx_init_rings:                ; @qlcnic_83xx_init_rings
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _QLCNIC_DEF_SDS_RINGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QLCNIC_DEF_SDS_RINGS@GOTPAGEOFF]
Lloh2:
	adrp	x9, _QLCNIC_DEF_TX_RINGS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _QLCNIC_DEF_TX_RINGS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _QLCNIC_MAX_TX_RINGS@GOTPAGE
Lloh7:
	ldr	x10, [x10, _QLCNIC_MAX_TX_RINGS@GOTPAGEOFF]
Lloh8:
	adrp	x11, _QLCNIC_MAX_SDS_RINGS@GOTPAGE
Lloh9:
	ldr	x11, [x11, _QLCNIC_MAX_SDS_RINGS@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
Lloh11:
	ldr	w11, [x11]
	stp	w11, w10, [x0, #8]
	ldr	x10, [x0]
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _QLCNIC_SINGLE_RING@GOTPAGE
Lloh13:
	ldr	x11, [x11, _QLCNIC_SINGLE_RING@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	cmp	w10, #0
	csel	w20, w11, w8, eq
	csel	w1, w11, w9, eq
	bl	_qlcnic_set_tx_ring_count
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qlcnic_set_sds_ring_count
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_QLCNIC_DEF_SDS_RINGS,4,2       ; @QLCNIC_DEF_SDS_RINGS
	.comm	_QLCNIC_DEF_TX_RINGS,4,2        ; @QLCNIC_DEF_TX_RINGS
	.comm	_QLCNIC_MAX_TX_RINGS,4,2        ; @QLCNIC_MAX_TX_RINGS
	.comm	_QLCNIC_MAX_SDS_RINGS,4,2       ; @QLCNIC_MAX_SDS_RINGS
	.comm	_QLCNIC_SINGLE_RING,4,2         ; @QLCNIC_SINGLE_RING
	.no_dead_strip	_qlcnic_83xx_init_rings
.subsections_via_symbols
