	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bitmap_xor                     ## -- Begin function bitmap_xor
	.p2align	4, 0x90
_bitmap_xor:                            ## @bitmap_xor
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	16(%rdi), %r13
	movq	16(%rsi), %r14
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rdx), %r12
	cmpq	%rsi, %rdi
	setne	%al
	cmpq	%rdx, %rdi
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_gcc_assert
	cmpq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	je	LBB0_39
## %bb.1:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	testq	%r14, %r14
	setne	%al
	testq	%r12, %r12
	setne	%cl
	movq	%r14, %rdx
	orq	%r12, %rdx
	je	LBB0_36
## %bb.2:
	xorl	%esi, %esi
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	%rdx, (%r13)
LBB0_4:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r13), %rdi
	movq	8(%r14), %rsi
	movl	$8, %edx
	callq	_memcpy
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	%r13, %rsi
	movq	16(%r13), %r13
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	testq	%rbx, %rbx
	setne	%al
	testq	%r15, %r15
	setne	%cl
	movq	%rbx, %rdx
	orq	%r15, %rdx
	movq	%r15, %r12
	movq	%rbx, %r14
	je	LBB0_36
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_27 Depth 2
                                        ##     Child Loop BB0_34 Depth 2
	testb	$1, %al
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	testb	$1, %cl
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r14), %rdx
	cmpq	(%r12), %rdx
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	testq	%r13, %r13
	je	LBB0_19
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rdx, (%r13)
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	testb	$1, %cl
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	testb	$1, %al
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r14), %rax
	cmpq	(%r12), %rax
	jge	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r14), %rbx
	movq	%r12, %r15
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r12), %r15
	movq	%r14, %rbx
	movq	%r12, %r14
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r14), %rdx
	testq	%r13, %r13
	jne	LBB0_3
## %bb.18:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_bitmap_elt_insert_after
	movq	%rax, %r13
	jmp	LBB0_4
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rsi, %rbx
	callq	_bitmap_elt_insert_after
	movq	%rbx, %rsi
	movq	%rax, %r13
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_BITMAP_ELEMENT_WORDS@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	testq	%r10, %r10
	je	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%r14), %r15
	movq	8(%r12), %r9
	movq	8(%r13), %rdx
	xorl	%ecx, %ecx
	cmpl	$8, %r10d
	jae	LBB0_24
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r10, %r8
	testb	$1, %r8b
	je	LBB0_31
LBB0_33:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	-1(%r8), %rdi
	movl	-4(%r9,%r8,4), %eax
	xorl	-4(%r15,%r8,4), %eax
	orl	%eax, %ecx
	movl	%eax, -4(%rdx,%r8,4)
	cmpl	$1, %r8d
	jne	LBB0_34
	jmp	LBB0_35
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r14), %rbx
	movq	16(%r12), %r15
	jmp	LBB0_6
LBB0_24:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%r15,%r10,4), %rdi
	leaq	(%rdx,%r10,4), %rax
	addq	$-4, %rax
	subq	%rax, %rdi
	addq	$-4, %rdi
	cmpq	$32, %rdi
	jb	LBB0_29
## %bb.25:                              ##   in Loop: Header=BB0_7 Depth=1
	leaq	(%r9,%r10,4), %rdi
	subq	%rax, %rdi
	addq	$-4, %rdi
	cmpq	$32, %rdi
	jb	LBB0_22
## %bb.26:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	%r10d, %r11d
	andl	$-8, %r11d
	movl	%r10d, %r8d
	andl	$7, %r8d
	leaq	(%r15,%r10,4), %rsi
	addq	$-16, %rsi
	leaq	(%r9,%r10,4), %rbx
	addq	$-16, %rbx
	leaq	(%rdx,%r10,4), %rdi
	addq	$-16, %rdi
	movq	%r11, -56(%rbp)                 ## 8-byte Spill
	negq	%r11
	pxor	%xmm0, %xmm0
	xorl	%eax, %eax
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	-16(%rsi,%rax,4), %xmm2
	movdqu	(%rsi,%rax,4), %xmm3
	movdqu	-16(%rbx,%rax,4), %xmm4
	pxor	%xmm2, %xmm4
	movdqu	(%rbx,%rax,4), %xmm2
	pxor	%xmm3, %xmm2
	pshufd	$27, %xmm2, %xmm3               ## xmm3 = xmm2[3,2,1,0]
	por	%xmm3, %xmm0
	pshufd	$27, %xmm4, %xmm3               ## xmm3 = xmm4[3,2,1,0]
	por	%xmm3, %xmm1
	movdqu	%xmm2, (%rdi,%rax,4)
	movdqu	%xmm4, -16(%rdi,%rax,4)
	addq	$-8, %rax
	cmpq	%rax, %r11
	jne	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_7 Depth=1
	por	%xmm0, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	por	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	por	%xmm0, %xmm1
	movd	%xmm1, %ecx
	cmpq	%r10, -56(%rbp)                 ## 8-byte Folded Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	je	LBB0_35
