	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_parity
_get_parity:                            ## @get_parity
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	leal	-1(%rsi), %eax
	movl	%esi, %r8d
	andl	$3, %r8d
	cmpl	$3, %eax
	jae	LBB0_4
## %bb.3:
	xorl	%r9d, %r9d
	movl	$1, %edx
	jmp	LBB0_6
LBB0_1:
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_4:
	andl	$-4, %esi
	xorl	%r9d, %r9d
	movl	$1, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edi, %eax
	movl	%r9d, %ecx
	shrl	%cl, %eax
	leal	1(%r9), %ecx
	movl	%edi, %r10d
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %r10d
	addl	%edx, %eax
	addl	%eax, %r10d
	leal	2(%r9), %ecx
	movl	%edi, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %eax
	addl	%r10d, %eax
	leal	3(%r9), %ecx
	movl	%edi, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %edx
	addl	%eax, %edx
	andl	$1, %edx
	addl	$4, %r9d
	cmpl	%esi, %r9d
	jne	LBB0_5
LBB0_6:
	movl	%edx, %eax
	testl	%r8d, %r8d
	je	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edi, %eax
	movl	%r9d, %ecx
	shrl	%cl, %eax
	addl	%edx, %eax
	andl	$1, %eax
	incl	%r9d
	movl	%eax, %edx
	decl	%r8d
	jne	LBB0_7
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_parity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_parity
_get_parity:                            ; @get_parity
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w9, #0
	mov	w8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w10, w0, w9
	add	w8, w8, w10
	and	w8, w8, #0x1
	add	w9, w9, #1
	cmp	w1, w9
	b.ne	LBB0_2
; %bb.3:
	mov	x0, x8
	ret
LBB0_4:
	mov	w0, #1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_parity
.subsections_via_symbols
