	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dwmac4_wrback_get_rx_timestamp_status
_dwmac4_wrback_get_rx_timestamp_status: ## @dwmac4_wrback_get_rx_timestamp_status
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	movl	4(%rdi), %edi
	callq	_le32_to_cpu
	movq	_RDES3_RDES1_VALID@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movl	(%r15), %edi
	callq	_le32_to_cpu
	movq	_RDES1_TIMESTAMP_AVAILABLE@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_dwmac4_rx_check_timestamp
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r12d
	leal	1(%rbx), %eax
	cmpl	$1, %r12d
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$9, %ebx
	movl	%eax, %ebx
	jb	LBB0_3
LBB0_7:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	subl	(%rcx), %edx
	cmpl	$10, %eax
	cmovel	%edx, %r12d
	jmp	LBB0_8
LBB0_4:
	movl	$1, %r12d
LBB0_8:
	xorl	%edi, %edi
	testl	%r12d, %r12d
	sete	%dil
	callq	_likely
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RDES3_RDES1_VALID,4,2          ## @RDES3_RDES1_VALID
	.comm	_RDES1_TIMESTAMP_AVAILABLE,4,2  ## @RDES1_TIMESTAMP_AVAILABLE
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_dwmac4_wrback_get_rx_timestamp_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dwmac4_wrback_get_rx_timestamp_status
_dwmac4_wrback_get_rx_timestamp_status: ; @dwmac4_wrback_get_rx_timestamp_status
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	ldr	w0, [x0, #4]
	bl	_le32_to_cpu
Lloh3:
	adrp	x8, _RDES3_RDES1_VALID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RDES3_RDES1_VALID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w0, w8, w0
	bl	_likely
	cbz	x0, LBB0_8
; %bb.1:
	ldr	w0, [x20]
	bl	_le32_to_cpu
Lloh6:
	adrp	x8, _RDES1_TIMESTAMP_AVAILABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RDES1_TIMESTAMP_AVAILABLE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w0, w8, w0
	bl	_likely
	cbz	x0, LBB0_8
; %bb.2:
	mov	w20, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_dwmac4_rx_check_timestamp
	tbnz	w0, #31, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w8, w20, #1
	cmp	w0, #1
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w20, #9
	mov	x20, x8
	b.lo	LBB0_3
LBB0_6:
Lloh9:
	adrp	x9, _EBUSY@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EBUSY@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, #10
	csneg	w21, w0, w9, ne
	b	LBB0_8
LBB0_7:
	mov	w21, #1
LBB0_8:
	cmp	w21, #0
	cset	w0, eq
	bl	_likely
	cmp	x0, #0
	cset	w0, ne
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RDES3_RDES1_VALID,4,2          ; @RDES3_RDES1_VALID
	.comm	_RDES1_TIMESTAMP_AVAILABLE,4,2  ; @RDES1_TIMESTAMP_AVAILABLE
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_dwmac4_wrback_get_rx_timestamp_status
.subsections_via_symbols
