	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ports_create_if
_ports_create_if:                       ## @ports_create_if
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	$0, -44(%rbp)
	xorl	%eax, %eax
	orl	%edx, %ecx
	je	LBB0_22
## %bb.1:
	movq	%r9, %rbx
	movq	%r8, %r13
	movq	%rdi, %r8
	movl	88(%rbp), %eax
	movl	80(%rbp), %r14d
	movl	72(%rbp), %r12d
	movl	64(%rbp), %r10d
	movq	32(%rbp), %r9
	movq	24(%rbp), %r11
	testl	%esi, %esi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_11
## %bb.2:
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	subq	$8, %rsp
	movq	%r9, %r11
	leaq	-44(%rbp), %r9
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	movl	$1, %r8d
	pushq	%rax
	pushq	%r14
	pushq	%r12
	pushq	%r10
	pushq	56(%rbp)
	pushq	%r11
	pushq	24(%rbp)
	callq	_make_sock_port
	addq	$64, %rsp
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.5:
	movl	%eax, %r14d
	movq	%r12, %rbx
	movl	(%r13), %esi
	movl	%eax, %edi
	callq	_set_recvpktinfo
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	_listen_type_udpancil@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	16(%rbp), %rdi
	movl	%r14d, %esi
	callq	_port_insert
	testl	%eax, %eax
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	64(%rbp), %r10d
	jne	LBB0_9
	jmp	LBB0_6
LBB0_11:
	testl	%edx, %edx
	movq	%r12, %rbx
	je	LBB0_9
## %bb.12:
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	subq	$8, %rsp
	movq	%r9, %r14
	leaq	-44(%rbp), %r9
	movq	%r8, %r12
	movq	%r8, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %rcx
	movl	$1, %r8d
	movl	88(%rbp), %eax
	pushq	%rax
	movl	80(%rbp), %eax
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	pushq	56(%rbp)
	pushq	%r14
	pushq	%r11
	callq	_make_sock_port
	addq	$64, %rsp
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.13:
	movl	%eax, %r14d
	movq	_listen_type_udp@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	16(%rbp), %rdi
	movl	%r14d, %esi
	callq	_port_insert
	testl	%eax, %eax
	movq	%r12, %r8
	movl	64(%rbp), %r10d
	je	LBB0_6
