	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function HLPFILE_BPTreeSearch
_HLPFILE_BPTreeSearch:                  ## @HLPFILE_BPTreeSearch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movl	$9, %esi
	callq	_GET_USHORT
	cmpl	$10555, %eax                    ## imm = 0x293B
	jne	LBB0_1
## %bb.2:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$13, %esi
	callq	_GET_USHORT
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$35, %esi
	callq	_GET_USHORT
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	$41, %esi
	callq	_GET_USHORT
	movl	%eax, %r12d
	addq	$47, %rbx
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$-2, %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_GET_USHORT
	movl	%eax, %r14d
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	decl	%r12d
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	imull	-44(%rbp), %r14d                ## 4-byte Folded Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%r14), %rdi
	movl	$2, %esi
	callq	_GET_SHORT
	addq	%r14, %rbx
	addq	$6, %rbx
	testl	%eax, %eax
	jle	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r15d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	leaq	-56(%rbp), %rcx
	callq	*%r14
	testl	%eax, %eax
	jg	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	-56(%rbp), %rbx
	decl	%r15d
	jne	LBB0_6
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_WINE_ERR
	jmp	LBB0_14
LBB0_9:
	imull	-44(%rbp), %r14d                ## 4-byte Folded Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	addq	%r14, %r15
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_GET_SHORT
	testl	%eax, %eax
	jle	LBB0_14
## %bb.10:
	movl	%eax, %ebx
	addq	$8, %r15
	leaq	-56(%rbp), %r14
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	testl	%eax, %eax
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	jg	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-56(%rbp), %r15
	decl	%ebx
	jne	LBB0_11
LBB0_14:
	xorl	%r15d, %r15d
LBB0_15:
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid magic in B+ tree: 0x%x\n"

	.no_dead_strip	_HLPFILE_BPTreeSearch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HLPFILE_BPTreeSearch
_HLPFILE_BPTreeSearch:                  ; @HLPFILE_BPTreeSearch
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	mov	w1, #9
	bl	_GET_USHORT
	mov	w8, #10555
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.1:
	mov	x0, x22
	mov	w1, #13
	bl	_GET_USHORT
	mov	x21, x0
	mov	x0, x22
	mov	w1, #35
	bl	_GET_USHORT
	mov	x23, x0
	mov	x0, x22
	mov	w1, #41
	bl	_GET_USHORT
	add	x24, x22, #47
	subs	w25, w0, #1
	b.ne	LBB0_8
LBB0_2:
	mul	w8, w23, w21
	add	x22, x24, x8
	mov	x0, x22
	mov	w1, #2
	bl	_GET_SHORT
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.3:
	mov	x21, x0
	add	x22, x22, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x20
	mov	w2, #1
	blr	x19
	cbz	w0, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #0
	b.gt	LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [sp, #8]
	subs	w21, w21, #1
	b.ne	LBB0_4
	b	LBB0_13
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	sub	x0, x22, #2
	mov	w1, #0
	bl	_GET_USHORT
	mov	x23, x0
	subs	w25, w25, #1
	b.eq	LBB0_2
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	mul	w8, w23, w21
	add	x22, x24, x8
	mov	x0, x22
	mov	w1, #2
	bl	_GET_SHORT
	add	x22, x22, #6
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x23, x0
LBB0_10:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x20
	mov	w2, #0
	blr	x19
	cmp	w0, #0
	b.gt	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x22, [sp, #8]
	subs	w23, w23, #1
	b.ne	LBB0_10
	b	LBB0_7
LBB0_12:
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_WINE_ERR
LBB0_13:
	mov	x22, #0
LBB0_14:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid magic in B+ tree: 0x%x\n"

	.no_dead_strip	_HLPFILE_BPTreeSearch
.subsections_via_symbols
