	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_call_exec_server
_tls_call_exec_server:                  ## @tls_call_exec_server
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r13
	xorl	%eax, %eax
	callq	_pjdlog_mode_get
	movq	_PJDLOG_MODE_STD@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	leal	(%rdx,%rdx,2), %ebx
	movq	%r13, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_proto_send
	movq	%r13, %rdi
	callq	_proto_descriptor
	movl	%eax, %r14d
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_proto_descriptor
	movl	%eax, %r15d
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_MAX
	movl	%eax, %edi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, %esi
	callq	_MAX
	movl	%eax, %ebx
	leal	1(%rbx), %r12d
	movl	%r14d, %edi
	movl	%r12d, %esi
	callq	_dup2
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_pjdlog_exit
LBB0_2:
	movq	%r13, %rdi
	callq	_proto_close
	addl	$2, %ebx
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_dup2
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_pjdlog_exit
LBB0_4:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_proto_close
	movl	%r12d, %edi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_dup2
	cmpl	$-1, %eax
	jne	LBB0_6
## %bb.5:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_pjdlog_exit
LBB0_6:
	movl	%r12d, %edi
	callq	_close
	leal	1(%r14), %r15d
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_dup2
	cmpl	$-1, %eax
	jne	LBB0_8
## %bb.7:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_pjdlog_exit
LBB0_8:
	movl	%ebx, %edi
	callq	_close
	leal	2(%r14), %edi
	callq	_closefrom
	movq	_F_SETFD@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%r14d, %edi
	xorl	%edx, %edx
	callq	_fcntl
	cmpl	$-1, %eax
	jne	LBB0_10
## %bb.9:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_pjdlog_exit
LBB0_10:
	movl	(%rbx), %esi
	movl	%r15d, %edi
	xorl	%edx, %edx
	callq	_fcntl
	cmpl	$-1, %eax
	jne	LBB0_12
## %bb.11:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_pjdlog_exit
LBB0_12:
	leaq	L_.str.2(%rip), %rsi
	leaq	-72(%rbp), %rdi
	movl	%r14d, %edx
	callq	_asprintf
	cmpl	$-1, %eax
	jne	LBB0_14
## %bb.13:
	movq	_EX_TEMPFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_pjdlog_exit
LBB0_14:
	xorl	%eax, %eax
	callq	_pjdlog_debug_get
	leaq	L_.str.2(%rip), %rsi
	leaq	-64(%rbp), %rdi
	movl	%eax, %edx
	callq	_asprintf
	cmpl	$-1, %eax
	jne	LBB0_16
## %bb.15:
	movq	_EX_TEMPFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_pjdlog_exit
LBB0_16:
	leaq	L_.str.4(%rip), %rbx
	movq	%rbx, %rdi
	callq	_proto_get
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_proto_get
	movl	%eax, %r15d
	leaq	L_.str.7(%rip), %rdi
	callq	_proto_get
	movl	%eax, %ebx
	movq	-72(%rbp), %r13
	leaq	L_.str.9(%rip), %rdi
	callq	_proto_get
	movl	%eax, %r12d
	leaq	L_.str.10(%rip), %rdi
	callq	_proto_get
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	leaq	L_.str.5(%rip), %rdx
	leaq	L_.str.6(%rip), %rcx
	leaq	L_.str.8(%rip), %r9
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%ebx, %r8d
	pushq	$0
	pushq	-64(%rbp)
	pushq	%rax
	pushq	%r12
	pushq	%r13
	callq	_execl
	addq	$48, %rsp
	movq	_EX_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
	callq	_pjdlog_exit
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PJDLOG_MODE_STD,8,3            ## @PJDLOG_MODE_STD
	.comm	_EX_OSERR,4,2                   ## @EX_OSERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dup2() failed"

	.comm	_F_SETFD,4,2                    ## @F_SETFD
L_.str.1:                               ## @.str.1
	.asciz	"fcntl() failed"

L_.str.2:                               ## @.str.2
	.asciz	"%d"

	.comm	_EX_TEMPFAIL,4,2                ## @EX_TEMPFAIL
L_.str.3:                               ## @.str.3
	.asciz	"asprintf() failed"

L_.str.4:                               ## @.str.4
	.asciz	"execpath"

L_.str.5:                               ## @.str.5
	.asciz	"proto"

L_.str.6:                               ## @.str.6
	.asciz	"tls"

L_.str.7:                               ## @.str.7
	.asciz	"user"

L_.str.8:                               ## @.str.8
	.asciz	"server"

L_.str.9:                               ## @.str.9
	.asciz	"tls:keyfile"

L_.str.10:                              ## @.str.10
	.asciz	"tls:certfile"

	.comm	_EX_SOFTWARE,4,2                ## @EX_SOFTWARE
L_.str.11:                              ## @.str.11
	.asciz	"execl() failed"

	.no_dead_strip	_tls_call_exec_server
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_call_exec_server
_tls_call_exec_server:                  ; @tls_call_exec_server
	.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	x20, x1
	mov	x22, x0
	bl	_pjdlog_mode_get
