	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function modify_dci_qp_is_ok
_modify_dci_qp_is_ok:                   ## @modify_dci_qp_is_ok
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %r8d
	movq	_IB_QP_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IB_QPS_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%r8d, %ecx
	je	LBB0_4
## %bb.1:
	movq	_IB_QPS_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	cmpl	%edi, %ecx
	jne	LBB0_5
## %bb.2:
	cmpl	%r8d, %r10d
	jne	LBB0_5
## %bb.3:
	movq	_IB_QP_PKEY_INDEX@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_IB_QP_PORT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
LBB0_4:
	movl	%edx, %edi
	xorl	%edx, %edx
	popq	%rbp
	jmp	_is_valid_mask                  ## TAILCALL
LBB0_5:
	cmpl	%edi, %r10d
	jne	LBB0_10
## %bb.6:
	cmpl	%r8d, %r10d
	jne	LBB0_10
## %bb.7:
	movq	_IB_QP_PKEY_INDEX@GOTPCREL(%rip), %rcx
	movq	_IB_QP_PORT@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_10:
	movq	_IB_QPS_RTR@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	cmpl	%edi, %r10d
	jne	LBB0_13
## %bb.11:
	cmpl	%r8d, %r9d
	jne	LBB0_13
## %bb.12:
	movq	_IB_QP_PATH_MTU@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_IB_QP_PKEY_INDEX@GOTPCREL(%rip), %rcx
	movq	_IB_QP_AV@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	orl	(%rcx), %eax
LBB0_9:
	movl	%edx, %edi
	movl	%eax, %edx
	popq	%rbp
	jmp	_is_valid_mask                  ## TAILCALL
LBB0_13:
	movq	_IB_QPS_RTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edi, %r9d
	jne	LBB0_16
## %bb.14:
	cmpl	%r8d, %eax
	jne	LBB0_16
## %bb.15:
	movq	_IB_QP_TIMEOUT@GOTPCREL(%rip), %rax
	movq	_IB_QP_RETRY_CNT@GOTPCREL(%rip), %rcx
	movq	_IB_QP_RNR_RETRY@GOTPCREL(%rip), %rdi
	movq	_IB_QP_MAX_QP_RD_ATOMIC@GOTPCREL(%rip), %r8
	movq	_IB_QP_SQ_PSN@GOTPCREL(%rip), %r9
	orl	(%rax), %esi
	orl	(%rcx), %esi
	orl	(%rdi), %esi
	orl	(%r8), %esi
	orl	(%r9), %esi
	jmp	LBB0_18
LBB0_16:
	cmpl	%edi, %eax
	jne	LBB0_19
## %bb.17:
	cmpl	%r8d, %eax
	jne	LBB0_19
LBB0_18:
	movq	_IB_QP_MIN_RNR_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_9
LBB0_19:
	cmpl	%edi, %ecx
	je	LBB0_21
## %bb.20:
	movq	_IB_QPS_ERR@GOTPCREL(%rip), %rax
	cmpl	%r8d, (%rax)
	je	LBB0_4
LBB0_21:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_QP_STATE,4,2                ## @IB_QP_STATE
	.comm	_IB_QPS_RESET,4,2               ## @IB_QPS_RESET
	.comm	_IB_QPS_INIT,4,2                ## @IB_QPS_INIT
	.comm	_IB_QP_PKEY_INDEX,4,2           ## @IB_QP_PKEY_INDEX
	.comm	_IB_QP_PORT,4,2                 ## @IB_QP_PORT
	.comm	_IB_QPS_RTR,4,2                 ## @IB_QPS_RTR
	.comm	_IB_QP_PATH_MTU,4,2             ## @IB_QP_PATH_MTU
	.comm	_IB_QP_AV,4,2                   ## @IB_QP_AV
	.comm	_IB_QPS_RTS,4,2                 ## @IB_QPS_RTS
	.comm	_IB_QP_TIMEOUT,4,2              ## @IB_QP_TIMEOUT
	.comm	_IB_QP_RETRY_CNT,4,2            ## @IB_QP_RETRY_CNT
	.comm	_IB_QP_RNR_RETRY,4,2            ## @IB_QP_RNR_RETRY
	.comm	_IB_QP_MAX_QP_RD_ATOMIC,4,2     ## @IB_QP_MAX_QP_RD_ATOMIC
	.comm	_IB_QP_SQ_PSN,4,2               ## @IB_QP_SQ_PSN
	.comm	_IB_QP_MIN_RNR_TIMER,4,2        ## @IB_QP_MIN_RNR_TIMER
	.comm	_IB_QPS_ERR,4,2                 ## @IB_QPS_ERR
	.no_dead_strip	_modify_dci_qp_is_ok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function modify_dci_qp_is_ok
_modify_dci_qp_is_ok:                   ; @modify_dci_qp_is_ok
	.cfi_startproc
; %bb.0:
	mov	x8, x1
Lloh0:
	adrp	x9, _IB_QP_STATE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IB_QP_STATE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x9, _IB_QPS_RESET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IB_QPS_RESET@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, w8
	b.eq	LBB0_9
; %bb.1:
Lloh6:
	adrp	x10, _IB_QPS_INIT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IB_QPS_INIT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w9, w0
	ccmp	w10, w8, #0, eq
	b.eq	LBB0_8
; %bb.2:
	cmp	w10, w0
	ccmp	w10, w8, #0, eq
	b.eq	LBB0_10
