	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usnic_ib_qp_grp_modify         ## -- Begin function usnic_ib_qp_grp_modify
	.p2align	4, 0x90
_usnic_ib_qp_grp_modify:                ## @usnic_ib_qp_grp_modify
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r13
	movl	(%rdi), %ebx
	leaq	8(%rdi), %r12
	movq	%r12, %rdi
	callq	_spin_lock
	leal	-128(%r15), %eax
	cmpl	$4, %eax
	ja	LBB0_5
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	cmpl	$129, %ebx
	jne	LBB0_5
	jmp	LBB0_25
LBB0_16:
	cmpl	$131, %ebx
	jne	LBB0_5
## %bb.17:
	movq	%r13, %rdi
	callq	_enable_qp_grp
	movl	%eax, %r14d
	jmp	LBB0_27
LBB0_2:
	leal	-128(%rbx), %eax
	cmpl	$4, %eax
	ja	LBB0_5
## %bb.3:
	leaq	LJTI0_2(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_26:
	movq	%r13, %rdi
	callq	_disable_qp_grp
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_release_and_remove_all_flows
	jmp	LBB0_27
LBB0_7:
	leal	-128(%rbx), %eax
	cmpl	$3, %eax
	ja	LBB0_5
## %bb.8:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_15:
	movq	%r13, %rdi
	callq	_disable_qp_grp
	movl	%eax, %r14d
	jmp	LBB0_27
LBB0_18:
	movq	32(%r13), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	16(%r13), %rax
	movq	%rax, -56(%rbp)
	movq	_IB_EVENT_QP_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	leal	-128(%rbx), %eax
	cmpl	$2, %eax
	jb	LBB0_23
## %bb.19:
	cmpl	$131, %ebx
	je	LBB0_22
## %bb.20:
	cmpl	$130, %ebx
	je	LBB0_21
	jmp	LBB0_5
LBB0_23:
	movq	%r13, %rdi
	callq	_disable_qp_grp
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_release_and_remove_all_flows
	movl	16(%r13), %esi
	leaq	-64(%rbp), %rdi
	callq	*24(%r13)
	jmp	LBB0_27
LBB0_9:
	testq	%r14, %r14
	jne	LBB0_10
	jmp	LBB0_25
LBB0_13:
	testq	%r14, %r14
	je	LBB0_5
LBB0_10:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_create_and_add_flow
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR_OR_NULL
	testl	%eax, %eax
	je	LBB0_25
## %bb.11:
	testq	%r14, %r14
	je	LBB0_14
## %bb.12:
	movq	%r14, %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
	jmp	LBB0_27
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_27:
	movq	%r12, %rdi
	callq	_spin_unlock
	testl	%r14d, %r14d
	je	LBB0_28
## %bb.29:
	movl	4(%r13), %r12d
	movl	%ebx, %edi
	callq	_usnic_ib_qp_grp_state_to_string
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_usnic_ib_qp_grp_state_to_string
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_usnic_err
	jmp	LBB0_30
LBB0_22:
	movq	%r13, %rdi
	callq	_release_and_remove_all_flows
LBB0_21:
	movl	16(%r13), %esi
	leaq	-64(%rbp), %rdi
	callq	*24(%r13)
	jmp	LBB0_25
LBB0_24:
	movq	%r13, %rdi
	callq	_release_and_remove_all_flows
LBB0_25:
	movq	%r12, %rdi
	callq	_spin_unlock
LBB0_28:
	movl	%r15d, (%r13)
	movl	4(%r13), %r12d
	movl	%ebx, %edi
	callq	_usnic_ib_qp_grp_state_to_string
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_usnic_ib_qp_grp_state_to_string
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_usnic_info
	xorl	%r14d, %r14d
LBB0_30:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_6
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_16
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_18
.set L0_1_set_15, LBB0_15-LJTI0_1
.set L0_1_set_9, LBB0_9-LJTI0_1
.set L0_1_set_13, LBB0_13-LJTI0_1
LJTI0_1:
	.long	L0_1_set_15
	.long	L0_1_set_15
	.long	L0_1_set_9
	.long	L0_1_set_13
.set L0_2_set_26, LBB0_26-LJTI0_2
.set L0_2_set_25, LBB0_25-LJTI0_2
.set L0_2_set_24, LBB0_24-LJTI0_2
LJTI0_2:
	.long	L0_2_set_26
	.long	L0_2_set_26
	.long	L0_2_set_25
	.long	L0_2_set_24
	.long	L0_2_set_26
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_IB_EVENT_QP_FATAL,4,2          ## @IB_EVENT_QP_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Transitioned %u from %s to %s"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to transition %u from %s to %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_usnic_ib_qp_grp_modify         ; -- Begin function usnic_ib_qp_grp_modify
	.p2align	2
_usnic_ib_qp_grp_modify:                ; @usnic_ib_qp_grp_modify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x23, x2
	mov	x19, x1
	mov	x21, x0
	mov	x22, x0
	ldr	w20, [x22], #8
	mov	x0, x22
	bl	_spin_lock
	sub	w8, w19, #128
	cmp	w8, #4
	b.hi	LBB0_23
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	cmp	w20, #129
	b.ne	LBB0_23
	b	LBB0_30
LBB0_3:
	cmp	w20, #131
	b.ne	LBB0_23
; %bb.4:
	mov	x0, x21
	bl	_enable_qp_grp
	mov	x23, x0
	b	LBB0_25
LBB0_5:
	sub	w8, w20, #128
	cmp	w8, #4
	b.hi	LBB0_23
; %bb.6:
Lloh2:
	adrp	x9, lJTI0_2@PAGE
Lloh3:
	add	x9, x9, lJTI0_2@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	mov	x0, x21
	bl	_disable_qp_grp
	mov	x23, x0
	mov	x0, x21
	bl	_release_and_remove_all_flows
	b	LBB0_25
LBB0_8:
	sub	w8, w20, #128
	cmp	w8, #3
	b.hi	LBB0_23
; %bb.9:
Lloh4:
	adrp	x9, lJTI0_1@PAGE
Lloh5:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_10
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_10:
	mov	x0, x21
	bl	_disable_qp_grp
	mov	x23, x0
	b	LBB0_25
LBB0_11:
	ldr	x8, [x21, #32]
	ldr	x8, [x8]
	add	x9, x21, #16
	stp	x9, x8, [sp, #16]
Lloh6:
	adrp	x8, _IB_EVENT_QP_FATAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_EVENT_QP_FATAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #8]
	sub	w8, w20, #128
	cmp	w8, #2
	b.lo	LBB0_14
; %bb.12:
	cmp	w20, #131
	b.eq	LBB0_27
; %bb.13:
	cmp	w20, #130
	b.eq	LBB0_28
	b	LBB0_23
LBB0_14:
	mov	x0, x21
	bl	_disable_qp_grp
	mov	x23, x0
	mov	x0, x21
	bl	_release_and_remove_all_flows
	ldr	x8, [x21, #24]
	ldr	w1, [x21, #16]
	add	x0, sp, #8
	blr	x8
	b	LBB0_25
LBB0_15:
	cbz	x23, LBB0_30
; %bb.16:
	mov	x0, x21
	mov	x1, x23
	bl	_create_and_add_flow
	mov	x23, x0
	bl	_IS_ERR_OR_NULL
	cbz	w0, LBB0_30
; %bb.17:
	cbnz	x23, LBB0_22
LBB0_18:
Lloh9:
	adrp	x8, _EFAULT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_24
LBB0_19:
	cbz	x23, LBB0_23
; %bb.20:
	mov	x0, x21
	mov	x1, x23
	bl	_create_and_add_flow
	mov	x23, x0
	bl	_IS_ERR_OR_NULL
	cbz	w0, LBB0_30
; %bb.21:
	cbz	x23, LBB0_18
LBB0_22:
	mov	x0, x23
	bl	_PTR_ERR
	mov	x23, x0
	b	LBB0_25
LBB0_23:
Lloh11:
	adrp	x8, _EINVAL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_24:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_25:
	mov	x0, x22
	bl	_spin_unlock
	cbz	w23, LBB0_31
; %bb.26:
	ldr	w21, [x21, #4]
	mov	x0, x20
	bl	_usnic_ib_qp_grp_state_to_string
	mov	x20, x0
	mov	x0, x19
	bl	_usnic_ib_qp_grp_state_to_string
	mov	x3, x0
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	mov	x2, x20
	bl	_usnic_err
	b	LBB0_32
LBB0_27:
	mov	x0, x21
	bl	_release_and_remove_all_flows
LBB0_28:
	ldr	x8, [x21, #24]
	ldr	w1, [x21, #16]
	add	x0, sp, #8
	blr	x8
	b	LBB0_30
LBB0_29:
	mov	x0, x21
	bl	_release_and_remove_all_flows
LBB0_30:
	mov	x0, x22
	bl	_spin_unlock
LBB0_31:
	str	w19, [x21]
	ldr	w21, [x21, #4]
	mov	x0, x20
	bl	_usnic_ib_qp_grp_state_to_string
	mov	x20, x0
	mov	x0, x19
	bl	_usnic_ib_qp_grp_state_to_string
	mov	x3, x0
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x20
	bl	_usnic_info
	mov	w23, #0
LBB0_32:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_15-LBB0_10)>>2
	.byte	(LBB0_19-LBB0_10)>>2
lJTI0_2:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_30-LBB0_7)>>2
	.byte	(LBB0_29-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_IB_EVENT_QP_FATAL,4,2          ; @IB_EVENT_QP_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Transitioned %u from %s to %s"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to transition %u from %s to %s"

.subsections_via_symbols
