	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_set_tstamp_time
_xgbe_set_tstamp_time:                  ## @xgbe_set_tstamp_time
	.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
	movl	%edx, %r14d
	movl	%esi, %edx
	movq	%rdi, %r12
	movq	_MAC_STSUR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_XGMAC_IOWRITE
	movq	_MAC_STNUR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_XGMAC_IOWRITE
	movq	_MAC_TSCR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_TSINIT@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r12, %rdi
	movl	$1, %ecx
	callq	_XGMAC_IOWRITE_BITS
	movl	$-9999, %ebx                    ## imm = 0xD8F1
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movl	(%r15), %edx
	movq	%r12, %rdi
	callq	_XGMAC_IOREAD_BITS
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$5, %edi
	callq	_udelay
	incl	%ebx
	jne	LBB0_1
## %bb.3:
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_err                     ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_STSUR,4,2                  ## @MAC_STSUR
	.comm	_MAC_STNUR,4,2                  ## @MAC_STNUR
	.comm	_MAC_TSCR,4,2                   ## @MAC_TSCR
	.comm	_TSINIT,4,2                     ## @TSINIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"timed out initializing timestamp\n"

	.no_dead_strip	_xgbe_set_tstamp_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_set_tstamp_time
_xgbe_set_tstamp_time:                  ; @xgbe_set_tstamp_time
	.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, x2
	mov	x2, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MAC_STSUR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAC_STSUR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_XGMAC_IOWRITE
Lloh3:
	adrp	x8, _MAC_STNUR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAC_STNUR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_XGMAC_IOWRITE
Lloh6:
	adrp	x20, _MAC_TSCR@GOTPAGE
Lloh7:
	ldr	x20, [x20, _MAC_TSCR@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh8:
	adrp	x21, _TSINIT@GOTPAGE
Lloh9:
	ldr	x21, [x21, _TSINIT@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	mov	w3, #1
	bl	_XGMAC_IOWRITE_BITS
	mov	w22, #-9999
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_XGMAC_IOREAD_BITS
	cbz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #5
	bl	_udelay
	adds	w22, w22, #1
	b.lo	LBB0_1
; %bb.3:
	ldr	w0, [x19]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	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
	b	_netdev_err
LBB0_4:
	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 AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_STSUR,4,2                  ; @MAC_STSUR
	.comm	_MAC_STNUR,4,2                  ; @MAC_STNUR
	.comm	_MAC_TSCR,4,2                   ; @MAC_TSCR
	.comm	_TSINIT,4,2                     ; @TSINIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"timed out initializing timestamp\n"

	.no_dead_strip	_xgbe_set_tstamp_time
.subsections_via_symbols
