	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv643xx_eth_change_mtu
_mv643xx_eth_change_mtu:                ## @mv643xx_eth_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	leal	-9501(%rbx), %eax
	cmpl	$-9438, %eax                    ## imm = 0xDB22
	ja	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_5
LBB0_2:
	movl	%ebx, (%r15)
	movq	%r14, %rdi
	callq	_mv643xx_eth_recalc_skb_size
	movq	%r14, %rdi
	movl	$1000000000, %esi               ## imm = 0x3B9ACA00
	movl	$16777216, %edx                 ## imm = 0x1000000
	callq	_tx_set_rate
	movq	%r15, %rdi
	callq	_netif_running
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	%r15, %rdi
	callq	_mv643xx_eth_stop
	movq	%r15, %rdi
	callq	_mv643xx_eth_open
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_KERN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$4, %r15
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rsi
	callq	_dev_printk
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_KERN_ERR,4,2                   ## @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fatal error on re-opening device after MTU change\n"

	.no_dead_strip	_mv643xx_eth_change_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv643xx_eth_change_mtu
_mv643xx_eth_change_mtu:                ; @mv643xx_eth_change_mtu
	.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	x21, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	w8, #-9501
	mov	w9, #-9438
	add	w8, w21, w8
	cmp	w8, w9
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_2:
	mov	x20, x0
	str	w21, [x19]
	bl	_mv643xx_eth_recalc_skb_size
	mov	x0, x20
	mov	w1, #51712
	movk	w1, #15258, lsl #16
	mov	w2, #16777216
	bl	_tx_set_rate
	mov	x0, x19
	bl	_netif_running
	cbz	w0, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_mv643xx_eth_stop
	mov	x0, x19
	bl	_mv643xx_eth_open
	cbz	x0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _KERN_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #4
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	bl	_dev_printk
	mov	w0, #0
LBB0_5:
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_KERN_ERR,4,2                   ; @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fatal error on re-opening device after MTU change\n"

	.no_dead_strip	_mv643xx_eth_change_mtu
.subsections_via_symbols
