	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_qplib_map_tc2cos          ## -- Begin function bnxt_qplib_map_tc2cos
	.p2align	4, 0x90
_bnxt_qplib_map_tc2cos:                 ## @bnxt_qplib_map_tc2cos
	.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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	(%rdi), %r14
	movq	_MAP_TC_TO_COS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_RCFW_CMD_PREP
	movl	(%rbx), %edi
	callq	_cpu_to_le16
	movq	%rax, -32(%rbp)
	movl	4(%rbx), %edi
	callq	_cpu_to_le16
	movq	%rax, -40(%rbp)
	leaq	-40(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_bnxt_qplib_rcfw_send_message
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAP_TC_TO_COS,4,2              ## @MAP_TC_TO_COS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_qplib_map_tc2cos          ; -- Begin function bnxt_qplib_map_tc2cos
	.p2align	2
_bnxt_qplib_map_tc2cos:                 ; @bnxt_qplib_map_tc2cos
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _MAP_TC_TO_COS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAP_TC_TO_COS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_RCFW_CMD_PREP
	ldr	w0, [x19]
	bl	_cpu_to_le16
	str	x0, [sp, #24]
	ldr	w0, [x19, #4]
	bl	_cpu_to_le16
	str	x0, [sp, #16]
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x0, x20
	mov	x3, #0
	mov	w4, #0
	bl	_bnxt_qplib_rcfw_send_message
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAP_TC_TO_COS,4,2              ; @MAP_TC_TO_COS
.subsections_via_symbols
