	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_req_packet
_init_req_packet:                       ## @init_req_packet
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%ecx, %r13d
	movl	%edx, %r15d
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_to_rdev
	movq	%rax, %r12
	movl	%r13d, %edx
	negl	%edx
	andl	$3, %edx
	movq	_rxe_opcode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movslq	%r15d, %rcx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	addl	%edx, %r13d
	addl	(%rax,%rcx,8), %r13d
	movq	_RXE_ICRC_SIZE@GOTPCREL(%rip), %rdx
	addl	(%rdx), %r13d
	movl	%ecx, (%r14)
	movq	%rbx, 32(%r14)
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	16(%rbx), %edx
	movl	%edx, 12(%r14)
	movl	4(%rax,%rcx,8), %eax
	movl	%eax, 4(%r14)
	movl	%r13d, 8(%r14)
	movq	$0, 24(%r14)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%r14)
	movq	%r14, %rdi
	callq	_rxe_get_av
	movq	%r12, %r15
	movq	%r12, %rdi
	movq	%rax, %rsi
	movl	%r13d, %edx
	movq	%r14, %rcx
	callq	_rxe_init_packet
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_27
LBB0_2:
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_IB_SEND_SOLICITED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	testl	%eax, 8(%r13)
	je	LBB0_6
## %bb.3:
	movl	4(%r14), %eax
	movq	_RXE_END_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.4:
	movq	_RXE_SEND_MASK@GOTPCREL(%rip), %rcx
	movl	$1, %r12d
	testl	%eax, (%rcx)
	jne	LBB0_6
## %bb.5:
	movq	_RXE_WRITE_MASK@GOTPCREL(%rip), %rcx
	movq	_RXE_IMMDT_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%eax
	xorl	%r12d, %r12d
	testl	%eax, %edx
	sete	%r12b
LBB0_6:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_qp_type
	movq	_IB_QPT_GSI@GOTPCREL(%rip), %rcx
	leaq	24(%rbx), %rdx
	leaq	16(%r13), %rsi
	cmpq	(%rcx), %rax
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	cmoveq	%rsi, %rdx
	movq	(%rdx), %rcx
	movl	(%rax,%rcx,4), %r9d
	movl	4(%r14), %eax
	movq	_RXE_DETH_MASK@GOTPCREL(%rip), %rsi
	leaq	28(%r13), %rcx
	leaq	32(%rbx), %rdx
	testl	%eax, (%rsi)
	cmoveq	%rdx, %rcx
	movl	(%rcx), %r10d
	movq	_RXE_END_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_8
## %bb.7:
	movq	8(%rbx), %rcx
	leaq	1(%rcx), %rax
	movq	%rax, 8(%rbx)
	movq	_RXE_MAX_PKT_PER_ACK@GOTPCREL(%rip), %rdx
	xorl	%r11d, %r11d
	cmpq	(%rdx), %rcx
	jle	LBB0_9
LBB0_8:
	movq	$0, 8(%rbx)
	movl	$1, %r11d
LBB0_9:
	movl	(%r14), %esi
	movl	12(%r14), %eax
	subq	$8, %rsp
	movq	%r14, %rdi
	movl	%r12d, %edx
	xorl	%ecx, %ecx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	pushq	%rax
	pushq	%r11
	pushq	%r10
	callq	_bth_init
	addq	$32, %rsp
	movl	4(%r14), %eax
	movq	_RXE_RETH_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:
	movl	44(%r13), %esi
	movq	%r14, %rdi
	callq	_reth_set_rkey
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_reth_set_va
	movl	4(%r13), %esi
	movq	%r14, %rdi
	callq	_reth_set_len
	movl	4(%r14), %eax
LBB0_11:
	movq	_RXE_IMMDT_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_13
## %bb.12:
	movl	52(%r13), %esi
	movq	%r14, %rdi
	callq	_immdt_set_imm
	movl	4(%r14), %eax
