	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bitrev
_bitrev:                                ## @bitrev
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %r8d
	sarl	$31, %r8d
	movl	$1, %r9d
	xorl	%r10d, %r10d
	movl	$31, %r11d
	xorl	%eax, %eax
	xorl	%esi, %esi
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edx
	movl	%esi, %ecx
	shll	%cl, %edx
	andl	%edi, %edx
	movl	%r11d, %ecx
	subl	%r10d, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	incl	%r10d
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	orl	%edx, %eax
	incl	%esi
	addl	$-1, %r11d
	jae	LBB0_7
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$15, %esi
	jbe	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r11d, %r11d
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edx
	movl	%esi, %ecx
	shll	%cl, %edx
	andl	%edi, %edx
	movl	%r9d, %ecx
	shrl	%cl, %edx
	addl	$2, %r9d
	jmp	LBB0_6
LBB0_7:
	popq	%rbp
	retq
LBB0_4:
	orl	%r8d, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bitrev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bitrev
_bitrev:                                ; @bitrev
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	mov	w9, #0
	mov	w0, #0
	mov	w11, #0
	asr	w10, w8, #31
	mov	w12, #1
	mov	w13, #31
	mov	w14, #1
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	lsl	w15, w12, w11
	and	w15, w15, w8
	sub	w16, w13, w9
	lsl	w15, w15, w16
	add	w9, w9, #1
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	orr	w0, w15, w0
	add	w11, w11, #1
	sub	w13, w13, #1
	cmn	w13, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w11, #15
	b.ls	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w13, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	w15, w12, w11
	and	w15, w15, w8
	lsr	w15, w15, w14
	add	w14, w14, #2
	b	LBB0_2
LBB0_6:
	ret
LBB0_7:
	orr	w0, w10, w0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bitrev
.subsections_via_symbols
