	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_create_target                  ## -- Begin function create_target
	.p2align	4, 0x90
_create_target:                         ## @create_target
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	64(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movl	52(%r15), %edx
	movl	56(%r15), %esi
	callq	_find_target
	jmp	LBB0_3
LBB0_2:
	movl	60(%r15), %edi
	movl	52(%r15), %edx
	movl	56(%r15), %esi
	callq	_find_target_ipv6
LBB0_3:
	movq	%rax, %r12
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	movl	(%rbx), %edi
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	movl	48(%r15), %eax
	movl	%eax, 48(%rbx)
	movl	44(%r15), %eax
	movl	%eax, 44(%rbx)
	movl	40(%r15), %eax
	movl	%eax, 40(%rbx)
	incl	(%rbx)
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_8
LBB0_7:
	movl	%eax, (%r14)
LBB0_8:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_allocated_targets@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_MAX_TARGETS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setl	%dil
	callq	_assert
	movq	_Targets@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	(%rbx), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%rbx)
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%rax,8), %r14
	leaq	(%r13,%r14,8), %rbx
	movq	%rbx, (%r12)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$72, %edx
	callq	_memcpy
	movq	%rbx, 24(%r13,%r14,8)
	movq	%rbx, 32(%r13,%r14,8)
	movq	%rbx, 8(%r13,%r14,8)
	movq	%rbx, 16(%r13,%r14,8)
	movl	$1, (%r13,%r14,8)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	$1, %eax
	testq	%r14, %r14
	jne	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_allocated_targets,8,3          ## @allocated_targets
	.comm	_MAX_TARGETS,8,3                ## @MAX_TARGETS
	.comm	_Targets,8,3                    ## @Targets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_create_target                  ; -- Begin function create_target
	.p2align	2
_create_target:                         ; @create_target
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x0, #64]
	cbz	x0, LBB0_2
; %bb.1:
	ldp	w2, w1, [x20, #52]
	bl	_find_target
	b	LBB0_3
LBB0_2:
	ldp	w1, w0, [x20, #56]
	ldr	w2, [x20, #52]
	bl	_find_target_ipv6
LBB0_3:
	mov	x22, x0
	ldr	x21, [x0]
	cbz	x21, LBB0_6
; %bb.4:
	ldr	w8, [x21]
	mvn	w8, w8
	lsr	w0, w8, #31
	bl	_assert
	ldr	w8, [x20, #48]
	str	w8, [x21, #48]
	ldr	d0, [x20, #40]
	str	d0, [x21, #40]
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	cbz	x19, LBB0_8
; %bb.5:
	mov	w8, #0
	b	LBB0_7
LBB0_6:
Lloh0:
	adrp	x21, _allocated_targets@GOTPAGE
Lloh1:
	ldr	x21, [x21, _allocated_targets@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _MAX_TARGETS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MAX_TARGETS@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, lt
	bl	_assert
Lloh5:
	adrp	x8, _Targets@GOTPAGE
Lloh6:
	ldr	x8, [x8, _Targets@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x21]
	add	x10, x9, #1
	str	x10, [x21]
	mov	w10, #72
	madd	x21, x9, x10, x8
	str	x21, [x22]
	mov	x0, x21
	mov	x1, x20
	mov	w2, #72
	bl	_memcpy
	stp	x21, x21, [x21, #24]
	stp	x21, x21, [x21, #8]
	mov	w8, #1
	str	w8, [x21]
	cbz	x19, LBB0_8
LBB0_7:
	str	w8, [x19]
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_allocated_targets,8,3          ; @allocated_targets
	.comm	_MAX_TARGETS,8,3                ; @MAX_TARGETS
	.comm	_Targets,8,3                    ; @Targets
.subsections_via_symbols