## %bb.30:                              ##   in Loop: Header=BB0_7 Depth=1
	testb	$1, %r8b
	jne	LBB0_33
LBB0_31:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r8, %rdi
	cmpl	$1, %r8d
	je	LBB0_35
	.p2align	4, 0x90
LBB0_34:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-4(%r9,%rdi,4), %eax
	xorl	-4(%r15,%rdi,4), %eax
	movl	%eax, -4(%rdx,%rdi,4)
	movl	-8(%r9,%rdi,4), %ebx
	xorl	-8(%r15,%rdi,4), %ebx
	orl	%eax, %ecx
	orl	%ebx, %ecx
	movl	%ebx, -8(%rdx,%rdi,4)
	addq	$-2, %rdi
	jne	LBB0_34
LBB0_35:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r14), %rbx
	movq	16(%r12), %r15
	testl	%ecx, %ecx
	jne	LBB0_5
	jmp	LBB0_6
LBB0_29:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r10, %r8
	testb	$1, %r8b
	jne	LBB0_33
	jmp	LBB0_31
LBB0_36:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_bitmap_elt_clear_from
	cmpq	$0, (%rbx)
	setne	%al
	cmpq	$0, 16(%rbx)
	sete	%cl
	xorb	%al, %cl
	movzbl	%cl, %edi
	callq	_gcc_assert
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_38
## %bb.37:
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
LBB0_38:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_39:
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bitmap_clear                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BITMAP_ELEMENT_WORDS,4,2       ## @BITMAP_ELEMENT_WORDS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bitmap_xor                     ; -- Begin function bitmap_xor
	.p2align	2
