	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_init_ring_struct
_bnxt_init_ring_struct:                 ## @bnxt_init_ring_struct
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %r14d
	testl	%r14d, %r14d
	jle	LBB0_8
## %bb.1:
	movq	24(%rdi), %r15
	movq	_HW_CMPD_RING_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	movq	_HW_RXBD_RING_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movq	_SW_RXBD_RING_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_SW_RXBD_AGG_RING_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_SW_TXBD_RING_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	xorl	%edx, %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	cmpq	%rdx, %r14
	je	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rdx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rdi), %eax
	movl	%eax, 32(%rbx)
	movq	%r11, 72(%rbx)
	movq	24(%rbx), %rax
	movq	%rax, 40(%rbx)
	movl	16(%rbx), %eax
	movl	%eax, 64(%rbx)
	movl	$0, 48(%rbx)
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rdi), %ecx
	movl	%ecx, 80(%rax)
	movq	%r12, 120(%rax)
	movq	72(%rax), %rsi
	movq	%rsi, 88(%rax)
	movl	68(%rax), %esi
	movl	%esi, 112(%rax)
	imull	%r8d, %ecx
	movl	%ecx, 96(%rax)
	leaq	64(%rax), %rcx
	movq	%rcx, 104(%rax)
	movl	12(%rdi), %ecx
	movl	%ecx, 16(%rax)
	movq	%r12, 56(%rax)
	movq	8(%rax), %rsi
	movq	%rsi, 24(%rax)
	movl	4(%rax), %esi
	movl	%esi, 48(%rax)
	imull	%r9d, %ecx
	movl	%ecx, 32(%rax)
	movq	%rax, 40(%rax)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%rdi), %ecx
	movl	%ecx, 16(%rax)
	movq	%r12, 56(%rax)
	movq	8(%rax), %rsi
	movq	%rsi, 24(%rax)
	movl	4(%rax), %esi
	movl	%esi, 48(%rax)
	imull	%r10d, %ecx
	movl	%ecx, 32(%rax)
	movq	%rax, 40(%rax)
	jmp	LBB0_7
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HW_CMPD_RING_SIZE,8,3          ## @HW_CMPD_RING_SIZE
	.comm	_HW_RXBD_RING_SIZE,8,3          ## @HW_RXBD_RING_SIZE
	.comm	_SW_RXBD_RING_SIZE,4,2          ## @SW_RXBD_RING_SIZE
	.comm	_SW_RXBD_AGG_RING_SIZE,4,2      ## @SW_RXBD_AGG_RING_SIZE
	.comm	_SW_TXBD_RING_SIZE,4,2          ## @SW_TXBD_RING_SIZE
	.no_dead_strip	_bnxt_init_ring_struct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_init_ring_struct
_bnxt_init_ring_struct:                 ; @bnxt_init_ring_struct
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	ldr	x9, [x0, #24]
Lloh0:
	adrp	x10, _HW_CMPD_RING_SIZE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _HW_CMPD_RING_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _HW_RXBD_RING_SIZE@GOTPAGE
Lloh4:
	ldr	x11, [x11, _HW_RXBD_RING_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
Lloh6:
	adrp	x12, _SW_RXBD_RING_SIZE@GOTPAGE
Lloh7:
	ldr	x12, [x12, _SW_RXBD_RING_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w12, [x12]
Lloh9:
	adrp	x13, _SW_RXBD_AGG_RING_SIZE@GOTPAGE
Lloh10:
	ldr	x13, [x13, _SW_RXBD_AGG_RING_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w13, [x13]
Lloh12:
	adrp	x14, _SW_TXBD_RING_SIZE@GOTPAGE
Lloh13:
	ldr	x14, [x14, _SW_TXBD_RING_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w14, [x14]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x15, [x9]
	cbz	x15, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w16, [x0, #4]
	str	w16, [x15, #32]
	str	x10, [x15, #72]
	ldr	x16, [x15, #24]
	str	x16, [x15, #40]
	ldr	w16, [x15, #16]
	str	w16, [x15, #64]
	str	wzr, [x15, #48]
	ldr	x16, [x15, #8]
	cbz	x16, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x17, [x16, #72]
	str	x17, [x16, #88]
	ldr	w17, [x16, #68]
	str	w17, [x16, #112]
	ldp	w17, w1, [x0, #8]
	str	w17, [x16, #80]
	str	x11, [x16, #120]
	mul	w17, w12, w17
	str	w17, [x16, #96]
	add	x17, x16, #64
	str	x17, [x16, #104]
	str	w1, [x16, #16]
	str	x11, [x16, #56]
	ldr	x17, [x16, #8]
	str	x17, [x16, #24]
	ldr	w17, [x16, #4]
	str	w17, [x16, #48]
	mul	w17, w13, w1
	str	w17, [x16, #32]
	str	x16, [x16, #40]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x15, [x15]
	cbz	x15, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w16, [x0, #16]
	str	w16, [x15, #16]
	str	x11, [x15, #56]
	ldr	x17, [x15, #8]
	str	x17, [x15, #24]
	ldr	w17, [x15, #4]
	str	w17, [x15, #48]
	mul	w16, w14, w16
	str	w16, [x15, #32]
	str	x15, [x15, #40]
	b	LBB0_2
LBB0_8:
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HW_CMPD_RING_SIZE,8,3          ; @HW_CMPD_RING_SIZE
	.comm	_HW_RXBD_RING_SIZE,8,3          ; @HW_RXBD_RING_SIZE
	.comm	_SW_RXBD_RING_SIZE,4,2          ; @SW_RXBD_RING_SIZE
	.comm	_SW_RXBD_AGG_RING_SIZE,4,2      ; @SW_RXBD_AGG_RING_SIZE
	.comm	_SW_TXBD_RING_SIZE,4,2          ; @SW_TXBD_RING_SIZE
	.no_dead_strip	_bnxt_init_ring_struct
.subsections_via_symbols
