	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gmac_fix_features
_gmac_fix_features:                     ## @gmac_fix_features
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	(%rdi), %rax
	movq	_VLAN_HLEN@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	_MTU_SIZE_BIT_MASK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_GMAC_OFFLOAD_FEATURES@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	notl	%ecx
	movl	$-1, %eax
	cmovgl	%ecx, %eax
	andl	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,8,3                   ## @ETH_HLEN
	.comm	_VLAN_HLEN,8,3                  ## @VLAN_HLEN
	.comm	_MTU_SIZE_BIT_MASK,8,3          ## @MTU_SIZE_BIT_MASK
	.comm	_GMAC_OFFLOAD_FEATURES,4,2      ## @GMAC_OFFLOAD_FEATURES
	.no_dead_strip	_gmac_fix_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gmac_fix_features
_gmac_fix_features:                     ; @gmac_fix_features
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x10, _VLAN_HLEN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _VLAN_HLEN@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x8, x8, x9
	add	x8, x8, x10
Lloh6:
	adrp	x9, _MTU_SIZE_BIT_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MTU_SIZE_BIT_MASK@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _GMAC_OFFLOAD_FEATURES@GOTPAGE
Lloh10:
	ldr	x10, [x10, _GMAC_OFFLOAD_FEATURES@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	x8, x9
	mov	w8, #-1
	csinv	w8, w8, w10, le
	and	w0, w8, w1
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HLEN,8,3                   ; @ETH_HLEN
	.comm	_VLAN_HLEN,8,3                  ; @VLAN_HLEN
	.comm	_MTU_SIZE_BIT_MASK,8,3          ; @MTU_SIZE_BIT_MASK
	.comm	_GMAC_OFFLOAD_FEATURES,4,2      ; @GMAC_OFFLOAD_FEATURES
	.no_dead_strip	_gmac_fix_features
.subsections_via_symbols
