	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BrBridgeThread                 ## -- Begin function BrBridgeThread
	.p2align	4, 0x90
_BrBridgeThread:                        ## @BrBridgeThread
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rax
	testq	%r15, %r15
	je	LBB0_3
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	28(%rbx), %edi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_NewServerConnection
	movq	%rax, %r14
	movq	_CONNECTION_HUB_BRIDGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movl	28(%rbx), %edi
	movq	16(%rbx), %rdx
	movq	_BRIDGE_USER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	24(%rbx), %r8d
	movq	%r14, %rsi
	callq	_NewServerSession
	movq	%rax, %r12
	movq	16(%rbx), %rdi
	movslq	(%rbx), %rdx
	movl	24(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_HLog
	movl	(%rbx), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_StrCpy
	movq	16(%rbx), %r13
	movl	(%r13), %edi
	callq	_AddRef
	movl	$1, (%r12)
	movq	%rbx, 16(%r12)
	movq	%r12, (%r14)
	movq	%r14, %rdi
	callq	_ReleaseConnection
	movq	_BRIDGE_USER_NAME_PRINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CopyStr
	movl	%eax, 8(%r12)
	movq	%r12, 8(%rbx)
	movl	4(%r12), %edi
	callq	_AddRef
	movq	%r15, %rdi
	callq	_NoticeThreadInit
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_Debug
	movq	%r12, %rdi
	callq	_SessionMain
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_Debug
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_HLog
	movq	%r13, %rdi
	callq	_ReleaseHub
	movq	%r12, %rdi
	callq	_ReleaseSession
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SIZE,4,2                   ## @MAX_SIZE
	.comm	_CONNECTION_HUB_BRIDGE,4,2      ## @CONNECTION_HUB_BRIDGE
	.comm	_BRIDGE_USER_NAME,4,2           ## @BRIDGE_USER_NAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LH_START_BRIDGE"

	.comm	_BRIDGE_USER_NAME_PRINT,4,2     ## @BRIDGE_USER_NAME_PRINT
L_.str.1:                               ## @.str.1
	.asciz	"Bridge %s Start.\n"

L_.str.2:                               ## @.str.2
	.asciz	"Bridge %s Stop.\n"

L_.str.3:                               ## @.str.3
	.asciz	"LH_STOP_BRIDGE"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BrBridgeThread                 ; -- Begin function BrBridgeThread
	.p2align	2
_BrBridgeThread:                        ; @BrBridgeThread
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAX_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x9, x23
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	cbz	x0, LBB0_3
; %bb.1:
	cbz	x19, LBB0_3
; %bb.2:
	ldr	w0, [x19, #28]
	mov	x1, #0
	mov	x2, x21
	bl	_NewServerConnection
	mov	x24, x0
Lloh8:
	adrp	x8, _CONNECTION_HUB_BRIDGE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CONNECTION_HUB_BRIDGE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	ldr	x2, [x19, #16]
Lloh11:
	adrp	x8, _BRIDGE_USER_NAME@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BRIDGE_USER_NAME@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	ldp	w4, w0, [x19, #24]
	mov	x1, x24
	bl	_NewServerSession
	mov	x22, x0
	ldr	x0, [x19, #16]
	ldrsw	x2, [x19]
	ldr	w8, [x22, #24]
	str	x8, [sp, #-16]!
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_HLog
	add	sp, sp, #16
	ldr	w2, [x19]
	mov	x0, x20
	mov	x1, x23
	bl	_StrCpy
	ldr	x23, [x19, #16]
	ldr	w0, [x23]
	bl	_AddRef
	mov	w8, #1
	str	w8, [x22]
	str	x19, [x22, #16]
	str	x22, [x24]
	mov	x0, x24
	bl	_ReleaseConnection
Lloh16:
	adrp	x8, _BRIDGE_USER_NAME_PRINT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BRIDGE_USER_NAME_PRINT@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_CopyStr
	str	w0, [x22, #8]
	str	x22, [x19, #8]
	ldr	w0, [x22, #4]
	bl	_AddRef
	mov	x0, x21
	bl	_NoticeThreadInit
	ldr	w1, [x19]
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Debug
	mov	x0, x22
	bl	_SessionMain
	ldr	w1, [x19]
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Debug
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x23
	mov	x2, x20
	bl	_HLog
	mov	x0, x23
	bl	_ReleaseHub
	mov	x0, x22
	bl	_ReleaseSession
LBB0_3:
	ldur	x8, [x29, #-56]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SIZE,4,2                   ; @MAX_SIZE
	.comm	_CONNECTION_HUB_BRIDGE,4,2      ; @CONNECTION_HUB_BRIDGE
	.comm	_BRIDGE_USER_NAME,4,2           ; @BRIDGE_USER_NAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LH_START_BRIDGE"

	.comm	_BRIDGE_USER_NAME_PRINT,4,2     ; @BRIDGE_USER_NAME_PRINT
l_.str.1:                               ; @.str.1
	.asciz	"Bridge %s Start.\n"

l_.str.2:                               ; @.str.2
	.asciz	"Bridge %s Stop.\n"

l_.str.3:                               ; @.str.3
	.asciz	"LH_STOP_BRIDGE"

.subsections_via_symbols
