	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_tli_create                 ## -- Begin function svc_tli_create
	.p2align	4, 0x90
_svc_tli_create:                        ## @svc_tli_create
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%ecx, %ebx
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	_RPC_ANYFD@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_6
## %bb.1:
	testq	%r14, %r14
	je	LBB0_2
## %bb.4:
	movq	%r14, %rdi
	callq	___rpc_nconf2fd
	cmpl	$-1, %eax
	je	LBB0_5
## %bb.8:
	movl	%eax, %r13d
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	callq	___rpc_nconf2sockinfo
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_9
LBB0_6:
	movl	%edi, %r13d
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	leaq	-80(%rbp), %rsi
	callq	___rpc_fd2sockinfo
	testl	%eax, %eax
	je	LBB0_7
LBB0_9:
	testq	%r15, %r15
	je	LBB0_10
LBB0_11:
	testq	%r12, %r12
	je	LBB0_12
## %bb.20:
	movq	8(%r12), %rsi
	movl	-72(%rbp), %edx
	movl	%r13d, %edi
	callq	__bind
	testq	%rax, %rax
	js	LBB0_21
## %bb.22:
	movl	(%r12), %esi
	jmp	LBB0_23
LBB0_10:
	movl	%r13d, %edi
	callq	___rpc_sockisbound
	testl	%eax, %eax
	jne	LBB0_24
	jmp	LBB0_11
LBB0_2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
LBB0_3:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_34
LBB0_12:
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_bindresvport
	testq	%rax, %rax
	jns	LBB0_19
## %bb.13:
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	-64(%rbp), %eax
	movl	%eax, -88(%rbp)
	movq	-72(%rbp), %rdx
	movq	%rdx, -96(%rbp)
	movl	%r13d, %edi
	movq	%rbx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	__bind
	testq	%rax, %rax
	js	LBB0_14
LBB0_19:
	movq	_SOMAXCONN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_23:
	movl	%r13d, %edi
	callq	__listen
LBB0_24:
	movl	-80(%rbp), %eax
	cmpl	$129, %eax
	je	LBB0_30
## %bb.25:
	cmpl	$128, %eax
	jne	LBB0_26
