	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_sync_xor
_do_sync_xor:                           ## @do_sync_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	(%r9), %r15
	testq	%r15, %r15
	cmoveq	%rsi, %r15
	movl	%edx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.2:
	movq	%rsi, %r13
	movl	%ecx, %r12d
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_page_address
	addq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	movslq	%r14d, %rcx
	incl	%r14d
	movq	%rax, (%r15,%rcx,8)
	jmp	LBB0_5
LBB0_1:
	xorl	%r14d, %r14d
LBB0_6:
	movq	%r15, %r12
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_page_address
	movq	%rax, %r15
	addq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	movq	_ASYNC_TX_XOR_ZERO_DST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, 8(%rcx)
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_memset
LBB0_8:
	testl	%r14d, %r14d
	jle	LBB0_11
## %bb.9:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	_MAX_XOR_BLOCKS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_min
	movl	%eax, %r13d
	movslq	%ebx, %rbx
	leaq	(%r12,%rbx,8), %rcx
	movl	%eax, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_xor_blocks
	addl	%r13d, %ebx
	subl	%r13d, %r14d
	jg	LBB0_10
LBB0_11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_async_tx_sync_epilog           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ASYNC_TX_XOR_ZERO_DST,4,2      ## @ASYNC_TX_XOR_ZERO_DST
	.comm	_MAX_XOR_BLOCKS,4,2             ## @MAX_XOR_BLOCKS
	.no_dead_strip	_do_sync_xor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_sync_xor
_do_sync_xor:                           ; @do_sync_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	x19, x5
	mov	x20, x4
	mov	x22, x0
	ldr	x8, [x5]
	cmp	x8, #0
	csel	x24, x1, x8, eq
	mov	w25, w2
	cmp	w3, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x23, x1
	mov	w21, #0
	mov	w26, w3
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x23, x23, #8
	subs	x26, x26, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23]
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_page_address
	add	x8, x0, x25
	str	x8, [x24, w21, sxtw #3]
	add	w21, w21, #1
	b	LBB0_2
LBB0_5:
	mov	w21, #0
LBB0_6:
	mov	x0, x22
	bl	_page_address
	add	x22, x0, x25
	ldr	w8, [x19, #8]
Lloh0:
	adrp	x9, _ASYNC_TX_XOR_ZERO_DST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ASYNC_TX_XOR_ZERO_DST@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x22
	mov	w1, #0
	mov	x2, x20
	bl	_memset
LBB0_8:
	cmp	w21, #1
	b.lt	LBB0_11
; %bb.9:
	mov	w25, #0
Lloh3:
	adrp	x26, _MAX_XOR_BLOCKS@GOTPAGE
Lloh4:
	ldr	x26, [x26, _MAX_XOR_BLOCKS@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26]
	mov	x0, x21
	bl	_min
	mov	x23, x0
	add	x3, x24, w25, sxtw #3
	mov	x1, x20
	mov	x2, x22
	bl	_xor_blocks
	sub	w21, w21, w23
	add	w25, w23, w25
	cmp	w21, #0
	b.gt	LBB0_10
LBB0_11:
	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	_async_tx_sync_epilog
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ASYNC_TX_XOR_ZERO_DST,4,2      ; @ASYNC_TX_XOR_ZERO_DST
	.comm	_MAX_XOR_BLOCKS,4,2             ; @MAX_XOR_BLOCKS
	.no_dead_strip	_do_sync_xor
.subsections_via_symbols
