	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_ll2_start_ooo
_qed_ll2_start_ooo:                     ## @qed_ll2_start_ooo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rdx
	movq	%rdi, %rbx
	movq	_QED_LL2_TYPE_OOO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-24(%rbp), %r14
	movq	%r14, %rsi
	movq	%rdi, %r8
	movl	$1, %r9d
	callq	_qed_ll2_set_conn_data
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_qed_ll2_acquire_connection
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DP_INFO
	jmp	LBB0_5
LBB0_2:
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_qed_ll2_establish_connection
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DP_INFO
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_qed_ll2_release_connection
LBB0_5:
	movq	_QED_LL2_UNUSED_HANDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_6:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_LL2_TYPE_OOO,4,2           ## @QED_LL2_TYPE_OOO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to acquire LL2 OOO connection\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to establish LL2 OOO connection\n"

	.comm	_QED_LL2_UNUSED_HANDLE,4,2      ## @QED_LL2_UNUSED_HANDLE
	.no_dead_strip	_qed_ll2_start_ooo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_ll2_start_ooo
_qed_ll2_start_ooo:                     ; @qed_ll2_start_ooo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x2, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _QED_LL2_TYPE_OOO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_LL2_TYPE_OOO@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x4, x0
	mov	w5, #1
	bl	_qed_ll2_set_conn_data
	add	x1, sp, #8
	mov	x0, x19
	bl	_qed_ll2_acquire_connection
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_INFO
	b	LBB0_4
LBB0_2:
	ldr	w1, [x19]
	mov	x0, x19
	bl	_qed_ll2_establish_connection
	mov	x20, x0
	cbz	w0, LBB0_5
; %bb.3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_DP_INFO
	ldr	w1, [x19]
	mov	x0, x19
	bl	_qed_ll2_release_connection
LBB0_4:
Lloh7:
	adrp	x8, _QED_LL2_UNUSED_HANDLE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _QED_LL2_UNUSED_HANDLE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_LL2_TYPE_OOO,4,2           ; @QED_LL2_TYPE_OOO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to acquire LL2 OOO connection\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to establish LL2 OOO connection\n"

	.comm	_QED_LL2_UNUSED_HANDLE,4,2      ; @QED_LL2_UNUSED_HANDLE
	.no_dead_strip	_qed_ll2_start_ooo
.subsections_via_symbols
