	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_flag_after_foreach
_find_flag_after_foreach:               ## @find_flag_after_foreach
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	cmpq	$0, (%rdi)
	jne	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	%rax, -24(%rbp)
	movq	$0, -16(%rbp)
	movq	_find_flag_after@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-24(%rbp), %rdx
	movq	%rsi, %rdi
	movl	%eax, %esi
	callq	_r_flag_foreach
	movq	-16(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	(%rax), %rax
	subq	8(%rbx), %rax
	movq	%rax, (%rbx)
LBB0_3:
	movl	$1, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_find_flag_after,4,2            ## @find_flag_after
	.no_dead_strip	_find_flag_after_foreach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_flag_after_foreach
_find_flag_after_foreach:               ; @find_flag_after_foreach
	.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	x8, [x0]
	cbnz	x8, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	stp	x8, xzr, [sp]
Lloh0:
	adrp	x8, _find_flag_after@GOTPAGE
Lloh1:
	ldr	x8, [x8, _find_flag_after@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	x2, sp
	mov	x0, x1
	mov	x1, x8
	bl	_r_flag_foreach
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	sub	x8, x8, x9
	str	x8, [x19]
LBB0_3:
	mov	w0, #1
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_find_flag_after,4,2            ; @find_flag_after
	.no_dead_strip	_find_flag_after_foreach
.subsections_via_symbols
