	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40iw_ieq_compl_pfpdu
_i40iw_ieq_compl_pfpdu:                 ## @i40iw_ieq_compl_pfpdu
	.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, %r12
	movq	%rcx, %r13
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	callq	_i40iw_puda_get_listbuf
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %r14
	addq	%r12, %r14
	movq	8(%rax), %rax
	leaq	(%rax,%r12), %rcx
	movq	%rcx, 48(%r13)
	shlq	$2, %rax
	addq	32(%r13), %rax
	movq	%rax, 40(%r13)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_i40iw_ieq_setup_tx_buf
	movq	8(%rbx), %r15
	movq	16(%rbx), %r8
	movq	40(%rbx), %rdx
	subq	32(%rbx), %rdx
	sarq	$2, %rdx
	cmpq	%r12, %r8
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jge	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r15, %rcx
	callq	_i40iw_ieq_copy_to_txbuf
	movq	16(%rbx), %r14
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_i40iw_puda_ret_bufpool
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_i40iw_puda_get_listbuf
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	subq	%r14, %r12
	addq	%r14, %r15
	movq	16(%rax), %r8
	movq	40(%rax), %rdx
	subq	32(%rax), %rdx
	sarq	$2, %rdx
	cmpq	%r12, %r8
	jl	LBB0_4
LBB0_2:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r15, %rcx
	movq	%r12, %r8
	callq	_i40iw_ieq_copy_to_txbuf
	leaq	(,%r12,4), %rax
	addq	%rax, 40(%rbx)
	subq	%r12, 16(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rbx)
	jne	LBB0_3
## %bb.6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i40iw_puda_ret_bufpool         ## TAILCALL
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	addq	$24, %rbx
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_list_add                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_i40iw_ieq_compl_pfpdu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_ieq_compl_pfpdu
_i40iw_ieq_compl_pfpdu:                 ; @i40iw_ieq_compl_pfpdu
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x4
	mov	x22, x3
	mov	x24, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_i40iw_puda_get_listbuf
	cbz	x0, LBB0_6
; %bb.1:
	mov	x21, x0
	ldp	x27, x8, [x0]
	add	x9, x8, x23
	ldr	x10, [x22, #32]
	add	x8, x10, x8, lsl #2
	stp	x8, x9, [x22, #40]
	mov	x1, x22
	bl	_i40iw_ieq_setup_tx_buf
	ldp	x9, x8, [x21, #32]
	sub	x8, x8, x9
	asr	x2, x8, #2
	ldp	x25, x4, [x21, #8]
	mov	x26, x23
	cmp	x4, x23
	b.ge	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x3, x25
	bl	_i40iw_ieq_copy_to_txbuf
	ldr	x28, [x21, #16]
	mov	x0, x20
	mov	x1, x21
	bl	_i40iw_puda_ret_bufpool
	mov	x0, x24
	bl	_i40iw_puda_get_listbuf
	cbz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x21, x0
	add	x25, x28, x25
	ldp	x9, x8, [x0, #32]
	sub	x8, x8, x9
	asr	x2, x8, #2
	ldr	x4, [x0, #16]
	sub	x26, x26, x28
	cmp	x4, x26
	b.lt	LBB0_2
LBB0_4:
	add	x23, x27, x23
	mov	x0, x21
	mov	x1, x22
	mov	x3, x25
	mov	x4, x26
	bl	_i40iw_ieq_copy_to_txbuf
	ldr	x8, [x21, #16]
	ldr	x9, [x21, #40]
	add	x9, x9, x26, lsl #2
	str	x9, [x21, #40]
	str	x23, [x21]
	subs	x8, x8, x26
	str	x8, [x21, #16]
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x20
	mov	x1, x21
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_i40iw_puda_ret_bufpool
LBB0_6:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_7:
	add	x0, x21, #24
	mov	x1, x19
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_list_add
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_i40iw_ieq_compl_pfpdu
.subsections_via_symbols
