	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qlcnic_change_mtu              ## -- Begin function qlcnic_change_mtu
	.p2align	4, 0x90
_qlcnic_change_mtu:                     ## @qlcnic_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, %ebx
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	_P3P_MIN_MTU@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_P3P_MAX_MTU@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpl	%ebx, %ecx
	jg	LBB0_2
## %bb.1:
	cmpl	%ebx, %edx
	jl	LBB0_2
## %bb.3:
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_qlcnic_fw_cmd_set_mtu
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	%ebx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_2:
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P3P_MIN_MTU,4,2                ## @P3P_MIN_MTU
	.comm	_P3P_MAX_MTU,4,2                ## @P3P_MAX_MTU
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d bytes < mtu < %d bytes not supported\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	_qlcnic_change_mtu              ; -- Begin function qlcnic_change_mtu
	.p2align	2
_qlcnic_change_mtu:                     ; @qlcnic_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	x19, x1
	mov	x20, x0
	bl	_netdev_priv
Lloh0:
	adrp	x8, _P3P_MIN_MTU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P3P_MIN_MTU@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _P3P_MAX_MTU@GOTPAGE
Lloh4:
	ldr	x8, [x8, _P3P_MAX_MTU@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	cmp	w3, w19
	ccmp	w2, w19, #8, le
	b.ge	LBB0_2
; %bb.1:
	ldr	x0, [x0]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_2:
	mov	x1, x19
	bl	_qlcnic_fw_cmd_set_mtu
	cbnz	w0, LBB0_4
; %bb.3:
	str	w19, [x20]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_P3P_MIN_MTU,4,2                ; @P3P_MIN_MTU
	.comm	_P3P_MAX_MTU,4,2                ; @P3P_MAX_MTU
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d bytes < mtu < %d bytes not supported\n"

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