	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function value_highest_bit
_value_highest_bit:                     ## @value_highest_bit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %eax
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	cmpq	%rdi, (%rsi)
	jle	LBB0_3
## %bb.4:
	movl	%eax, %r8d
	leaq	-1(%r8), %r10
	movl	$1, %r9d
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	addl	%r9d, %r9d
	cmpq	%rdx, %r10
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	1(%rdx), %r11
	cmpq	%rdi, 8(%rsi,%rdx,8)
	movq	%r11, %rdx
	jg	LBB0_6
## %bb.10:
	cmpq	%r8, %r11
	setb	%sil
	jmp	LBB0_8
LBB0_1:
	decl	%eax
	movl	$1, %r9d
	jmp	LBB0_9
LBB0_3:
	movb	$1, %sil
	movl	$1, %r9d
	xorl	%r11d, %r11d
	jmp	LBB0_8
LBB0_7:
	incq	%rdx
	cmpq	%r8, %rdx
	setb	%sil
	movl	%r8d, %r11d
LBB0_8:
	decl	%eax
	testb	%sil, %sil
	cmovnel	%r11d, %eax
LBB0_9:
	movl	%r9d, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_value_highest_bit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function value_highest_bit
_value_highest_bit:                     ; @value_highest_bit
	.cfi_startproc
; %bb.0:
	cmp	w2, #0
	b.le	LBB0_6
; %bb.1:
	ldr	x8, [x1]
	cmp	x8, x0
	b.le	LBB0_7
; %bb.2:
	mov	w9, w2
	mov	w10, #1
	mov	w8, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w8, w8, #1
	cmp	x9, x10
	b.eq	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x1, x10, lsl #3]
	add	x10, x10, #1
	cmp	x11, x0
	b.gt	LBB0_3
; %bb.5:
	sub	x10, x10, #1
	cmp	x10, x9
	cset	w11, lo
	b	LBB0_9
LBB0_6:
	sub	w0, w2, #1
	mov	w8, #1
	str	w8, [x3]
	ret
LBB0_7:
	mov	w10, #0
	mov	w8, #1
	mov	w11, #1
	b	LBB0_9
LBB0_8:
	cmp	x10, x9
	cset	w11, lo
	mov	x10, x9
LBB0_9:
	sub	w9, w2, #1
	cmp	w11, #0
	csel	w0, w10, w9, ne
	str	w8, [x3]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_value_highest_bit
.subsections_via_symbols
