	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmmac_get_sset_count
_stmmac_get_sset_count:                 ## @stmmac_get_sset_count
	.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, %ebx
	callq	_netdev_priv
	movq	%rax, %r15
	cmpl	$128, %ebx
	je	LBB0_9
## %bb.1:
	cmpl	$129, %ebx
	jne	LBB0_10
## %bb.2:
	movq	_STMMAC_STATS_LEN@GOTPCREL(%rip), %rax
	movl	8(%r15), %r14d
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:
	movq	_STMMAC_MMC_STATS_LEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
LBB0_4:
	addl	(%rax), %r14d
	cmpl	$0, 4(%r15)
	je	LBB0_13
## %bb.5:
	movq	_STMMAC_SAFETY_FEAT_SIZE@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_11
## %bb.6:
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_stmmac_safety_feat_dump
	cmpl	$1, %eax
	adcl	$0, %r12d
	incl	%ebx
	cmpl	(%r13), %ebx
	jl	LBB0_7
	jmp	LBB0_12
LBB0_9:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_stmmac_selftest_get_count      ## TAILCALL
LBB0_10:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_13
LBB0_11:
	xorl	%r12d, %r12d
LBB0_12:
	addl	%r12d, %r14d
LBB0_13:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STMMAC_STATS_LEN,4,2           ## @STMMAC_STATS_LEN
	.comm	_STMMAC_MMC_STATS_LEN,4,2       ## @STMMAC_MMC_STATS_LEN
	.comm	_STMMAC_SAFETY_FEAT_SIZE,4,2    ## @STMMAC_SAFETY_FEAT_SIZE
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_stmmac_get_sset_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmmac_get_sset_count
_stmmac_get_sset_count:                 ; @stmmac_get_sset_count
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	bl	_netdev_priv
	mov	x19, x0
	cmp	w20, #128
	b.eq	LBB0_7
; %bb.1:
	cmp	w20, #129
	b.ne	LBB0_8
; %bb.2:
Lloh0:
	adrp	x8, _STMMAC_STATS_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STMMAC_STATS_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _STMMAC_MMC_STATS_LEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _STMMAC_MMC_STATS_LEN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldp	w11, w10, [x19, #4]
	cmp	w10, #0
	csel	w9, wzr, w9, eq
	add	w20, w9, w8
	cbz	w11, LBB0_10
; %bb.3:
Lloh6:
	adrp	x22, _STMMAC_SAFETY_FEAT_SIZE@GOTPAGE
Lloh7:
	ldr	x22, [x22, _STMMAC_SAFETY_FEAT_SIZE@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.4:
	mov	w23, #0
	mov	w21, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x19
	mov	x2, x21
	mov	x3, #0
	mov	x4, #0
	bl	_stmmac_safety_feat_dump
	cmp	w0, #0
	cinc	w23, w23, eq
	add	w21, w21, #1
	ldr	w8, [x22]
	cmp	w21, w8
	b.lt	LBB0_5
; %bb.6:
	add	w20, w23, w20
	b	LBB0_10
LBB0_7:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_stmmac_selftest_get_count
LBB0_8:
Lloh8:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_10
LBB0_9:
	mov	w23, #0
	add	w20, wzr, w20
LBB0_10:
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_STMMAC_STATS_LEN,4,2           ; @STMMAC_STATS_LEN
	.comm	_STMMAC_MMC_STATS_LEN,4,2       ; @STMMAC_MMC_STATS_LEN
	.comm	_STMMAC_SAFETY_FEAT_SIZE,4,2    ; @STMMAC_SAFETY_FEAT_SIZE
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_stmmac_get_sset_count
.subsections_via_symbols
