	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40iw_ieq_create_pbufl
_i40iw_ieq_create_pbufl:                ## @i40iw_ieq_create_pbufl
	.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	%r8, %r13
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %r15
	subq	%r15, %r13
	addq	8(%rcx), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	%rdx, %r15
	movq	%r13, %rsi
	subq	%rdx, %rsi
	cmpq	%rcx, %r13
	movq	%rsi, %r13
	jle	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_i40iw_puda_get_listbuf
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$16, %rdi
	movq	%r14, %rsi
	callq	_list_add_tail
	cmpq	%r15, 8(%rbx)
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rcx
	xorl	%eax, %eax
	movq	%rcx, %rdx
	cmpq	%rcx, %r13
	jg	LBB0_1
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_1
LBB0_6:
	movq	_I40IW_ERR_list_empty@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
	movq	_I40IW_ERR_SEQ_NUM@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
LBB0_9:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40IW_ERR_list_empty,4,2       ## @I40IW_ERR_list_empty
	.comm	_I40IW_ERR_SEQ_NUM,4,2          ## @I40IW_ERR_SEQ_NUM
	.no_dead_strip	_i40iw_ieq_create_pbufl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_ieq_create_pbufl
_i40iw_ieq_create_pbufl:                ; @i40iw_ieq_create_pbufl
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldp	x8, x9, [x3]
	sub	x24, x4, x8
	add	x23, x9, x8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_i40iw_puda_get_listbuf
	cbz	x0, LBB0_5
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x22, x0
	add	x0, x0, #16
	mov	x1, x20
	bl	_list_add_tail
	ldr	x8, [x22, #8]
	cmp	x8, x23
	b.ne	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x22]
	cmp	x24, x8
	csel	x9, x8, xzr, gt
	sub	x10, x24, x9
	add	x23, x23, x9
	cmp	x24, x8
	mov	x24, x10
	b.gt	LBB0_1
; %bb.4:
	mov	w0, #0
	b	LBB0_8
LBB0_5:
Lloh0:
	adrp	x8, _I40IW_ERR_list_empty@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40IW_ERR_list_empty@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
Lloh2:
	adrp	x8, _I40IW_ERR_SEQ_NUM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _I40IW_ERR_SEQ_NUM@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_I40IW_ERR_list_empty,4,2       ; @I40IW_ERR_list_empty
	.comm	_I40IW_ERR_SEQ_NUM,4,2          ; @I40IW_ERR_SEQ_NUM
	.no_dead_strip	_i40iw_ieq_create_pbufl
.subsections_via_symbols
