	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gcov_write_length              ## -- Begin function gcov_write_length
	.p2align	4, 0x90
_gcov_write_length:                     ## @gcov_write_length
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_gcov_var@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	shrq	$63, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_gcc_assert
	movl	16(%r14), %eax
	addq	8(%r14), %rax
	leaq	2(%rbx), %rcx
	xorl	%edi, %edi
	cmpq	%rax, %rcx
	setle	%dil
	callq	_gcc_assert
	xorl	%edi, %edi
	cmpq	%rbx, 8(%r14)
	setle	%dil
	callq	_gcc_assert
	subq	8(%r14), %rbx
	movl	16(%r14), %eax
	subl	%ebx, %eax
	addl	$-2, %eax
	movq	24(%r14), %rcx
	movl	%ebx, %edx
	movl	%eax, 4(%rcx,%rdx,4)
	movl	16(%r14), %edi
	movq	_GCOV_BLOCK_SIZE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	jae	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_gcov_write_block               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_gcov_var,32,3                  ## @gcov_var
	.comm	_GCOV_BLOCK_SIZE,4,2            ## @GCOV_BLOCK_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gcov_write_length              ; -- Begin function gcov_write_length
	.p2align	2
_gcov_write_length:                     ; @gcov_write_length
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _gcov_var@GOTPAGE
Lloh1:
	ldr	x20, [x20, _gcov_var@GOTPAGEOFF]
	ldr	x8, [x20]
	lsr	x0, x8, #63
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_gcc_assert
	add	x8, x19, #2
	ldr	x9, [x20, #8]
	ldr	w10, [x20, #16]
	add	x9, x9, x10
	cmp	x8, x9
	cset	w0, le
	bl	_gcc_assert
	ldr	x8, [x20, #8]
	cmp	x8, x19
	cset	w0, le
	bl	_gcc_assert
	ldr	x8, [x20, #8]
	ldr	w9, [x20, #16]
	sub	x8, x19, x8
	sub	w9, w9, w8
	sub	w9, w9, #2
	ldr	x10, [x20, #24]
	add	x8, x10, w8, uxtw #2
	str	w9, [x8, #4]
	ldr	w0, [x20, #16]
Lloh2:
	adrp	x8, _GCOV_BLOCK_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GCOV_BLOCK_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.hs	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gcov_write_block
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_gcov_var,32,3                  ; @gcov_var
	.comm	_GCOV_BLOCK_SIZE,4,2            ; @GCOV_BLOCK_SIZE
.subsections_via_symbols
