	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_change_mtu               ## -- Begin function bnx2x_change_mtu
	.p2align	4, 0x90
_bnx2x_change_mtu:                      ## @bnx2x_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	(%rax), %rax
	movq	_BNX2X_RECOVERY_DONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	_ETH_MAX_JUMBO_PACKET_SIZE@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jl	LBB0_5
## %bb.4:
	movslq	%r14d, %rax
	movq	_ETH_HLEN@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	_ETH_MIN_PACKET_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_6
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	callq	_BNX2X_ERR
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_BNX2X_ERR
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movl	%r14d, (%rbx)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bnx2x_reload_if_running        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_RECOVERY_DONE,8,3        ## @BNX2X_RECOVERY_DONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't perform change MTU during parity recovery\n"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_ETH_MAX_JUMBO_PACKET_SIZE,4,2  ## @ETH_MAX_JUMBO_PACKET_SIZE
	.comm	_ETH_HLEN,8,3                   ## @ETH_HLEN
	.comm	_ETH_MIN_PACKET_SIZE,8,3        ## @ETH_MIN_PACKET_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"Can't support requested MTU size\n"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_change_mtu               ; -- Begin function bnx2x_change_mtu
	.p2align	2
_bnx2x_change_mtu:                      ; @bnx2x_change_mtu
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_netdev_priv
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BNX2X_RECOVERY_DONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNX2X_RECOVERY_DONE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _ETH_MAX_JUMBO_PACKET_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_MAX_JUMBO_PACKET_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w20
	b.lt	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x8, x8, w20, sxtw
Lloh9:
	adrp	x9, _ETH_MIN_PACKET_SIZE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ETH_MIN_PACKET_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_6
LBB0_3:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BNX2X_ERR
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BNX2X_ERR
Lloh18:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	str	w20, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bnx2x_reload_if_running
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_RECOVERY_DONE,8,3        ; @BNX2X_RECOVERY_DONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't perform change MTU during parity recovery\n"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_ETH_MAX_JUMBO_PACKET_SIZE,4,2  ; @ETH_MAX_JUMBO_PACKET_SIZE
	.comm	_ETH_HLEN,8,3                   ; @ETH_HLEN
	.comm	_ETH_MIN_PACKET_SIZE,8,3        ; @ETH_MIN_PACKET_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"Can't support requested MTU size\n"

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