	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pevent_strerror                ## -- Begin function pevent_strerror
	.p2align	4, 0x90
_pevent_strerror:                       ## @pevent_strerror
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movl	%esi, %edi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	callq	_strerror_r
	cmpq	%r14, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_strlen
	movq	%rax, %r12
	decq	%rbx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_min
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_min
	cltq
	movb	$0, (%r14,%rax)
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___PEVENT_ERRNO__START,4,2      ## @__PEVENT_ERRNO__START
	.comm	___PEVENT_ERRNO__END,4,2        ## @__PEVENT_ERRNO__END
	.comm	_pevent_error_str,8,3           ## @pevent_error_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pevent_strerror                ; -- Begin function pevent_strerror
	.p2align	2
_pevent_strerror:                       ; @pevent_strerror
	.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	x21, x3
	mov	x19, x2
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	bl	_strerror_r
	cmp	x0, x19
	b.eq	LBB0_2
; %bb.1:
	mov	x20, x0
	bl	_strlen
	mov	x22, x0
	sub	x21, x21, #1
	mov	x0, x21
	mov	x1, x22
	bl	_min
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_memcpy
	mov	x0, x21
	mov	x1, x22
	bl	_min
	strb	wzr, [x19, w0, sxtw]
LBB0_2:
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.comm	___PEVENT_ERRNO__START,4,2      ; @__PEVENT_ERRNO__START
	.comm	___PEVENT_ERRNO__END,4,2        ; @__PEVENT_ERRNO__END
	.comm	_pevent_error_str,8,3           ; @pevent_error_str
.subsections_via_symbols
