	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_host_by_connection         ## -- Begin function get_host_by_connection
	.p2align	4, 0x90
_get_host_by_connection:                ## @get_host_by_connection
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rdx
	movq	_MAX_CONNECTIONS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jae	LBB0_1
## %bb.2:
	movq	_CONN_FD_HOST@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	(%rax,%rdx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.4:
	movq	%rdi, %r14
	movslq	(%rbx), %rdx
	movl	8(%rdi), %ecx
	cmpl	%ecx, %edx
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movl	$3, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movq	(%r15), %rax
	movq	(%r14), %rcx
	movq	$0, (%rax,%rcx,8)
	jmp	LBB0_6
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movl	$3, %edi
	xorl	%eax, %eax
	callq	_vkprintf
LBB0_6:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_CONNECTIONS,8,3            ## @MAX_CONNECTIONS
	.comm	_CONN_FD_HOST,8,3               ## @CONN_FD_HOST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CONN_FD_HOST[%d] = NULL\n"

L_.str.1:                               ## @.str.1
	.asciz	"H->generation (%d) != c->generation (%d)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_host_by_connection         ; -- Begin function get_host_by_connection
	.p2align	2
_get_host_by_connection:                ; @get_host_by_connection
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	ldr	x2, [x0]
Lloh0:
	adrp	x8, _MAX_CONNECTIONS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_CONNECTIONS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x2, x8
	b.hs	LBB0_5
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x20, _CONN_FD_HOST@GOTPAGE
Lloh4:
	ldr	x20, [x20, _CONN_FD_HOST@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x0, [x8, x2, lsl #3]
	cbz	x0, LBB0_4
; %bb.2:
	ldrsw	x2, [x0]
	ldr	w8, [x19, #8]
	cmp	w2, w8
	b.eq	LBB0_6
; %bb.3:
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #3
	bl	_vkprintf
	mov	x0, #0
	ldr	x8, [x20]
	ldr	x9, [x19]
	str	xzr, [x8, x9, lsl #3]
	b	LBB0_6
LBB0_4:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	bl	_vkprintf
LBB0_5:
	mov	x0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_CONNECTIONS,8,3            ; @MAX_CONNECTIONS
	.comm	_CONN_FD_HOST,8,3               ; @CONN_FD_HOST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CONN_FD_HOST[%d] = NULL\n"

l_.str.1:                               ; @.str.1
	.asciz	"H->generation (%d) != c->generation (%d)\n"

.subsections_via_symbols
