	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_nic_rx_poll_one
_hns_nic_rx_poll_one:                   ## @hns_nic_rx_poll_one
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_hns_desc_unused
	movl	%eax, %r14d
	movq	_RCB_REG_FBDNUM@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	addq	(%rbx), %rdi
	callq	_readl_relaxed
	movl	%eax, %r12d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rmb
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	testl	%r15d, %r15d
	jle	LBB0_11
## %bb.1:
	subl	%r14d, %r12d
	testl	%r12d, %r12d
	jle	LBB0_11
## %bb.2:
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	leal	(%r14,%r12), %esi
	cmpl	$16, %esi
	jl	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_hns_nic_alloc_rx_buffers
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_hns_desc_unused
	movl	%eax, %r14d
	xorl	%r12d, %r12d
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rbx
	movq	%r13, %rdi
	leaq	-72(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_hns_nic_poll_rx_skb
	movl	%eax, %r13d
	xorl	%edi, %edi
	cmpq	$0, -72(%rbp)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	-56(%rbp), %r14d
	movl	%r13d, %edi
	callq	_unlikely
	testq	%rax, %rax
	movq	%rbx, %r13
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rsi
	movq	%r13, %rdi
	callq	*-80(%rbp)                      ## 8-byte Folded Reload
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	%r14d, %r12d
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	incl	%ebx
	cmpl	-52(%rbp), %ebx                 ## 4-byte Folded Reload
	jge	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	addl	%r14d, %r15d
	cmpl	-48(%rbp), %r15d                ## 4-byte Folded Reload
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jl	LBB0_3
	jmp	LBB0_13
LBB0_11:
	xorl	%r12d, %r12d
	addl	%r14d, %r12d
	jg	LBB0_14
	jmp	LBB0_15
LBB0_12:
	movq	%rbx, %r13
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_13:
	addl	%r14d, %r12d
	jle	LBB0_15
LBB0_14:
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_hns_nic_alloc_rx_buffers
LBB0_15:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	addl	%r14d, %r12d
	jg	LBB0_14
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_RCB_REG_FBDNUM,8,3             ## @RCB_REG_FBDNUM
	.comm	_RCB_NOF_ALLOC_RX_BUFF_ONCE,4,2 ## @RCB_NOF_ALLOC_RX_BUFF_ONCE
	.no_dead_strip	_hns_nic_rx_poll_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_nic_rx_poll_one
_hns_nic_rx_poll_one:                   ; @hns_nic_rx_poll_one
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	mov	x23, x1
	mov	x19, x0
	ldr	x24, [x0]
	mov	x0, x24
	bl	_hns_desc_unused
	mov	x20, x0
	ldr	x8, [x24]
Lloh0:
	adrp	x9, _RCB_REG_FBDNUM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RCB_REG_FBDNUM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl_relaxed
	mov	x25, x0
	bl	_rmb
	mov	w21, #0
	cmp	w23, #1
	b.lt	LBB0_10
; %bb.1:
	sub	w26, w25, w20
	cmp	w26, #1
	b.lt	LBB0_10
; %bb.2:
	mov	w27, #0
	mov	w28, #0
	mov	w21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w1, w20, w27
	cmp	w1, #16
	b.lt	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_hns_nic_alloc_rx_buffers
	mov	x0, x24
	bl	_hns_desc_unused
	mov	x20, x0
	mov	w27, #0
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #24
	add	x2, sp, #20
	mov	x0, x19
	bl	_hns_nic_poll_rx_skb
	mov	x25, x0
	ldr	x8, [sp, #24]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w22, [sp, #20]
	mov	x0, x25
	bl	_unlikely
	cbnz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp, #24]
	mov	x0, x19
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	blr	x8
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w27, w22, w27
	add	w21, w21, #1
	cmp	w21, w23
	b.ge	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w28, w22, w28
	cmp	w28, w26
	b.lt	LBB0_3
	b	LBB0_11
LBB0_10:
	mov	x27, x21
LBB0_11:
	add	w1, w20, w27
	cmp	w1, #1
	b.lt	LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_hns_nic_alloc_rx_buffers
LBB0_13:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RCB_REG_FBDNUM,8,3             ; @RCB_REG_FBDNUM
	.comm	_RCB_NOF_ALLOC_RX_BUFF_ONCE,4,2 ; @RCB_NOF_ALLOC_RX_BUFF_ONCE
	.no_dead_strip	_hns_nic_rx_poll_one
.subsections_via_symbols
