	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_ah_attr_from_uverbs
_copy_ah_attr_from_uverbs:              ## @copy_ah_attr_from_uverbs
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movl	(%rdx), %esi
	callq	_rdma_ah_find_type
	movl	%eax, (%r14)
	cmpq	$0, 40(%rbx)
	je	LBB0_2
## %bb.1:
	movl	36(%rbx), %edx
	movl	32(%rbx), %ecx
	movl	24(%rbx), %r9d
	movl	28(%rbx), %r8d
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_rdma_ah_set_grh
	movl	20(%rbx), %esi
	movq	%r14, %rdi
	callq	_rdma_ah_set_dgid_raw
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_rdma_ah_set_ah_flags
LBB0_3:
	movl	16(%rbx), %esi
	movq	%r14, %rdi
	callq	_rdma_ah_set_dlid
	movl	12(%rbx), %esi
	movq	%r14, %rdi
	callq	_rdma_ah_set_sl
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_rdma_ah_set_path_bits
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	_rdma_ah_set_static_rate
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_rdma_ah_set_port_num
	movq	%r14, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rdma_ah_set_make_grd           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_copy_ah_attr_from_uverbs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_ah_attr_from_uverbs
_copy_ah_attr_from_uverbs:              ; @copy_ah_attr_from_uverbs
	.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	x20, x2
	mov	x19, x1
	ldr	w1, [x2]
	bl	_rdma_ah_find_type
	str	w0, [x19]
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	w3, w2, [x20, #32]
	ldp	w5, w4, [x20, #24]
	mov	x0, x19
	mov	x1, #0
	bl	_rdma_ah_set_grh
	ldr	w1, [x20, #20]
	mov	x0, x19
	bl	_rdma_ah_set_dgid_raw
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	mov	w1, #0
	bl	_rdma_ah_set_ah_flags
LBB0_3:
	ldr	w1, [x20, #16]
	mov	x0, x19
	bl	_rdma_ah_set_dlid
	ldr	w1, [x20, #12]
	mov	x0, x19
	bl	_rdma_ah_set_sl
	ldr	w1, [x20, #8]
	mov	x0, x19
	bl	_rdma_ah_set_path_bits
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_rdma_ah_set_static_rate
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rdma_ah_set_port_num
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rdma_ah_set_make_grd
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_copy_ah_attr_from_uverbs
.subsections_via_symbols
