	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clone_addrinfo
_clone_addrinfo:                        ## @clone_addrinfo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	testq	%r14, %r14
	setne	%dil
	callq	_ATF_REQUIRE
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_ATF_REQUIRE
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$32, %edx
	callq	_memcpy
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	callq	_strdup
	movq	%rax, 24(%r14)
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rbx), %edi
	callq	_malloc
	movq	%rax, 16(%r14)
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_ATF_REQUIRE
	movq	16(%r14), %rdi
	movq	16(%rbx), %rsi
	movl	(%rbx), %edx
	callq	_memcpy
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$32, %edi
	callq	_malloc
	movq	%rax, 8(%r14)
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_ATF_REQUIRE
	movq	8(%r14), %r14
	movq	8(%rbx), %rbx
	jmp	LBB0_1
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_clone_addrinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clone_addrinfo
_clone_addrinfo:                        ; @clone_addrinfo
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x20, #0
	cset	w0, ne
	bl	_ATF_REQUIRE
	cmp	x19, #0
	cset	w0, ne
	bl	_ATF_REQUIRE
	mov	x0, x20
	mov	x1, x19
	mov	w2, #32
	bl	_memcpy
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_strdup
	str	x0, [x20, #24]
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x19]
	bl	_malloc
	str	x0, [x20, #16]
	cmp	x0, #0
	cset	w0, ne
	bl	_ATF_REQUIRE
	ldr	x0, [x20, #16]
	ldr	x1, [x19, #16]
	ldr	w2, [x19]
	bl	_memcpy
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #32
	bl	_malloc
	str	x0, [x20, #8]
	cmp	x0, #0
	cset	w0, ne
	bl	_ATF_REQUIRE
	ldr	x20, [x20, #8]
	ldr	x19, [x19, #8]
	b	LBB0_1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_clone_addrinfo
.subsections_via_symbols
