	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___bt_cmp                       ## -- Begin function __bt_cmp
	.p2align	4, 0x90
___bt_cmp:                              ## @__bt_cmp
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rdx), %rdi
	movl	(%rdx), %esi
	testl	%esi, %esi
	jne	LBB0_4
## %bb.1:
	movq	(%rdi), %rax
	movq	_P_INVALID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movq	_P_BLEAF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rdi)
	je	LBB0_3
LBB0_4:
	movq	_P_BLEAF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rdi)
	je	LBB0_8
## %bb.5:
	callq	_GETBLEAF
	jmp	LBB0_6
LBB0_8:
	callq	_GETBINTERNAL
LBB0_6:
	movq	_P_BIGKEY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_7
## %bb.9:
	addq	$8, %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.10:
	leaq	-32(%rbp), %rdx
	leaq	8(%rbx), %r15
	leaq	16(%rbx), %r8
	movq	%rbx, %rdi
	movq	%r15, %rcx
	callq	___ovfl_get
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_RET_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_14
LBB0_7:
	movq	8(%rax), %rcx
	movq	%rcx, -40(%rbp)
	movl	4(%rax), %eax
	movl	%eax, -32(%rbp)
	jmp	LBB0_13
LBB0_12:
	movq	(%r15), %rax
	movq	%rax, -40(%rbp)
LBB0_13:
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	*(%rbx)
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	$1, %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_P_INVALID,8,3                  ## @P_INVALID
	.comm	_P_BLEAF,4,2                    ## @P_BLEAF
	.comm	_P_BIGKEY,4,2                   ## @P_BIGKEY
	.comm	_RET_ERROR,4,2                  ## @RET_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___bt_cmp                       ; -- Begin function __bt_cmp
	.p2align	2
___bt_cmp:                              ; @__bt_cmp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x2, #8]
	ldr	w1, [x2]
Lloh0:
	adrp	x8, _P_BLEAF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P_BLEAF@GOTPAGEOFF]
	cbnz	w1, LBB0_3
; %bb.1:
	ldr	x9, [x0]
Lloh2:
	adrp	x10, _P_INVALID@GOTPAGE
Lloh3:
	ldr	x10, [x10, _P_INVALID@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
	ldr	w9, [x0, #8]
	ldr	w10, [x8]
	tst	w10, w9
	b.eq	LBB0_14
LBB0_3:
	ldr	w9, [x0, #8]
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_5
; %bb.4:
	bl	_GETBLEAF
	b	LBB0_6
LBB0_5:
	bl	_GETBINTERNAL
LBB0_6:
	mov	x8, x0
	ldr	w9, [x8], #8
Lloh5:
	adrp	x10, _P_BIGKEY@GOTPAGE
Lloh6:
	ldr	x10, [x10, _P_BIGKEY@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_10
; %bb.7:
	ldr	x1, [x8]
	cbz	x1, LBB0_12
; %bb.8:
	mov	x8, sp
	add	x2, x8, #8
	add	x21, x20, #8
	add	x4, x20, #16
	mov	x0, x20
	mov	x3, x21
	bl	___ovfl_get
	cbz	x0, LBB0_11
; %bb.9:
Lloh8:
	adrp	x8, _RET_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RET_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	b	LBB0_13
LBB0_10:
	ldr	x8, [x0, #8]
	str	x8, [sp]
	ldr	w8, [x0, #4]
	str	w8, [sp, #8]
	b	LBB0_12
LBB0_11:
	ldr	x8, [x21]
	str	x8, [sp]
LBB0_12:
	ldr	x8, [x20]
	mov	x1, sp
	mov	x0, x19
	blr	x8
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_14:
	mov	w0, #1
	b	LBB0_13
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_P_INVALID,8,3                  ; @P_INVALID
	.comm	_P_BLEAF,4,2                    ; @P_BLEAF
	.comm	_P_BIGKEY,4,2                   ; @P_BIGKEY
	.comm	_RET_ERROR,4,2                  ; @RET_ERROR
.subsections_via_symbols
