	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flush_batch_buffer
_flush_batch_buffer:                    ## @flush_batch_buffer
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	16(%rbp), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.1:
	movq	%rdx, %r13
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rax
	movl	%ecx, %r15d
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	(,%rax,4), %rax
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %r12
	movq	%rdx, %rbx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %rbx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %r14
	decq	%r12
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	callq	*8(%rax)
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_M_IPFW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
	movq	$0, (%rbx)
	jmp	LBB0_4
LBB0_5:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_8
## %bb.6:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	imulq	%r15, %rax
	leaq	(%r14,%rax,4), %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	*8(%r12)
	addq	$8, %r13
	addq	-64(%rbp), %rbx                 ## 8-byte Folded Reload
	decq	%r15
	jne	LBB0_7
LBB0_8:
	cmpq	-96(%rbp), %r14                 ## 8-byte Folded Reload
	je	LBB0_9
## %bb.10:
	movq	_M_TEMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_9:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_IPFW,4,2                     ## @M_IPFW
	.comm	_M_TEMP,4,2                     ## @M_TEMP
	.no_dead_strip	_flush_batch_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flush_batch_buffer
_flush_batch_buffer:                    ; @flush_batch_buffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x25, x6
	mov	x19, x5
	cmp	w3, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	str	w4, [sp, #20]                   ; 4-byte Folded Spill
	str	x25, [sp, #24]                  ; 8-byte Folded Spill
	ldr	x8, [x1]
	mov	w20, w3
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	lsl	x28, x8, #2
Lloh0:
	adrp	x24, _M_IPFW@GOTPAGE
Lloh1:
	ldr	x24, [x24, _M_IPFW@GOTPAGEOFF]
	mov	x25, x19
	mov	x27, x20
	mov	x26, x2
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x26, x26, #8
	add	x25, x25, x28
	subs	x27, x27, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	mov	x0, x23
	mov	x1, x26
	mov	x2, x25
	blr	x8
	ldr	x0, [x26]
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x24]
	bl	_free
	str	xzr, [x26]
	b	LBB0_2
LBB0_5:
	ldr	x25, [sp, #24]                  ; 8-byte Folded Reload
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_8
; %bb.6:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	mul	x8, x8, x20
	add	x24, x19, x8, lsl #2
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	mov	x0, x23
	mov	x1, x21
	mov	x2, x24
	blr	x8
	add	x21, x21, #8
	add	x24, x24, x28
	subs	x20, x20, #1
	b.ne	LBB0_7
LBB0_8:
	cmp	x19, x25
	b.eq	LBB0_10
; %bb.9:
Lloh2:
	adrp	x8, _M_TEMP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_TEMP@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_free
LBB0_10:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_M_IPFW,4,2                     ; @M_IPFW
	.comm	_M_TEMP,4,2                     ; @M_TEMP
	.no_dead_strip	_flush_batch_buffer
.subsections_via_symbols
