	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qedr_ll2_start
_qedr_ll2_start:                        ## @qedr_ll2_start
	.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
	subq	$120, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_qedr_ll2_complete_rx_packet@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -112(%rbp)
	movq	_qedr_ll2_complete_tx_packet@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -120(%rbp)
	movq	_qedr_ll2_release_rx_packet@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -128(%rbp)
	movq	%rax, -136(%rbp)
	movq	%rdi, -144(%rbp)
	leaq	-104(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$80, %edx
	callq	_memset
	movq	_QED_LL2_TYPE_ROCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	16(%rbx), %rax
	movl	4(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	4(%r15), %eax
	movl	%eax, -36(%rbp)
	movq	$1, -88(%rbp)
	movl	(%r15), %eax
	movl	%eax, -40(%rbp)
	movq	$0, -48(%rbp)
	movq	_QED_LL2_TX_DEST_NW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_QED_LL2_DROP_PACKET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	%rax, -72(%rbp)
	movl	$1, -80(%rbp)
	movq	%rbx, -96(%rbp)
	leaq	-144(%rbp), %rax
	movq	%rax, -104(%rbp)
	movq	8(%rbx), %rax
	movl	4(%rbx), %edi
	movq	%r14, %rsi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_DP_ERR
	jmp	LBB0_7
LBB0_2:
	movq	8(%rbx), %rax
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	*8(%rax)
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_DP_ERR
	jmp	LBB0_6
LBB0_4:
	movl	24(%rbx), %edi
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movl	(%rcx), %edx
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	*16(%rax)
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movl	%eax, %r15d
	movq	8(%rbx), %rax
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	*32(%rax)
	movl	%r15d, %r14d
LBB0_6:
	movq	8(%rbx), %rax
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	*24(%rax)
LBB0_7:
	movl	%r14d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qedr_ll2_complete_rx_packet,4,2 ## @qedr_ll2_complete_rx_packet
	.comm	_qedr_ll2_complete_tx_packet,8,3 ## @qedr_ll2_complete_tx_packet
	.comm	_qedr_ll2_release_rx_packet,4,2 ## @qedr_ll2_release_rx_packet
	.comm	_QED_LL2_TYPE_ROCE,4,2          ## @QED_LL2_TYPE_ROCE
	.comm	_QED_LL2_TX_DEST_NW,4,2         ## @QED_LL2_TX_DEST_NW
	.comm	_QED_LL2_DROP_PACKET,8,3        ## @QED_LL2_DROP_PACKET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ll2 start: failed to acquire LL2 connection (rc=%d)\n"

L_.str.1:                               ## @.str.1
	.asciz	"ll2 start: failed to establish LL2 connection (rc=%d)\n"

	.no_dead_strip	_qedr_ll2_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function qedr_ll2_start
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_qedr_ll2_start:                        ; @qedr_ll2_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _qedr_ll2_complete_rx_packet@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qedr_ll2_complete_rx_packet@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #40]
Lloh3:
	adrp	x8, _qedr_ll2_complete_tx_packet@GOTPAGE
Lloh4:
	ldr	x8, [x8, _qedr_ll2_complete_tx_packet@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp, #32]
Lloh6:
	adrp	x9, _qedr_ll2_release_rx_packet@GOTPAGE
Lloh7:
	ldr	x9, [x9, _qedr_ll2_release_rx_packet@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w9, [sp, #24]
	stp	x0, x8, [sp, #8]
	add	x0, sp, #48
	mov	w1, #0
	mov	w2, #80
	bl	_memset
Lloh9:
	adrp	x8, _QED_LL2_TYPE_ROCE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QED_LL2_TYPE_ROCE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [sp, #124]
	ldp	x9, x8, [x19, #8]
	ldr	w8, [x8, #4]
	str	w8, [sp, #120]
Lloh12:
	adrp	x8, lCPI0_0@PAGE
Lloh13:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #64]
	ldr	d0, [x20]
	str	d0, [sp, #112]
	str	xzr, [sp, #104]
Lloh14:
	adrp	x8, _QED_LL2_TX_DEST_NW@GOTPAGE
Lloh15:
	ldr	x8, [x8, _QED_LL2_TX_DEST_NW@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [sp, #96]
Lloh17:
	adrp	x8, _QED_LL2_DROP_PACKET@GOTPAGE
Lloh18:
	ldr	x8, [x8, _QED_LL2_DROP_PACKET@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	stp	x8, x8, [sp, #80]
	mov	w8, #1
	str	w8, [sp, #72]
	add	x8, sp, #8
	stp	x8, x19, [sp, #48]
	ldr	x8, [x9]
	ldr	w0, [x19, #4]
	add	x1, sp, #48
	blr	x8
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_DP_ERR
	b	LBB0_7
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldp	w1, w0, [x19]
	blr	x8
	cbz	w0, LBB0_4
; %bb.3:
	mov	x20, x0
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_DP_ERR
	b	LBB0_6
LBB0_4:
	ldp	x8, x9, [x19, #8]
	ldr	x8, [x8, #16]
	ldr	w0, [x19, #24]
	ldr	w2, [x9]
	mov	x1, #0
	blr	x8
	mov	x20, x0
	cbz	w0, LBB0_7
; %bb.5:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #32]
	ldp	w1, w0, [x19]
	blr	x8
LBB0_6:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #24]
	ldp	w1, w0, [x19]
	blr	x8
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdrp	Lloh12, Lloh14
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_qedr_ll2_complete_rx_packet,4,2 ; @qedr_ll2_complete_rx_packet
	.comm	_qedr_ll2_complete_tx_packet,8,3 ; @qedr_ll2_complete_tx_packet
	.comm	_qedr_ll2_release_rx_packet,4,2 ; @qedr_ll2_release_rx_packet
	.comm	_QED_LL2_TYPE_ROCE,4,2          ; @QED_LL2_TYPE_ROCE
	.comm	_QED_LL2_TX_DEST_NW,4,2         ; @QED_LL2_TX_DEST_NW
	.comm	_QED_LL2_DROP_PACKET,8,3        ; @QED_LL2_DROP_PACKET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ll2 start: failed to acquire LL2 connection (rc=%d)\n"

l_.str.1:                               ; @.str.1
	.asciz	"ll2 start: failed to establish LL2 connection (rc=%d)\n"

	.no_dead_strip	_qedr_ll2_start
.subsections_via_symbols
