	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_config_xps_tx_ring
_i40e_config_xps_tx_ring:               ## @i40e_config_xps_tx_ring
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$0, 4(%rdi)
	je	LBB0_4
## %bb.2:
	cmpq	$0, 24(%rbx)
	jne	LBB0_4
## %bb.3:
	movq	___I40E_TX_XPS_INIT_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movl	$-1, %esi
	callq	_cpumask_local_spread
	movl	4(%rbx), %r14d
	movl	%eax, %edi
	callq	_get_cpu_mask
	movl	(%rbx), %edx
	movl	%r14d, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netif_set_xps_queue            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___I40E_TX_XPS_INIT_DONE,4,2    ## @__I40E_TX_XPS_INIT_DONE
	.no_dead_strip	_i40e_config_xps_tx_ring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_config_xps_tx_ring
_i40e_config_xps_tx_ring:               ; @i40e_config_xps_tx_ring
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_4
; %bb.2:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, ___I40E_TX_XPS_INIT_DONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___I40E_TX_XPS_INIT_DONE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_test_and_set_bit
	cbz	x0, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	mov	w1, #-1
	bl	_cpumask_local_spread
	ldr	w20, [x19, #4]
	bl	_get_cpu_mask
	mov	x1, x0
	ldr	w2, [x19]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netif_set_xps_queue
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	___I40E_TX_XPS_INIT_DONE,4,2    ; @__I40E_TX_XPS_INIT_DONE
	.no_dead_strip	_i40e_config_xps_tx_ring
.subsections_via_symbols