## %bb.27:
	movl	$16, -52(%rbp)
	leaq	-96(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	movl	%r13d, %edi
	callq	__getpeername
	movl	%r13d, %edi
	testl	%eax, %eax
	je	LBB0_28
## %bb.29:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_svc_vc_create
	jmp	LBB0_31
LBB0_30:
	movl	%r13d, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_svc_dg_create
	jmp	LBB0_31
LBB0_26:
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_15
LBB0_5:
	movl	4(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_34
LBB0_21:
	leaq	L_.str.4(%rip), %rdi
LBB0_15:
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_16
LBB0_28:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_svc_fd_create
LBB0_31:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_16
## %bb.32:
	movl	-80(%rbp), %edi
	callq	___rpc_socktype2seman
	movl	%eax, 24(%rbx)
	testq	%r14, %r14
	je	LBB0_34
## %bb.33:
	movl	4(%r14), %edi
	callq	_strdup
	movq	%rax, 16(%rbx)
	movl	(%r14), %edi
	callq	_strdup
	movq	%rax, 8(%rbx)
	jmp	LBB0_34
LBB0_16:
	testq	%r15, %r15
	je	LBB0_18
## %bb.17:
	movl	%r13d, %edi
	callq	__close
LBB0_18:
	xorl	%ebx, %ebx
LBB0_34:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_RPC_ANYFD,4,2                  ## @RPC_ANYFD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"svc_tli_create: invalid netconfig"

L_.str.1:                               ## @.str.1
	.asciz	"svc_tli_create: could not open connection for %s"

	.comm	_TRUE,8,3                       ## @TRUE
L_.str.2:                               ## @.str.2
	.asciz	"svc_tli_create: could not get transport information"

L_.str.3:                               ## @.str.3
	.asciz	"svc_tli_create: could not bind to anonymous port"

	.comm	_SOMAXCONN,4,2                  ## @SOMAXCONN
L_.str.4:                               ## @.str.4
	.asciz	"svc_tli_create: could not bind to requested address"

L_.str.5:                               ## @.str.5
	.asciz	"svc_tli_create: bad service type"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_tli_create                 ; -- Begin function svc_tli_create
	.p2align	2
_svc_tli_create:                        ; @svc_tli_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
Lloh0:
	adrp	x8, _RPC_ANYFD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RPC_ANYFD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_4
; %bb.1:
	cbz	x19, LBB0_10
; %bb.2:
	mov	x0, x19
	bl	___rpc_nconf2fd
	cmn	w0, #1
	b.eq	LBB0_22
; %bb.3:
	mov	x20, x0
	add	x1, sp, #40
	mov	x0, x19
	bl	___rpc_nconf2sockinfo
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	x24, [x8]
	b	LBB0_5
LBB0_4:
	mov	x20, x0
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	x24, [x8]
	add	x1, sp, #40
	bl	___rpc_fd2sockinfo
	cbz	w0, LBB0_11
LBB0_5:
	cbz	x24, LBB0_9
LBB0_6:
	cbz	x23, LBB0_12
; %bb.7:
	ldr	x1, [x23, #8]
	ldr	w2, [sp, #48]
	mov	x0, x20
	bl	__bind
	tbnz	x0, #63, LBB0_24
; %bb.8:
	ldr	w1, [x23]
	b	LBB0_15
LBB0_9:
	mov	x0, x20
	bl	___rpc_sockisbound
	cbnz	w0, LBB0_16
	b	LBB0_6
LBB0_10:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_23
LBB0_11:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_23
LBB0_12:
	mov	x0, x20
	mov	x1, #0
	bl	_bindresvport
	tbz	x0, #63, LBB0_14
; %bb.13:
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	w8, [sp, #56]
	str	w8, [sp, #32]
	ldr	x2, [sp, #48]
	str	x2, [sp, #24]
	add	x1, sp, #24
	mov	x0, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	__bind
	tbnz	x0, #63, LBB0_33
LBB0_14:
Lloh13:
	adrp	x8, _SOMAXCONN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SOMAXCONN@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
LBB0_15:
	mov	x0, x20
	bl	__listen
LBB0_16:
	ldr	w8, [sp, #40]
	cmp	w8, #129
	b.eq	LBB0_20
; %bb.17:
	cmp	w8, #128
	b.ne	LBB0_21
; %bb.18:
	mov	w8, #16
	str	w8, [sp, #20]
	add	x1, sp, #24
	add	x2, sp, #20
	mov	x0, x20
	bl	__getpeername
	cbz	w0, LBB0_29
; %bb.19:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_svc_vc_create
	mov	x21, x0
	cbnz	x0, LBB0_30
	b	LBB0_26
LBB0_20:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_svc_dg_create
	mov	x21, x0
	cbnz	x0, LBB0_30
	b	LBB0_26
LBB0_21:
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_25
LBB0_22:
	ldr	w8, [x19, #4]
	str	x8, [sp]
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_23:
	bl	_warnx
	mov	x21, #0
	b	LBB0_32
LBB0_24:
Lloh20:
	adrp	x0, l_.str.4@PAGE
Lloh21:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_25:
	bl	_warnx
LBB0_26:
	cbz	x24, LBB0_28
; %bb.27:
	mov	x0, x20
	bl	__close
LBB0_28:
	mov	x21, #0
	b	LBB0_32
LBB0_29:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_svc_fd_create
	mov	x21, x0
	cbz	x0, LBB0_26
LBB0_30:
	ldr	w0, [sp, #40]
	bl	___rpc_socktype2seman
	str	w0, [x21, #24]
	cbz	x19, LBB0_32
; %bb.31:
	ldr	w0, [x19, #4]
	bl	_strdup
	str	x0, [x21, #16]
	ldr	w0, [x19]
	bl	_strdup
	str	x0, [x21, #8]
LBB0_32:
	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
	add	sp, sp, #128
	ret
LBB0_33:
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_25
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_RPC_ANYFD,4,2                  ; @RPC_ANYFD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"svc_tli_create: invalid netconfig"

l_.str.1:                               ; @.str.1
	.asciz	"svc_tli_create: could not open connection for %s"

	.comm	_TRUE,8,3                       ; @TRUE
l_.str.2:                               ; @.str.2
	.asciz	"svc_tli_create: could not get transport information"

l_.str.3:                               ; @.str.3
	.asciz	"svc_tli_create: could not bind to anonymous port"

	.comm	_SOMAXCONN,4,2                  ; @SOMAXCONN
l_.str.4:                               ; @.str.4
	.asciz	"svc_tli_create: could not bind to requested address"

l_.str.5:                               ; @.str.5
	.asciz	"svc_tli_create: bad service type"

.subsections_via_symbols
