	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pgstat_progress_update_param   ## -- Begin function pgstat_progress_update_param
	.p2align	4, 0x90
_pgstat_progress_update_param:          ## @pgstat_progress_update_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	_MyBEEntry@GOTPCREL(%rip), %rax
	testl	%edi, %edi
	setns	%cl
	movq	_PGSTAT_NUM_PROGRESS_PARAM@GOTPCREL(%rip), %rdx
	cmpl	%edi, (%rdx)
	movq	(%rax), %rbx
	setg	%al
	andb	%cl, %al
	movzbl	%al, %edi
	callq	_Assert
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	_pgstat_track_activities@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	callq	_PGSTAT_BEGIN_WRITE_ACTIVITY
	movq	(%rbx), %rax
	movslq	%r15d, %rcx
	movl	%r14d, (%rax,%rcx,4)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PGSTAT_END_WRITE_ACTIVITY      ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MyBEEntry,8,3                  ## @MyBEEntry
	.comm	_PGSTAT_NUM_PROGRESS_PARAM,4,2  ## @PGSTAT_NUM_PROGRESS_PARAM
	.comm	_pgstat_track_activities,4,2    ## @pgstat_track_activities
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pgstat_progress_update_param   ; -- Begin function pgstat_progress_update_param
	.p2align	2
_pgstat_progress_update_param:          ; @pgstat_progress_update_param
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _MyBEEntry@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MyBEEntry@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	cmp	w0, #0
Lloh3:
	adrp	x8, _PGSTAT_NUM_PROGRESS_PARAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PGSTAT_NUM_PROGRESS_PARAM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ccmp	w8, w0, #4, ge
	cset	w0, gt
	bl	_Assert
Lloh6:
	adrp	x8, _pgstat_track_activities@GOTPAGE
Lloh7:
	ldr	x8, [x8, _pgstat_track_activities@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	x21, #0
	ccmp	w8, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x21
	bl	_PGSTAT_BEGIN_WRITE_ACTIVITY
	ldr	x8, [x21]
	str	w19, [x8, w20, sxtw #2]
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PGSTAT_END_WRITE_ACTIVITY
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MyBEEntry,8,3                  ; @MyBEEntry
	.comm	_PGSTAT_NUM_PROGRESS_PARAM,4,2  ; @PGSTAT_NUM_PROGRESS_PARAM
	.comm	_pgstat_track_activities,4,2    ; @pgstat_track_activities
.subsections_via_symbols
