	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qede_set_features              ## -- Begin function qede_set_features
	.p2align	4, 0x90
_qede_set_features:                     ## @qede_set_features
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movl	(%rbx), %eax
	xorl	%r15d, %eax
	movq	_NETIF_F_GRO_HW@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movl	%r15d, -32(%rbp)
	movq	_qede_set_features_reload@GOTPCREL(%rip), %rax
	movq	%rax, -40(%rbp)
	movq	%r14, %rdi
	callq	___qede_lock
	cmpq	$0, (%r14)
	je	LBB0_4
## %bb.3:
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_qede_set_features_reload
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_qede_reload
LBB0_5:
	movq	%r14, %rdi
	callq	___qede_unlock
	movl	$1, %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_GRO_HW,4,2             ## @NETIF_F_GRO_HW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qede_set_features              ; -- Begin function qede_set_features
	.p2align	2
_qede_set_features:                     ; @qede_set_features
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	w8, [x21]
	eor	w8, w8, w20
Lloh0:
	adrp	x9, _NETIF_F_GRO_HW@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETIF_F_GRO_HW@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x0
	str	w20, [sp, #8]
Lloh3:
	adrp	x8, _qede_set_features_reload@GOTPAGE
Lloh4:
	ldr	x8, [x8, _qede_set_features_reload@GOTPAGEOFF]
	str	x8, [sp]
	bl	___qede_lock
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x1, sp
	mov	x0, x19
	bl	_qede_set_features_reload
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	b	LBB0_6
LBB0_4:
	mov	x1, sp
	mov	x0, x19
	mov	w2, #1
	bl	_qede_reload
LBB0_5:
	mov	x0, x19
	bl	___qede_unlock
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_GRO_HW,4,2             ; @NETIF_F_GRO_HW
.subsections_via_symbols
