	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_hw_modify_qp             ## -- Begin function i40iw_hw_modify_qp
	.p2align	4, 0x90
_i40iw_hw_modify_qp:                    ## @i40iw_hw_modify_qp
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	%ecx, %esi
	callq	_i40iw_get_cqp_request
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movq	%rax, %r13
	addq	$24, %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_OP_QP_MODIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r13)
	movl	$1, (%r13)
	leaq	4(%r14), %r15
	movq	%r15, 16(%r13)
	movq	%r13, 8(%r13)
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_i40iw_handle_cqp_op
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	ja	LBB0_7
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movq	_I40IW_AE_BAD_CLOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	$0, -48(%rbp)
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	callq	_i40iw_gen_ae
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	cmpl	$130, (%r14)
	jne	LBB0_6
## %bb.5:
	movl	8(%r14), %edi
	callq	_i40iw_send_reset
	jmp	LBB0_6
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_OP_QP_MODIFY,4,2               ## @OP_QP_MODIFY
	.comm	_I40IW_AE_BAD_CLOSE,4,2         ## @I40IW_AE_BAD_CLOSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40iw_hw_modify_qp             ; -- Begin function i40iw_hw_modify_qp
	.p2align	2
_i40iw_hw_modify_qp:                    ; @i40iw_hw_modify_qp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x1, x3
	bl	_i40iw_get_cqp_request
	cbz	x0, LBB0_5
; %bb.1:
	mov	x23, x0
	add	x22, x0, #24
	mov	x0, x22
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
Lloh0:
	adrp	x8, _OP_QP_MODIFY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OP_QP_MODIFY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x23, #32]
	mov	w8, #1
	str	w8, [x23]
	add	x21, x20, #4
	stp	x23, x21, [x23, #8]
	mov	x0, x19
	mov	x1, x23
	bl	_i40iw_handle_cqp_op
	cbz	w0, LBB0_5
; %bb.2:
	ldr	w8, [x22]
	sub	w8, w8, #128
	cmp	w8, #4
	b.hi	LBB0_5
; %bb.3:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh5:
	adrp	x8, _I40IW_AE_BAD_CLOSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I40IW_AE_BAD_CLOSE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	stp	wzr, w8, [sp, #8]
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	bl	_i40iw_gen_ae
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	ldr	w8, [x20]
	cmp	w8, #130
	b.ne	LBB0_4
; %bb.7:
	ldr	w0, [x20, #8]
	bl	_i40iw_send_reset
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
                                        ; -- End function
	.comm	_OP_QP_MODIFY,4,2               ; @OP_QP_MODIFY
	.comm	_I40IW_AE_BAD_CLOSE,4,2         ; @I40IW_AE_BAD_CLOSE
.subsections_via_symbols
