	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gold2root
_gold2root:                             ## @gold2root
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%ecx, %ecx
	cmpl	$262143, %edi                   ## imm = 0x3FFFF
	cmovll	%edi, %ecx
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.2:
	cmpl	$1, %ecx
	jne	LBB0_4
## %bb.3:
	movl	$1, %eax
	jmp	LBB0_6
LBB0_1:
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_4:
	movl	%ecx, %edx
	andl	$-2, %edx
	movl	$1, %esi
	movl	%esi, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	shrl	$7, %eax
	xorl	%esi, %eax
	andl	$1, %eax
	shll	$17, %eax
	sarl	%esi
	orl	%esi, %eax
	movl	%esi, %edi
	shrl	$7, %edi
	xorl	%esi, %edi
	andl	$1, %edi
	shll	$17, %edi
	sarl	%eax
	orl	%edi, %eax
	movl	%eax, %esi
	addl	$-2, %edx
	jne	LBB0_5
LBB0_6:
	testb	$1, %cl
	je	LBB0_8
## %bb.7:
	movl	%eax, %ecx
	shrl	$7, %ecx
	xorl	%eax, %ecx
	andl	$1, %ecx
	shll	$17, %ecx
	sarl	%eax
	orl	%ecx, %eax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gold2root
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gold2root
_gold2root:                             ; @gold2root
	.cfi_startproc
; %bb.0:
	mov	w8, #262142
	cmp	w0, w8
	csel	w8, wzr, w0, gt
	mov	w0, #1
	cmp	w8, #1
	b.lt	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	eor	w9, w0, w0, lsr #7
	ubfiz	w9, w9, #17, #1
	orr	w0, w9, w0, asr #1
	subs	w8, w8, #1
	b.ne	LBB0_1
LBB0_2:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gold2root
.subsections_via_symbols
