	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_natt_open_port_any             ## -- Begin function natt_open_port_any
	.p2align	4, 0x90
_natt_open_port_any:                    ## @natt_open_port_any
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %ecx
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movl	$0, -96(%rbp)
	movq	$0, -104(%rbp)
	leaq	L_.str(%rip), %rdx
	leaq	-62(%rbp), %rdi
	movl	$6, %esi
	callq	_snprintf
	leaq	-80(%rbp), %rdi
	callq	_net_ifinfo_new
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpq	$0, -80(%rbp)
	je	LBB0_3
## %bb.4:
	xorl	%r12d, %r12d
	leaq	L_.str.1(%rip), %rbx
	leaq	L_.str.2(%rip), %r13
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r14
	cmpq	-80(%rbp), %r14
	jae	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %r15
	movl	(%r15,%r14,4), %edi
	movq	%rbx, %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r15,%r14,4), %edi
	movq	%r13, %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r15,%r14,4), %edi
	leaq	-62(%rbp), %rsi
	leaq	-104(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_getaddrinfo_retro
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rax
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_natt_open_port
	testq	%rax, %rax
	setne	%al
	testl	%r12d, %r12d
	setne	%cl
	orb	%al, %cl
	movzbl	%cl, %r12d
	movq	-56(%rbp), %rdi
	callq	_freeaddrinfo_retro
	jmp	LBB0_9
LBB0_1:
	xorl	%r12d, %r12d
	jmp	LBB0_11
LBB0_3:
	xorl	%r12d, %r12d
LBB0_10:
	leaq	-80(%rbp), %rdi
	callq	_net_ifinfo_free
LBB0_11:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%hu"

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

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_natt_open_port_any             ; -- Begin function natt_open_port_any
	.p2align	2
_natt_open_port_any:                    ; @natt_open_port_any
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x3, x1
	mov	x20, x0
	str	wzr, [sp, #16]
	str	xzr, [sp, #8]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #42
	mov	w1, #6
	bl	_snprintf
	add	x0, sp, #24
	bl	_net_ifinfo_new
	cbz	w0, LBB0_8
; %bb.1:
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_9
; %bb.2:
	mov	w21, #0
	mov	x24, #0
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh4:
	adrp	x23, l_.str.2@PAGE
Lloh5:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	ldr	x8, [sp, #24]
	cmp	x24, x8
	b.hs	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x25, [sp, #32]
	ldr	w0, [x25, x24, lsl #2]
	mov	x1, x22
	bl	_string_is_equal
	cbnz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x25, x24, lsl #2]
	mov	x1, x23
	bl	_string_is_equal
	cbnz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x25, x24, lsl #2]
	add	x1, sp, #42
	add	x2, sp, #8
	mov	x3, sp
	bl	_getaddrinfo_retro
	cbnz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp]
	ldp	w2, w1, [x8]
	mov	x0, x20
	mov	x3, x19
	bl	_natt_open_port
	cmp	x0, #0
	ccmp	w21, #0, #0, eq
	cset	w21, ne
	ldr	x0, [sp]
	bl	_freeaddrinfo_retro
	b	LBB0_3
LBB0_8:
	mov	w21, #0
	b	LBB0_11
LBB0_9:
	mov	w21, #0
LBB0_10:
	add	x0, sp, #24
	bl	_net_ifinfo_free
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%hu"

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

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

.subsections_via_symbols
