	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bms_equal                      ## -- Begin function bms_equal
	.p2align	4, 0x90
_bms_equal:                             ## @bms_equal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.2:
	movq	(%rdi), %rax
	cmpq	(%rsi), %rax
	movq	%rsi, %r9
	cmovgq	%rdi, %r9
	cmovgq	%rsi, %rdi
	movq	(%rdi), %r8
	testl	%r8d, %r8d
	jle	LBB0_10
## %bb.3:
	movl	%r8d, %r10d
	movq	8(%rdi), %rdi
	movq	8(%r9), %rdx
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%rcx,8), %rsi
	cmpq	(%rdx,%rcx,8), %rsi
	jne	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rcx
	cmpq	%rcx, %r10
	jne	LBB0_4
	jmp	LBB0_11
LBB0_6:
	testq	%rsi, %rsi
	jne	LBB0_9
## %bb.7:
	movl	$1, %eax
LBB0_15:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_8:
	movq	%rdi, %rsi
LBB0_9:
	movq	%rsi, %rdi
	popq	%rbp
	jmp	_bms_is_empty                   ## TAILCALL
LBB0_10:
	xorl	%r8d, %r8d
LBB0_11:
	movq	(%r9), %rcx
	movl	$1, %eax
	cmpl	%ecx, %r8d
	jge	LBB0_15
## %bb.12:
	movl	%ecx, %esi
	movq	8(%r9), %rcx
	movl	%r8d, %edx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rcx,%rdx,8)
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	incq	%rdx
	cmpq	%rdx, %rsi
	jne	LBB0_13
	jmp	LBB0_15
LBB0_16:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bms_equal                      ; -- Begin function bms_equal
	.p2align	2
_bms_equal:                             ; @bms_equal
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_6
; %bb.1:
	cbz	x1, LBB0_8
; %bb.2:
	ldr	x8, [x0]
	ldr	x9, [x1]
	cmp	x8, x9
	csel	x8, x0, x1, gt
	csel	x11, x1, x0, gt
	ldr	x9, [x11]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.3:
	and	x10, x9, #0xffffffff
	ldr	x11, [x11, #8]
	ldr	x12, [x8, #8]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x11]
	ldr	x14, [x12]
	cmp	x13, x14
	b.ne	LBB0_15
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x12, x12, #8
	add	x11, x11, #8
	subs	x10, x10, #1
	b.ne	LBB0_4
	b	LBB0_10
LBB0_6:
	cbz	x1, LBB0_14
; %bb.7:
	mov	x0, x1
	b	_bms_is_empty
LBB0_8:
	mov	x1, x0
	mov	x0, x1
	b	_bms_is_empty
LBB0_9:
	mov	w9, #0
LBB0_10:
	ldr	x10, [x8]
	cmp	w9, w10
	b.ge	LBB0_14
; %bb.11:
	and	x10, x10, #0xffffffff
	ldr	x8, [x8, #8]
	add	x8, x8, w9, uxtw #3
	sub	x9, x10, w9, uxtw
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	cbnz	x10, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x8, x8, #8
	subs	x9, x9, #1
	b.ne	LBB0_12
LBB0_14:
	mov	w0, #1
	ret
LBB0_15:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
