	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns_roce_query_ah              ## -- Begin function hns_roce_query_ah
	.p2align	4, 0x90
_hns_roce_query_ah:                     ## @hns_roce_query_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	callq	_to_hr_ah
	movq	%rax, %rbx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	28(%rbx), %esi
	movq	%r14, %rdi
	callq	_rdma_ah_set_sl
	movl	24(%rbx), %esi
	movq	%r14, %rdi
	callq	_rdma_ah_set_port_num
	movl	20(%rbx), %esi
	movq	%r14, %rdi
	callq	_rdma_ah_set_static_rate
	movl	16(%rbx), %edx
	movl	12(%rbx), %ecx
	movl	4(%rbx), %r9d
	movl	8(%rbx), %r8d
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_rdma_ah_set_grh
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_rdma_ah_set_dgid_raw
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hns_roce_query_ah              ; -- Begin function hns_roce_query_ah
	.p2align	2
_hns_roce_query_ah:                     ; @hns_roce_query_ah
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_to_hr_ah
	mov	x20, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w1, [x20, #28]
	mov	x0, x19
	bl	_rdma_ah_set_sl
	ldr	w1, [x20, #24]
	mov	x0, x19
	bl	_rdma_ah_set_port_num
	ldr	w1, [x20, #20]
	mov	x0, x19
	bl	_rdma_ah_set_static_rate
	ldp	w3, w2, [x20, #12]
	ldp	w5, w4, [x20, #4]
	mov	x0, x19
	mov	x1, #0
	bl	_rdma_ah_set_grh
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rdma_ah_set_dgid_raw
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
