	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_local_address
_tls_local_address:                     ## @tls_local_address
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_PJDLOG_ASSERT
	movq	(%rbx), %rax
	movq	_TLS_CTX_MAGIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_PJDLOG_ASSERT
	movl	8(%rbx), %edi
	callq	_PJDLOG_ASSERT
	movl	12(%rbx), %esi
	cmpl	$128, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_6
## %bb.2:
	cmpl	$130, %esi
	jne	LBB0_7
## %bb.3:
	xorl	%edi, %edi
	cmpq	$0, 32(%rbx)
	setne	%dil
	callq	_PJDLOG_ASSERT
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_5:
	xorl	%edi, %edi
	cmpq	$0, 32(%rbx)
	setne	%dil
	callq	_PJDLOG_ASSERT
	movq	16(%rbx), %rsi
LBB0_4:
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_strlcpy
	xorl	%edi, %edi
	cmpq	%r14, %rax
	setb	%dil
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PJDLOG_VERIFY                  ## TAILCALL
LBB0_6:
	xorl	%edi, %edi
	cmpq	$0, 24(%rbx)
	setne	%dil
	callq	_PJDLOG_ASSERT
	movq	24(%rbx), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_proto_local_address
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	$6, %edx
	callq	_strncmp
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_PJDLOG_ASSERT
	movl	$980642932, (%r15)              ## imm = 0x3A736C74
	movw	$12079, 4(%r15)                 ## imm = 0x2F2F
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.3(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PJDLOG_ABORT                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TLS_CTX_MAGIC,8,3              ## @TLS_CTX_MAGIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tls://N/A"

L_.str.1:                               ## @.str.1
	.asciz	"tcp://"

L_.str.2:                               ## @.str.2
	.asciz	"tls://"

L_.str.3:                               ## @.str.3
	.asciz	"Invalid side (%d)."

	.no_dead_strip	_tls_local_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_local_address
_tls_local_address:                     ; @tls_local_address
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_PJDLOG_ASSERT
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _TLS_CTX_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TLS_CTX_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_PJDLOG_ASSERT
	ldr	w0, [x21, #8]
	bl	_PJDLOG_ASSERT
	ldr	w1, [x21, #12]
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w1, #130
	b.ne	LBB0_7
; %bb.3:
	ldr	x8, [x21, #32]
	cmp	x8, #0
	cset	w0, ne
	bl	_PJDLOG_ASSERT
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
	ldr	x8, [x21, #32]
	cmp	x8, #0
	cset	w0, ne
	bl	_PJDLOG_ASSERT
	ldr	x1, [x21, #16]
LBB0_5:
	mov	x0, x19
	mov	x2, x20
	bl	_strlcpy
	cmp	x0, x20
	cset	w0, lo
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PJDLOG_VERIFY
LBB0_6:
	ldr	x8, [x21, #24]
	cmp	x8, #0
	cset	w0, ne
	bl	_PJDLOG_ASSERT
	ldr	x0, [x21, #24]
	mov	x1, x19
	mov	x2, x20
	bl	_proto_local_address
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #6
	bl	_strncmp
	cmp	w0, #0
	cset	w0, eq
	bl	_PJDLOG_ASSERT
	mov	w8, #27764
	movk	w8, #14963, lsl #16
	str	w8, [x19]
	mov	w8, #12079
	strh	w8, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh7:
	adrp	x0, l_.str.3@PAGE
Lloh8:
	add	x0, x0, l_.str.3@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PJDLOG_ABORT
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TLS_CTX_MAGIC,8,3              ; @TLS_CTX_MAGIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tls://N/A"

l_.str.1:                               ; @.str.1
	.asciz	"tcp://"

l_.str.2:                               ; @.str.2
	.asciz	"tls://"

l_.str.3:                               ; @.str.3
	.asciz	"Invalid side (%d)."

	.no_dead_strip	_tls_local_address
.subsections_via_symbols
