	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_daemon_remote_open_ports       ## -- Begin function daemon_remote_open_ports
	.p2align	4, 0x90
_daemon_remote_open_ports:              ## @daemon_remote_open_ports
	.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, %r15
	movq	$0, -32(%rbp)
	cmpq	$0, 32(%rdi)
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, (%r15)
	setne	%dil
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	callq	_log_assert
	movq	24(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.4:
	leaq	-32(%rbp), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movq	(%r15), %rsi
	movq	%r14, %rdx
	movl	$1, %ecx
	movq	%r15, %r8
	callq	_add_open
	testl	%eax, %eax
	je	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_5
	jmp	LBB0_12
LBB0_7:
	cmpq	$0, 16(%r15)
	je	LBB0_9
## %bb.8:
	movq	(%r15), %rsi
	leaq	L_.str(%rip), %rdi
	leaq	-32(%rbp), %rdx
	xorl	%ecx, %ecx
	movq	%r15, %r8
	callq	_add_open
	testl	%eax, %eax
	je	LBB0_6
LBB0_9:
	cmpq	$0, 8(%r15)
	je	LBB0_12
## %bb.10:
	movq	(%r15), %rsi
	leaq	L_.str.1(%rip), %rdi
	leaq	-32(%rbp), %rdx
	movl	$1, %ecx
	movq	%r15, %r8
	callq	_add_open
	testl	%eax, %eax
	je	LBB0_6
LBB0_12:
	movq	-32(%rbp), %rax
	jmp	LBB0_13
LBB0_6:
	movq	-32(%rbp), %rdi
	callq	_listening_ports_free
	xorl	%eax, %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"::1"

L_.str.1:                               ## @.str.1
	.asciz	"127.0.0.1"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_daemon_remote_open_ports       ; -- Begin function daemon_remote_open_ports
	.p2align	2
_daemon_remote_open_ports:              ; @daemon_remote_open_ports
	.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
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_log_assert
	ldr	x20, [x19, #24]
	cbz	x20, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	ldr	x1, [x19]
	add	x2, sp, #8
	mov	w3, #1
	mov	x4, x19
	bl	_add_open
	cbz	w0, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x20, [x20, #8]
	cbnz	x20, LBB0_4
	b	LBB0_10
LBB0_6:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_8
; %bb.7:
	ldr	x1, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	w3, #0
	mov	x4, x19
	bl	_add_open
	cbz	w0, LBB0_11
LBB0_8:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	x1, [x19]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x2, sp, #8
	mov	w3, #1
	mov	x4, x19
	bl	_add_open
	cbz	w0, LBB0_11
LBB0_10:
	ldr	x0, [sp, #8]
	b	LBB0_12
LBB0_11:
	ldr	x0, [sp, #8]
	bl	_listening_ports_free
	mov	x0, #0
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"::1"

l_.str.1:                               ; @.str.1
	.asciz	"127.0.0.1"

.subsections_via_symbols
