	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spl_dllist_it_helper_move_forward
_spl_dllist_it_helper_move_forward:     ## @spl_dllist_it_helper_move_forward
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.1:
	movq	%rdi, %r14
	movq	_SPL_DLLIST_IT_LIFO@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.2:
	movq	8(%rbx), %rax
	movq	%rax, (%r14)
	decl	(%rsi)
	movq	_SPL_DLLIST_IT_DELETE@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_8
## %bb.3:
	leaq	-32(%rbp), %r15
	movq	%rdx, %rdi
	movq	%r15, %rsi
	callq	_spl_ptr_llist_pop
	jmp	LBB0_4
LBB0_5:
	movq	(%rbx), %rax
	movq	%rax, (%r14)
	movq	_SPL_DLLIST_IT_DELETE@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_7
## %bb.6:
	leaq	-28(%rbp), %r15
	movq	%rdx, %rdi
	movq	%r15, %rsi
	callq	_spl_ptr_llist_shift
LBB0_4:
	movq	%r15, %rdi
	callq	_zval_ptr_dtor
LBB0_8:
	movq	%rbx, %rdi
	callq	_SPL_LLIST_DELREF
	movq	(%r14), %rdi
	callq	_SPL_LLIST_CHECK_ADDREF
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	incl	(%rsi)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_SPL_DLLIST_IT_LIFO,4,2         ## @SPL_DLLIST_IT_LIFO
	.comm	_SPL_DLLIST_IT_DELETE,4,2       ## @SPL_DLLIST_IT_DELETE
	.no_dead_strip	_spl_dllist_it_helper_move_forward
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spl_dllist_it_helper_move_forward
_spl_dllist_it_helper_move_forward:     ; @spl_dllist_it_helper_move_forward
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x20, [x0]
	cbz	x20, LBB0_8
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _SPL_DLLIST_IT_LIFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPL_DLLIST_IT_LIFO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_4
; %bb.2:
	ldr	x8, [x20, #8]
	str	x8, [x19]
	ldr	w8, [x1]
	sub	w8, w8, #1
	str	w8, [x1]
Lloh3:
	adrp	x8, _SPL_DLLIST_IT_DELETE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SPL_DLLIST_IT_DELETE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_7
; %bb.3:
	add	x1, sp, #12
	mov	x0, x2
	bl	_spl_ptr_llist_pop
	add	x0, sp, #12
	bl	_zval_ptr_dtor
	b	LBB0_7
LBB0_4:
	ldr	x8, [x20]
	str	x8, [x19]
Lloh6:
	adrp	x8, _SPL_DLLIST_IT_DELETE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SPL_DLLIST_IT_DELETE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_6
; %bb.5:
	add	x1, sp, #8
	mov	x0, x2
	bl	_spl_ptr_llist_shift
	add	x0, sp, #8
	bl	_zval_ptr_dtor
	b	LBB0_7
LBB0_6:
	ldr	w8, [x1]
	add	w8, w8, #1
	str	w8, [x1]
LBB0_7:
	mov	x0, x20
	bl	_SPL_LLIST_DELREF
	ldr	x0, [x19]
	bl	_SPL_LLIST_CHECK_ADDREF
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SPL_DLLIST_IT_LIFO,4,2         ; @SPL_DLLIST_IT_LIFO
	.comm	_SPL_DLLIST_IT_DELETE,4,2       ; @SPL_DLLIST_IT_DELETE
	.no_dead_strip	_spl_dllist_it_helper_move_forward
.subsections_via_symbols
