	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_xsk_disable_locked
_mlx5e_xsk_disable_locked:              ## @mlx5e_xsk_disable_locked
	.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	%rsi, %r14
	movq	%rdi, %rbx
	leaq	16(%rdi), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_mlx5e_xsk_get_umem
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_2:
	movq	_MLX5E_STATE_OPENED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%rbx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$0, (%r12)
	je	LBB0_5
## %bb.4:
	movq	8(%rbx), %rax
	movq	(%rax,%r14,8), %r12
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mlx5e_xsk_redirect_rqt_to_drop
	movq	%r12, %rdi
	callq	_mlx5e_deactivate_xsk
	movq	%r12, %rdi
	callq	_mlx5e_close_xsk
LBB0_5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mlx5e_xsk_remove_umem
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mlx5e_xsk_unmap_umem
	xorl	%eax, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MLX5E_STATE_OPENED,4,2         ## @MLX5E_STATE_OPENED
	.no_dead_strip	_mlx5e_xsk_disable_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_xsk_disable_locked
_mlx5e_xsk_disable_locked:              ; @mlx5e_xsk_disable_locked
	.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	x20, x1
	mov	x19, x0
	add	x22, x0, #16
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	bl	_mlx5e_xsk_get_umem
	mov	x21, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_2:
Lloh3:
	adrp	x8, _MLX5E_STATE_OPENED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5E_STATE_OPENED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #24
	bl	_test_bit
	cbz	w0, LBB0_5
; %bb.3:
	ldr	w8, [x22]
	cbz	w8, LBB0_5
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	x22, [x8, x20, lsl #3]
	mov	x0, x19
	mov	x1, x20
	bl	_mlx5e_xsk_redirect_rqt_to_drop
	mov	x0, x22
	bl	_mlx5e_deactivate_xsk
	mov	x0, x22
	bl	_mlx5e_close_xsk
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_mlx5e_xsk_remove_umem
	mov	x0, x19
	mov	x1, x21
	bl	_mlx5e_xsk_unmap_umem
	mov	w0, #0
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MLX5E_STATE_OPENED,4,2         ; @MLX5E_STATE_OPENED
	.no_dead_strip	_mlx5e_xsk_disable_locked
.subsections_via_symbols
