	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function twos_complement
_twos_complement:                       ## @twos_complement
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.1:
	addq	%rdx, %rsi
	addq	%rdx, %rdi
	movl	%ecx, %eax
	andb	$1, %al
	movzbl	%al, %r10d
	testb	$1, %dl
	jne	LBB0_3
## %bb.2:
	movq	%rdx, %r8
	cmpq	$1, %rdx
	jne	LBB0_5
	jmp	LBB0_7
LBB0_3:
	leaq	-1(%rdx), %r8
	movb	-1(%rsi), %r9b
	xorb	%cl, %r9b
	decq	%rsi
	movzbl	%r9b, %eax
	addl	%eax, %r10d
	movb	%r10b, -1(%rdi)
	decq	%rdi
	shrl	$8, %r10d
	cmpq	$1, %rdx
	je	LBB0_7
LBB0_5:
	negq	%r8
	xorl	%r9d, %r9d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rsi,%r9), %eax
	xorb	%cl, %al
	movzbl	%al, %eax
	addl	%r10d, %eax
	movb	%al, -1(%rdi,%r9)
	shrl	$8, %eax
	movzbl	-2(%rsi,%r9), %edx
	xorb	%cl, %dl
	movzbl	%dl, %r10d
	addl	%eax, %r10d
	movb	%r10b, -2(%rdi,%r9)
	shrl	$8, %r10d
	addq	$-2, %r9
	cmpq	%r9, %r8
	jne	LBB0_6
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_twos_complement
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function twos_complement
_twos_complement:                       ; @twos_complement
	.cfi_startproc
; %bb.0:
	cbz	x2, LBB0_3
; %bb.1:
	and	w10, w3, #0x1
	sub	x8, x0, #1
	sub	x9, x1, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x9, x2]
	eor	w11, w11, w3
	add	w10, w10, w11
	strb	w10, [x8, x2]
	lsr	w10, w10, #8
	subs	x2, x2, #1
	b.ne	LBB0_2
LBB0_3:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_twos_complement
.subsections_via_symbols
