	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_xsk_umem_enable
_ixgbe_xsk_umem_enable:                 ## @ixgbe_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
	cmpq	%rdx, (%rdi)
	jle	LBB0_1
## %bb.3:
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	cmpq	%rdx, (%rax)
	jle	LBB0_1
## %bb.4:
	cmpq	%r14, 8(%rax)
	jle	LBB0_1
## %bb.5:
	movq	%rsi, %r15
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_xsk_reuseq_prepare
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_xsk_reuseq_swap
	movl	%eax, %edi
	callq	_xsk_reuseq_free
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ixgbe_xsk_umem_dma_map
	testl	%eax, %eax
	jne	LBB0_13
## %bb.8:
	movq	8(%rbx), %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	%rbx, %rdi
	callq	_ixgbe_enabled_xdp_adapter
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ixgbe_txrx_ring_disable
	movl	16(%rbx), %esi
	movq	%r14, %rdi
	callq	_set_bit
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ixgbe_txrx_ring_enable
	movq	8(%rbx), %rdi
	movq	_XDP_WAKEUP_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_ixgbe_xsk_wakeup
	testl	%eax, %eax
	jne	LBB0_13
	jmp	LBB0_12
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_11:
	movl	16(%rbx), %esi
	movq	%r14, %rdi
	callq	_set_bit
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_XDP_WAKEUP_RX,4,2              ## @XDP_WAKEUP_RX
	.no_dead_strip	_ixgbe_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 ixgbe_xsk_umem_enable
_ixgbe_xsk_umem_enable:                 ; @ixgbe_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]
	cmp	x8, x2
	b.le	LBB0_8
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	ldr	x8, [x0, #8]
	ldr	x9, [x8]
	cmp	x9, x2
	b.le	LBB0_8
; %bb.2:
	ldr	x8, [x8, #8]
	cmp	x8, x19
	b.le	LBB0_8
; %bb.3:
	mov	x21, x1
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_xsk_reuseq_prepare
	cbz	x0, LBB0_11
; %bb.4:
	mov	x1, x0
	mov	x0, x21
	bl	_xsk_reuseq_swap
	bl	_xsk_reuseq_free
	mov	x0, x20
	mov	x1, x21
	bl	_ixgbe_xsk_umem_dma_map
	cbnz	w0, LBB0_10
; %bb.5:
	ldr	x0, [x20, #8]
	bl	_netif_running
	cbz	x0, LBB0_12
; %bb.6:
	mov	x0, x20
	bl	_ixgbe_enabled_xdp_adapter
	cbz	x0, LBB0_12
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	bl	_ixgbe_txrx_ring_disable
	ldr	w1, [x20, #16]
	mov	x0, x19
	bl	_set_bit
	mov	x0, x20
	mov	x1, x19
	bl	_ixgbe_txrx_ring_enable
	ldr	x0, [x20, #8]
Lloh0:
	adrp	x8, _XDP_WAKEUP_RX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XDP_WAKEUP_RX@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_ixgbe_xsk_wakeup
	cbnz	w0, LBB0_10
	b	LBB0_13
LBB0_8:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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_11:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_9
LBB0_12:
	ldr	w1, [x20, #16]
	mov	x0, x19
	bl	_set_bit
LBB0_13:
	mov	w0, #0
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_XDP_WAKEUP_RX,4,2              ; @XDP_WAKEUP_RX
	.no_dead_strip	_ixgbe_xsk_umem_enable
.subsections_via_symbols
