	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_socket
_get_socket:                            ## @get_socket
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rsi
	movq	_NUM_SOCKETS@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jb	LBB0_3
## %bb.1:
	movq	_sockets@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax,%rsi,4)
	je	LBB0_3
## %bb.2:
	leaq	(%rax,%rsi,4), %rax
	popq	%rbp
	retq
LBB0_3:
	movq	_SOCKETS_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LWIP_DEBUGF
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_SOCKETS,8,3                ## @NUM_SOCKETS
	.comm	_SOCKETS_DEBUG,4,2              ## @SOCKETS_DEBUG
	.comm	_sockets,8,3                    ## @sockets
	.no_dead_strip	_get_socket
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_socket
_get_socket:                            ; @get_socket
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x1, x0
Lloh0:
	adrp	x8, _NUM_SOCKETS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_SOCKETS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.lo	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _sockets@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sockets@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x0, x8, x1, lsl #2
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh6:
	adrp	x8, _SOCKETS_DEBUG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOCKETS_DEBUG@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_LWIP_DEBUGF
	mov	x0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_SOCKETS,8,3                ; @NUM_SOCKETS
	.comm	_SOCKETS_DEBUG,4,2              ; @SOCKETS_DEBUG
	.comm	_sockets,8,3                    ; @sockets
	.no_dead_strip	_get_socket
.subsections_via_symbols
