	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1_change_mtu
_atl1_change_mtu:                       ## @atl1_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, %r15d
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%r15d, %ecx
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rdx
	addl	(%rdx), %ecx
	movq	%rax, %rbx
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rcx,%rax), %edx
	movl	%edx, 4(%rbx)
	addl	%ecx, %eax
	addl	$7, %eax
	movl	%eax, %ecx
	sarl	$3, %ecx
	movl	%ecx, 8(%rbx)
	movl	%eax, %ecx
	andl	$-8, %ecx
	movl	%ecx, (%rbx)
	cmovsl	%eax, %ecx
	sarl	$3, %ecx
	movl	%ecx, 12(%rbx)
	movl	%r15d, (%r14)
	movq	%r14, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_atl1_down
	movq	%rbx, %rdi
	callq	_atl1_up
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_ETH_FCS_LEN,4,2                ## @ETH_FCS_LEN
	.comm	_VLAN_HLEN,4,2                  ## @VLAN_HLEN
	.no_dead_strip	_atl1_change_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1_change_mtu
_atl1_change_mtu:                       ; @atl1_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	x20, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ETH_FCS_LEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w8, w8, w20
	add	w8, w8, w9
Lloh6:
	adrp	x9, _VLAN_HLEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VLAN_HLEN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	add	w8, w8, w9
	add	w9, w8, #7
	ands	w10, w9, #0xfffffff8
	stp	w10, w8, [x0]
	orr	w8, w10, #0x7
	csel	w8, w8, w10, lt
	asr	w9, w9, #3
	asr	w8, w8, #3
	stp	w9, w8, [x0, #8]
	str	w20, [x21]
	mov	x0, x21
	bl	_netif_running
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_atl1_down
	mov	x0, x19
	bl	_atl1_up
LBB0_2:
	mov	w0, #0
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_ETH_FCS_LEN,4,2                ; @ETH_FCS_LEN
	.comm	_VLAN_HLEN,4,2                  ; @VLAN_HLEN
	.no_dead_strip	_atl1_change_mtu
.subsections_via_symbols
