	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5e_xdp_set
_mlx5e_xdp_set:                         ## @mlx5e_xdp_set
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	%rax, %r13
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_mutex_lock
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_mlx5e_xdp_allowed
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_27
LBB0_2:
	testq	%r14, %r14
	sete	%bl
	movq	_MLX5E_STATE_OPENED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	36(%r13), %rsi
	callq	_test_bit
	cmpq	$0, 24(%r15)
	sete	%r12b
	orb	%bl, %r12b
	testl	%eax, %eax
	sete	%bl
	orb	%r12b, %bl
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	jne	LBB0_5
## %bb.3:
	movl	8(%r15), %esi
	movq	%r14, %rdi
	callq	_bpf_prog_add
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_4
## %bb.28:
	movq	%r14, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_4:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	-60(%rbp), %eax                 ## 4-byte Reload
LBB0_5:
	addq	$24, %r13
	testl	%eax, %eax
	setne	%cl
	andb	%r12b, %cl
	cmpb	$1, %cl
	movb	%bl, -41(%rbp)                  ## 1-byte Spill
	jne	LBB0_7
## %bb.6:
	movq	%r14, -88(%rbp)
	movl	32(%r15), %edi
	leaq	-88(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_mlx5e_set_rq_type
	movq	24(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_mlx5e_xdp_update_state@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mlx5e_safe_switch_channels
	movl	%eax, %ebx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	testl	%ebx, %ebx
	jne	LBB0_27
	jmp	LBB0_8
LBB0_7:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_xchg
LBB0_8:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%rax, %rdi
	callq	_bpf_prog_put
LBB0_10:
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	sete	%al
	andb	%r12b, %al
	cmpb	$1, %al
	jne	LBB0_12
## %bb.11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	32(%rax), %edi
	movq	%r13, %rsi
	callq	_mlx5e_set_rq_type
LBB0_12:
	xorl	%ebx, %ebx
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_14
## %bb.13:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_14:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	cmpl	$0, 8(%r15)
	jle	LBB0_27
## %bb.15:
	xorl	%r14d, %r14d
	movq	_MLX5E_RQ_STATE_ENABLED@GOTPCREL(%rip), %r12
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	(%r12), %edi
	movq	%r15, %rsi
LBB0_25:                                ##   in Loop: Header=BB0_16 Depth=1
	callq	_set_bit
	movq	%rbx, %rdi
	callq	_napi_schedule
	incq	%r14
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movslq	8(%r15), %rax
	cmpq	%rax, %r14
	jge	LBB0_26
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%r14,8), %rbx
	movq	_MLX5E_CHANNEL_STATE_XSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	40(%rbx), %rsi
	callq	_test_bit
	movl	%eax, %r13d
	movl	(%r12), %edi
	leaq	24(%rbx), %r15
	movq	%r15, %rsi
	callq	_clear_bit
	testl	%r13d, %r13d
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movl	(%r12), %edi
	leaq	8(%rbx), %rsi
	callq	_clear_bit
LBB0_18:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	%rbx, %rdi
	callq	_napi_synchronize
	leaq	32(%rbx), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_xchg
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%rax, %rdi
	callq	_bpf_prog_put
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=1
	testl	%r13d, %r13d
	je	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_16 Depth=1
	leaq	16(%rbx), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_xchg
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%rax, %rdi
	callq	_bpf_prog_put
LBB0_23:                                ##   in Loop: Header=BB0_16 Depth=1
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_set_bit
	movl	(%r12), %edi
	leaq	8(%rbx), %rsi
	jmp	LBB0_25
LBB0_26:
	xorl	%ebx, %ebx
LBB0_27:
	movq	%r15, %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5E_STATE_OPENED,4,2         ## @MLX5E_STATE_OPENED
	.comm	_mlx5e_xdp_update_state,4,2     ## @mlx5e_xdp_update_state
	.comm	_MLX5E_CHANNEL_STATE_XSK,4,2    ## @MLX5E_CHANNEL_STATE_XSK
	.comm	_MLX5E_RQ_STATE_ENABLED,4,2     ## @MLX5E_RQ_STATE_ENABLED
	.no_dead_strip	_mlx5e_xdp_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5e_xdp_set
_mlx5e_xdp_set:                         ; @mlx5e_xdp_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	bl	_netdev_priv
	mov	x19, x0
	bl	_mutex_lock
	cbz	x20, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_mlx5e_xdp_allowed
	mov	x24, x0
	cbnz	w0, LBB0_25
LBB0_2:
Lloh0:
	adrp	x8, _MLX5E_STATE_OPENED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5E_STATE_OPENED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #36
	bl	_test_bit
	mov	x22, x0
	mov	x21, x19
	ldr	x8, [x21, #24]!
	cmp	x20, #0
	ccmp	x8, #0, #4, ne
	cset	w26, eq
	cmp	w0, #0
	cset	w8, eq
	orr	w25, w8, w26
	tbnz	w25, #0, LBB0_5
; %bb.3:
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_bpf_prog_add
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_PTR_ERR
	mov	x24, x0
	b	LBB0_25
LBB0_5:
	cmp	w22, #0
	cset	w8, ne
	and	w8, w8, w26
	cmp	w8, #1
	b.ne	LBB0_26
; %bb.6:
	str	x20, [sp, #8]
	ldr	w0, [x19, #32]
	add	x1, sp, #8
	bl	_mlx5e_set_rq_type
	ldr	x23, [x19, #24]
Lloh3:
	adrp	x8, _mlx5e_xdp_update_state@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mlx5e_xdp_update_state@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_mlx5e_safe_switch_channels
	mov	x24, x0
	cbnz	w0, LBB0_25
; %bb.7:
	cbz	x23, LBB0_9
LBB0_8:
	mov	x0, x23
	bl	_bpf_prog_put
LBB0_9:
	cmp	w22, #0
	cset	w8, eq
	and	w8, w8, w26
	cmp	w8, #1
	b.ne	LBB0_11
; %bb.10:
	ldr	w0, [x19, #32]
	mov	x1, x21
	bl	_mlx5e_set_rq_type
LBB0_11:
	tbnz	w25, #0, LBB0_24
; %bb.12:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.13:
	mov	x24, #0
Lloh6:
	adrp	x25, _MLX5E_CHANNEL_STATE_XSK@GOTPAGE
Lloh7:
	ldr	x25, [x25, _MLX5E_CHANNEL_STATE_XSK@GOTPAGEOFF]
Lloh8:
	adrp	x26, _MLX5E_RQ_STATE_ENABLED@GOTPAGE
Lloh9:
	ldr	x26, [x26, _MLX5E_RQ_STATE_ENABLED@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x26]
	mov	x1, x22
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	bl	_set_bit
	mov	x0, x21
	bl	_napi_schedule
	add	x24, x24, #1
	ldrsw	x8, [x19, #8]
	cmp	x24, x8
	b.ge	LBB0_24
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	x21, [x8, x24, lsl #3]
	ldr	w0, [x25]
	ldr	x1, [x21, #40]
	bl	_test_bit
	mov	x23, x0
	ldr	w0, [x26]
	add	x22, x21, #24
	mov	x1, x22
	bl	_clear_bit
	cbz	w23, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x26]
	add	x1, x21, #8
	bl	_clear_bit
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x21
	bl	_napi_synchronize
	add	x0, x21, #32
	mov	x1, x20
	bl	_xchg
	cbz	x0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	bl	_bpf_prog_put
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=1
	cbz	w23, LBB0_14
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x0, x21, #16
	mov	x1, x20
	bl	_xchg
	cbz	x0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_16 Depth=1
	bl	_bpf_prog_put
LBB0_23:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [x26]
	mov	x1, x22
	bl	_set_bit
	ldr	w0, [x26]
	add	x1, x21, #8
	b	LBB0_15
LBB0_24:
	mov	w24, #0
LBB0_25:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_26:
	mov	x0, x21
	mov	x1, x20
	bl	_xchg
	mov	x23, x0
	cbnz	x23, LBB0_8
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5E_STATE_OPENED,4,2         ; @MLX5E_STATE_OPENED
	.comm	_mlx5e_xdp_update_state,4,2     ; @mlx5e_xdp_update_state
	.comm	_MLX5E_CHANNEL_STATE_XSK,4,2    ; @MLX5E_CHANNEL_STATE_XSK
	.comm	_MLX5E_RQ_STATE_ENABLED,4,2     ; @MLX5E_RQ_STATE_ENABLED
	.no_dead_strip	_mlx5e_xdp_set
.subsections_via_symbols
