	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns3_change_all_ring_bd_num
_hns3_change_all_ring_bd_num:           ## @hns3_change_all_ring_bd_num
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	8(%rdi), %rax
	movq	%rsi, 16(%rax)
	movq	%rdx, 8(%rax)
	movl	(%rax), %r9d
	testl	%r9d, %r9d
	jle	LBB0_8
## %bb.1:
	movq	(%rdi), %r8
	leaq	-1(%r9), %rax
	movl	%r9d, %r10d
	andl	$3, %r10d
	cmpq	$3, %rax
	jae	LBB0_3
## %bb.2:
	xorl	%edi, %edi
	jmp	LBB0_5
LBB0_3:
	movl	%r9d, %r11d
	andl	$-4, %r11d
	leaq	24(%r8), %rax
	leaq	(%r8,%r9,8), %rcx
	addq	$24, %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-24(%rax,%rdi,8), %rbx
	movq	%rsi, (%rbx)
	movq	-24(%rcx,%rdi,8), %rbx
	movq	%rdx, (%rbx)
	movq	-16(%rax,%rdi,8), %rbx
	movq	%rsi, (%rbx)
	movq	-16(%rcx,%rdi,8), %rbx
	movq	%rdx, (%rbx)
	movq	-8(%rax,%rdi,8), %rbx
	movq	%rsi, (%rbx)
	movq	-8(%rcx,%rdi,8), %rbx
	movq	%rdx, (%rbx)
	movq	(%rax,%rdi,8), %rbx
	movq	%rsi, (%rbx)
	movq	(%rcx,%rdi,8), %rbx
	movq	%rdx, (%rbx)
	addq	$4, %rdi
	cmpq	%rdi, %r11
	jne	LBB0_4
LBB0_5:
	testq	%r10, %r10
	je	LBB0_8
## %bb.6:
	addq	%rdi, %r9
	leaq	(%r8,%r9,8), %rax
	leaq	(%r8,%rdi,8), %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdi,8), %rbx
	movq	%rsi, (%rbx)
	movq	(%rax,%rdi,8), %rbx
	movq	%rdx, (%rbx)
	incq	%rdi
	cmpq	%rdi, %r10
	jne	LBB0_7
LBB0_8:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hns3_change_all_ring_bd_num
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns3_change_all_ring_bd_num
_hns3_change_all_ring_bd_num:           ; @hns3_change_all_ring_bd_num
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	stp	x2, x1, [x8, #8]
	ldr	w10, [x8]
	cmp	w10, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
	ldr	x9, [x0]
	lsl	x10, x10, #3
	add	x11, x9, x10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9, x8]
	str	x1, [x12]
	ldr	x12, [x11, x8]
	str	x2, [x12]
	add	x8, x8, #8
	cmp	x10, x8
	b.ne	LBB0_2
LBB0_3:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hns3_change_all_ring_bd_num
.subsections_via_symbols
