	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copy_data_helper_compat        ## -- Begin function copy_data_helper_compat
	.p2align	4, 0x90
_copy_data_helper_compat:               ## @copy_data_helper_compat
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rcx
	movq	(%rsi), %rax
	movq	_DN_COMPAT_PIPE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_6
## %bb.1:
	xorl	%eax, %eax
	cmpl	$1, 8(%rcx)
	jne	LBB0_10
## %bb.2:
	movq	(%rcx), %rdx
	movq	_DN_MAX_ID@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rdx
	jle	LBB0_10
## %bb.3:
	movq	%rsi, %rdi
	movq	%rcx, %rsi
	callq	_dn_compat_copy_pipe
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_9
LBB0_6:
	movq	_DN_COMPAT_QUEUE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_9
## %bb.7:
	movq	(%rcx), %rdx
	movq	_DN_MAX_ID@GOTPCREL(%rip), %rdi
	xorl	%eax, %eax
	cmpq	(%rdi), %rdx
	jge	LBB0_10
## %bb.8:
	movq	%rsi, %rdi
	movq	%rcx, %rsi
	callq	_dn_compat_copy_queue
	testq	%rax, %rax
	je	LBB0_9
LBB0_5:
	movq	_DNHT_SCAN_END@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DN_COMPAT_PIPE,8,3             ## @DN_COMPAT_PIPE
	.comm	_DN_MAX_ID,8,3                  ## @DN_MAX_ID
	.comm	_DNHT_SCAN_END,4,2              ## @DNHT_SCAN_END
	.comm	_DN_COMPAT_QUEUE,8,3            ## @DN_COMPAT_QUEUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_copy_data_helper_compat        ; -- Begin function copy_data_helper_compat
	.p2align	2
_copy_data_helper_compat:               ; @copy_data_helper_compat
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
	ldr	x9, [x1]
Lloh0:
	adrp	x10, _DN_COMPAT_PIPE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DN_COMPAT_PIPE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.1:
	ldr	w9, [x8, #8]
	cmp	w9, #1
	b.ne	LBB0_8
; %bb.2:
	ldr	x9, [x8]
Lloh3:
	adrp	x10, _DN_MAX_ID@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DN_MAX_ID@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.le	LBB0_8
; %bb.3:
	mov	x0, x1
	mov	x1, x8
	bl	_dn_compat_copy_pipe
	cbnz	x0, LBB0_7
	b	LBB0_8
LBB0_4:
Lloh6:
	adrp	x10, _DN_COMPAT_QUEUE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _DN_COMPAT_QUEUE@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.5:
	ldr	x9, [x8]
Lloh9:
	adrp	x10, _DN_MAX_ID@GOTPAGE
Lloh10:
	ldr	x10, [x10, _DN_MAX_ID@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ge	LBB0_8
; %bb.6:
	mov	x0, x1
	mov	x1, x8
	bl	_dn_compat_copy_queue
	cbz	x0, LBB0_8
LBB0_7:
Lloh12:
	adrp	x8, _DNHT_SCAN_END@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DNHT_SCAN_END@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_DN_COMPAT_PIPE,8,3             ; @DN_COMPAT_PIPE
	.comm	_DN_MAX_ID,8,3                  ; @DN_MAX_ID
	.comm	_DNHT_SCAN_END,4,2              ; @DNHT_SCAN_END
	.comm	_DN_COMPAT_QUEUE,8,3            ; @DN_COMPAT_QUEUE
.subsections_via_symbols
