	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_fqs
_setup_fqs:                             ## @setup_fqs
	.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
	movq	%rdi, %r14
	callq	_dpaa2_eth_queue_count
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_DPAA2_TX_CONF_FQ@GOTPCREL(%rip), %r15
	movq	_dpaa2_eth_tx_conf@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %eax
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
	movq	%rcx, %rsi
	shlq	$4, %rsi
	movl	%eax, 12(%rdx,%rsi)
	movl	(%r12), %eax
	movl	%eax, 8(%rdx,%rsi)
	incq	%rcx
	movq	%rcx, (%r14)
	movq	%rbx, (%rdx,%rsi)
	incq	%rbx
	movq	%r14, %rdi
	callq	_dpaa2_eth_queue_count
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	%r14, %rdi
	callq	_dpaa2_eth_queue_count
	testl	%eax, %eax
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	movq	_DPAA2_RX_FQ@GOTPCREL(%rip), %r15
	movq	_dpaa2_eth_rx@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %eax
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
	movq	%rcx, %rsi
	shlq	$4, %rsi
	movl	%eax, 12(%rdx,%rsi)
	movl	(%r12), %eax
	movl	%eax, 8(%rdx,%rsi)
	incq	%rcx
	movq	%rcx, (%r14)
	movq	%rbx, (%rdx,%rsi)
	incq	%rbx
	movq	%r14, %rdi
	callq	_dpaa2_eth_queue_count
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_fq_affinity                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DPAA2_TX_CONF_FQ,4,2           ## @DPAA2_TX_CONF_FQ
	.comm	_dpaa2_eth_tx_conf,4,2          ## @dpaa2_eth_tx_conf
	.comm	_DPAA2_RX_FQ,4,2                ## @DPAA2_RX_FQ
	.comm	_dpaa2_eth_rx,4,2               ## @dpaa2_eth_rx
	.no_dead_strip	_setup_fqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_fqs
_setup_fqs:                             ; @setup_fqs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_dpaa2_eth_queue_count
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
Lloh0:
	adrp	x21, _DPAA2_TX_CONF_FQ@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DPAA2_TX_CONF_FQ@GOTPAGEOFF]
Lloh2:
	adrp	x22, _dpaa2_eth_tx_conf@GOTPAGE
Lloh3:
	ldr	x22, [x22, _dpaa2_eth_tx_conf@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	ldp	x10, x9, [x19]
	add	x9, x9, x10, lsl #4
	str	w8, [x9, #12]
	ldr	w8, [x22]
	str	w8, [x9, #8]
	add	x8, x10, #1
	str	x8, [x19]
	str	x20, [x9]
	add	x20, x20, #1
	mov	x0, x19
	bl	_dpaa2_eth_queue_count
	cmp	x20, w0, sxtw
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x19
	bl	_dpaa2_eth_queue_count
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x20, #0
Lloh4:
	adrp	x21, _DPAA2_RX_FQ@GOTPAGE
Lloh5:
	ldr	x21, [x21, _DPAA2_RX_FQ@GOTPAGEOFF]
Lloh6:
	adrp	x22, _dpaa2_eth_rx@GOTPAGE
Lloh7:
	ldr	x22, [x22, _dpaa2_eth_rx@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	ldp	x10, x9, [x19]
	add	x9, x9, x10, lsl #4
	str	w8, [x9, #12]
	ldr	w8, [x22]
	str	w8, [x9, #8]
	add	x8, x10, #1
	str	x8, [x19]
	str	x20, [x9]
	add	x20, x20, #1
	mov	x0, x19
	bl	_dpaa2_eth_queue_count
	cmp	x20, w0, sxtw
	b.lt	LBB0_5
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_set_fq_affinity
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DPAA2_TX_CONF_FQ,4,2           ; @DPAA2_TX_CONF_FQ
	.comm	_dpaa2_eth_tx_conf,4,2          ; @dpaa2_eth_tx_conf
	.comm	_DPAA2_RX_FQ,4,2                ; @DPAA2_RX_FQ
	.comm	_dpaa2_eth_rx,4,2               ; @dpaa2_eth_rx
	.no_dead_strip	_setup_fqs
.subsections_via_symbols
