	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pvrdma_ah_attr_to_rdma         ## -- Begin function pvrdma_ah_attr_to_rdma
	.p2align	4, 0x90
_pvrdma_ah_attr_to_rdma:                ## @pvrdma_ah_attr_to_rdma
	.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
	movq	%rdi, %rbx
	movq	_RDMA_AH_ATTR_TYPE_ROCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
	callq	_rdma_ah_retrieve_grh
	leaq	28(%r14), %rsi
	movl	%eax, %edi
	callq	_pvrdma_global_route_to_ib
	movl	24(%r14), %esi
	movq	%rbx, %rdi
	callq	_rdma_ah_set_dlid
	movl	20(%r14), %esi
	movq	%rbx, %rdi
	callq	_rdma_ah_set_sl
	movl	16(%r14), %esi
	movq	%rbx, %rdi
	callq	_rdma_ah_set_path_bits
	movl	12(%r14), %esi
	movq	%rbx, %rdi
	callq	_rdma_ah_set_static_rate
	movl	8(%r14), %esi
	movq	%rbx, %rdi
	callq	_rdma_ah_set_ah_flags
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	callq	_rdma_ah_set_port_num
	movl	(%rbx), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RDMA_AH_ATTR_TYPE_ROCE,4,2     ## @RDMA_AH_ATTR_TYPE_ROCE
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pvrdma_ah_attr_to_rdma         ; -- Begin function pvrdma_ah_attr_to_rdma
	.p2align	2
_pvrdma_ah_attr_to_rdma:                ; @pvrdma_ah_attr_to_rdma
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _RDMA_AH_ATTR_TYPE_ROCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RDMA_AH_ATTR_TYPE_ROCE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #4]
	bl	_rdma_ah_retrieve_grh
	add	x1, x19, #28
	bl	_pvrdma_global_route_to_ib
	ldr	w1, [x19, #24]
	mov	x0, x20
	bl	_rdma_ah_set_dlid
	ldr	w1, [x19, #20]
	mov	x0, x20
	bl	_rdma_ah_set_sl
	ldr	w1, [x19, #16]
	mov	x0, x20
	bl	_rdma_ah_set_path_bits
	ldr	w1, [x19, #12]
	mov	x0, x20
	bl	_rdma_ah_set_static_rate
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_rdma_ah_set_ah_flags
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_rdma_ah_set_port_num
	ldr	w0, [x20]
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memcpy
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RDMA_AH_ATTR_TYPE_ROCE,4,2     ; @RDMA_AH_ATTR_TYPE_ROCE
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
.subsections_via_symbols