LBB0_9:
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.14:
	movq	%r10, %r14
	movq	48(%rbp), %rcx
	movl	40(%rbp), %edx
	movq	%r8, %rdi
	movq	%rbx, %r15
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r8, %r12
	callq	_if_is_ssl
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	subq	$64, %rsp
	movl	88(%rbp), %eax
	movl	%eax, 48(%rsp)
	movl	80(%rbp), %eax
	movl	%eax, 40(%rsp)
	movl	%r15d, 32(%rsp)
	movl	%r14d, 24(%rsp)
	movq	56(%rbp), %rax
	movq	%rax, 16(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	leaq	-44(%rbp), %r9
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	movl	$1, %r8d
	callq	_make_sock_port
	addq	$64, %rsp
	cmpl	$-1, %eax
	je	LBB0_15
## %bb.16:
	movl	%eax, %ebx
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_17
## %bb.18:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_verbose
	movq	_listen_type_ssl@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_3:
	cmpl	$0, -44(%rbp)
	movl	$0, %eax
	je	LBB0_22
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_log_warn
	movl	$1, %eax
	jmp	LBB0_22
LBB0_6:
	movl	%r14d, %edi
LBB0_21:
	callq	_close
	xorl	%eax, %eax
	jmp	LBB0_22
LBB0_10:
	movl	$1, %eax
	jmp	LBB0_22
LBB0_15:
	xorl	%eax, %eax
	cmpl	$0, -44(%rbp)
	setne	%al
	jmp	LBB0_22
LBB0_17:
	movq	_listen_type_tcp@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %edx
	movq	16(%rbp), %rdi
	movl	%ebx, %esi
	callq	_port_insert
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	je	LBB0_20
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movl	%ebx, %edi
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IPv6 protocol not available"

	.comm	_listen_type_udpancil_dnscrypt,4,2 ## @listen_type_udpancil_dnscrypt
	.comm	_listen_type_udpancil,4,2       ## @listen_type_udpancil
	.comm	_listen_type_udp_dnscrypt,4,2   ## @listen_type_udp_dnscrypt
	.comm	_listen_type_udp,4,2            ## @listen_type_udp
	.comm	_SOCK_STREAM,4,2                ## @SOCK_STREAM
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
L_.str.1:                               ## @.str.1
	.asciz	"setup TCP for SSL service"

	.comm	_listen_type_ssl,4,2            ## @listen_type_ssl
	.comm	_listen_type_tcp_dnscrypt,4,2   ## @listen_type_tcp_dnscrypt
	.comm	_listen_type_tcp,4,2            ## @listen_type_tcp
	.no_dead_strip	_ports_create_if
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ports_create_if
_ports_create_if:                       ; @ports_create_if
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	wzr, [sp, #44]
	orr	w8, w3, w2
	cbz	w8, LBB0_17
; %bb.1:
	mov	x20, x5
	mov	x21, x4
	mov	x23, x3
	mov	x22, x0
	str	x6, [sp, #32]                   ; 8-byte Folded Spill
	ldp	w19, w28, [x29, #56]
	ldp	w26, w25, [x29, #48]
	ldr	x27, [x29, #40]
	ldr	x8, [x29, #16]
	cbz	w1, LBB0_5
; %bb.2:
Lloh0:
	adrp	x9, _SOCK_DGRAM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SOCK_DGRAM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	stp	w19, w28, [sp, #16]
	add	x5, sp, #44
	stp	w26, w25, [sp, #8]
	str	x27, [sp]
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	mov	w4, #1
	mov	x6, x7
	mov	x7, x8
	bl	_make_sock_port
	cmn	w0, #1
	b.eq	LBB0_13
; %bb.3:
	mov	x24, x0
	ldr	w1, [x21]
	bl	_set_recvpktinfo
	cbz	w0, LBB0_15
; %bb.4:
Lloh3:
	adrp	x8, _listen_type_udpancil@GOTPAGE
Lloh4:
	ldr	x8, [x8, _listen_type_udpancil@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	cbz	w2, LBB0_9
; %bb.6:
Lloh5:
	adrp	x9, _SOCK_DGRAM@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SOCK_DGRAM@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x9]
	stp	w19, w28, [sp, #16]
	add	x5, sp, #44
	stp	w26, w25, [sp, #8]
	str	x27, [sp]
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	mov	w4, #1
	mov	x6, x7
	mov	x7, x8
	bl	_make_sock_port
	cmn	w0, #1
	b.eq	LBB0_13
; %bb.7:
	mov	x24, x0
Lloh8:
	adrp	x8, _listen_type_udp@GOTPAGE
Lloh9:
	ldr	x8, [x8, _listen_type_udp@GOTPAGEOFF]
LBB0_8:
	ldr	w2, [x8]
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x1, x24
	bl	_port_insert
	cbz	w0, LBB0_15
LBB0_9:
	cbz	w23, LBB0_22
; %bb.10:
	ldr	x3, [x29, #32]
	ldr	w2, [x29, #24]
	mov	x0, x22
	mov	x1, x20
	bl	_if_is_ssl
	mov	x23, x0
Lloh10:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	stp	w19, w28, [sp, #16]
	add	x5, sp, #44
	stp	w26, w25, [sp, #8]
	str	x27, [sp]
	mov	x1, x22
	mov	x2, x20
	mov	x3, x21
	mov	w4, #1
	mov	x6, #0
	mov	x7, #0
	bl	_make_sock_port
	cmn	w0, #1
	b.eq	LBB0_19
; %bb.11:
	mov	x20, x0
	cbz	w23, LBB0_20
; %bb.12:
Lloh13:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_verbose
Lloh18:
	adrp	x8, _listen_type_ssl@GOTPAGE
Lloh19:
	ldr	x8, [x8, _listen_type_ssl@GOTPAGEOFF]
	b	LBB0_21
LBB0_13:
	ldr	w8, [sp, #44]
	cbz	w8, LBB0_17
; %bb.14:
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_warn
	mov	w0, #1
	b	LBB0_18
LBB0_15:
	mov	x0, x24
LBB0_16:
	bl	_close
LBB0_17:
	mov	w0, #0
LBB0_18:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_19:
	ldr	w8, [sp, #44]
	cmp	w8, #0
	cset	w0, ne
	b	LBB0_18
LBB0_20:
Lloh22:
	adrp	x8, _listen_type_tcp@GOTPAGE
Lloh23:
	ldr	x8, [x8, _listen_type_tcp@GOTPAGEOFF]
LBB0_21:
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w2, [x8]
	mov	x1, x20
	bl	_port_insert
	cbz	w0, LBB0_23
LBB0_22:
	mov	w0, #1
	b	LBB0_18
LBB0_23:
	mov	x0, x20
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IPv6 protocol not available"

	.comm	_listen_type_udpancil_dnscrypt,4,2 ; @listen_type_udpancil_dnscrypt
	.comm	_listen_type_udpancil,4,2       ; @listen_type_udpancil
	.comm	_listen_type_udp_dnscrypt,4,2   ; @listen_type_udp_dnscrypt
	.comm	_listen_type_udp,4,2            ; @listen_type_udp
	.comm	_SOCK_STREAM,4,2                ; @SOCK_STREAM
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
l_.str.1:                               ; @.str.1
	.asciz	"setup TCP for SSL service"

	.comm	_listen_type_ssl,4,2            ; @listen_type_ssl
	.comm	_listen_type_tcp_dnscrypt,4,2   ; @listen_type_tcp_dnscrypt
	.comm	_listen_type_tcp,4,2            ; @listen_type_tcp
	.no_dead_strip	_ports_create_if
.subsections_via_symbols
