	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perror                         ## -- Begin function perror
	.p2align	4, 0x90
_perror:                                ## @perror
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NL_TEXTMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leaq	-112(%rbp), %r14
	movq	%r14, %r13
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	cmpb	$0, (%rbx)
	movq	%r14, %r13
	je	LBB0_3
## %bb.2:
	movq	%rbx, -112(%rbp)
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, -104(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -96(%rbp)
	movl	$2, -88(%rbp)
	leaq	-80(%rbp), %r13
LBB0_3:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_strerror_r
	movq	%r12, (%r13)
	movq	%r12, %rdi
	callq	_strlen
	movl	%eax, 8(%r13)
	leaq	16(%r13), %rbx
	leaq	L_.str.1(%rip), %rax
	movq	%rax, 16(%r13)
	movl	$1, 24(%r13)
	movq	_stderr@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_FLOCKFILE_CANCELSAFE
	movq	(%r15), %rdi
	callq	___sflush
	movq	(%r15), %rax
	movl	4(%rax), %edi
	subq	%r14, %rbx
	shrq	$4, %rbx
	incl	%ebx
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	__writev
	movq	___SOFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	(%r15), %rcx
	andl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_FUNLOCKFILE_CANCELSAFE
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NL_TEXTMAX,4,2                 ## @NL_TEXTMAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	": "

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"\n"

	.comm	_stderr,8,3                     ## @stderr
	.comm	___SOFF,4,2                     ## @__SOFF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perror                         ; -- Begin function perror
	.p2align	2
_perror:                                ; @perror
	.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
	sub	sp, sp, #80
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _NL_TEXTMAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NL_TEXTMAX@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	mov	x9, x19
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	sub	x21, x29, #104
	sub	x22, x29, #104
	cbz	x0, LBB0_3
; %bb.1:
	ldrb	w8, [x0]
	cbz	w8, LBB0_3
; %bb.2:
	stur	x0, [x29, #-104]
	bl	_strlen
	stur	w0, [x29, #-96]
Lloh8:
	adrp	x8, l_.str@PAGE
Lloh9:
	add	x8, x8, l_.str@PAGEOFF
	stur	x8, [x29, #-88]
	mov	w8, #2
	stur	w8, [x29, #-80]
	add	x22, x22, #32
LBB0_3:
Lloh10:
	adrp	x8, _errno@GOTPAGE
Lloh11:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, x19
	bl	_strerror_r
	str	x20, [x22]
	mov	x0, x20
	bl	_strlen
Lloh13:
	adrp	x8, l_.str.1@PAGE
Lloh14:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x22, #16]!
	stur	w0, [x22, #-8]
	mov	w8, #1
	str	w8, [x22, #8]
Lloh15:
	adrp	x19, _stderr@GOTPAGE
Lloh16:
	ldr	x19, [x19, _stderr@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_FLOCKFILE_CANCELSAFE
	ldr	x0, [x19]
	bl	___sflush
	ldr	x8, [x19]
	ldr	w0, [x8, #4]
	sub	x8, x22, x21
	lsr	x8, x8, #4
	add	w2, w8, #1
	sub	x1, x29, #104
	bl	__writev
Lloh17:
	adrp	x8, ___SOFF@GOTPAGE
Lloh18:
	ldr	x8, [x8, ___SOFF@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	x9, [x19]
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
	bl	_FUNLOCKFILE_CANCELSAFE
	ldur	x8, [x29, #-40]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #32
	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_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_NL_TEXTMAX,4,2                 ; @NL_TEXTMAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	": "

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"\n"

	.comm	_stderr,8,3                     ; @stderr
	.comm	___SOFF,4,2                     ; @__SOFF
.subsections_via_symbols
