	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function virtnet_validate_ethtool_cmd
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_virtnet_validate_ethtool_cmd:          ## @virtnet_validate_ethtool_cmd
	.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
	subq	$128, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movups	(%rdi), %xmm0
	movups	16(%rdi), %xmm1
	movups	32(%rdi), %xmm2
	movaps	%xmm2, -48(%rbp)
	movaps	%xmm1, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	leaq	-64(%rbp), %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movq	$0, -96(%rbp)
	leaq	-128(%rbp), %rbx
	movq	$0, -32(%rbp)
	movq	_PORT_OTHER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -104(%rbp)
	movq	_advertising@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rdi
	callq	_ethtool_link_ksettings_zero_link_mode
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	$0, -48(%rbp)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$40, %edx
	callq	_memcmp
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movl	-72(%rbp), %edi
	movq	___ETHTOOL_LINK_MODE_MASK_NBITS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_bitmap_empty
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movl	-76(%rbp), %edi
	movl	(%r14), %esi
	callq	_bitmap_empty
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	-80(%rbp), %edi
	movl	(%r14), %esi
	callq	_bitmap_empty
	xorl	%ebx, %ebx
	testq	%rax, %rax
	setne	%bl
LBB0_4:
	movl	%ebx, %eax
	addq	$128, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_OTHER,4,2                 ## @PORT_OTHER
	.comm	_advertising,4,2                ## @advertising
	.comm	___ETHTOOL_LINK_MODE_MASK_NBITS,4,2 ## @__ETHTOOL_LINK_MODE_MASK_NBITS
	.no_dead_strip	_virtnet_validate_ethtool_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function virtnet_validate_ethtool_cmd
_virtnet_validate_ethtool_cmd:          ; @virtnet_validate_ethtool_cmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldp	q0, q1, [x0]
	stp	q0, q1, [sp, #64]
	ldr	q0, [x0, #32]
	str	q0, [sp, #96]
	add	x8, sp, #64
	add	x19, x8, #16
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
	str	xzr, [sp, #48]
	str	q0, [sp]
	mov	x8, sp
	add	x20, x8, #16
Lloh0:
	adrp	x8, _PORT_OTHER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PORT_OTHER@GOTPAGEOFF]
	str	xzr, [sp, #112]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #40]
Lloh3:
	adrp	x8, _advertising@GOTPAGE
Lloh4:
	ldr	x8, [x8, _advertising@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x0, sp, #64
	bl	_ethtool_link_ksettings_zero_link_mode
	stp	xzr, xzr, [sp, #88]
	str	xzr, [sp, #80]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #40
	bl	_memcmp
	cbz	w0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_5
LBB0_2:
	ldr	w0, [sp, #72]
Lloh6:
	adrp	x19, ___ETHTOOL_LINK_MODE_MASK_NBITS@GOTPAGE
Lloh7:
	ldr	x19, [x19, ___ETHTOOL_LINK_MODE_MASK_NBITS@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_bitmap_empty
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w0, [sp, #68]
	ldr	w1, [x19]
	bl	_bitmap_empty
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [sp, #64]
	ldr	w1, [x19]
	bl	_bitmap_empty
	cmp	x0, #0
	cset	w0, ne
LBB0_5:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_OTHER,4,2                 ; @PORT_OTHER
	.comm	_advertising,4,2                ; @advertising
	.comm	___ETHTOOL_LINK_MODE_MASK_NBITS,4,2 ; @__ETHTOOL_LINK_MODE_MASK_NBITS
	.no_dead_strip	_virtnet_validate_ethtool_cmd
.subsections_via_symbols
