	.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	%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	%rax, %rbx
	movl	8(%rax), %edi
	callq	_pci_num_vf
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movq	_EPERM@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_2:
	movq	(%rbx), %rax
	movq	_BNX2X_RECOVERY_DONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.5:
	movl	%r15d, (%r14)
	movl	%r15d, %edi
	callq	_bnx2x_mtu_allows_gro
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	_NETIF_F_GRO_HW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 4(%r14)
LBB0_7:
	movq	%rbx, %rdi
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movq	_curr_cfg@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_SHMEM2_HAS
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	(%r15), %esi
	movq	_CURR_CFG_MET_OS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_SHMEM2_WR
LBB0_10:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_reload_if_running        ## TAILCALL
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	callq	_BNX2X_ERR
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
LBB0_4:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MSG_IOV,4,2              ## @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VFs are enabled, can not change MTU\n"

	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_BNX2X_RECOVERY_DONE,8,3        ## @BNX2X_RECOVERY_DONE
L_.str.1:                               ## @.str.1
	.asciz	"Can't perform change MTU during parity recovery\n"

	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_NETIF_F_GRO_HW,4,2             ## @NETIF_F_GRO_HW
	.comm	_curr_cfg,4,2                   ## @curr_cfg
	.comm	_CURR_CFG_MET_OS,4,2            ## @CURR_CFG_MET_OS
.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	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
	ldr	w0, [x0, #8]
	bl	_pci_num_vf
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _BNX2X_MSG_IOV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_MSG_IOV@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
Lloh5:
	adrp	x8, _EPERM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
	b	LBB0_10
LBB0_2:
	ldr	x8, [x20]
Lloh7:
	adrp	x9, _BNX2X_RECOVERY_DONE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _BNX2X_RECOVERY_DONE@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.3:
	str	w21, [x19]
	mov	x0, x21
	bl	_bnx2x_mtu_allows_gro
	cbnz	w0, LBB0_5
; %bb.4:
Lloh10:
	adrp	x8, _NETIF_F_GRO_HW@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NETIF_F_GRO_HW@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	bic	w8, w9, w8
	str	w8, [x19, #4]
LBB0_5:
	mov	x0, x20
	bl	_IS_PF
	cbz	x0, LBB0_8
; %bb.6:
Lloh13:
	adrp	x21, _curr_cfg@GOTPAGE
Lloh14:
	ldr	x21, [x21, _curr_cfg@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_SHMEM2_HAS
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w1, [x21]
Lloh15:
	adrp	x8, _CURR_CFG_MET_OS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CURR_CFG_MET_OS@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_SHMEM2_WR
LBB0_8:
	mov	x0, x19
	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
	b	_bnx2x_reload_if_running
LBB0_9:
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BNX2X_ERR
Lloh20:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	neg	w0, w8
	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 AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_IOV,4,2              ; @BNX2X_MSG_IOV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VFs are enabled, can not change MTU\n"

	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_BNX2X_RECOVERY_DONE,8,3        ; @BNX2X_RECOVERY_DONE
l_.str.1:                               ; @.str.1
	.asciz	"Can't perform change MTU during parity recovery\n"

	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_NETIF_F_GRO_HW,4,2             ; @NETIF_F_GRO_HW
	.comm	_curr_cfg,4,2                   ; @curr_cfg
	.comm	_CURR_CFG_MET_OS,4,2            ; @CURR_CFG_MET_OS
.subsections_via_symbols
