	.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
	movq	%r9, %r13
	movq	%r8, %rbx
	movq	%rcx, %r15
	movq	%rdx, %r14
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.6:
	movq	%rsi, %r12
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	leaq	-80(%rbp), %rsi
	movq	%r12, %rdi
	callq	___rpc_socket2sockinfo
	testl	%eax, %eax
	je	LBB0_7
## %bb.9:
	testq	%r13, %r13
	jne	LBB0_11
	jmp	LBB0_10
LBB0_1:
	testq	%r14, %r14
	je	LBB0_2
## %bb.4:
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	___rpc_nconf2socket
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:
	movq	%rax, %r12
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	callq	___rpc_nconf2sockinfo
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	testq	%r13, %r13
	jne	LBB0_11
LBB0_10:
	movq	%r12, %rdi
	callq	___rpc_sockisbound
	testl	%eax, %eax
	jne	LBB0_19
LBB0_11:
	testq	%r15, %r15
	je	LBB0_12
## %bb.15:
	movq	8(%r15), %rsi
	movq	%r12, %rdi
	callq	_bindresvport
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_27
LBB0_7:
	leaq	L_str.8(%rip), %rdi
	callq	_puts
	jmp	LBB0_29
LBB0_12:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_bindresvport
	movl	$-1, %r15d
	testq	%rax, %rax
	je	LBB0_18
