	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pgstat_report_appname          ## -- Begin function pgstat_report_appname
	.p2align	4, 0x90
_pgstat_report_appname:                 ## @pgstat_report_appname
	.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
	movq	_MyBEEntry@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	callq	_strlen
	movq	_NAMEDATALEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	decq	%rdx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_pg_mbcliplen
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_PGSTAT_BEGIN_WRITE_ACTIVITY
	movq	(%rbx), %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movq	(%rbx), %rax
	movslq	%r15d, %rcx
	movb	$0, (%rax,%rcx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PGSTAT_END_WRITE_ACTIVITY      ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MyBEEntry,8,3                  ## @MyBEEntry
	.comm	_NAMEDATALEN,8,3                ## @NAMEDATALEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pgstat_report_appname          ; -- Begin function pgstat_report_appname
	.p2align	2
_pgstat_report_appname:                 ; @pgstat_report_appname
	.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
Lloh0:
	adrp	x8, _MyBEEntry@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MyBEEntry@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	cbz	x19, LBB0_2
; %bb.1:
	mov	x20, x0
	bl	_strlen
	mov	x1, x0
Lloh3:
	adrp	x8, _NAMEDATALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NAMEDATALEN@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	sub	x2, x8, #1
	mov	x0, x20
	bl	_pg_mbcliplen
	mov	x21, x0
	mov	x0, x19
	bl	_PGSTAT_BEGIN_WRITE_ACTIVITY
	ldr	x0, [x19]
	mov	x1, x20
	mov	x2, x21
	bl	_memcpy
	ldr	x8, [x19]
	strb	wzr, [x8, w21, sxtw]
	mov	x0, x19
	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
LBB0_2:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MyBEEntry,8,3                  ; @MyBEEntry
	.comm	_NAMEDATALEN,8,3                ; @NAMEDATALEN
.subsections_via_symbols
