	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dn_c_copy_pipe                 ## -- Begin function dn_c_copy_pipe
	.p2align	4, 0x90
_dn_c_copy_pipe:                        ## @dn_c_copy_pipe
	.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
	movl	%edx, %r8d
	movq	%rdi, %r13
	movq	16(%rdi), %r12
	movq	(%rsi), %rax
	movslq	(%rax), %r14
	movq	_is7@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_DN_IS_PIPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%r14)
	movl	44(%rdi), %eax
	movl	%eax, 16(%r14)
	imull	$1000, 24(%rdi), %eax           ## imm = 0x3E8
	movq	_hz@GOTPCREL(%rip), %r15
	cltd
	idivl	(%r15)
	movl	%eax, (%r14)
	movq	32(%rdi), %rax
	movq	_DN_MAX_ID@GOTPCREL(%rip), %rdx
	subq	(%rdx), %rax
	movq	%rax, 8(%r14)
	testq	%rcx, %rcx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	addq	$32, %r14
	movl	$88, %r15d
	movq	%r14, %rbx
	jmp	LBB0_5
LBB0_2:
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	8(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movl	12(%r14), %edi
	movl	8(%rbx), %esi
	movl	$4, %edx
	callq	_strncpy
	movl	4(%rbx), %eax
	movl	%eax, 8(%r14)
	movl	(%rbx), %eax
	movl	%eax, 4(%r14)
LBB0_4:
	leaq	16(%r14), %rbx
	movl	40(%r13), %edi
	movl	(%r15), %esi
	shll	$3, %esi
	callq	_div64
	movl	%eax, (%r14)
	movq	32(%r13), %rax
	movq	_DN_MAX_ID@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rax
	movl	$72, %r15d
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
LBB0_5:
	movl	4(%r13), %ecx
	movl	%ecx, 48(%rbx)
	movl	(%r13), %ecx
	testl	%ecx, %ecx
	movl	$1, %edx
	cmovnel	%ecx, %edx
	movl	%edx, (%rbx)
	movq	%rax, 40(%rbx)
	movl	16(%r12), %eax
	movl	%eax, 32(%rbx)
	movsd	8(%r12), %xmm0                  ## xmm0 = mem[0],zero
	movsd	20(%r12), %xmm1                 ## xmm1 = mem[0],zero
	movlhps	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	movups	%xmm1, 16(%rbx)
	movl	4(%r12), %eax
	movl	%eax, 12(%rbx)
	movl	%r8d, 4(%rbx)
	movl	(%r12), %edi
	callq	_convertflags2old
	movl	%eax, 8(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	addl	%r15d, (%rax)
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_is7,8,3                        ## @is7
	.comm	_DN_IS_PIPE,8,3                 ## @DN_IS_PIPE
	.comm	_hz,4,2                         ## @hz
	.comm	_DN_MAX_ID,8,3                  ## @DN_MAX_ID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dn_c_copy_pipe                 ; -- Begin function dn_c_copy_pipe
	.p2align	2
_dn_c_copy_pipe:                        ; @dn_c_copy_pipe
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x22, [x0, #16]
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _is7@GOTPAGE
Lloh1:
	ldr	x9, [x9, _is7@GOTPAGEOFF]
	ldrsw	x24, [x8]
Lloh2:
	ldr	x9, [x9]
	ldr	w8, [x0, #44]
	mov	x23, x24
	str	w8, [x23, #16]!
Lloh3:
	adrp	x8, _DN_IS_PIPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DN_IS_PIPE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x24, #24]
	ldr	w8, [x0, #24]
	mov	w10, #1000
	mul	w8, w8, w10
Lloh6:
	adrp	x26, _hz@GOTPAGE
Lloh7:
	ldr	x26, [x26, _hz@GOTPAGEOFF]
	ldr	w10, [x26]
	sdiv	w8, w8, w10
	str	w8, [x24]
	ldr	x8, [x0, #32]
Lloh8:
	adrp	x25, _DN_MAX_ID@GOTPAGE
Lloh9:
	ldr	x25, [x25, _DN_MAX_ID@GOTPAGEOFF]
	ldr	x10, [x25]
	sub	x8, x8, x10
	str	x8, [x24, #8]
	cbz	x9, LBB0_2
; %bb.1:
	add	x23, x24, #32
	mov	w24, #88
	b	LBB0_5
LBB0_2:
	ldr	x27, [x21, #8]
	cbz	x27, LBB0_4
; %bb.3:
	ldr	w0, [x24, #12]
	ldr	w1, [x27, #8]
	mov	w2, #4
	bl	_strncpy
	ldr	d0, [x27]
	stur	d0, [x24, #4]
LBB0_4:
	ldr	w0, [x21, #40]
	ldr	w8, [x26]
	lsl	w1, w8, #3
	bl	_div64
	str	w0, [x24]
	ldr	x8, [x21, #32]
	ldr	x9, [x25]
	sub	x8, x8, x9
	mov	w24, #72
LBB0_5:
	ldp	w10, w9, [x21]
	str	w9, [x23, #48]
	cmp	w10, #0
	csinc	w9, w10, wzr, ne
	str	w9, [x23]
	ldr	w9, [x22, #16]
	str	w9, [x23, #32]
	ldr	d0, [x22, #8]
	ldur	d1, [x22, #20]
	mov.d	v1[1], v0[0]
	str	x8, [x23, #40]
	str	q1, [x23, #16]
	ldp	w0, w8, [x22]
	str	w8, [x23, #12]
	str	w20, [x23, #4]
	bl	_convertflags2old
	str	w0, [x23, #8]
	ldr	x8, [x19]
	ldr	w9, [x8]
	add	w9, w9, w24
	str	w9, [x8]
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_is7,8,3                        ; @is7
	.comm	_DN_IS_PIPE,8,3                 ; @DN_IS_PIPE
	.comm	_hz,4,2                         ; @hz
	.comm	_DN_MAX_ID,8,3                  ; @DN_MAX_ID
.subsections_via_symbols
