	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ewah_xor                       ## -- Begin function ewah_xor
	.p2align	4, 0x90
_ewah_xor:                              ## @ewah_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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %rsi
	leaq	-120(%rbp), %r12
	movq	%r12, %rdi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_rlwit_init
	leaq	-88(%rbp), %r13
	movq	%r13, %rdi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_rlwit_init
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
	movq	%r12, %rdi
	callq	_rlwit_word_size
	testq	%rax, %rax
	jle	LBB0_10
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_rlwit_word_size
	testq	%rax, %rax
	jg	LBB0_3
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=2
	cmpq	%rcx, %rax
	movq	%r12, %rbx
	cmovlq	%r13, %rbx
	movq	%r13, %rdi
	cmovlq	%r12, %rdi
	leaq	-92(%rbp), %rax
	leaq	-60(%rbp), %rcx
	cmovlq	%rcx, %rax
	xorl	%r14d, %r14d
	cmpl	$0, (%rax)
	setne	%r14b
	movq	16(%rbx), %rdx
	movq	%r15, %rsi
	movl	%r14d, %ecx
	callq	_rlwit_discharge
	movq	16(%rbx), %rdx
	subq	%rax, %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_ewah_add_empty_words
	movq	16(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_rlwit_discard_first_words
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-104(%rbp), %rax
	movq	-72(%rbp), %rcx
	testq	%rax, %rax
	jg	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	testq	%rcx, %rcx
	jg	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-96(%rbp), %edi
	movl	-64(%rbp), %esi
	callq	_min_size
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-120(%rbp), %rax
	movq	-112(%rbp), %rcx
	addq	%rbx, %rcx
	movq	-88(%rbp), %rdx
	movq	-80(%rbp), %rsi
	addq	%rbx, %rsi
	movl	(%rdx,%rsi,4), %esi
	xorl	(%rax,%rcx,4), %esi
	movq	%r15, %rdi
	callq	_ewah_add
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_rlwit_discard_first_words
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_rlwit_discard_first_words
	jmp	LBB0_1
LBB0_10:
	movq	%r12, %rdi
	callq	_rlwit_word_size
	testq	%rax, %rax
	cmovgq	%r12, %r13
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	$-1, %rdx
	xorl	%ecx, %ecx
	callq	_rlwit_discharge
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	callq	_max_size
	movl	%eax, (%r15)
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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	_ewah_xor                       ; -- Begin function ewah_xor
	.p2align	2
_ewah_xor:                              ; @ewah_xor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x0
	add	x24, sp, #32
	add	x0, sp, #32
	mov	x1, x21
	bl	_rlwit_init
	mov	x25, sp
	mov	x0, sp
	mov	x1, x20
	bl	_rlwit_init
	add	x0, sp, #32
	bl	_rlwit_word_size
	cmp	x0, #1
	b.ge	LBB0_3
LBB0_1:
	add	x0, sp, #32
	bl	_rlwit_word_size
	cmp	x0, #0
	csel	x0, x24, x25, gt
	mov	x1, x19
	mov	x2, #-1
	mov	w3, #0
	bl	_rlwit_discharge
	ldr	w0, [x21]
	ldr	w1, [x20]
	bl	_max_size
	str	w0, [x19]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #32
	bl	_rlwit_word_size
	cmp	x0, #0
	b.le	LBB0_1
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_8 Depth 2
	mov	x0, sp
	bl	_rlwit_word_size
	cmp	x0, #1
	b.lt	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #48]
	ldr	x9, [sp, #16]
	cmp	x8, #0
	ccmp	x9, #1, #0, le
	b.lt	LBB0_6
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x8, x9
	csel	x22, x25, x24, lt
	csel	x0, x24, x25, lt
	add	x8, x25, #28
	add	x9, x24, #28
	csel	x8, x8, x9, lt
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w23, ne
	ldr	x2, [x22, #16]
	mov	x1, x19
	mov	x3, x23
	bl	_rlwit_discharge
	ldr	x8, [x22, #16]
	sub	x2, x8, x0
	mov	x0, x19
	mov	x1, x23
	bl	_ewah_add_empty_words
	ldr	x1, [x22, #16]
	mov	x0, x22
	bl	_rlwit_discard_first_words
	ldr	x8, [sp, #48]
	ldr	x9, [sp, #16]
	cmp	x8, #0
	ccmp	x9, #0, #0, le
	b.gt	LBB0_5
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [sp, #56]
	ldr	w1, [sp, #24]
	bl	_min_size
	cbz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
	mov	x23, #0
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x8, x9, [sp, #32]
	add	x9, x23, x9
	ldr	w8, [x8, x9, lsl #2]
	ldp	x9, x10, [sp]
	add	x10, x23, x10
	ldr	w9, [x9, x10, lsl #2]
	eor	w1, w9, w8
	mov	x0, x19
	bl	_ewah_add
	add	x23, x23, #1
	cmp	x22, x23
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #32
	mov	x1, x22
	bl	_rlwit_discard_first_words
	mov	x0, sp
	mov	x1, x22
	bl	_rlwit_discard_first_words
	b	LBB0_2
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
