	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlge_change_mtu
_qlge_change_mtu:                       ## @qlge_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, %r15
	callq	_netdev_priv
	movq	%rax, %r12
	movl	(%r15), %eax
	cmpl	$9000, %r14d                    ## imm = 0x2328
	jne	LBB0_3
## %bb.1:
	cmpl	$1500, %eax                     ## imm = 0x5DC
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rcx
	jmp	LBB0_6
LBB0_3:
	cmpl	$1500, %r14d                    ## imm = 0x5DC
	jne	LBB0_10
## %bb.4:
	cmpl	$9000, %eax                     ## imm = 0x2328
	jne	LBB0_10
## %bb.5:
	leaq	L_.str.1(%rip), %rcx
LBB0_6:
	movq	_ifup@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	(%r12), %edx
	movq	%r12, %rdi
	callq	_netif_err
	movl	8(%r12), %edi
	movq	%r12, %rsi
	addq	$4, %rsi
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %edx
	callq	_queue_delayed_work
	movl	%r14d, (%r15)
	movl	(%r12), %edi
	callq	_netif_running
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movq	%r12, %rdi
	callq	_ql_change_rx_buffers
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %r14d
	movl	(%r13), %esi
	movl	(%r12), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r12, %rdi
	callq	_netif_err
	movl	%r14d, %ebx
	jmp	LBB0_9
LBB0_10:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ifup,4,2                       ## @ifup
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Changing to jumbo MTU.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Changing to normal MTU.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_HZ,4,2                         ## @HZ
L_.str.2:                               ## @.str.2
	.asciz	"Changing MTU failed.\n"

	.no_dead_strip	_qlge_change_mtu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlge_change_mtu
_qlge_change_mtu:                       ; @qlge_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	x20, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	w8, [x21]
	mov	w9, #9000
	cmp	w20, w9
	b.ne	LBB0_3
; %bb.1:
	cmp	w8, #1500
	b.ne	LBB0_3
; %bb.2:
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:
	cmp	w20, #1500
	b.ne	LBB0_9
; %bb.4:
	mov	w9, #9000
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.5:
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
LBB0_6:
Lloh4:
	adrp	x22, _ifup@GOTPAGE
Lloh5:
	ldr	x22, [x22, _ifup@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	w2, [x19]
	mov	x0, x19
	bl	_netif_err
	ldr	w0, [x19, #8]
	add	x1, x19, #4
Lloh6:
	adrp	x8, _HZ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w2, w8, w8, lsl #1
	bl	_queue_delayed_work
	str	w20, [x21]
	ldr	w0, [x19]
	bl	_netif_running
	cbz	w0, LBB0_10
; %bb.7:
	mov	x0, x19
	bl	_ql_change_rx_buffers
	mov	x20, x0
	cbz	w0, LBB0_11
; %bb.8:
	ldr	w1, [x22]
	ldr	w2, [x19]
Lloh9:
	adrp	x3, l_.str.2@PAGE
Lloh10:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_netif_err
	b	LBB0_11
LBB0_9:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_11
LBB0_10:
	mov	w20, #0
LBB0_11:
	mov	x0, x20
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_ifup,4,2                       ; @ifup
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Changing to jumbo MTU.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Changing to normal MTU.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_HZ,4,2                         ; @HZ
l_.str.2:                               ; @.str.2
	.asciz	"Changing MTU failed.\n"

	.no_dead_strip	_qlge_change_mtu
.subsections_via_symbols