LBB0_13:
	movq	_RXE_IETH_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_15
## %bb.14:
	movl	48(%r13), %esi
	movq	%r14, %rdi
	callq	_ieth_set_rkey
	movl	4(%r14), %eax
LBB0_15:
	movq	_RXE_ATMETH_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.16:
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_atmeth_set_va
	movq	_IB_OPCODE_RC_COMPARE_SWAP@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ecx, (%rax)
	je	LBB0_18
## %bb.17:
	movq	_IB_OPCODE_RD_COMPARE_SWAP@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	je	LBB0_18
## %bb.19:
	movl	36(%r13), %esi
	movq	%r14, %rdi
	callq	_atmeth_set_swap_add
	jmp	LBB0_20
LBB0_18:
	movl	40(%r13), %esi
	movq	%r14, %rdi
	callq	_atmeth_set_swap_add
	movl	36(%r13), %esi
	movq	%r14, %rdi
	callq	_atmeth_set_comp
LBB0_20:
	movl	32(%r13), %esi
	movq	%r14, %rdi
	callq	_atmeth_set_rkey
	movl	4(%r14), %eax
LBB0_21:
	movq	_RXE_DETH_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_26
## %bb.22:
	cmpl	$1, (%r12)
	jne	LBB0_23
## %bb.24:
	movq	_GSI_QKEY@GOTPCREL(%rip), %r13
	jmp	LBB0_25
LBB0_23:
	addq	$24, %r13
LBB0_25:
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_deth_set_qkey
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_deth_set_sqp
LBB0_26:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
LBB0_27:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rxe_opcode,8,3                 ## @rxe_opcode
	.comm	_RXE_ICRC_SIZE,4,2              ## @RXE_ICRC_SIZE
	.comm	_IB_SEND_SOLICITED,4,2          ## @IB_SEND_SOLICITED
	.comm	_RXE_END_MASK,4,2               ## @RXE_END_MASK
	.comm	_RXE_SEND_MASK,4,2              ## @RXE_SEND_MASK
	.comm	_RXE_WRITE_MASK,4,2             ## @RXE_WRITE_MASK
	.comm	_RXE_IMMDT_MASK,4,2             ## @RXE_IMMDT_MASK
	.comm	_IB_QPT_GSI,8,3                 ## @IB_QPT_GSI
	.comm	_RXE_DETH_MASK,4,2              ## @RXE_DETH_MASK
	.comm	_RXE_MAX_PKT_PER_ACK,8,3        ## @RXE_MAX_PKT_PER_ACK
	.comm	_RXE_RETH_MASK,4,2              ## @RXE_RETH_MASK
	.comm	_RXE_IETH_MASK,4,2              ## @RXE_IETH_MASK
	.comm	_RXE_ATMETH_MASK,4,2            ## @RXE_ATMETH_MASK
	.comm	_IB_OPCODE_RC_COMPARE_SWAP,4,2  ## @IB_OPCODE_RC_COMPARE_SWAP
	.comm	_IB_OPCODE_RD_COMPARE_SWAP,4,2  ## @IB_OPCODE_RD_COMPARE_SWAP
	.comm	_GSI_QKEY,4,2                   ## @GSI_QKEY
	.no_dead_strip	_init_req_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_req_packet
_init_req_packet:                       ; @init_req_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_to_rdev
	mov	x25, x0
	neg	w8, w22
	and	w24, w8, #0x3
Lloh0:
	adrp	x8, _rxe_opcode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rxe_opcode@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, w23, sxtw #3
