	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_change_mtu
_mlx4_en_change_mtu:                    ## @mlx4_en_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r12
	movq	16(%rax), %r15
	movq	_DRV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %ecx
	leaq	L_.str(%rip), %rdx
	xorl	%r14d, %r14d
	movq	%r12, %rsi
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_en_dbg
	movq	8(%r12), %rax
	movq	_TX_XDP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_mlx4_en_check_xdp_mtu
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	movl	%r13d, (%rbx)
	movq	%rbx, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	%r15, %rdi
	callq	_mutex_lock
	cmpl	$0, 8(%r15)
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_mlx4_en_stop_port
	movq	%rbx, %rdi
	callq	_mlx4_en_start_port
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	4(%r12), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_en_err
	movl	4(%r15), %edi
	movq	%r12, %rsi
	callq	_queue_work
	jmp	LBB0_8
LBB0_2:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_9
LBB0_5:
	movq	_DRV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_en_dbg
LBB0_8:
	movq	%r15, %rdi
	callq	_mutex_unlock
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRV,4,2                        ## @DRV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Change MTU called - current:%d new:%d\n"

	.comm	_TX_XDP,8,3                     ## @TX_XDP
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
L_.str.1:                               ## @.str.1
	.asciz	"Change MTU called with card down!?\n"

L_.str.2:                               ## @.str.2
	.asciz	"Failed restarting port:%d\n"

	.no_dead_strip	_mlx4_en_change_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_change_mtu
_mlx4_en_change_mtu:                    ; @mlx4_en_change_mtu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x19, [x0, #16]
Lloh0:
	adrp	x23, _DRV@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DRV@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w8, [x21]
	stp	x8, x22, [sp]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x20
	bl	_en_dbg
	ldr	x8, [x20, #8]
Lloh4:
	adrp	x9, _TX_XDP@GOTPAGE
Lloh5:
	ldr	x9, [x9, _TX_XDP@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x22
	bl	_mlx4_en_check_xdp_mtu
	cbz	w0, LBB0_6
LBB0_2:
	str	w22, [x21]
	mov	x0, x21
	bl	_netif_running
	cbz	x0, LBB0_9
; %bb.3:
	mov	x0, x19
	bl	_mutex_lock
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_7
; %bb.4:
	mov	x0, x21
	mov	w1, #1
	bl	_mlx4_en_stop_port
	mov	x0, x21
	bl	_mlx4_en_start_port
	cbz	w0, LBB0_8
; %bb.5:
	ldr	w2, [x20, #4]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_en_err
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_queue_work
	b	LBB0_8
LBB0_6:
Lloh9:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_7:
	ldr	w0, [x23]
Lloh12:
	adrp	x2, l_.str.1@PAGE
Lloh13:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_en_dbg
LBB0_8:
	mov	x0, x19
	bl	_mutex_unlock
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_DRV,4,2                        ; @DRV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Change MTU called - current:%d new:%d\n"

	.comm	_TX_XDP,8,3                     ; @TX_XDP
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
l_.str.1:                               ; @.str.1
	.asciz	"Change MTU called with card down!?\n"

l_.str.2:                               ; @.str.2
	.asciz	"Failed restarting port:%d\n"

	.no_dead_strip	_mlx4_en_change_mtu
.subsections_via_symbols
