	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function codeview_map_offset
_codeview_map_offset:                   ## @codeview_map_offset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.1:
	movq	8(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.2:
	xorl	%eax, %eax
	cmpl	$2, %ecx
	jl	LBB0_11
## %bb.3:
	decl	%ecx
	xorl	%eax, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rax
	cmpq	%rax, %rcx
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rax,8), %edi
	cmpl	%esi, %edi
	ja	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%esi, 8(%rdx,%rax,8)
	jbe	LBB0_4
## %bb.7:
	movl	4(%rdx,%rax,8), %eax
	subl	%edi, %esi
	addl	%eax, %esi
	testl	%eax, %eax
	cmovel	%eax, %esi
LBB0_8:
	movl	%esi, %eax
	popq	%rbp
	retq
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_codeview_map_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function codeview_map_offset
_codeview_map_offset:                   ; @codeview_map_offset
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	ldr	x9, [x0, #8]
	cmp	w8, #0
	ccmp	x9, #0, #4, ne
	b.eq	LBB0_8
; %bb.1:
	cmp	w8, #2
	b.lt	LBB0_7
; %bb.2:
	sub	w8, w8, #1
	add	x9, x9, #4
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x9, #-4]
	cmp	w10, w1
	b.hi	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w11, [x9, #4]
	cmp	w11, w1
	b.ls	LBB0_3
; %bb.6:
	ldr	w8, [x9]
	sub	w9, w1, w10
	add	w9, w9, w8
	cmp	w8, #0
	csel	w0, wzr, w9, eq
	ret
LBB0_7:
	mov	w1, #0
LBB0_8:
	mov	x0, x1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_codeview_map_offset
.subsections_via_symbols
