	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_change_mtu               ## -- Begin function mlx5e_change_mtu
	.p2align	4, 0x90
_mlx5e_change_mtu:                      ## @mlx5e_change_mtu
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_mutex_lock
	leaq	16(%r14), %r13
	cmpl	$0, 40(%r14)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_2:
	movq	_MLX5E_STATE_OPENED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	addq	$48, %rsi
	callq	_test_bit
	testq	%rax, %rax
	setne	%al
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_3:
	movq	%r12, %rbx
	movups	(%r13), %xmm0
	movups	16(%r13), %xmm1
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm1, -80(%rbp)
	movl	%r15d, -96(%rbp)
	cmpq	$0, 32(%r14)
	je	LBB0_5
## %bb.4:
	xorl	%r12d, %r12d
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	callq	_mlx5e_rx_is_linear_skb
	testl	%eax, %eax
	je	LBB0_18
LBB0_5:
	cmpl	$0, 4(%r14)
	je	LBB0_7
## %bb.6:
	movl	8(%r14), %ecx
	leaq	-96(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_mlx5e_xsk_validate_mtu
	testl	%eax, %eax
	je	LBB0_19
LBB0_7:
	movq	24(%r14), %rax
	movq	_MLX5_WQ_TYPE_LINKED_LIST_STRIDING_RQ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.8:
	movl	8(%r14), %edi
	leaq	-96(%rbp), %rsi
	xorl	%edx, %edx
	callq	_mlx5e_rx_mpwqe_is_linear_skb
	movl	%eax, %r12d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_mlx5e_mpwqe_log_pkts_per_wqe
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	callq	_mlx5e_mpwqe_log_pkts_per_wqe
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_11
## %bb.9:
	orl	4(%r14), %r12d
	jne	LBB0_16
## %bb.10:
	cmpq	%rax, -104(%rbp)                ## 8-byte Folded Reload
	jne	LBB0_16
LBB0_11:
	movl	%r15d, (%r13)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	callq	*%rax
	movl	16(%r14), %r15d
LBB0_13:
	movl	%r15d, (%rbx)
LBB0_14:
	xorl	%r12d, %r12d
	jmp	LBB0_21
LBB0_15:
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_11
LBB0_16:
	leaq	-96(%rbp), %rsi
	movq	%r14, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_mlx5e_safe_switch_channels
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_21
## %bb.17:
	movl	-96(%rbp), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_14
LBB0_18:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_mlx5e_xdp_max_mtu
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_netdev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_19:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
LBB0_20:
	subl	(%rax), %r12d
LBB0_21:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	%r12d, %eax
	addq	$72, %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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MTU(%d) > %d is not allowed while XDP enabled\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MLX5_WQ_TYPE_LINKED_LIST_STRIDING_RQ,8,3 ## @MLX5_WQ_TYPE_LINKED_LIST_STRIDING_RQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5e_change_mtu               ; -- Begin function mlx5e_change_mtu
	.p2align	2
_mlx5e_change_mtu:                      ; @mlx5e_change_mtu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x2
	mov	x21, x1
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
	bl	_mutex_lock
	add	x23, x19, #16
	ldr	w8, [x19, #40]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w26, #0
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _MLX5E_STATE_OPENED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5E_STATE_OPENED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #48
	bl	_test_bit
	cmp	x0, #0
	cset	w26, ne
LBB0_3:
	ldp	q0, q1, [x23]
	stp	q0, q1, [sp]
	str	w21, [sp]
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, sp
	mov	x1, #0
	bl	_mlx5e_rx_is_linear_skb
	cbz	w0, LBB0_17
LBB0_5:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_7
; %bb.6:
	ldr	w3, [x19, #8]
	mov	x2, sp
	mov	x0, x20
	mov	x1, x23
	bl	_mlx5e_xsk_validate_mtu
	cbz	w0, LBB0_18
LBB0_7:
	ldr	x8, [x19, #24]
Lloh3:
	adrp	x9, _MLX5_WQ_TYPE_LINKED_LIST_STRIDING_RQ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX5_WQ_TYPE_LINKED_LIST_STRIDING_RQ@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.8:
	ldr	w0, [x19, #8]
	mov	x1, sp
	mov	x2, #0
	bl	_mlx5e_rx_mpwqe_is_linear_skb
	mov	x24, x0
	mov	x0, x23
	mov	x1, #0
	bl	_mlx5e_mpwqe_log_pkts_per_wqe
	mov	x25, x0
	mov	x0, sp
	mov	x1, #0
	bl	_mlx5e_mpwqe_log_pkts_per_wqe
	cbz	w26, LBB0_11
; %bb.9:
	ldr	w8, [x19, #4]
	orr	w8, w8, w24
	cbnz	w8, LBB0_15
; %bb.10:
	cmp	x25, x0
	b.ne	LBB0_15
LBB0_11:
	str	w21, [x23]
	cbz	x22, LBB0_13
; %bb.12:
	mov	x0, x19
	blr	x22
	ldr	w21, [x19, #16]
LBB0_13:
	mov	w22, #0
	str	w21, [x20]
	b	LBB0_19
LBB0_14:
	tbz	w26, #0, LBB0_11
LBB0_15:
	mov	x1, sp
	mov	x0, x19
	mov	x2, x22
	bl	_mlx5e_safe_switch_channels
	mov	x22, x0
	cbnz	w0, LBB0_19
; %bb.16:
	ldr	w8, [sp]
	str	w8, [x20]
	b	LBB0_19
LBB0_17:
	mov	x0, x23
	mov	x1, #0
	bl	_mlx5e_xdp_max_mtu
	mov	x3, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_netdev_err
LBB0_18:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_19:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5E_STATE_OPENED,4,2         ; @MLX5E_STATE_OPENED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MTU(%d) > %d is not allowed while XDP enabled\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MLX5_WQ_TYPE_LINKED_LIST_STRIDING_RQ,8,3 ; @MLX5_WQ_TYPE_LINKED_LIST_STRIDING_RQ
.subsections_via_symbols
