	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___copy_netent                  ## -- Begin function __copy_netent
	.p2align	4, 0x90
___copy_netent:                         ## @__copy_netent
	.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
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	%rdx, %rdi
	callq	_ALIGN
	movq	%rax, %rbx
	subl	%r15d, %ebx
	movq	(%r13), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movl	$8, %r12d
	je	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %ebx
	incl	%ebx
	movq	(%r13), %rax
	movq	(%rax,%r12), %rdi
	addq	$8, %r12
	testq	%rdi, %rdi
	jne	LBB0_1
LBB0_2:
	movq	8(%r13), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	(%r12,%rbx), %ecx
	addl	%ecx, %eax
	incl	%eax
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	jle	LBB0_4
## %bb.3:
	movq	_ERANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %edx
	jmp	LBB0_10
LBB0_4:
	movl	20(%r13), %eax
	movl	%eax, 20(%r14)
	movl	16(%r13), %eax
	movl	%eax, 16(%r14)
	movq	%r15, %rdi
	callq	_ALIGN
	movq	%rax, %rbx
	addq	%r12, %rbx
	movq	8(%r13), %rdi
	callq	_strlen
	movl	%eax, %r12d
	movq	8(%r13), %rsi
	movq	%rbx, %rdi
	callq	_strcpy
	movq	%rbx, 8(%r14)
	movq	%r15, %rdi
	callq	_ALIGN
	movq	%rax, (%r14)
	movq	(%r13), %rcx
	movq	(%rcx), %rdi
	xorl	%edx, %edx
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.6:
	movslq	%r12d, %rax
	addq	%rax, %rbx
	incq	%rbx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	callq	_strlen
	movl	%eax, %r12d
	movq	(%r13), %rax
	movq	(%rax,%r15,8), %rsi
	movq	%rbx, %rdi
	callq	_strcpy
	movq	(%r14), %rax
	movq	%rbx, (%rax,%r15,8)
	movslq	%r12d, %rax
	addq	%rax, %rbx
	incq	%rbx
	movq	(%r13), %rax
	movq	8(%rax,%r15,8), %rdi
	incq	%r15
	testq	%rdi, %rdi
	jne	LBB0_7
## %bb.8:
	movq	(%r14), %rax
	movl	%r15d, %ecx
	xorl	%edx, %edx
	jmp	LBB0_9
LBB0_5:
	xorl	%ecx, %ecx
LBB0_9:
	movq	$0, (%rax,%rcx,8)
LBB0_10:
	movl	%edx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERANGE,4,2                     ## @ERANGE
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___copy_netent                  ; -- Begin function __copy_netent
	.p2align	2
___copy_netent:                         ; @__copy_netent
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_ALIGN
	sub	w24, w0, w21
	ldr	x8, [x20]
	ldr	x0, [x8]
	cbz	x0, LBB0_3
; %bb.1:
	mov	w23, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_strlen
	add	w8, w24, w0
	add	w24, w8, #1
	ldr	x8, [x20]
	ldr	x0, [x8, x23]
	add	x23, x23, #8
	cbnz	x0, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w23, #8
LBB0_4:
	ldr	x0, [x20, #8]
	bl	_strlen
	add	w8, w24, w23
	add	w8, w8, w0
	add	w8, w8, #1
	cmp	w8, w22
	b.le	LBB0_6
; %bb.5:
Lloh0:
	adrp	x8, _ERANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _errno@GOTPAGE
Lloh4:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
	mov	w0, #-1
	b	LBB0_12
LBB0_6:
	ldr	d0, [x20, #16]
	str	d0, [x19, #16]
	mov	x0, x21
	bl	_ALIGN
	add	x22, x0, x23
	ldr	x0, [x20, #8]
	bl	_strlen
	mov	x23, x0
	ldr	x1, [x20, #8]
	mov	x0, x22
	bl	_strcpy
	str	x22, [x19, #8]
	mov	x0, x21
	bl	_ALIGN
	mov	x8, x0
	str	x0, [x19]
	ldr	x9, [x20]
	ldr	x0, [x9]
	cbz	x0, LBB0_10
; %bb.7:
	mov	x24, #0
	add	w8, w23, #1
	add	x21, x22, w8, sxtw
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	bl	_strlen
	add	w22, w0, #1
	ldr	x8, [x20]
	lsl	x23, x24, #3
	ldr	x1, [x8, x23]
	mov	x0, x21
	bl	_strcpy
	ldr	x8, [x19]
	str	x21, [x8, x23]
	add	x21, x21, w22, sxtw
	add	x24, x24, #1
	ldr	x8, [x20]
	add	x8, x8, x23
	ldr	x0, [x8, #8]
	cbnz	x0, LBB0_8
; %bb.9:
	ldr	x8, [x19]
	and	x9, x24, #0xffffffff
	b	LBB0_11
LBB0_10:
	mov	x9, #0
LBB0_11:
	mov	w0, #0
	str	xzr, [x8, x9, lsl #3]
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERANGE,4,2                     ; @ERANGE
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
