	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssread
_ssread:                                ## @ssread
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_send_stream@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$1, %edx
	callq	_fread
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_do_cksum@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.2:
	movq	_do_byteswap@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_fletcher_4_incremental_byteswap
	jmp	LBB0_5
LBB0_4:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_fletcher_4_incremental_native
LBB0_5:
	movq	_total_stream_len@GOTPCREL(%rip), %rax
	addq	%r15, (%rax)
LBB0_6:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_send_stream,4,2                ## @send_stream
	.comm	_do_cksum,8,3                   ## @do_cksum
	.comm	_do_byteswap,8,3                ## @do_byteswap
	.comm	_total_stream_len,8,3           ## @total_stream_len
	.no_dead_strip	_ssread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssread
_ssread:                                ; @ssread
	.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	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _send_stream@GOTPAGE
Lloh1:
	ldr	x8, [x8, _send_stream@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	w2, #1
	bl	_fread
	mov	x21, x0
	cbz	x0, LBB0_6
; %bb.1:
Lloh3:
	adrp	x8, _do_cksum@GOTPAGE
Lloh4:
	ldr	x8, [x8, _do_cksum@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _do_byteswap@GOTPAGE
Lloh7:
	ldr	x8, [x8, _do_byteswap@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	bl	_fletcher_4_incremental_byteswap
	b	LBB0_5
LBB0_4:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	bl	_fletcher_4_incremental_native
LBB0_5:
Lloh9:
	adrp	x8, _total_stream_len@GOTPAGE
Lloh10:
	ldr	x8, [x8, _total_stream_len@GOTPAGEOFF]
	ldr	x9, [x8]
	add	x9, x9, x19
	str	x9, [x8]
LBB0_6:
	mov	x0, x21
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_send_stream,4,2                ; @send_stream
	.comm	_do_cksum,8,3                   ; @do_cksum
	.comm	_do_byteswap,8,3                ; @do_byteswap
	.comm	_total_stream_len,8,3           ; @total_stream_len
	.no_dead_strip	_ssread
.subsections_via_symbols
