	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bms_nonempty_difference        ## -- Begin function bms_nonempty_difference
	.p2align	4, 0x90
_bms_nonempty_difference:               ## @bms_nonempty_difference
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.4:
	movl	(%r14), %edi
	movl	(%rbx), %esi
	callq	_Min
	movl	%eax, %r8d
	xorl	%eax, %eax
	movl	$0, %esi
	testl	%r8d, %r8d
	jle	LBB0_9
## %bb.5:
	movq	8(%r14), %rdx
	movq	8(%rbx), %rsi
	movl	%r8d, %edi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rsi,%rbx,4), %ecx
	notl	%ecx
	testl	%ecx, (%rdx,%rbx,4)
	jne	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	cmpq	%rbx, %rdi
	jne	LBB0_6
## %bb.8:
	movl	%r8d, %esi
LBB0_9:
	movl	(%r14), %ecx
	cmpl	%ecx, %esi
	jge	LBB0_14
## %bb.10:
	movq	8(%r14), %rdx
	movl	%esi, %esi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rdx,%rsi,4)
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_12
	jmp	LBB0_14
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_3:
	movq	%r14, %rdi
	callq	_bms_is_empty
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	sete	%al
	jmp	LBB0_14
LBB0_13:
	movl	$1, %eax
LBB0_14:
	popq	%rbx
	popq	%r14
	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_nonempty_difference        ; -- Begin function bms_nonempty_difference
	.p2align	2
_bms_nonempty_difference:               ; @bms_nonempty_difference
	.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
	cbz	x0, LBB0_14
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	cbz	x1, LBB0_6
; %bb.2:
	ldr	w0, [x19]
	ldr	w1, [x20]
	bl	_Min
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.3:
	ldr	x8, [x19, #8]
	ldr	x9, [x20, #8]
	mov	w10, w0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	ldr	w12, [x9]
	bics	wzr, w11, w12
	b.ne	LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #4
	add	x8, x8, #4
	subs	x10, x10, #1
	b.ne	LBB0_4
	b	LBB0_8
LBB0_6:
	mov	x0, x19
	bl	_bms_is_empty
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_14
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldr	w9, [x19]
	cmp	w0, w9
	b.ge	LBB0_12
; %bb.9:
	ldr	x8, [x19, #8]
	add	x8, x8, w0, uxtw #2
	sub	x9, x9, w0, uxtw
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	cbnz	w10, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x8, x8, #4
	subs	x9, x9, #1
	b.ne	LBB0_10
LBB0_12:
	mov	w0, #0
	b	LBB0_14
LBB0_13:
	mov	w0, #1
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
