	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_change_mtu
_ice_change_mtu:                        ## @ice_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, %r14d
	movq	%rdi, %r13
	callq	_netdev_priv
	cmpl	%r14d, (%r13)
	jne	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_netdev_warn
LBB0_2:
	xorl	%r15d, %r15d
	jmp	LBB0_9
LBB0_3:
	movl	4(%r13), %edx
	cmpl	%r14d, %edx
	jle	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_7
LBB0_5:
	cmpl	%r14d, 8(%r13)
	jge	LBB0_10
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
LBB0_7:
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_8:
	subl	(%rax), %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	(%rax), %r12
	movq	8(%r12), %r15
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	callq	_ice_is_reset_in_progress
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	decl	%ebx
	jne	LBB0_11
## %bb.13:
	leaq	L_.str.3(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_14:
	movl	%r14d, (%r13)
	movq	___ICE_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	callq	_test_and_set_bit
	testl	%eax, %eax
	je	LBB0_16
LBB0_15:
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_netdev_info
	jmp	LBB0_2
LBB0_16:
	movq	%r12, %rdi
	callq	_ice_down
	testl	%eax, %eax
	jne	LBB0_18
## %bb.17:
	movq	%r12, %rdi
	callq	_ice_up
	testl	%eax, %eax
	je	LBB0_15
LBB0_18:
	movl	%eax, %r15d
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MTU is already %u\n"

L_.str.1:                               ## @.str.1
	.asciz	"new MTU invalid. min_mtu is %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"new MTU invalid. max_mtu is %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"can't change MTU. Device is busy\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	___ICE_DOWN,4,2                 ## @__ICE_DOWN
L_.str.4:                               ## @.str.4
	.asciz	"change MTU if_up err %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"changed MTU to %d\n"

	.no_dead_strip	_ice_change_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_change_mtu
_ice_change_mtu:                        ; @ice_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	x20, x1
	mov	x19, x0
	bl	_netdev_priv
	ldr	w8, [x19]
	cmp	w8, w20
	b.ne	LBB0_3
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_netdev_warn
LBB0_2:
	mov	w22, #0
	b	LBB0_9
LBB0_3:
	ldr	w8, [x19, #4]
	cmp	w8, w20
	b.le	LBB0_5
; %bb.4:
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_5:
	ldr	w9, [x19, #8]
	cmp	w9, w20
	b.ge	LBB0_10
; %bb.6:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_7:
	mov	x0, x19
	bl	_netdev_err
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_9:
	mov	x0, x22
	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
LBB0_10:
	ldr	x21, [x0]
	ldr	x22, [x21, #8]
	mov	w23, #100
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_ice_is_reset_in_progress
	cbz	x0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	subs	w23, w23, #1
	b.ne	LBB0_11
; %bb.13:
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
Lloh10:
	adrp	x8, _EBUSY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_8
LBB0_14:
	str	w20, [x19]
Lloh12:
	adrp	x8, ___ICE_DOWN@GOTPAGE
Lloh13:
	ldr	x8, [x8, ___ICE_DOWN@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w1, [x21]
	bl	_test_and_set_bit
	cbz	w0, LBB0_16
LBB0_15:
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_netdev_info
	b	LBB0_2
LBB0_16:
	mov	x0, x21
	bl	_ice_down
	cbz	w0, LBB0_18
; %bb.17:
	mov	x22, x0
	str	x22, [sp]
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	b	LBB0_9
LBB0_18:
	mov	x0, x21
	bl	_ice_up
	cbz	w0, LBB0_15
; %bb.19:
	mov	x22, x0
	str	x22, [sp]
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MTU is already %u\n"

l_.str.1:                               ; @.str.1
	.asciz	"new MTU invalid. min_mtu is %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"new MTU invalid. max_mtu is %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"can't change MTU. Device is busy\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	___ICE_DOWN,4,2                 ; @__ICE_DOWN
l_.str.4:                               ; @.str.4
	.asciz	"change MTU if_up err %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"changed MTU to %d\n"

	.no_dead_strip	_ice_change_mtu
.subsections_via_symbols