Lloh3:
	adrp	x9, _RXE_ICRC_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RXE_ICRC_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldp	w10, w8, [x8]
	add	w11, w24, w22
	add	w10, w11, w10
	add	w22, w10, w9
	str	x20, [x19, #32]
	ldr	w9, [x20, #16]
	stp	w23, w8, [x19]
	stp	w22, w9, [x19, #8]
	stp	x21, xzr, [x19, #16]
	mov	x0, x19
	bl	_rxe_get_av
	mov	x1, x0
	mov	x0, x25
	mov	x2, x22
	mov	x3, x19
	bl	_rxe_init_packet
	mov	x22, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	mov	x8, x0
	mov	x0, #0
	cbnz	x8, LBB0_25
; %bb.1:
	ldr	w8, [x21, #8]
Lloh6:
	adrp	x9, _IB_SEND_SOLICITED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_SEND_SOLICITED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x28, _RXE_END_MASK@GOTPAGE
Lloh10:
	ldr	x28, [x28, _RXE_END_MASK@GOTPAGEOFF]
Lloh11:
	adrp	x27, _RXE_IMMDT_MASK@GOTPAGE
Lloh12:
	ldr	x27, [x27, _RXE_IMMDT_MASK@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	ldr	w8, [x19, #4]
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
Lloh13:
	adrp	x9, _RXE_SEND_MASK@GOTPAGE
Lloh14:
	ldr	x9, [x9, _RXE_SEND_MASK@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	mov	w26, #1
	b	LBB0_7
LBB0_5:
	mov	w26, #0
	b	LBB0_7
LBB0_6:
Lloh16:
	adrp	x9, _RXE_WRITE_MASK@GOTPAGE
Lloh17:
	ldr	x9, [x9, _RXE_WRITE_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	ldr	w10, [x27]
	orr	w9, w10, w9
	bics	wzr, w9, w8
	cset	w26, eq
LBB0_7:
	mov	x0, x20
	bl	_qp_type
Lloh19:
	adrp	x8, _IB_QPT_GSI@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IB_QPT_GSI@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	x9, [x25]
	add	x10, x20, #24
	add	x11, x21, #16
	cmp	x0, x8
	csel	x8, x11, x10, eq
	ldr	x8, [x8]
	ldr	w5, [x9, x8, lsl #2]
	ldr	w8, [x19, #4]
Lloh22:
	adrp	x25, _RXE_DETH_MASK@GOTPAGE
Lloh23:
	ldr	x25, [x25, _RXE_DETH_MASK@GOTPAGEOFF]
	ldr	w9, [x25]
	add	x10, x21, #28
	add	x11, x20, #32
	tst	w9, w8
	csel	x9, x11, x10, eq
	ldr	w6, [x9]
	ldr	w9, [x28]
	tst	w9, w8
	b.ne	LBB0_9
; %bb.8:
	ldr	x8, [x20, #8]
	add	x9, x8, #1
	str	x9, [x20, #8]
Lloh24:
	adrp	x9, _RXE_MAX_PKT_PER_ACK@GOTPAGE
Lloh25:
	ldr	x9, [x9, _RXE_MAX_PKT_PER_ACK@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_26
LBB0_9:
	str	xzr, [x20, #8]
	mov	w7, #1
LBB0_10:
	ldr	w1, [x19]
	ldr	w8, [x19, #12]
	str	w8, [sp]
	mov	x0, x19
	mov	x2, x26
	mov	w3, #0
	mov	x4, x24
	bl	_bth_init
	ldr	w8, [x19, #4]
Lloh27:
	adrp	x9, _RXE_RETH_MASK@GOTPAGE
Lloh28:
	ldr	x9, [x9, _RXE_RETH_MASK@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	ldr	w1, [x21, #44]
	mov	x0, x19
	bl	_reth_set_rkey
	ldr	w1, [x21]
	mov	x0, x19
	bl	_reth_set_va
	ldr	w1, [x21, #4]
	mov	x0, x19
	bl	_reth_set_len
	ldr	w8, [x19, #4]
LBB0_12:
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	ldr	w1, [x21, #52]
	mov	x0, x19
	bl	_immdt_set_imm
	ldr	w8, [x19, #4]
LBB0_14:
Lloh30:
	adrp	x9, _RXE_IETH_MASK@GOTPAGE
Lloh31:
	ldr	x9, [x9, _RXE_IETH_MASK@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:
	ldr	w1, [x21, #48]
	mov	x0, x19
	bl	_ieth_set_rkey
	ldr	w8, [x19, #4]
LBB0_16:
Lloh33:
	adrp	x9, _RXE_ATMETH_MASK@GOTPAGE
Lloh34:
	ldr	x9, [x9, _RXE_ATMETH_MASK@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.17:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_atmeth_set_va
Lloh36:
	adrp	x8, _IB_OPCODE_RC_COMPARE_SWAP@GOTPAGE
Lloh37:
	ldr	x8, [x8, _IB_OPCODE_RC_COMPARE_SWAP@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	cmp	w8, w23
	b.eq	LBB0_20
; %bb.18:
Lloh39:
	adrp	x8, _IB_OPCODE_RD_COMPARE_SWAP@GOTPAGE
Lloh40:
	ldr	x8, [x8, _IB_OPCODE_RD_COMPARE_SWAP@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	cmp	w8, w23
	b.eq	LBB0_20
; %bb.19:
	ldr	w1, [x21, #36]
	mov	x0, x19
	bl	_atmeth_set_swap_add
	b	LBB0_21
LBB0_20:
	ldr	w1, [x21, #40]
	mov	x0, x19
	bl	_atmeth_set_swap_add
	ldr	w1, [x21, #36]
	mov	x0, x19
	bl	_atmeth_set_comp
LBB0_21:
	ldr	w1, [x21, #32]
	mov	x0, x19
	bl	_atmeth_set_rkey
	ldr	w8, [x19, #4]
LBB0_22:
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.23:
	ldr	w8, [x20]
	add	x9, x21, #24
Lloh42:
	adrp	x10, _GSI_QKEY@GOTPAGE
Lloh43:
	ldr	x10, [x10, _GSI_QKEY@GOTPAGEOFF]
	cmp	w8, #1
	csel	x8, x10, x9, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_deth_set_qkey
	ldr	w1, [x20]
	mov	x0, x19
	bl	_deth_set_sqp
LBB0_24:
	mov	x0, x22
LBB0_25:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_26:
	mov	w7, #0
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_rxe_opcode,8,3                 ; @rxe_opcode
	.comm	_RXE_ICRC_SIZE,4,2              ; @RXE_ICRC_SIZE
	.comm	_IB_SEND_SOLICITED,4,2          ; @IB_SEND_SOLICITED
	.comm	_RXE_END_MASK,4,2               ; @RXE_END_MASK
	.comm	_RXE_SEND_MASK,4,2              ; @RXE_SEND_MASK
	.comm	_RXE_WRITE_MASK,4,2             ; @RXE_WRITE_MASK
	.comm	_RXE_IMMDT_MASK,4,2             ; @RXE_IMMDT_MASK
	.comm	_IB_QPT_GSI,8,3                 ; @IB_QPT_GSI
	.comm	_RXE_DETH_MASK,4,2              ; @RXE_DETH_MASK
	.comm	_RXE_MAX_PKT_PER_ACK,8,3        ; @RXE_MAX_PKT_PER_ACK
	.comm	_RXE_RETH_MASK,4,2              ; @RXE_RETH_MASK
	.comm	_RXE_IETH_MASK,4,2              ; @RXE_IETH_MASK
	.comm	_RXE_ATMETH_MASK,4,2            ; @RXE_ATMETH_MASK
	.comm	_IB_OPCODE_RC_COMPARE_SWAP,4,2  ; @IB_OPCODE_RC_COMPARE_SWAP
	.comm	_IB_OPCODE_RD_COMPARE_SWAP,4,2  ; @IB_OPCODE_RD_COMPARE_SWAP
	.comm	_GSI_QKEY,4,2                   ; @GSI_QKEY
	.no_dead_strip	_init_req_packet
.subsections_via_symbols
