	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sparc64_counter_init           ## -- Begin function sparc64_counter_init
	.p2align	4, 0x90
_sparc64_counter_init:                  ## @sparc64_counter_init
	.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
	movq	%rcx, %r13
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_CTR_CT0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%r13, %rdx
	movq	_CTR_LIMIT@GOTPCREL(%rip), %r14
	addq	(%r14), %rdx
	movq	_COUNTER_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rax, %rbx
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_bus_space_write_8
	movq	_CTR_CT1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%r13, %rdx
	addq	(%r14), %rdx
	movl	(%rbx), %ecx
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_bus_space_write_8
	movq	_M_DEVBUF@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rcx
	movq	_M_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%rcx), %edx
	movl	$32, %edi
	callq	_malloc
	movq	%rax, %rbx
	movl	(%r14), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, %edi
	callq	_malloc
	movq	%rax, %r14
	movl	%r12d, 12(%rax)
	movl	%r15d, 8(%rax)
	movq	_CTR_CT0@GOTPCREL(%rip), %rax
	addq	(%rax), %r13
	movq	%r13, (%r14)
	movq	_counter_get_timecount@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_COUNTER_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_COUNTER_FREQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_M_DEVBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_strdup
	movl	%eax, 16(%rbx)
	movq	%r14, 8(%rbx)
	movq	_COUNTER_QUALITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tc_init                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CTR_CT0,8,3                    ## @CTR_CT0
	.comm	_CTR_LIMIT,8,3                  ## @CTR_LIMIT
	.comm	_COUNTER_MASK,4,2               ## @COUNTER_MASK
	.comm	_CTR_CT1,8,3                    ## @CTR_CT1
	.comm	_M_DEVBUF,4,2                   ## @M_DEVBUF
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_counter_get_timecount,4,2      ## @counter_get_timecount
	.comm	_COUNTER_FREQ,4,2               ## @COUNTER_FREQ
	.comm	_COUNTER_QUALITY,4,2            ## @COUNTER_QUALITY
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"initializing counter-timer"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sparc64_counter_init           ; -- Begin function sparc64_counter_init
	.p2align	2
_sparc64_counter_init:                  ; @sparc64_counter_init
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh2:
	adrp	x25, _CTR_CT0@GOTPAGE
Lloh3:
	ldr	x25, [x25, _CTR_CT0@GOTPAGEOFF]
	ldr	x8, [x25]
Lloh4:
	adrp	x23, _CTR_LIMIT@GOTPAGE
Lloh5:
	ldr	x23, [x23, _CTR_LIMIT@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x8, x8, x20
	add	x2, x8, x9
Lloh6:
	adrp	x26, _COUNTER_MASK@GOTPAGE
Lloh7:
	ldr	x26, [x26, _COUNTER_MASK@GOTPAGEOFF]
	ldr	w3, [x26]
	mov	x0, x22
	mov	x1, x21
	bl	_bus_space_write_8
Lloh8:
	adrp	x8, _CTR_CT1@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CTR_CT1@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x9, [x23]
	add	x8, x8, x20
	add	x2, x8, x9
	ldr	w3, [x26]
	mov	x0, x22
	mov	x1, x21
	bl	_bus_space_write_8
Lloh11:
	adrp	x27, _M_DEVBUF@GOTPAGE
Lloh12:
	ldr	x27, [x27, _M_DEVBUF@GOTPAGEOFF]
Lloh13:
	adrp	x24, _M_WAITOK@GOTPAGE
Lloh14:
	ldr	x24, [x24, _M_WAITOK@GOTPAGEOFF]
	ldr	w1, [x27]
	ldr	w8, [x24]
Lloh15:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh16:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	w0, #32
	bl	_malloc
	mov	x23, x0
	ldr	w1, [x27]
	ldr	w2, [x24]
	mov	w0, #16
	bl	_malloc
	mov	x24, x0
	stp	w21, w22, [x0, #8]
	ldr	x8, [x25]
	add	x8, x8, x20
	str	x8, [x0]
Lloh18:
	adrp	x8, _counter_get_timecount@GOTPAGE
Lloh19:
	ldr	x8, [x8, _counter_get_timecount@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x23, #28]
	ldr	w8, [x26]
Lloh21:
	adrp	x9, _COUNTER_FREQ@GOTPAGE
Lloh22:
	ldr	x9, [x9, _COUNTER_FREQ@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x23, #20]
	ldr	w1, [x27]
	mov	x0, x19
	bl	_strdup
	str	w0, [x23, #16]
	str	x24, [x23, #8]
Lloh24:
	adrp	x8, _COUNTER_QUALITY@GOTPAGE
Lloh25:
	ldr	x8, [x8, _COUNTER_QUALITY@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x23]
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_tc_init
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CTR_CT0,8,3                    ; @CTR_CT0
	.comm	_CTR_LIMIT,8,3                  ; @CTR_LIMIT
	.comm	_COUNTER_MASK,4,2               ; @COUNTER_MASK
	.comm	_CTR_CT1,8,3                    ; @CTR_CT1
	.comm	_M_DEVBUF,4,2                   ; @M_DEVBUF
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_counter_get_timecount,4,2      ; @counter_get_timecount
	.comm	_COUNTER_FREQ,4,2               ; @COUNTER_FREQ
	.comm	_COUNTER_QUALITY,4,2            ; @COUNTER_QUALITY
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"initializing counter-timer"

.subsections_via_symbols