## %bb.13:
	leaq	-88(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	-76(%rbp), %rax
	movq	%rax, -88(%rbp)
	movq	_curthread@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_sobind
	testq	%rax, %rax
	je	LBB0_18
## %bb.14:
	leaq	L_str.6(%rip), %rdi
	callq	_puts
	jmp	LBB0_27
LBB0_2:
	leaq	L_str.7(%rip), %rdi
	callq	_puts
	jmp	LBB0_29
LBB0_17:
	movl	(%r15), %r15d
LBB0_18:
	movq	_curthread@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_solisten
LBB0_19:
	movl	-80(%rbp), %eax
	cmpl	$129, %eax
	je	LBB0_22
## %bb.20:
	cmpl	$128, %eax
	jne	LBB0_26
## %bb.21:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_svc_vc_create
	jmp	LBB0_23
LBB0_22:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_svc_dg_create
LBB0_23:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_27
## %bb.24:
	movl	-80(%rbp), %edi
	callq	___rpc_socktype2seman
	movl	%eax, 12(%rbx)
	testq	%r14, %r14
	je	LBB0_30
## %bb.25:
	movq	(%r14), %rdi
	movq	_M_RPC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strdup
	movl	%eax, 8(%rbx)
	jmp	LBB0_30
LBB0_26:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
LBB0_27:
	testq	%r13, %r13
	je	LBB0_29
## %bb.28:
	movq	%r12, %rdi
	callq	_soclose
LBB0_29:
	xorl	%ebx, %ebx
LBB0_30:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	(%r14), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"svc_tli_create: could not open connection for %s\n"

	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_curthread,4,2                  ## @curthread
L_.str.5:                               ## @.str.5
	.asciz	"svc_tli_create: bad service type"

	.comm	_M_RPC,4,2                      ## @M_RPC
	.comm	_fd,4,2                         ## @fd
	.comm	_slen,4,2                       ## @slen
L_str:                                  ## @str
	.asciz	"svc_tli_create: could not bind to requested address"

L_str.6:                                ## @str.6
	.asciz	"svc_tli_create: could not bind to anonymous port"

L_str.7:                                ## @str.7
	.asciz	"svc_tli_create: invalid netconfig"

L_str.8:                                ## @str.8
	.asciz	"svc_tli_create: could not get transport information"

.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, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x5
	mov	x22, x4
	mov	x24, x3
	mov	x20, x2
	mov	x23, x0
	cbz	x1, LBB0_3
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x25, [x8]
	add	x1, sp, #16
	mov	x0, x19
	bl	___rpc_socket2sockinfo
	cbz	w0, LBB0_10
; %bb.2:
	cbnz	x25, LBB0_7
	b	LBB0_6
LBB0_3:
	cbz	x20, LBB0_15
; %bb.4:
	mov	x0, x20
	bl	___rpc_nconf2socket
	cbz	x0, LBB0_28
; %bb.5:
	mov	x19, x0
	add	x1, sp, #16
	mov	x0, x20
	bl	___rpc_nconf2sockinfo
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	x25, [x8]
	cbnz	x25, LBB0_7
LBB0_6:
	mov	x0, x19
	bl	___rpc_sockisbound
	cbnz	w0, LBB0_19
LBB0_7:
	cbz	x24, LBB0_11
; %bb.8:
	ldr	x1, [x24, #8]
	mov	x0, x19
	bl	_bindresvport
	cbz	x0, LBB0_16
; %bb.9:
Lloh6:
	adrp	x0, l_str@PAGE
Lloh7:
	add	x0, x0, l_str@PAGEOFF
	b	LBB0_14
LBB0_10:
Lloh8:
	adrp	x0, l_str.8@PAGE
Lloh9:
	add	x0, x0, l_str.8@PAGEOFF
	bl	_puts
	b	LBB0_29
LBB0_11:
	mov	x0, x19
	mov	x1, #0
	bl	_bindresvport
	cbz	x0, LBB0_17
; %bb.12:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldur	d0, [sp, #20]
	str	d0, [sp, #8]
Lloh10:
	adrp	x8, _curthread@GOTPAGE
Lloh11:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_sobind
	cbz	x0, LBB0_17
; %bb.13:
Lloh13:
	adrp	x0, l_str.6@PAGE
Lloh14:
	add	x0, x0, l_str.6@PAGEOFF
LBB0_14:
	bl	_puts
	b	LBB0_26
LBB0_15:
Lloh15:
	adrp	x0, l_str.7@PAGE
Lloh16:
	add	x0, x0, l_str.7@PAGEOFF
	bl	_puts
	b	LBB0_29
LBB0_16:
	ldr	w1, [x24]
	b	LBB0_18
LBB0_17:
	mov	w1, #-1
LBB0_18:
Lloh17:
	adrp	x8, _curthread@GOTPAGE
Lloh18:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_solisten
LBB0_19:
	ldr	w8, [sp, #16]
	cmp	w8, #129
	b.eq	LBB0_22
; %bb.20:
	cmp	w8, #128
	b.ne	LBB0_25
; %bb.21:
	mov	x0, x23
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	bl	_svc_vc_create
	mov	x21, x0
	cbnz	x0, LBB0_23
	b	LBB0_26
LBB0_22:
	mov	x0, x23
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	bl	_svc_dg_create
	mov	x21, x0
	cbz	x0, LBB0_26
LBB0_23:
	ldr	w0, [sp, #16]
	bl	___rpc_socktype2seman
	str	w0, [x21, #12]
	cbz	x20, LBB0_30
; %bb.24:
	ldr	x0, [x20]
Lloh20:
	adrp	x8, _M_RPC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _M_RPC@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_strdup
	str	w0, [x21, #8]
	b	LBB0_30
LBB0_25:
Lloh23:
	adrp	x0, l_.str.5@PAGE
Lloh24:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
LBB0_26:
	cbz	x25, LBB0_29
; %bb.27:
	mov	x0, x19
	bl	_soclose
	b	LBB0_29
LBB0_28:
	ldr	x8, [x20]
	str	x8, [sp]
Lloh25:
	adrp	x0, l_.str.1@PAGE
Lloh26:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
LBB0_29:
	mov	x21, #0
LBB0_30:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"svc_tli_create: could not open connection for %s\n"

	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_curthread,4,2                  ; @curthread
l_.str.5:                               ; @.str.5
	.asciz	"svc_tli_create: bad service type"

	.comm	_M_RPC,4,2                      ; @M_RPC
	.comm	_fd,4,2                         ; @fd
	.comm	_slen,4,2                       ; @slen
l_str:                                  ; @str
	.asciz	"svc_tli_create: could not bind to requested address"

l_str.6:                                ; @str.6
	.asciz	"svc_tli_create: could not bind to anonymous port"

l_str.7:                                ; @str.7
	.asciz	"svc_tli_create: invalid netconfig"

l_str.8:                                ; @str.8
	.asciz	"svc_tli_create: could not get transport information"

.subsections_via_symbols
