	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dos_checksum
_dos_checksum:                          ## @dos_checksum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	(%rdi), %rdi
	movl	%edi, %ecx
	movl	%edi, %eax
	movq	%rdi, %r11
	movq	%rdi, %r10
	movq	%rdi, %r9
	movq	%rdi, %r8
	movzbl	%dil, %edx
                                        ## kill: def $edi killed $edi killed $rdi
	shrl	$8, %edi
	shrl	$16, %ecx
	shrl	$24, %eax
	shrq	$32, %r11
	shrq	$40, %r10
	shrq	$48, %r9
	shrq	$56, %r8
	movl	%edx, %ebx
	shll	$7, %ebx
	shrl	%edx
	orl	%ebx, %edx
	addl	%edi, %edx
	movzbl	%dl, %edx
	movl	%edx, %edi
	shll	$7, %edi
	shrl	%edx
	orl	%edi, %edx
	addl	%ecx, %edx
	movzbl	%dl, %ecx
	movl	%ecx, %edx
	shll	$7, %edx
	shrl	%ecx
	orl	%edx, %ecx
	addl	%eax, %ecx
	movzbl	%cl, %eax
	movl	%eax, %ecx
	shll	$7, %ecx
	shrl	%eax
	orl	%ecx, %eax
	addl	%r11d, %eax
	movzbl	%al, %eax
	movl	%eax, %ecx
	shll	$7, %ecx
	shrl	%eax
	orl	%ecx, %eax
	addl	%r10d, %eax
	movzbl	%al, %eax
	movl	%eax, %ecx
	shll	$7, %ecx
	shrl	%eax
	orl	%ecx, %eax
	addl	%r9d, %eax
	movzbl	%al, %eax
	movl	%eax, %ecx
	shll	$7, %ecx
	shrl	%eax
	orl	%ecx, %eax
	addl	%r8d, %eax
	movzbl	%al, %eax
	movl	%eax, %ecx
	shll	$7, %ecx
	shrl	%eax
	orl	%ecx, %eax
	movzbl	(%rsi), %ecx
	addl	%eax, %ecx
	movzbl	%cl, %eax
	movl	%eax, %ecx
	shll	$7, %ecx
	shrl	%eax
	orl	%ecx, %eax
	movzbl	1(%rsi), %ecx
	addl	%eax, %ecx
	movzbl	%cl, %eax
	movl	%eax, %ecx
	shll	$7, %ecx
	shrl	%eax
	orl	%ecx, %eax
	movzbl	2(%rsi), %ecx
	addl	%eax, %ecx
	movzbl	%cl, %eax
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dos_checksum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dos_checksum
_dos_checksum:                          ; @dos_checksum
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	lsr	x9, x8, #32
	lsr	x10, x8, #40
	lsr	x11, x8, #48
	lsr	x12, x8, #56
	and	w13, w8, #0xff
	ubfx	w14, w8, #1, #7
	bfi	w14, w13, #7, #8
	add	w13, w14, w8, lsr #8
	and	w14, w13, #0xff
	ubfx	w13, w13, #1, #7
	bfi	w13, w14, #7, #8
	add	w13, w13, w8, lsr #16
	and	w14, w13, #0xff
	ubfx	w13, w13, #1, #7
	bfi	w13, w14, #7, #8
	add	w8, w13, w8, lsr #24
	and	w13, w8, #0xff
	ubfx	w8, w8, #1, #7
	bfi	w8, w13, #7, #8
	add	w8, w8, w9
	and	w9, w8, #0xff
	ubfx	w8, w8, #1, #7
	bfi	w8, w9, #7, #8
	add	w8, w8, w10
	and	w9, w8, #0xff
	ubfx	w8, w8, #1, #7
	bfi	w8, w9, #7, #8
	add	w8, w8, w11
	and	w9, w8, #0xff
	ubfx	w8, w8, #1, #7
	bfi	w8, w9, #7, #8
	add	w8, w8, w12
	and	w9, w8, #0xff
	ubfx	w8, w8, #1, #7
	bfi	w8, w9, #7, #8
	ldrb	w9, [x1]
	add	w8, w8, w9
	and	w9, w8, #0xff
	ubfx	w8, w8, #1, #7
	bfi	w8, w9, #7, #8
	ldrb	w9, [x1, #1]
	add	w8, w8, w9
	and	w9, w8, #0xff
	ubfx	w8, w8, #1, #7
	bfi	w8, w9, #7, #8
	ldrb	w9, [x1, #2]
	add	w8, w8, w9
	and	w0, w8, #0xff
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dos_checksum
.subsections_via_symbols
