	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pgstat_progress_update_multi_param ## -- Begin function pgstat_progress_update_multi_param
	.p2align	4, 0x90
_pgstat_progress_update_multi_param:    ## @pgstat_progress_update_multi_param
	.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
	testl	%edi, %edi
	je	LBB0_7
## %bb.1:
	movq	_MyBEEntry@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	testq	%r15, %r15
	je	LBB0_7
## %bb.2:
	movq	_pgstat_track_activities@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.3:
	movq	%rdx, %r14
	movq	%rsi, %r13
	movl	%edi, %r12d
	movq	%r15, %rdi
	callq	_PGSTAT_BEGIN_WRITE_ACTIVITY
	testl	%r12d, %r12d
	jle	LBB0_6
## %bb.4:
	movl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rbx,4), %eax
	testl	%eax, %eax
	setns	%cl
	movq	_PGSTAT_NUM_PROGRESS_PARAM@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	setl	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_Assert
	movl	(%r14,%rbx,4), %eax
	movq	(%r15), %rcx
	movslq	(%r13,%rbx,4), %rdx
	movl	%eax, (%rcx,%rdx,4)
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_5
LBB0_6:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PGSTAT_END_WRITE_ACTIVITY      ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MyBEEntry,8,3                  ## @MyBEEntry
	.comm	_pgstat_track_activities,4,2    ## @pgstat_track_activities
	.comm	_PGSTAT_NUM_PROGRESS_PARAM,4,2  ## @PGSTAT_NUM_PROGRESS_PARAM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pgstat_progress_update_multi_param ; -- Begin function pgstat_progress_update_multi_param
	.p2align	2
_pgstat_progress_update_multi_param:    ; @pgstat_progress_update_multi_param
	.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
	cbz	w0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _MyBEEntry@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MyBEEntry@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
Lloh3:
	adrp	x8, _pgstat_track_activities@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pgstat_track_activities@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	x21, #0
	ccmp	w8, #0, #4, ne
	b.eq	LBB0_6
; %bb.2:
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	mov	x0, x21
	bl	_PGSTAT_BEGIN_WRITE_ACTIVITY
	cmp	w22, #1
	b.lt	LBB0_5
; %bb.3:
	mov	w22, w22
Lloh6:
	adrp	x23, _PGSTAT_NUM_PROGRESS_PARAM@GOTPAGE
Lloh7:
	ldr	x23, [x23, _PGSTAT_NUM_PROGRESS_PARAM@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	cmp	w8, #0
	ldr	w9, [x23]
	ccmp	w8, w9, #0, ge
	cset	w0, lt
	bl	_Assert
	ldr	w8, [x19], #4
	ldr	x9, [x21]
	ldrsw	x10, [x20], #4
	str	w8, [x9, x10, lsl #2]
	subs	x22, x22, #1
	b.ne	LBB0_4
LBB0_5:
	mov	x0, x21
	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
	b	_PGSTAT_END_WRITE_ACTIVITY
LBB0_6:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MyBEEntry,8,3                  ; @MyBEEntry
	.comm	_pgstat_track_activities,4,2    ; @pgstat_track_activities
	.comm	_PGSTAT_NUM_PROGRESS_PARAM,4,2  ; @PGSTAT_NUM_PROGRESS_PARAM
.subsections_via_symbols