; %bb.3:
Lloh9:
	adrp	x11, _IB_QPS_RTR@GOTPAGE
Lloh10:
	ldr	x11, [x11, _IB_QPS_RTR@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	cmp	w10, w0
	ccmp	w11, w8, #0, eq
	b.eq	LBB0_11
; %bb.4:
Lloh12:
	adrp	x10, _IB_QPS_RTS@GOTPAGE
Lloh13:
	ldr	x10, [x10, _IB_QPS_RTS@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	cmp	w11, w0
	ccmp	w10, w8, #0, eq
	b.eq	LBB0_14
; %bb.5:
	cmp	w10, w0
	ccmp	w10, w8, #0, eq
	b.eq	LBB0_15
; %bb.6:
Lloh15:
	adrp	x10, _IB_QPS_ERR@GOTPAGE
Lloh16:
	ldr	x10, [x10, _IB_QPS_ERR@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	cmp	w9, w0
	ccmp	w10, w8, #0, ne
	b.eq	LBB0_9
; %bb.7:
	mov	w0, #0
	ret
LBB0_8:
Lloh18:
	adrp	x8, _IB_QP_PKEY_INDEX@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IB_QP_PKEY_INDEX@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _IB_QP_PORT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IB_QP_PORT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w1
	orr	w1, w8, w9
LBB0_9:
	mov	x0, x2
	mov	w2, #0
	b	_is_valid_mask
LBB0_10:
Lloh24:
	adrp	x8, _IB_QP_PKEY_INDEX@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IB_QP_PKEY_INDEX@GOTPAGEOFF]
Lloh26:
	adrp	x9, _IB_QP_PORT@GOTPAGE
Lloh27:
	ldr	x9, [x9, _IB_QP_PORT@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh28:
	adrp	x8, _IB_QP_PATH_MTU@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IB_QP_PATH_MTU@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	orr	w1, w8, w1
Lloh31:
	adrp	x8, _IB_QP_PKEY_INDEX@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IB_QP_PKEY_INDEX@GOTPAGEOFF]
Lloh33:
	adrp	x9, _IB_QP_AV@GOTPAGE
Lloh34:
	ldr	x9, [x9, _IB_QP_AV@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_13:
	mov	x0, x2
	mov	x2, x8
	b	_is_valid_mask
LBB0_14:
Lloh35:
	adrp	x8, _IB_QP_TIMEOUT@GOTPAGE
Lloh36:
	ldr	x8, [x8, _IB_QP_TIMEOUT@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	adrp	x9, _IB_QP_RETRY_CNT@GOTPAGE
Lloh39:
	ldr	x9, [x9, _IB_QP_RETRY_CNT@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
Lloh41:
	adrp	x10, _IB_QP_RNR_RETRY@GOTPAGE
Lloh42:
	ldr	x10, [x10, _IB_QP_RNR_RETRY@GOTPAGEOFF]
Lloh43:
	ldr	w10, [x10]
Lloh44:
	adrp	x11, _IB_QP_MAX_QP_RD_ATOMIC@GOTPAGE
Lloh45:
	ldr	x11, [x11, _IB_QP_MAX_QP_RD_ATOMIC@GOTPAGEOFF]
Lloh46:
	ldr	w11, [x11]
Lloh47:
	adrp	x12, _IB_QP_SQ_PSN@GOTPAGE
Lloh48:
	ldr	x12, [x12, _IB_QP_SQ_PSN@GOTPAGEOFF]
Lloh49:
	ldr	w12, [x12]
	orr	w8, w8, w1
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w1, w8, w12
LBB0_15:
Lloh50:
	adrp	x8, _IB_QP_MIN_RNR_TIMER@GOTPAGE
Lloh51:
	ldr	x8, [x8, _IB_QP_MIN_RNR_TIMER@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_QP_STATE,4,2                ; @IB_QP_STATE
	.comm	_IB_QPS_RESET,4,2               ; @IB_QPS_RESET
	.comm	_IB_QPS_INIT,4,2                ; @IB_QPS_INIT
	.comm	_IB_QP_PKEY_INDEX,4,2           ; @IB_QP_PKEY_INDEX
	.comm	_IB_QP_PORT,4,2                 ; @IB_QP_PORT
	.comm	_IB_QPS_RTR,4,2                 ; @IB_QPS_RTR
	.comm	_IB_QP_PATH_MTU,4,2             ; @IB_QP_PATH_MTU
	.comm	_IB_QP_AV,4,2                   ; @IB_QP_AV
	.comm	_IB_QPS_RTS,4,2                 ; @IB_QPS_RTS
	.comm	_IB_QP_TIMEOUT,4,2              ; @IB_QP_TIMEOUT
	.comm	_IB_QP_RETRY_CNT,4,2            ; @IB_QP_RETRY_CNT
	.comm	_IB_QP_RNR_RETRY,4,2            ; @IB_QP_RNR_RETRY
	.comm	_IB_QP_MAX_QP_RD_ATOMIC,4,2     ; @IB_QP_MAX_QP_RD_ATOMIC
	.comm	_IB_QP_SQ_PSN,4,2               ; @IB_QP_SQ_PSN
	.comm	_IB_QP_MIN_RNR_TIMER,4,2        ; @IB_QP_MIN_RNR_TIMER
	.comm	_IB_QPS_ERR,4,2                 ; @IB_QPS_ERR
	.no_dead_strip	_modify_dci_qp_is_ok
.subsections_via_symbols
