	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_xsk_redirect_rqts_to_channels ## -- Begin function mlx5e_xsk_redirect_rqts_to_channels
	.p2align	4, 0x90
_mlx5e_xsk_redirect_rqts_to_channels:   ## @mlx5e_xsk_redirect_rqts_to_channels
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r12d, %r12d
	cmpl	$0, (%rdi)
	je	LBB0_12
## %bb.1:
	movq	%rsi, %r15
	cmpl	$0, (%rsi)
	jle	LBB0_12
## %bb.2:
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	movq	_MLX5E_CHANNEL_STATE_XSK@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %r12
	movl	(%r13), %edi
	movl	(%r12), %esi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_mlx5e_xsk_redirect_rqt_to_channel
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:
	testl	%ebx, %ebx
	je	LBB0_12
## %bb.6:
	decq	%rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	leaq	-1(%rbx), %rax
	incq	%rbx
	cmpq	$1, %rbx
	movq	%rax, %rbx
	jle	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %esi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_mlx5e_xsk_redirect_rqt_to_drop
	jmp	LBB0_9
LBB0_11:
	xorl	%r12d, %r12d
LBB0_12:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5E_CHANNEL_STATE_XSK,4,2    ## @MLX5E_CHANNEL_STATE_XSK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_xsk_redirect_rqts_to_channels ; -- Begin function mlx5e_xsk_redirect_rqts_to_channels
	.p2align	2
_mlx5e_xsk_redirect_rqts_to_channels:   ; @mlx5e_xsk_redirect_rqts_to_channels
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_11
; %bb.1:
	mov	x19, x1
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.2:
	mov	x20, x0
	mov	x22, #0
Lloh0:
	adrp	x23, _MLX5E_CHANNEL_STATE_XSK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MLX5E_CHANNEL_STATE_XSK@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19]
	cmp	x22, x8
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x21, [x8, x22, lsl #3]
	ldr	w0, [x23]
	ldr	w1, [x21]
	bl	_test_bit
	cbz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_mlx5e_xsk_redirect_rqt_to_channel
	mov	x21, x0
	bl	_unlikely
	cbz	x0, LBB0_3
; %bb.6:
	cbz	w22, LBB0_12
; %bb.7:
	sub	x22, x22, #1
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x22, #1
	sub	x22, x22, #1
	cmp	x8, #1
	b.le	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x22, lsl #3]
	ldr	w1, [x8]
	bl	_test_bit
	cbz	w0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_mlx5e_xsk_redirect_rqt_to_drop
	b	LBB0_8
LBB0_11:
	mov	w21, #0
LBB0_12:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5E_CHANNEL_STATE_XSK,4,2    ; @MLX5E_CHANNEL_STATE_XSK
.subsections_via_symbols
