	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function et131x_change_mtu
_et131x_change_mtu:                     ## @et131x_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_et131x_disable_txrx
	movl	%ebx, (%r14)
	movq	%r12, %rdi
	callq	_et131x_adapter_memory_free
	addl	$14, %ebx
	movl	%ebx, (%r12)
	movq	%r12, %rdi
	callq	_et131x_soft_reset
	movq	%r12, %rdi
	callq	_et131x_adapter_memory_alloc
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	8(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
	jmp	LBB0_3
LBB0_2:
	movq	%r12, %rdi
	callq	_et131x_init_send
	movq	%r12, %rdi
	callq	_et131x_hwaddr_init
	movl	4(%r14), %edi
	movl	4(%r12), %esi
	callq	_ether_addr_copy
	movq	%r12, %rdi
	callq	_et131x_adapter_setup
	movq	%r14, %rdi
	callq	_et131x_enable_txrx
LBB0_3:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Change MTU failed; couldn't re-alloc DMA memory\n"

	.no_dead_strip	_et131x_change_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function et131x_change_mtu
_et131x_change_mtu:                     ; @et131x_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	x20, x0
	mov	x0, x19
	bl	_et131x_disable_txrx
	str	w21, [x19]
	mov	x0, x20
	bl	_et131x_adapter_memory_free
	add	w8, w21, #14
	str	w8, [x20]
	mov	x0, x20
	bl	_et131x_soft_reset
	mov	x0, x20
	bl	_et131x_adapter_memory_alloc
	mov	x21, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x0, [x20, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_et131x_init_send
	mov	x0, x20
	bl	_et131x_hwaddr_init
	ldr	w0, [x19, #4]
	ldr	w1, [x20, #4]
	bl	_ether_addr_copy
	mov	x0, x20
	bl	_et131x_adapter_setup
	mov	x0, x19
	bl	_et131x_enable_txrx
LBB0_3:
	mov	x0, x21
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Change MTU failed; couldn't re-alloc DMA memory\n"

	.no_dead_strip	_et131x_change_mtu
.subsections_via_symbols
