	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _qed_eth_queue_to_cid
__qed_eth_queue_to_cid:                 ## @_qed_eth_queue_to_cid
	.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	%r9, -48(%rbp)                  ## 8-byte Spill
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r12
	movl	%edx, %r13d
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	$80, %edi
	callq	_vzalloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %rbx
	movl	%r15d, 56(%rax)
	movl	%r13d, 52(%rax)
	movq	%r14, 72(%rax)
	movl	24(%r12), %eax
	movl	%eax, 44(%rbx)
	movl	20(%r12), %eax
	movl	%eax, 40(%rbx)
	movl	16(%r12), %eax
	movl	%eax, 36(%rbx)
	movq	8(%r12), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rbx)
	movl	(%r12), %eax
	movl	%eax, 16(%rbx)
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_3
## %bb.2:
	movq	(%r15), %rax
	movl	16(%r15), %ecx
	movl	%ecx, 64(%rbx)
	movl	12(%r15), %ecx
	movl	%ecx, 60(%rbx)
	jmp	LBB0_4
LBB0_3:
	movq	_QED_QUEUE_CID_SELF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_4:
	movq	%rax, 8(%rbx)
	movl	(%r14), %edi
	callq	_IS_VF
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rax
	addq	$36, %rax
	movl	8(%rax), %ecx
	movl	%ecx, 32(%rbx)
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
LBB0_13:
	testq	%r15, %r15
	je	LBB0_14
## %bb.16:
	movq	%r14, %rdi
	movl	8(%r15), %r15d
	movl	%r15d, 48(%rbx)
	jmp	LBB0_17
LBB0_6:
	movl	44(%rbx), %esi
	leaq	32(%rbx), %rdx
	movq	%r14, %rdi
	callq	_qed_fw_vport
	testl	%eax, %eax
	jne	LBB0_10
## %bb.7:
	movl	40(%rbx), %esi
	leaq	28(%rbx), %rdx
	movq	%r14, %rdi
	callq	_qed_fw_l2_queue
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movq	8(%rbx), %rax
	movq	_QED_QUEUE_CID_SELF@GOTPCREL(%rip), %rcx
	movq	%rbx, %rdx
	addq	$24, %rdx
	movl	36(%rbx), %esi
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.9:
	movq	%r14, %rdi
	callq	_qed_fw_vport
	testl	%eax, %eax
	jne	LBB0_10
	jmp	LBB0_13
LBB0_14:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_qed_eth_queue_qid_usage_add
	testl	%eax, %eax
	je	LBB0_10
## %bb.15:
	movq	%r14, %rdi
	movl	48(%rbx), %r15d
LBB0_17:
	movq	_QED_MSG_SP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	56(%rbx), %ecx
	movl	52(%rbx), %r8d
	movl	44(%rbx), %r9d
	movl	32(%rbx), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	40(%rbx), %r11d
	movl	28(%rbx), %r14d
	movl	36(%rbx), %r12d
	movl	24(%rbx), %r13d
	movl	16(%rbx), %eax
	movl	20(%rbx), %r10d
	leaq	L_.str(%rip), %rdx
	pushq	%rax
	pushq	%r10
	pushq	%r13
	pushq	%r12
	pushq	%r14
	pushq	%r15
	pushq	%r11
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	callq	_DP_VERBOSE
	addq	$64, %rsp
	jmp	LBB0_18
LBB0_10:
	movq	%rbx, %rdi
	callq	_vfree
LBB0_11:
	xorl	%ebx, %ebx
LBB0_18:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	%esi, (%rdx)
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_QUEUE_CID_SELF,8,3         ## @QED_QUEUE_CID_SELF
	.comm	_QED_MSG_SP,4,2                 ## @QED_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"opaque_fid: %04x CID %08x vport %02x [%02x] qzone %04x.%02x [%04x] stats %02x [%02x] SB %04x PI %02x\n"

	.no_dead_strip	__qed_eth_queue_to_cid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _qed_eth_queue_to_cid
__qed_eth_queue_to_cid:                 ; @_qed_eth_queue_to_cid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x21, x5
	mov	x23, x4
	mov	x22, x3
	mov	x24, x2
	mov	x25, x1
	mov	x20, x0
	mov	w0, #80
	bl	_vzalloc
	mov	x19, x0
	cbz	x0, LBB0_16
; %bb.1:
	stp	w24, w25, [x19, #52]
	str	x20, [x19, #72]
	ldr	w8, [x22, #24]
	str	w8, [x19, #44]
	ldr	d0, [x22, #16]
	mov	x24, x19
	str	d0, [x24, #36]!
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
	str	w23, [x19]
	ldr	w9, [x22]
	stp	w9, w8, [x19, #16]
	cbz	x21, LBB0_3
; %bb.2:
	ldr	x8, [x21]
	ldur	d0, [x21, #12]
	stur	d0, [x19, #60]
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _QED_QUEUE_CID_SELF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_QUEUE_CID_SELF@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
LBB0_4:
	str	x8, [x19, #8]
	ldr	w0, [x20]
	bl	_IS_VF
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x8, [x24]
	str	x8, [x19, #24]
	ldr	w8, [x24, #8]
	str	w8, [x19, #32]
LBB0_6:
	cbz	x21, LBB0_12
; %bb.7:
	ldr	w8, [x21, #8]
	str	w8, [x19, #48]
	b	LBB0_14
LBB0_8:
	ldr	w1, [x19, #44]
	add	x2, x19, #32
	mov	x0, x20
	bl	_qed_fw_vport
	cbnz	w0, LBB0_15
; %bb.9:
	ldr	w1, [x19, #40]
	add	x2, x19, #28
	mov	x0, x20
	bl	_qed_fw_l2_queue
	cbnz	w0, LBB0_15
; %bb.10:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _QED_QUEUE_CID_SELF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QED_QUEUE_CID_SELF@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w1, [x19, #36]
	add	x2, x19, #24
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.11:
	mov	x0, x20
	bl	_qed_fw_vport
	cbnz	w0, LBB0_15
	b	LBB0_6
LBB0_12:
	mov	x0, x20
	mov	x1, x19
	bl	_qed_eth_queue_qid_usage_add
	cbz	w0, LBB0_15
; %bb.13:
	ldr	w8, [x19, #48]
LBB0_14:
Lloh6:
	adrp	x9, _QED_MSG_SP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _QED_MSG_SP@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	ldp	w4, w3, [x19, #52]
	ldp	w7, w5, [x19, #40]
	ldp	w6, w9, [x19, #32]
	ldp	w11, w10, [x19, #24]
	ldp	w13, w12, [x19, #16]
	stp	w12, w13, [sp, #16]
	stp	w9, w11, [sp, #8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	stp	w8, w10, [sp]
	mov	x0, x20
	bl	_DP_VERBOSE
	b	LBB0_16
LBB0_15:
	mov	x0, x19
	bl	_vfree
	mov	x19, #0
LBB0_16:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_17:
	str	w1, [x2]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_QUEUE_CID_SELF,8,3         ; @QED_QUEUE_CID_SELF
	.comm	_QED_MSG_SP,4,2                 ; @QED_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"opaque_fid: %04x CID %08x vport %02x [%02x] qzone %04x.%02x [%04x] stats %02x [%02x] SB %04x PI %02x\n"

	.no_dead_strip	__qed_eth_queue_to_cid
.subsections_via_symbols
