	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmmac_change_mtu
_stmmac_change_mtu:                     ## @stmmac_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, %r14d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	4(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_2:
	cmpq	$0, (%r15)
	jne	LBB0_4
## %bb.3:
	movq	_ETH_DATA_LEN@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_JUMBO_LEN@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edx
	cmpl	$46, %r14d
	jl	LBB0_8
## %bb.6:
	cmpl	%r14d, %edx
	jl	LBB0_8
## %bb.7:
	movl	%r14d, (%rbx)
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_8:
	movl	4(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_9:
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: must be stopped to change its MTU\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_JUMBO_LEN,4,2                  ## @JUMBO_LEN
	.comm	_ETH_DATA_LEN,4,2               ## @ETH_DATA_LEN
L_.str.1:                               ## @.str.1
	.asciz	"%s: invalid MTU, max MTU is: %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_stmmac_change_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmmac_change_mtu
_stmmac_change_mtu:                     ; @stmmac_change_mtu
	.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
	mov	x19, x0
	bl	_netdev_priv
	mov	x21, x0
	mov	x0, x19
	bl	_netif_running
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x19, #4]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
Lloh2:
	adrp	x8, _EBUSY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	ldr	x8, [x21]
Lloh4:
	adrp	x9, _ETH_DATA_LEN@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ETH_DATA_LEN@GOTPAGEOFF]
Lloh6:
	adrp	x10, _JUMBO_LEN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _JUMBO_LEN@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	cmp	w20, #46
	b.lt	LBB0_5
; %bb.3:
	cmp	w8, w20
	b.lt	LBB0_5
; %bb.4:
	mov	w0, #0
	str	w20, [x19]
	b	LBB0_7
LBB0_5:
	ldr	w1, [x19, #4]
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_err
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: must be stopped to change its MTU\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_JUMBO_LEN,4,2                  ; @JUMBO_LEN
	.comm	_ETH_DATA_LEN,4,2               ; @ETH_DATA_LEN
l_.str.1:                               ; @.str.1
	.asciz	"%s: invalid MTU, max MTU is: %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_stmmac_change_mtu
.subsections_via_symbols
