	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_xsk_umem_enable
_i40e_xsk_umem_enable:                  ## @i40e_xsk_umem_enable
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_I40E_VSI_MAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	%rdx, %r14
	movq	%rdi, %rbx
	cmpq	%rdx, 8(%rdi)
	jle	LBB0_1
## %bb.4:
	movq	16(%rbx), %rax
	cmpq	%r14, (%rax)
	jle	LBB0_1
## %bb.5:
	cmpq	%r14, 8(%rax)
	jle	LBB0_1
## %bb.6:
	movq	%rsi, %r15
	movq	32(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_xsk_reuseq_prepare
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_xsk_reuseq_swap
	movl	%eax, %edi
	callq	_xsk_reuseq_free
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_i40e_xsk_umem_dma_map
	testl	%eax, %eax
	jne	LBB0_15
## %bb.9:
	movl	24(%rbx), %esi
	movq	%r14, %rdi
	callq	_set_bit
	movq	16(%rbx), %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movq	%rbx, %rdi
	callq	_i40e_enabled_xdp_vsi
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_i40e_queue_pair_disable
	testl	%eax, %eax
	jne	LBB0_15
## %bb.12:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_i40e_queue_pair_enable
	testl	%eax, %eax
	jne	LBB0_15
## %bb.13:
	movq	16(%rbx), %rdi
	movq	_XDP_WAKEUP_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_i40e_xsk_wakeup
	testl	%eax, %eax
	jne	LBB0_15
LBB0_14:
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_VSI_MAIN,8,3              ## @I40E_VSI_MAIN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_XDP_WAKEUP_RX,4,2              ## @XDP_WAKEUP_RX
	.no_dead_strip	_i40e_xsk_umem_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_xsk_umem_enable
_i40e_xsk_umem_enable:                  ; @i40e_xsk_umem_enable
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _I40E_VSI_MAIN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I40E_VSI_MAIN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	ldr	x8, [x0, #8]
	cmp	x8, x2
	b.le	LBB0_12
; %bb.2:
	ldr	x8, [x20, #16]
	ldr	x9, [x8]
	cmp	x9, x19
	b.le	LBB0_12
; %bb.3:
	ldr	x8, [x8, #8]
	cmp	x8, x19
	b.le	LBB0_12
; %bb.4:
	mov	x21, x1
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_xsk_reuseq_prepare
	cbz	x0, LBB0_15
; %bb.5:
	mov	x1, x0
	mov	x0, x21
	bl	_xsk_reuseq_swap
	bl	_xsk_reuseq_free
	mov	x0, x20
	mov	x1, x21
	bl	_i40e_xsk_umem_dma_map
	cbnz	w0, LBB0_14
; %bb.6:
	ldr	w1, [x20, #24]
	mov	x0, x19
	bl	_set_bit
	ldr	x0, [x20, #16]
	bl	_netif_running
	cbz	x0, LBB0_11
; %bb.7:
	mov	x0, x20
	bl	_i40e_enabled_xdp_vsi
	cbz	x0, LBB0_11
; %bb.8:
	mov	x0, x20
	mov	x1, x19
	bl	_i40e_queue_pair_disable
	cbnz	w0, LBB0_14
; %bb.9:
	mov	x0, x20
	mov	x1, x19
	bl	_i40e_queue_pair_enable
	cbnz	w0, LBB0_14
; %bb.10:
	ldr	x0, [x20, #16]
Lloh3:
	adrp	x8, _XDP_WAKEUP_RX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XDP_WAKEUP_RX@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_i40e_xsk_wakeup
	cbnz	w0, LBB0_14
LBB0_11:
	mov	w0, #0
	b	LBB0_14
LBB0_12:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	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
	ret
LBB0_15:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_VSI_MAIN,8,3              ; @I40E_VSI_MAIN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_XDP_WAKEUP_RX,4,2              ; @XDP_WAKEUP_RX
	.no_dead_strip	_i40e_xsk_umem_enable
.subsections_via_symbols
