	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_pflag_xdp_tx_mpwqe
_set_pflag_xdp_tx_mpwqe:                ## @set_pflag_xdp_tx_mpwqe
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	callq	_netdev_priv
	movq	%rax, %rbx
	testl	%r14d, %r14d
	je	LBB0_3
## %bb.1:
	movq	8(%rbx), %rdi
	movq	_enhanced_multi_pkt_send_wqe@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_ETH
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movl	(%rbx), %eax
	movl	%eax, -24(%rbp)
	movq	_MLX5E_PFLAG_XDP_TX_MPWQE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdi
	movl	%r14d, %edx
	callq	_MLX5E_SET_PFLAG
	movq	_MLX5E_STATE_OPENED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	addq	$4, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_mlx5e_safe_switch_channels
	jmp	LBB0_6
LBB0_4:
	movl	-24(%rbp), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_2:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_enhanced_multi_pkt_send_wqe,4,2 ## @enhanced_multi_pkt_send_wqe
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_MLX5E_PFLAG_XDP_TX_MPWQE,4,2   ## @MLX5E_PFLAG_XDP_TX_MPWQE
	.comm	_MLX5E_STATE_OPENED,4,2         ## @MLX5E_STATE_OPENED
	.no_dead_strip	_set_pflag_xdp_tx_mpwqe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_pflag_xdp_tx_mpwqe
_set_pflag_xdp_tx_mpwqe:                ; @set_pflag_xdp_tx_mpwqe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_netdev_priv
	mov	x19, x0
	cbz	w20, LBB0_2
; %bb.1:
	ldr	x0, [x19, #8]
Lloh0:
	adrp	x8, _enhanced_multi_pkt_send_wqe@GOTPAGE
Lloh1:
	ldr	x8, [x8, _enhanced_multi_pkt_send_wqe@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_MLX5_CAP_ETH
	cbz	w0, LBB0_5
LBB0_2:
	mov	x21, x19
	ldr	w8, [x21], #4
	str	w8, [sp, #8]
Lloh3:
	adrp	x8, _MLX5E_PFLAG_XDP_TX_MPWQE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5E_PFLAG_XDP_TX_MPWQE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	x2, x20
	bl	_MLX5E_SET_PFLAG
Lloh6:
	adrp	x8, _MLX5E_STATE_OPENED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLX5E_STATE_OPENED@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	w0, LBB0_4
; %bb.3:
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, #0
	bl	_mlx5e_safe_switch_channels
	b	LBB0_6
LBB0_4:
	ldr	w8, [sp, #8]
	str	w8, [x19]
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_enhanced_multi_pkt_send_wqe,4,2 ; @enhanced_multi_pkt_send_wqe
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_MLX5E_PFLAG_XDP_TX_MPWQE,4,2   ; @MLX5E_PFLAG_XDP_TX_MPWQE
	.comm	_MLX5E_STATE_OPENED,4,2         ; @MLX5E_STATE_OPENED
	.no_dead_strip	_set_pflag_xdp_tx_mpwqe
.subsections_via_symbols
