	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_loop
_filter_loop:                           ## @filter_loop
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	$0, -40(%rbp)
	movq	32(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
LBB0_21:
	cmpq	$0, -40(%rbp)
	je	LBB0_23
## %bb.22:
	leaq	-40(%rbp), %rdi
	callq	_hb_buffer_close
LBB0_23:
	movq	32(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_24
LBB0_28:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_HB_FILTER_DONE@GOTPCREL(%rip), %r12
	leaq	-48(%rbp), %r14
	leaq	-40(%rbp), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %rax
	cmpq	$0, (%rax)
	jne	LBB0_21
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movq	(%rbx), %rax
	cmpq	(%r12), %rax
	je	LBB0_21
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%rbx), %edi
	callq	_hb_fifo_get_wait
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_20
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %rdx
	movq	%rdx, 8(%rbx)
	movq	%rcx, 48(%rbx)
	movq	$0, 8(%rax)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %rax
	cmpq	$0, (%rax)
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, -40(%rbp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	*16(%rbx)
	movq	%rax, (%rbx)
	movq	-40(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	48(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rdx
	cmpq	(%rax), %rdx
	jg	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, 8(%rax)
	movq	$0, 48(%rbx)
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -48(%rbp)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_hb_buffer_close
	movq	-40(%rbp), %rax
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%rax, %rax
	je	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 40(%rbx)
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_hb_buffer_close
	cmpq	$0, -40(%rbp)
	je	LBB0_20
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	32(%rbx), %rax
	cmpq	$0, (%rax)
	jne	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	40(%rbx), %rdi
	callq	_hb_fifo_full_wait
	testq	%rax, %rax
	je	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%rbx), %rdi
	movq	-40(%rbp), %rsi
	callq	_hb_fifo_push
	movq	$0, -40(%rbp)
	jmp	LBB0_20
LBB0_24:
	leaq	-48(%rbp), %r14
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	32(%rbx), %rax
	cmpq	$0, (%rax)
	jne	LBB0_28
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movl	24(%rbx), %edi
	callq	_hb_fifo_get_wait
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	%r14, %rdi
	callq	_hb_buffer_close
	jmp	LBB0_27
LBB0_7:
	leaq	-48(%rbp), %rdi
	callq	_hb_buffer_close
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_HB_FILTER_DONE,8,3             ## @HB_FILTER_DONE
	.comm	_HB_FILTER_DELAY,8,3            ## @HB_FILTER_DELAY
	.no_dead_strip	_filter_loop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_loop
_filter_loop:                           ; @filter_loop
	.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
	mov	x19, x0
	str	xzr, [sp]
	ldr	x8, [x0, #32]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
LBB0_1:
	ldr	x8, [sp]
	cbz	x8, LBB0_24
; %bb.2:
	mov	x0, sp
	b	LBB0_23
LBB0_3:
Lloh0:
	adrp	x20, _HB_FILTER_DONE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _HB_FILTER_DONE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	cbnz	x8, LBB0_1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19, #24]
	bl	_hb_fifo_get_wait
	str	x0, [sp, #8]
	cbz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x0]
	str	x9, [x19, #8]
	str	x8, [x19, #48]
	str	xzr, [x0, #8]
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	cbnz	x8, LBB0_22
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	str	xzr, [sp]
	ldr	x8, [x19, #16]
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x19
	blr	x8
	str	x0, [x19]
	ldr	x8, [sp]
	cbz	x8, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #48]
	cbz	x9, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x10, [x19, #8]
	ldr	x11, [x8]
	cmp	x10, x11
	b.gt	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	str	x9, [x8, #8]
	str	xzr, [x19, #48]
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [sp, #8]
	cbz	x9, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	bl	_hb_buffer_close
	ldr	x8, [sp]
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x8, LBB0_4
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, sp
	bl	_hb_buffer_close
	ldr	x8, [sp]
	cbz	x8, LBB0_4
LBB0_19:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	cbnz	x8, LBB0_4
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	x0, [x19, #40]
	bl	_hb_fifo_full_wait
	cbz	x0, LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x19, #40]
	ldr	x1, [sp]
	bl	_hb_fifo_push
	str	xzr, [sp]
	b	LBB0_4
LBB0_22:
	add	x0, sp, #8
	bl	_hb_buffer_close
	b	LBB0_1
LBB0_23:
	bl	_hb_buffer_close
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	cbnz	x8, LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldr	w0, [x19, #24]
	bl	_hb_fifo_get_wait
	str	x0, [sp, #8]
	cbz	x0, LBB0_24
; %bb.26:
	add	x0, sp, #8
	b	LBB0_23
LBB0_27:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HB_FILTER_DONE,8,3             ; @HB_FILTER_DONE
	.comm	_HB_FILTER_DELAY,8,3            ; @HB_FILTER_DELAY
	.no_dead_strip	_filter_loop
.subsections_via_symbols
