	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40iw_cqp_ce_handler
_i40iw_cqp_ce_handler:                  ## @i40iw_cqp_ce_handler
	.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
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r15
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	8(%r15), %rax
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_13
## %bb.1:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	leaq	8(%r15), %r13
	leaq	-80(%rbp), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, (%r14)
	leaq	16(%r14), %rdi
	callq	_wake_up
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_i40iw_put_cqp_request
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	(%r13), %rax
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %r14
	cmpq	$0, -80(%rbp)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-60(%rbp), %esi
	movl	-68(%rbp), %ecx
	movl	-64(%rbp), %edx
	leaq	L_.str(%rip), %rdi
	callq	_i40iw_pr_err
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r14, %r14
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-64(%rbp), %eax
	movl	%eax, 48(%r14)
	movl	-68(%rbp), %eax
	movl	%eax, 44(%r14)
	movl	-72(%rbp), %eax
	movl	%eax, 40(%r14)
	movq	-80(%rbp), %rax
	movq	%rax, 32(%r14)
	cmpq	$0, 24(%r14)
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	$1, %esi
	callq	*%rax
	jmp	LBB0_9
LBB0_11:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_13
## %bb.12:
	movq	%r13, %rdi
	callq	_i40iw_process_bh
	movq	(%r13), %rax
	movq	%r12, %rdi
	callq	*8(%rax)
LBB0_13:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"opcode = 0x%x maj_err_code = 0x%x min_err_code = 0x%x\n"

	.no_dead_strip	_i40iw_cqp_ce_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_cqp_ce_handler
_i40iw_cqp_ce_handler:                  ; @i40iw_cqp_ce_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	mov	x22, x21
	ldr	x8, [x22, #8]!
	ldr	x8, [x8]
	mov	x1, sp
	mov	x0, x19
	blr	x8
	cbnz	w0, LBB0_13
; %bb.1:
	mov	w25, #1
Lloh0:
	adrp	x23, l_.str@PAGE
Lloh1:
	add	x23, x23, l_.str@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	str	w25, [x0], #16
	bl	_wake_up
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_i40iw_put_cqp_request
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	x8, [x22]
	ldr	x8, [x8]
	mov	x1, sp
	mov	x0, x19
	blr	x8
	cbnz	w0, LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [sp, #24]
	ldr	x8, [sp]
	cbz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	w2, w1, [sp, #16]
	ldr	w3, [sp, #12]
	mov	x0, x23
	bl	_i40iw_pr_err
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	x24, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #16]
	str	w8, [x24, #48]
	ldr	d0, [sp, #8]
	str	d0, [x24, #40]
	ldr	x8, [sp]
	str	x8, [x24, #32]
	ldr	x8, [x24, #24]
	cbnz	x8, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24, #8]
	cbz	x8, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	mov	w1, #1
	blr	x8
	b	LBB0_3
LBB0_11:
	cbz	w20, LBB0_13
; %bb.12:
	mov	x0, x22
	bl	_i40iw_process_bh
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
LBB0_13:
	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
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"opcode = 0x%x maj_err_code = 0x%x min_err_code = 0x%x\n"

	.no_dead_strip	_i40iw_cqp_ce_handler
.subsections_via_symbols
