	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gxv_BinSrchHeader_check_consistency
_gxv_BinSrchHeader_check_consistency:   ## @gxv_BinSrchHeader_check_consistency
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %ecx
	movl	4(%rdi), %eax
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	cmpl	$0, 8(%rbx)
	jne	LBB0_4
## %bb.2:
	cmpl	$0, 12(%rbx)
	jne	LBB0_4
## %bb.3:
	cmpq	$0, 16(%rbx)
	je	LBB0_10
LBB0_4:
	movl	$1, %edi
	movl	$-1, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edi, %esi
	incl	%edx
	cmpl	$32767, %edi                    ## imm = 0x7FFF
	ja	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	leal	(%rsi,%rsi), %edi
	cmpl	%eax, %edi
	jle	LBB0_5
LBB0_7:
	imull	%ecx, %esi
	imull	%ecx, %eax
	subl	%esi, %eax
	movslq	%eax, %r14
	cmpl	8(%rbx), %esi
	jne	LBB0_11
## %bb.8:
	cmpl	%edx, 12(%rbx)
	jne	LBB0_11
## %bb.9:
	cmpq	%r14, 16(%rbx)
	jne	LBB0_11
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str(%rip), %rdi
	callq	_GXV_TRACE
	movq	16(%rbx), %rdi
	callq	_GXV_TRACE
	movq	%r14, %rdi
	callq	_GXV_TRACE
	movq	_FT_INVALID_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_GXV_SET_ERR_IF_PARANOID        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FT_INVALID_DATA,4,2            ## @FT_INVALID_DATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Inconsistency found in BinSrchHeader\n"

	.no_dead_strip	_gxv_BinSrchHeader_check_consistency
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gxv_BinSrchHeader_check_consistency
_gxv_BinSrchHeader_check_consistency:   ; @gxv_BinSrchHeader_check_consistency
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldp	w8, w9, [x0]
	cbnz	w9, LBB0_4
; %bb.1:
	ldr	w10, [x19, #8]
	cbnz	w10, LBB0_4
; %bb.2:
	ldr	w10, [x19, #12]
	cbnz	w10, LBB0_4
; %bb.3:
	ldr	x10, [x19, #16]
	cbz	x10, LBB0_10
LBB0_4:
	mov	w12, #1
	mov	w10, #-1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x11, x12
	add	w10, w10, #1
	lsr	w12, w12, #15
	cbnz	w12, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	lsl	w12, w11, #1
	cmp	w12, w9
	b.le	LBB0_5
LBB0_7:
	mul	w11, w11, w8
	mul	w8, w9, w8
	sub	w20, w8, w11
	ldr	w8, [x19, #8]
	cmp	w11, w8
	b.ne	LBB0_11
; %bb.8:
	ldr	w8, [x19, #12]
	cmp	w8, w10
	b.ne	LBB0_11
; %bb.9:
	ldr	x8, [x19, #16]
	cmp	x8, w20, sxtw
	b.ne	LBB0_11
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_GXV_TRACE
	ldr	x0, [x19, #16]
	bl	_GXV_TRACE
	sxtw	x0, w20
	bl	_GXV_TRACE
Lloh2:
	adrp	x8, _FT_INVALID_DATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FT_INVALID_DATA@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_GXV_SET_ERR_IF_PARANOID
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FT_INVALID_DATA,4,2            ; @FT_INVALID_DATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Inconsistency found in BinSrchHeader\n"

	.no_dead_strip	_gxv_BinSrchHeader_check_consistency
.subsections_via_symbols
