	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BrNewBridge                    ## -- Begin function BrNewBridge
	.p2align	4, 0x90
_BrNewBridge:                           ## @BrNewBridge
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.2:
	cmpq	$0, 32(%rbp)
	je	LBB0_16
## %bb.3:
	movl	%r9d, %r12d
	movq	%rdi, %r14
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.5:
	movq	%rdx, %rdi
	jmp	LBB0_6
LBB0_4:
	xorl	%eax, %eax
	callq	_GetDefaultPolicy
	movq	%rax, %rdi
LBB0_6:
	callq	_ClonePolicy
	movq	%rax, %r13
	movl	$64, %edi
	callq	_ZeroMalloc
	movq	%rax, %rbx
	movl	(%r14), %eax
	movl	%eax, 56(%rbx)
	movq	%r14, 48(%rbx)
	movl	40(%rbx), %edi
	movl	$4, %esi
	movq	%r15, %rdx
	callq	_StrCpy
	movq	%r13, 32(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rbx)
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, 4(%rbx)
	movl	%r12d, 8(%rbx)
	movl	24(%rbp), %eax
	movl	%eax, 12(%rbx)
	movq	32(%rbp), %rax
	movq	%rax, 24(%rbx)
	testl	%r12d, %r12d
	movq	%r13, %r12
	je	LBB0_11
## %bb.7:
	movq	16(%rbp), %r14
	testq	%r14, %r14
	je	LBB0_10
## %bb.8:
	movq	%r14, %rdi
	movl	$6, %esi
	callq	_IsZero
	testl	%eax, %eax
	je	LBB0_9
LBB0_10:
	movl	16(%rbx), %edi
	callq	_GenMacAddress
LBB0_11:
	testl	%r15d, %r15d
	je	LBB0_13
LBB0_12:
	movl	$1, (%r12)
LBB0_13:
	cmpl	$0, 12(%rbx)
	jne	LBB0_15
## %bb.14:
	movl	$1, 4(%r12)
LBB0_15:
	movq	_BrBridgeThread@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_NewThread
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_WaitThreadInit
	movq	%r14, %rdi
	callq	_ReleaseThread
LBB0_16:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	16(%rbx), %edi
	movq	%r14, %rsi
	movl	$6, %edx
	callq	_Copy
	testl	%r15d, %r15d
	jne	LBB0_12
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_BrBridgeThread,4,2             ## @BrBridgeThread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BrNewBridge                    ; -- Begin function BrNewBridge
	.p2align	2
_BrNewBridge:                           ; @BrNewBridge
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, #0
	cbz	x0, LBB0_15
; %bb.1:
	mov	x26, x1
	cbz	x1, LBB0_15
; %bb.2:
	ldr	x28, [x29, #16]
	cbz	x28, LBB0_15
; %bb.3:
	mov	x24, x7
	mov	x21, x6
	mov	x23, x5
	mov	x20, x4
	mov	x25, x3
	mov	x27, x0
	cbz	x2, LBB0_5
; %bb.4:
	mov	x0, x2
	b	LBB0_6
LBB0_5:
	bl	_GetDefaultPolicy
LBB0_6:
	bl	_ClonePolicy
	mov	x22, x0
	mov	w0, #64
	bl	_ZeroMalloc
	mov	x19, x0
	ldr	w8, [x27]
	str	w8, [x0, #56]
	str	x27, [x0, #48]
	ldr	w0, [x0, #40]
	mov	w1, #4
	mov	x2, x26
	bl	_StrCpy
	stp	w25, w20, [x19]
	stp	w23, w24, [x19, #8]
	stp	x28, x22, [x19, #24]
	cbz	w23, LBB0_10
; %bb.7:
	cbz	x21, LBB0_9
; %bb.8:
	mov	x0, x21
	mov	w1, #6
	bl	_IsZero
	cbz	w0, LBB0_16
LBB0_9:
	ldr	w0, [x19, #16]
	bl	_GenMacAddress
LBB0_10:
	cbz	w20, LBB0_12
LBB0_11:
	mov	w8, #1
	str	w8, [x22]
LBB0_12:
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_14
; %bb.13:
	mov	w8, #1
	str	w8, [x22, #4]
LBB0_14:
Lloh0:
	adrp	x8, _BrBridgeThread@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BrBridgeThread@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_NewThread
	mov	x20, x0
	bl	_WaitThreadInit
	mov	x0, x20
	bl	_ReleaseThread
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_16:
	ldr	w0, [x19, #16]
	mov	x1, x21
	mov	w2, #6
	bl	_Copy
	cbnz	w20, LBB0_11
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BrBridgeThread,4,2             ; @BrBridgeThread
.subsections_via_symbols
