	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcpip_allocsocket
_tcpip_allocsocket:                     ## @tcpip_allocsocket
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_UIP_TCPIP_SOCKS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.1:
	movq	_tcpip_socks@GOTPCREL(%rip), %r8
	movq	(%r8), %rsi
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 56(%rsi,%rcx)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	addq	$64, %rcx
	cmpq	%rax, %rdx
	jne	LBB0_2
LBB0_5:
	movq	$-1, %rax
	popq	%rbp
	retq
LBB0_3:
	movq	%rdi, 56(%rsi,%rcx)
	movq	(%r8), %rdx
	movq	$0, 48(%rdx,%rcx)
	movq	(%r8), %rdx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rdx,%rcx)
	movl	$1, (%rdx,%rcx)
	movq	$0, 24(%rdx,%rcx)
	movq	%rax, 8(%rdx,%rcx)
	movq	_UIP_ERR_OK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 16(%rdx,%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UIP_TCPIP_SOCKS,8,3            ## @UIP_TCPIP_SOCKS
	.comm	_tcpip_socks,8,3                ## @tcpip_socks
	.comm	_UIP_ERR_OK,4,2                 ## @UIP_ERR_OK
	.no_dead_strip	_tcpip_allocsocket
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcpip_allocsocket
_tcpip_allocsocket:                     ; @tcpip_allocsocket
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _UIP_TCPIP_SOCKS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UIP_TCPIP_SOCKS@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x9]
	cbz	x11, LBB0_4
; %bb.1:
	mov	x8, x0
	mov	x9, #0
	mov	x0, #0
Lloh3:
	adrp	x10, _tcpip_socks@GOTPAGE
Lloh4:
	ldr	x10, [x10, _tcpip_socks@GOTPAGEOFF]
	ldr	x12, [x10]
	add	x13, x12, #56
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x13, x9]
	cbz	x14, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #1
	add	x9, x9, #64
	cmp	x11, x0
	b.ne	LBB0_2
LBB0_4:
	mov	x0, #-1
	ret
LBB0_5:
	add	x11, x12, x9
	str	x8, [x11, #56]
	ldr	x8, [x10]
	add	x8, x8, x9
	str	xzr, [x8, #48]
	ldr	x8, [x10]
	add	x8, x8, x9
	stp	xzr, xzr, [x8, #32]
	mov	w9, #1
	str	w9, [x8]
	str	xzr, [x8, #24]
	str	x0, [x8, #8]
Lloh5:
	adrp	x9, _UIP_ERR_OK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _UIP_ERR_OK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	str	w9, [x8, #16]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_UIP_TCPIP_SOCKS,8,3            ; @UIP_TCPIP_SOCKS
	.comm	_tcpip_socks,8,3                ; @tcpip_socks
	.comm	_UIP_ERR_OK,4,2                 ; @UIP_ERR_OK
	.no_dead_strip	_tcpip_allocsocket
.subsections_via_symbols
