	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmmac_test_sph
_stmmac_test_sph:                       ## @stmmac_test_sph
	.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
	cmpl	$0, 16(%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	movq	8(%rdi), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	$0, -32(%rbp)
	leaq	-32(%rbp), %rsi
	callq	___stmmac_test_loopback
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movq	(%rbx), %r14
	cmpq	%r15, %r14
	jbe	LBB0_6
## %bb.4:
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	$1, -32(%rbp)
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	___stmmac_test_loopback
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	xorl	%eax, %eax
	cmpq	%r14, (%rbx)
	ja	LBB0_8
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_7:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_stmmac_test_sph
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmmac_test_sph
_stmmac_test_sph:                       ; @stmmac_test_sph
	.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
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x19, x0
	ldp	x21, x8, [x0]
	ldr	w8, [x8]
	stp	wzr, w8, [sp, #8]
	add	x1, sp, #8
	bl	___stmmac_test_loopback
	cbnz	w0, LBB0_9
; %bb.2:
	ldr	x20, [x19]
	cmp	x20, x21
	b.ls	LBB0_7
; %bb.3:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	mov	w9, #1
	stp	w9, w8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	bl	___stmmac_test_loopback
	cbnz	w0, LBB0_9
; %bb.4:
	ldr	x8, [x19]
	cmp	x8, x20
	b.ls	LBB0_7
; %bb.5:
	mov	w0, #0
	b	LBB0_9
LBB0_6:
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_stmmac_test_sph
.subsections_via_symbols