Lloh0:
	adrp	x8, _PJDLOG_MODE_STD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PJDLOG_MODE_STD@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	mov	w8, #3
	csel	w19, w8, wzr, eq
	mov	x0, x22
	mov	x1, #0
	mov	w2, #0
	bl	_proto_send
	mov	x0, x22
	bl	_proto_descriptor
	mov	x25, x0
	mov	x0, x20
	bl	_proto_descriptor
	mov	x23, x0
	mov	x0, x25
	mov	x1, x23
	bl	_MAX
	mov	x1, x19
	bl	_MAX
	mov	x24, x0
	add	w21, w0, #1
	mov	x0, x25
	mov	x1, x21
	bl	_dup2
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_pjdlog_exit
LBB0_2:
	mov	x0, x22
	bl	_proto_close
	add	w22, w24, #2
	mov	x0, x23
	mov	x1, x22
	bl	_dup2
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_pjdlog_exit
LBB0_4:
	mov	x0, x20
	bl	_proto_close
	mov	x0, x21
	mov	x1, x19
	bl	_dup2
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.5:
Lloh13:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_pjdlog_exit
LBB0_6:
	mov	x0, x21
	bl	_close
	add	w20, w19, #1
	mov	x0, x22
	mov	x1, x20
	bl	_dup2
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.7:
Lloh18:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	bl	_pjdlog_exit
LBB0_8:
	mov	x0, x22
	bl	_close
	add	w0, w19, #2
	bl	_closefrom
Lloh23:
	adrp	x21, _F_SETFD@GOTPAGE
Lloh24:
	ldr	x21, [x21, _F_SETFD@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	mov	w2, #0
	bl	_fcntl
	cmn	w0, #1
	b.ne	LBB0_10
; %bb.9:
Lloh25:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_pjdlog_exit
LBB0_10:
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #0
	bl	_fcntl
	cmn	w0, #1
	b.ne	LBB0_12
; %bb.11:
Lloh30:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x1, l_.str.1@PAGE
Lloh34:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_pjdlog_exit
LBB0_12:
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #40
	mov	x2, x19
	bl	_asprintf
	cmn	w0, #1
	b.ne	LBB0_14
; %bb.13:
Lloh37:
	adrp	x8, _EX_TEMPFAIL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EX_TEMPFAIL@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x1, l_.str.3@PAGE
Lloh41:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_pjdlog_exit
LBB0_14:
	bl	_pjdlog_debug_get
	mov	x2, x0
Lloh42:
	adrp	x1, l_.str.2@PAGE
Lloh43:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #32
	bl	_asprintf
	cmn	w0, #1
	b.ne	LBB0_16
; %bb.15:
Lloh44:
	adrp	x8, _EX_TEMPFAIL@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EX_TEMPFAIL@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
Lloh47:
	adrp	x1, l_.str.3@PAGE
Lloh48:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_pjdlog_exit
LBB0_16:
Lloh49:
	adrp	x19, l_.str.4@PAGE
Lloh50:
	add	x19, x19, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_proto_get
	mov	x20, x0
	mov	x0, x19
	bl	_proto_get
	mov	x19, x0
Lloh51:
	adrp	x0, l_.str.7@PAGE
Lloh52:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_proto_get
	mov	x21, x0
	ldr	x22, [sp, #40]
Lloh53:
	adrp	x0, l_.str.9@PAGE
Lloh54:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_proto_get
	mov	x23, x0
Lloh55:
	adrp	x0, l_.str.10@PAGE
Lloh56:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_proto_get
	ldr	x8, [sp, #32]
	stp	x8, xzr, [sp, #8]
Lloh57:
	adrp	x2, l_.str.5@PAGE
Lloh58:
	add	x2, x2, l_.str.5@PAGEOFF
	str	w0, [sp]
Lloh59:
	adrp	x3, l_.str.6@PAGE
Lloh60:
	add	x3, x3, l_.str.6@PAGEOFF
Lloh61:
	adrp	x5, l_.str.8@PAGE
Lloh62:
	add	x5, x5, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	mov	x4, x21
	mov	x6, x22
	mov	x7, x23
	bl	_execl
Lloh63:
	adrp	x8, _EX_SOFTWARE@GOTPAGE
Lloh64:
	ldr	x8, [x8, _EX_SOFTWARE@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
Lloh66:
	adrp	x1, l_.str.11@PAGE
Lloh67:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_pjdlog_exit
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_PJDLOG_MODE_STD,8,3            ; @PJDLOG_MODE_STD
	.comm	_EX_OSERR,4,2                   ; @EX_OSERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dup2() failed"

	.comm	_F_SETFD,4,2                    ; @F_SETFD
l_.str.1:                               ; @.str.1
	.asciz	"fcntl() failed"

l_.str.2:                               ; @.str.2
	.asciz	"%d"

	.comm	_EX_TEMPFAIL,4,2                ; @EX_TEMPFAIL
l_.str.3:                               ; @.str.3
	.asciz	"asprintf() failed"

l_.str.4:                               ; @.str.4
	.asciz	"execpath"

l_.str.5:                               ; @.str.5
	.asciz	"proto"

l_.str.6:                               ; @.str.6
	.asciz	"tls"

l_.str.7:                               ; @.str.7
	.asciz	"user"

l_.str.8:                               ; @.str.8
	.asciz	"server"

l_.str.9:                               ; @.str.9
	.asciz	"tls:keyfile"

l_.str.10:                              ; @.str.10
	.asciz	"tls:certfile"

	.comm	_EX_SOFTWARE,4,2                ; @EX_SOFTWARE
l_.str.11:                              ; @.str.11
	.asciz	"execl() failed"

	.no_dead_strip	_tls_call_exec_server
.subsections_via_symbols
