	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_qplib_create_ah           ## -- Begin function bnxt_qplib_create_ah
	.p2align	4, 0x90
_bnxt_qplib_create_ah:                  ## @bnxt_qplib_create_ah
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %r15
	movq	_CREATE_AH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-88(%rbp), %rax
	movq	%rax, 48(%rsp)
	movups	-136(%rbp), %xmm0
	movups	-120(%rbp), %xmm1
	movups	-104(%rbp), %xmm2
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	xorl	%esi, %esi
	callq	_RCFW_CMD_PREP
	movl	40(%r13), %esi
	leaq	-64(%rbp), %rdi
	movl	$4, %edx
	callq	_memcpy
	movl	-64(%rbp), %edi
	callq	_cpu_to_le32
	movq	-88(%rbp), %rcx
	movq	%rax, (%rcx)
	movl	-60(%rbp), %edi
	callq	_cpu_to_le32
	movq	-88(%rbp), %rcx
	movq	%rax, 8(%rcx)
	movl	-56(%rbp), %edi
	callq	_cpu_to_le32
	movq	-88(%rbp), %rcx
	movq	%rax, 16(%rcx)
	movl	-52(%rbp), %edi
	callq	_cpu_to_le32
	movq	-88(%rbp), %rcx
	movq	%rax, 24(%rcx)
	movl	36(%r13), %eax
	movl	%eax, -92(%rbp)
	movl	32(%r13), %eax
	movl	%eax, -96(%rbp)
	movq	(%r12), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_cpu_to_le16
	movq	%rax, -104(%rbp)
	movq	_CMDQ_CREATE_AH_FLOW_LABEL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	8(%r13), %edi
	movq	_CMDQ_CREATE_AH_DEST_VLAN_ID_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, -112(%rbp)
	movq	24(%r13), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, -120(%rbp)
	movl	20(%r13), %eax
	movl	%eax, -128(%rbp)
	movl	16(%r13), %esi
	leaq	-76(%rbp), %rdi
	movl	$6, %edx
	callq	_memcpy
	movl	-76(%rbp), %edi
	callq	_cpu_to_le16
	movq	-136(%rbp), %rcx
	movq	%rax, (%rcx)
	movl	-72(%rbp), %edi
	callq	_cpu_to_le16
	movq	-136(%rbp), %rcx
	movq	%rax, 8(%rcx)
	movl	-68(%rbp), %edi
	callq	_cpu_to_le16
	movq	-136(%rbp), %rcx
	movq	%rax, 16(%rcx)
	leaq	-136(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	movl	%r14d, %r8d
	callq	_bnxt_qplib_rcfw_send_message
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-80(%rbp), %edi
	callq	_le32_to_cpu
	movl	%eax, 12(%r13)
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	movl	%ebx, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CREATE_AH,4,2                  ## @CREATE_AH
	.comm	_CMDQ_CREATE_AH_FLOW_LABEL_MASK,4,2 ## @CMDQ_CREATE_AH_FLOW_LABEL_MASK
	.comm	_CMDQ_CREATE_AH_DEST_VLAN_ID_MASK,4,2 ## @CMDQ_CREATE_AH_DEST_VLAN_ID_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_qplib_create_ah           ; -- Begin function bnxt_qplib_create_ah
	.p2align	2
_bnxt_qplib_create_ah:                  ; @bnxt_qplib_create_ah
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x1
Lloh0:
	adrp	x8, _CREATE_AH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CREATE_AH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	w2, #0
	bl	_RCFW_CMD_PREP
	ldr	w1, [x19, #40]
	add	x0, sp, #8
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [sp, #8]
	bl	_cpu_to_le32
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CREATE_AH,4,2                  ; @CREATE_AH
	.comm	_CMDQ_CREATE_AH_FLOW_LABEL_MASK,4,2 ; @CMDQ_CREATE_AH_FLOW_LABEL_MASK
	.comm	_CMDQ_CREATE_AH_DEST_VLAN_ID_MASK,4,2 ; @CMDQ_CREATE_AH_DEST_VLAN_ID_MASK
.subsections_via_symbols
