	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_change_mtu
_igb_change_mtu:                        ## @igb_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	8(%rax), %rdi
	cmpl	$68, %r13d
	jl	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r13d, %eax
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	addl	%r14d, %eax
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	movq	_MAX_JUMBO_FRAME_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jg	LBB0_2
## %bb.4:
	cmpl	$9239, %eax                     ## imm = 0x2417
	jl	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rsi
LBB0_3:
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_15
LBB0_6:
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_ETH_FRAME_LEN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %r14d
	cmpl	%r14d, %eax
	cmovgl	%eax, %r14d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	addq	$4, %rbx
	movq	___IGB_RESETTING@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, %edi
	callq	_msleep
	jmp	LBB0_8
LBB0_9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%r14d, (%rax)
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	callq	_igb_down
LBB0_11:
	movl	(%r15), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %ecx
	callq	_dev_info
	movl	%r13d, (%r15)
	movq	%r15, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_igb_up
	jmp	LBB0_14
LBB0_13:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_igb_reset
LBB0_14:
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	xorl	%eax, %eax
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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
	.comm	_MAX_JUMBO_FRAME_SIZE,4,2       ## @MAX_JUMBO_FRAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid MTU setting\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"MTU > 9216 not supported.\n"

	.comm	_ETH_FRAME_LEN,4,2              ## @ETH_FRAME_LEN
	.comm	___IGB_RESETTING,4,2            ## @__IGB_RESETTING
L_.str.2:                               ## @.str.2
	.asciz	"changing MTU from %d to %d\n"

	.comm	_MAX_STD_JUMBO_FRAME_SIZE,4,2   ## @MAX_STD_JUMBO_FRAME_SIZE
	.no_dead_strip	_igb_change_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_change_mtu
_igb_change_mtu:                        ; @igb_change_mtu
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	mov	x20, x0
	bl	_netdev_priv
	ldr	x22, [x0, #8]
	cmp	w21, #68
	b.lt	LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh2:
	adrp	x9, _ETH_FCS_LEN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x8]
Lloh5:
	ldr	w8, [x9]
	add	w9, w10, w21
	add	w9, w9, w8
Lloh6:
	adrp	x10, _VLAN_HLEN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _VLAN_HLEN@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _MAX_JUMBO_FRAME_SIZE@GOTPAGE
Lloh10:
	ldr	x11, [x11, _MAX_JUMBO_FRAME_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	add	w9, w9, w10
	cmp	w9, w11
	b.gt	LBB0_4
; %bb.2:
	mov	w10, #9239
	cmp	w9, w10
	b.lt	LBB0_6
; %bb.3:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
LBB0_5:
	mov	x0, x22
	bl	_dev_err
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_15
LBB0_6:
	mov	x19, x0
Lloh19:
	adrp	x10, _ETH_FRAME_LEN@GOTPAGE
Lloh20:
	ldr	x10, [x10, _ETH_FRAME_LEN@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	add	w8, w10, w8
	cmp	w9, w8
	csel	w25, w9, w8, gt
	add	x23, x0, #4
Lloh22:
	adrp	x24, ___IGB_RESETTING@GOTPAGE
Lloh23:
	ldr	x24, [x24, ___IGB_RESETTING@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	mov	x1, x23
	bl	_test_and_set_bit
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #1
	bl	_msleep
	b	LBB0_7
LBB0_9:
	str	w25, [x19]
	mov	x0, x20
	bl	_netif_running
	cbz	x0, LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_igb_down
LBB0_11:
	ldr	w2, [x20]
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	x3, x21
	bl	_dev_info
	str	w21, [x20]
	mov	x0, x20
	bl	_netif_running
	cbz	x0, LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_igb_up
	b	LBB0_14
LBB0_13:
	mov	x0, x19
	bl	_igb_reset
LBB0_14:
	ldr	w0, [x24]
	mov	x1, x23
	bl	_clear_bit
	mov	w0, #0
LBB0_15:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.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
	.comm	_MAX_JUMBO_FRAME_SIZE,4,2       ; @MAX_JUMBO_FRAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid MTU setting\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"MTU > 9216 not supported.\n"

	.comm	_ETH_FRAME_LEN,4,2              ; @ETH_FRAME_LEN
	.comm	___IGB_RESETTING,4,2            ; @__IGB_RESETTING
l_.str.2:                               ; @.str.2
	.asciz	"changing MTU from %d to %d\n"

	.comm	_MAX_STD_JUMBO_FRAME_SIZE,4,2   ; @MAX_STD_JUMBO_FRAME_SIZE
	.no_dead_strip	_igb_change_mtu
.subsections_via_symbols
