	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function offload_pedit
_offload_pedit:                         ## @offload_pedit
	.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	%rcx, %rbx
	movq	%rdi, %r14
	notl	%edx
	andl	%esi, %edx
	movl	%edx, -44(%rbp)
	movq	_pedits@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	movl	$1, %edx
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	$16, %r14d
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	cmpq	%rbx, -16(%rdi,%r14)
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	callq	_ARRAY_SIZE
	cltq
	addq	$24, %r14
	cmpq	%rax, %r15
	jl	LBB0_3
## %bb.6:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	$1, %edx
	jmp	LBB0_7
LBB0_1:
	xorl	%r12d, %r12d
	jmp	LBB0_7
LBB0_4:
	movslq	-8(%rdi,%r14), %r12
	movq	(%rdi,%r14), %rdx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
LBB0_7:
	leaq	(%r14,%r12,8), %rdi
	leaq	-44(%rbp), %rsi
	callq	_memcpy
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pedits,8,3                     ## @pedits
	.no_dead_strip	_offload_pedit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function offload_pedit
_offload_pedit:                         ; @offload_pedit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x3
	mov	x19, x0
	bic	w8, w1, w2
	str	w8, [sp, #12]
Lloh0:
	adrp	x22, _pedits@GOTPAGE
Lloh1:
	ldr	x22, [x22, _pedits@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x23, #0
	mov	x24, #0
	mov	w20, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	ldr	x8, [x0, x23]
	cmp	x8, x21
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x24, x24, #1
	bl	_ARRAY_SIZE
	add	x23, x23, #24
	cmp	x24, w0, sxtw
	b.lt	LBB0_2
; %bb.4:
	mov	x8, #0
	b	LBB0_7
LBB0_5:
	mov	x8, #0
	mov	w20, #1
	b	LBB0_7
LBB0_6:
	add	x9, x0, x23
	ldrsw	x8, [x9, #8]
	ldr	x20, [x9, #16]
LBB0_7:
	add	x0, x19, x8, lsl #3
	add	x1, sp, #12
	mov	x2, x20
	bl	_memcpy
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_pedits,8,3                     ; @pedits
	.no_dead_strip	_offload_pedit
.subsections_via_symbols
