	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function append_postfix
_append_postfix:                        ## @append_postfix
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movw	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	movl	$46, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	leaq	-56(%rbp), %rdi
	movq	%rax, %rsi
	movl	$10, %edx
	callq	_av_strlcpy
	movb	$0, (%rbx)
LBB0_2:
	movq	%r12, %rdi
	callq	_strlen
	movslq	%eax, %rbx
	addq	%r12, %rbx
	movq	%r12, %rdi
	callq	_strlen
	movl	%r14d, %esi
	subl	%eax, %esi
	movq	_POSTFIX_PATTERN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rbx, %rdi
	movl	%r15d, %ecx
	callq	_snprintf
	leaq	-56(%rbp), %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_av_strlcat
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_POSTFIX_PATTERN,8,3            ## @POSTFIX_PATTERN
	.no_dead_strip	_append_postfix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function append_postfix
_append_postfix:                        ; @append_postfix
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	strh	wzr, [sp, #16]
	str	xzr, [sp, #8]
	mov	w1, #46
	bl	_strrchr
	cbz	x0, LBB0_2
; %bb.1:
	mov	x22, x0
	add	x0, sp, #8
	mov	x1, x22
	mov	w2, #10
	bl	_av_strlcpy
	strb	wzr, [x22]
LBB0_2:
	mov	x0, x20
	bl	_strlen
	add	x22, x20, w0, sxtw
	mov	x0, x20
	bl	_strlen
	sub	w1, w19, w0
Lloh3:
	adrp	x8, _POSTFIX_PATTERN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _POSTFIX_PATTERN@GOTPAGEOFF]
Lloh5:
	ldr	x2, [x8]
	mov	x0, x22
	mov	x3, x21
	bl	_snprintf
	add	x0, sp, #8
	bl	_strlen
	cbz	w0, LBB0_4
; %bb.3:
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x19
	bl	_av_strlcat
LBB0_4:
	ldr	x8, [sp, #24]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_POSTFIX_PATTERN,8,3            ; @POSTFIX_PATTERN
	.no_dead_strip	_append_postfix
.subsections_via_symbols