_bitmap_xor:                            ; @bitmap_xor
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x20, [x0, #16]
	ldr	x23, [x1, #16]
	ldr	x24, [x2, #16]
	cmp	x0, x1
	ccmp	x0, x2, #4, ne
	cset	w0, ne
	bl	_gcc_assert
	cmp	x22, x21
	b.eq	LBB0_34
; %bb.1:
	cmp	x23, #0
	cset	w8, ne
	cmp	x24, #0
	cset	w9, ne
	orr	x10, x23, x24
	cbz	x10, LBB0_31
; %bb.2:
	mov	x21, #0
Lloh0:
	adrp	x22, _BITMAP_ELEMENT_WORDS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BITMAP_ELEMENT_WORDS@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x25, [x23, #16]
	mov	x26, x24
	ldr	x2, [x23]
	cbz	x20, LBB0_23
LBB0_4:                                 ;   in Loop: Header=BB0_8 Depth=1
	str	x2, [x20]
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x20, #8]
	ldr	x1, [x23, #8]
	mov	w2, #8
	bl	_memcpy
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x21, x20
	ldr	x20, [x20, #16]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	cmp	x25, #0
	cset	w8, ne
	cmp	x26, #0
	cset	w9, ne
	mov	x24, x26
	mov	x23, x25
	orr	x10, x25, x26
	cbz	x10, LBB0_31
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_29 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
	tbz	w8, #0, LBB0_19
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	tbz	w9, #0, LBB0_19
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x2, [x23]
	ldr	x10, [x24]
	cmp	x2, x10
	b.ne	LBB0_19
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	cbz	x20, LBB0_24
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	str	x2, [x20]
	ldr	w12, [x22]
	cbz	w12, LBB0_25
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x10, [x23, #8]
	ldr	x9, [x24, #8]
	ldr	x8, [x20, #8]
	cmp	w12, #16
	b.hs	LBB0_26
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w14, #0
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x11, x12
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	sub	x10, x10, #4
	sub	x9, x9, #4
	sub	x8, x8, #4
LBB0_17:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x12, x11, #2
	ldr	w13, [x10, x12]
	ldr	w15, [x9, x12]
	eor	w13, w15, w13
	orr	w14, w13, w14
	str	w13, [x8, x12]
	subs	x11, x11, #1
	b.ne	LBB0_17
LBB0_18:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x25, [x23, #16]
	ldr	x26, [x24, #16]
	cbnz	w14, LBB0_6
	b	LBB0_7
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
	tbz	w9, #0, LBB0_3
; %bb.20:                               ;   in Loop: Header=BB0_8 Depth=1
	tbz	w8, #0, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x23]
	ldr	x9, [x24]
	cmp	x8, x9
	b.lt	LBB0_3
LBB0_22:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x26, [x24, #16]
	mov	x25, x23
	mov	x23, x24
	ldr	x2, [x23]
	cbnz	x20, LBB0_4
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_bitmap_elt_insert_after
	mov	x20, x0
	b	LBB0_5
LBB0_24:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_bitmap_elt_insert_after
	mov	x20, x0
	ldr	w12, [x22]
	cbnz	w12, LBB0_13
LBB0_25:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x25, [x23, #16]
	ldr	x26, [x24, #16]
	b	LBB0_7
LBB0_26:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w14, #0
	lsl	x16, x12, #2
	add	x11, x8, x16
	sub	x11, x11, #4
	add	x13, x10, x16
	sub	x13, x13, x11
	sub	x13, x13, #4
	cmp	x13, #64
	b.lo	LBB0_15
; %bb.27:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x13, x9, x16
	sub	x11, x13, x11
	sub	x11, x11, #4
	cmp	x11, #64
	b.lo	LBB0_15
; %bb.28:                               ;   in Loop: Header=BB0_8 Depth=1
	and	x13, x12, #0xfffffff0
	and	x11, x12, #0xf
	add	x14, x8, x16
	sub	x14, x14, #32
	add	x15, x9, x16
	sub	x15, x15, #32
	add	x16, x10, x16
	sub	x16, x16, #32
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
	mov	x17, x13
LBB0_29:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q5, q4, [x16]
	ldp	q7, q6, [x16, #-32]
	ldp	q17, q16, [x15]
	ldp	q19, q18, [x15, #-32]
	eor.16b	v4, v16, v4
	rev64.4s	v16, v4
	ext.16b	v16, v16, v16, #8
	eor.16b	v5, v17, v5
	rev64.4s	v17, v5
	ext.16b	v17, v17, v17, #8
	eor.16b	v6, v18, v6
	rev64.4s	v18, v6
	ext.16b	v18, v18, v18, #8
	eor.16b	v7, v19, v7
	rev64.4s	v19, v7
	ext.16b	v19, v19, v19, #8
	orr.16b	v0, v16, v0
	orr.16b	v1, v17, v1
	orr.16b	v2, v18, v2
	orr.16b	v3, v19, v3
	stp	q5, q4, [x14]
	stp	q7, q6, [x14, #-32]
	sub	x14, x14, #64
	sub	x15, x15, #64
	sub	x16, x16, #64
	sub	x17, x17, #16
	cbnz	x17, LBB0_29
; %bb.30:                               ;   in Loop: Header=BB0_8 Depth=1
	orr.16b	v0, v1, v0
	orr.16b	v0, v2, v0
	orr.16b	v0, v3, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	w14, s0
	mov.s	w15, v0[1]
	orr	w14, w14, w15
	cmp	x13, x12
	b.eq	LBB0_18
	b	LBB0_16
LBB0_31:
	mov	x0, x19
	mov	x1, x20
	bl	_bitmap_elt_clear_from
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w8, ne
	ldr	x9, [x19, #16]
	cmp	x9, #0
	cset	w9, eq
	eor	w0, w8, w9
	bl	_gcc_assert
	ldr	x8, [x19]
	cbz	x8, LBB0_33
; %bb.32:
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_33:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_34:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_bitmap_clear
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BITMAP_ELEMENT_WORDS,4,2       ; @BITMAP_ELEMENT_WORDS
.subsections_via_symbols
