	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfp_queue_select
_nfp_queue_select:                      ## @nfp_queue_select
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	callq	_nfp_prog_current_offset
	leaq	5(%rax), %r15
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_reg_none
	movl	%eax, %r12d
	movl	(%r14), %edi
	addl	%edi, %edi
	callq	_reg_a
	movl	%eax, %r13d
	movq	_ALU_OP_AND_NOT_B@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$255, %edi
	callq	_reg_imm
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_emit_alu
	movq	_BR_BEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movl	$2, %ecx
	callq	_emit_br
	movq	%rbx, %rdi
	callq	_pv_qsel_set
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_pv_qsel_set
	movl	%eax, %r12d
	movq	_SHF_OP_OR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	$1, %edi
	callq	_reg_imm
	movq	_SHF_SC_L_SHF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_PKT_VEL_QSEL_SET_BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_emit_shf
	movq	%rbx, %rdi
	callq	_pv_qsel_val
	movl	%eax, %r14d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	addl	%edi, %edi
	callq	_reg_b
	movq	_SHF_SC_NONE@GOTPCREL(%rip), %r15
	movl	(%r15), %r8d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	movl	%eax, %ecx
	xorl	%r9d, %r9d
	callq	_emit_ld_field
	movq	%rbx, %rdi
	callq	_pv_qsel_val
	movl	%eax, %r14d
	movq	_NFP_NET_RXR_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_reg_imm
	movl	(%r15), %r8d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$1, %edx
	movl	%eax, %ecx
	xorl	%r9d, %r9d
	callq	_emit_ld_field
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_nfp_prog_confirm_current_offset
	movq	_EINVAL@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	testl	%eax, %eax
	movl	$0, %eax
	cmovnel	%eax, %ecx
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALU_OP_AND_NOT_B,4,2           ## @ALU_OP_AND_NOT_B
	.comm	_BR_BEQ,4,2                     ## @BR_BEQ
	.comm	_SHF_OP_OR,4,2                  ## @SHF_OP_OR
	.comm	_SHF_SC_L_SHF,4,2               ## @SHF_SC_L_SHF
	.comm	_PKT_VEL_QSEL_SET_BIT,4,2       ## @PKT_VEL_QSEL_SET_BIT
	.comm	_SHF_SC_NONE,4,2                ## @SHF_SC_NONE
	.comm	_NFP_NET_RXR_MAX,4,2            ## @NFP_NET_RXR_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_nfp_queue_select
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfp_queue_select
_nfp_queue_select:                      ; @nfp_queue_select
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_nfp_prog_current_offset
	add	x20, x0, #5
	bl	_reg_none
	mov	x22, x0
	ldr	w8, [x21]
	lsl	w0, w8, #1
	bl	_reg_a
	mov	x23, x0
Lloh0:
	adrp	x8, _ALU_OP_AND_NOT_B@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALU_OP_AND_NOT_B@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	mov	w0, #255
	bl	_reg_imm
	mov	x4, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	bl	_emit_alu
Lloh3:
	adrp	x8, _BR_BEQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BR_BEQ@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	mov	w3, #2
	bl	_emit_br
	mov	x0, x19
	bl	_pv_qsel_set
	mov	x22, x0
	mov	x0, x19
	bl	_pv_qsel_set
	mov	x23, x0
Lloh6:
	adrp	x8, _SHF_OP_OR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SHF_OP_OR@GOTPAGEOFF]
Lloh8:
	ldr	w24, [x8]
	mov	w0, #1
	bl	_reg_imm
	mov	x4, x0
Lloh9:
	adrp	x8, _SHF_SC_L_SHF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SHF_SC_L_SHF@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
Lloh12:
	adrp	x8, _PKT_VEL_QSEL_SET_BIT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PKT_VEL_QSEL_SET_BIT@GOTPAGEOFF]
Lloh14:
	ldr	w6, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	bl	_emit_shf
	mov	x0, x19
	bl	_pv_qsel_val
	mov	x22, x0
	ldr	w8, [x21]
	lsl	w0, w8, #1
	bl	_reg_b
	mov	x3, x0
Lloh15:
	adrp	x23, _SHF_SC_NONE@GOTPAGE
Lloh16:
	ldr	x23, [x23, _SHF_SC_NONE@GOTPAGEOFF]
	ldr	w4, [x23]
	mov	x0, x19
	mov	x1, x22
	mov	w2, #1
	mov	w5, #0
	bl	_emit_ld_field
	mov	x0, x19
	bl	_pv_qsel_val
	mov	x21, x0
Lloh17:
	adrp	x8, _NFP_NET_RXR_MAX@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NFP_NET_RXR_MAX@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_reg_imm
	mov	x3, x0
	ldr	w4, [x23]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	mov	w5, #0
	bl	_emit_ld_field
	mov	x0, x19
	mov	x1, x20
	bl	_nfp_prog_confirm_current_offset
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	cmp	w0, #0
	csneg	w0, wzr, w8, ne
	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 AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.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	_ALU_OP_AND_NOT_B,4,2           ; @ALU_OP_AND_NOT_B
	.comm	_BR_BEQ,4,2                     ; @BR_BEQ
	.comm	_SHF_OP_OR,4,2                  ; @SHF_OP_OR
	.comm	_SHF_SC_L_SHF,4,2               ; @SHF_SC_L_SHF
	.comm	_PKT_VEL_QSEL_SET_BIT,4,2       ; @PKT_VEL_QSEL_SET_BIT
	.comm	_SHF_SC_NONE,4,2                ; @SHF_SC_NONE
	.comm	_NFP_NET_RXR_MAX,4,2            ; @NFP_NET_RXR_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_nfp_queue_select
.subsections_via_symbols
