	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function transfer_xor
_transfer_xor:                          ## @transfer_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movq	%r8, %r14
	movl	%ecx, %ebx
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	movq	_KM_USER0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %rdi
	callq	_kmap_atomic
	movl	%ebx, %r15d
	addq	%rax, %r15
	movq	_KM_USER1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_kmap_atomic
	movl	%r12d, %edi
	movl	16(%rbp), %r12d
	addq	%rax, %rdi
	testl	%r12d, %r12d
	jle	LBB0_7
## %bb.1:
	movq	(%r13), %r8
	movl	8(%r13), %r9d
	movq	_READ@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%rax)
	movq	%rdi, %r10
	cmoveq	%r15, %r10
	movq	%r15, %rsi
	cmoveq	%rdi, %rsi
	xorl	%eax, %eax
	cmpl	$1, %r12d
	je	LBB0_5
## %bb.2:
	movq	%rbx, %r14
	movl	%r12d, %r11d
	andl	$-2, %r11d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %ecx
	andl	$510, %ecx                      ## imm = 0x1FE
	movl	%ecx, %eax
	xorl	%edx, %edx
	idivl	%r9d
                                        ## kill: def $edx killed $edx def $rdx
	movzbl	(%r8,%rdx), %eax
	xorb	(%r10,%rbx), %al
	movb	%al, (%rsi,%rbx)
	orl	$1, %ecx
	movl	%ecx, %eax
	xorl	%edx, %edx
	idivl	%r9d
                                        ## kill: def $edx killed $edx def $rdx
	movzbl	(%r8,%rdx), %eax
	xorb	1(%r10,%rbx), %al
	movb	%al, 1(%rsi,%rbx)
	addq	$2, %rbx
	cmpl	%ebx, %r11d
	jne	LBB0_3
## %bb.4:
	movl	%ebx, %eax
	andl	$510, %eax                      ## imm = 0x1FE
	addq	%rbx, %r10
	addq	%rbx, %rsi
	movq	%r14, %rbx
LBB0_5:
	testb	$1, %r12b
	je	LBB0_7
## %bb.6:
	xorl	%edx, %edx
	idivl	%r9d
                                        ## kill: def $edx killed $edx def $rdx
	movb	(%r8,%rdx), %al
	xorb	(%r10), %al
	movb	%al, (%rsi)
LBB0_7:
	movl	(%rbx), %esi
	callq	_kunmap_atomic
	movq	_KM_USER0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_kunmap_atomic
	xorl	%eax, %eax
	callq	_cond_resched
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KM_USER0,4,2                   ## @KM_USER0
	.comm	_KM_USER1,4,2                   ## @KM_USER1
	.comm	_READ,4,2                       ## @READ
	.no_dead_strip	_transfer_xor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function transfer_xor
_transfer_xor:                          ; @transfer_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	x20, x6
	mov	x23, x5
	mov	x24, x4
	mov	x19, x3
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x25, _KM_USER0@GOTPAGE
Lloh1:
	ldr	x25, [x25, _KM_USER0@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x2
	bl	_kmap_atomic
	add	x19, x0, w19, uxtw
Lloh2:
	adrp	x26, _KM_USER1@GOTPAGE
Lloh3:
	ldr	x26, [x26, _KM_USER1@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x24
	bl	_kmap_atomic
	add	x0, x0, w23, uxtw
	cmp	w20, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
	ldr	x9, [x22]
Lloh4:
	adrp	x11, _READ@GOTPAGE
Lloh5:
	ldr	x11, [x11, _READ@GOTPAGEOFF]
	ldr	w10, [x22, #8]
Lloh6:
	ldr	w11, [x11]
	cmp	w11, w21
	csel	x11, x19, x0, eq
	csel	x12, x0, x19, eq
	mov	w13, w20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w14, [x11, x8]
	and	w15, w8, #0x1ff
	sdiv	w16, w15, w10
	msub	w15, w16, w10, w15
	ldrb	w15, [x9, w15, uxtw]
	eor	w14, w15, w14
	strb	w14, [x12, x8]
	add	x8, x8, #1
	cmp	w13, w8
	b.ne	LBB0_2
LBB0_3:
	ldr	w1, [x26]
	bl	_kunmap_atomic
	ldr	w1, [x25]
	mov	x0, x19
	bl	_kunmap_atomic
	bl	_cond_resched
	mov	w0, #0
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_KM_USER0,4,2                   ; @KM_USER0
	.comm	_KM_USER1,4,2                   ; @KM_USER1
	.comm	_READ,4,2                       ; @READ
	.no_dead_strip	_transfer_xor
.subsections_via_symbols
