	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmmac_set_features
_stmmac_set_features:                   ## @stmmac_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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	testl	%ebx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	8(%r15), %rax
	movq	(%rax), %rax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	24(%r15), %rsi
	movq	%rax, (%rsi)
	movq	%r15, %rdi
	callq	_stmmac_rx_ipc
	movq	24(%r15), %rax
	cmpq	$0, (%rax)
	jle	LBB0_5
## %bb.4:
	xorl	%r14d, %r14d
	cmpq	$0, 16(%r15)
	setne	%r14b
LBB0_5:
	movq	8(%r15), %rax
	cmpq	$0, 8(%rax)
	jle	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	movq	%rbx, %rcx
	callq	_stmmac_enable_sph
	incq	%rbx
	movq	8(%r15), %rax
	cmpq	8(%rax), %rbx
	jl	LBB0_7
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.no_dead_strip	_stmmac_set_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmmac_set_features
_stmmac_set_features:                   ; @stmmac_set_features
	.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
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _NETIF_F_RXCSUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	b	LBB0_3
LBB0_2:
	mov	x8, #0
LBB0_3:
	ldr	x1, [x19, #24]
	str	x8, [x1]
	mov	x0, x19
	bl	_stmmac_rx_ipc
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_5
; %bb.4:
	ldr	x8, [x19, #16]
	cmp	x8, #0
	cset	w20, ne
	b	LBB0_6
LBB0_5:
	mov	w20, #0
LBB0_6:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	cmp	x8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x21, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19]
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	bl	_stmmac_enable_sph
	add	x21, x21, #1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	cmp	x21, x8
	b.lt	LBB0_8
LBB0_9:
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.no_dead_strip	_stmmac_set_features
.subsections_via_symbols
