	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_herror                         ## -- Begin function herror
	.p2align	4, 0x90
_herror:                                ## @herror
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	-96(%rbp), %r14
	movq	%r14, %rbx
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	cmpb	$0, (%rdi)
	movq	%r14, %rbx
	je	LBB0_3
## %bb.2:
	callq	_DE_CONST
	callq	_strlen
	movl	%eax, -88(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_DE_CONST
	movl	$2, -72(%rbp)
	leaq	-64(%rbp), %rbx
LBB0_3:
	xorl	%eax, %eax
	callq	___h_errno
	movl	(%rax), %edi
	callq	_hstrerror
	movq	%rax, %rdi
	callq	_DE_CONST
	callq	_strlen
	movl	%eax, 8(%rbx)
	leaq	L_.str.1(%rip), %rdi
	callq	_DE_CONST
	movl	$1, 24(%rbx)
	movq	_STDERR_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	subq	%r14, %rbx
	addq	$16, %rbx
	shrq	$4, %rbx
	incl	%ebx
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	__writev
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	": "

L_.str.1:                               ## @.str.1
	.asciz	"\n"

	.comm	_STDERR_FILENO,4,2              ## @STDERR_FILENO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_herror                         ; -- Begin function herror
	.p2align	2
_herror:                                ; @herror
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	add	x19, sp, #8
	add	x20, sp, #8
	cbz	x0, LBB0_3
; %bb.1:
	ldrb	w8, [x0]
	cbz	w8, LBB0_3
; %bb.2:
	bl	_DE_CONST
	bl	_strlen
	str	w0, [sp, #16]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DE_CONST
	mov	w8, #2
	str	w8, [sp, #32]
	add	x20, x20, #32
LBB0_3:
	bl	___h_errno
	ldr	w0, [x0]
	bl	_hstrerror
	bl	_DE_CONST
	bl	_strlen
	str	w0, [x20, #8]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DE_CONST
	mov	w8, #1
Lloh7:
	adrp	x9, _STDERR_FILENO@GOTPAGE
Lloh8:
	ldr	x9, [x9, _STDERR_FILENO@GOTPAGEOFF]
	str	w8, [x20, #24]
Lloh9:
	ldr	w0, [x9]
	sub	x8, x20, x19
	add	x8, x8, #16
	lsr	x8, x8, #4
	add	w2, w8, #1
	add	x1, sp, #8
	bl	__writev
	ldur	x8, [x29, #-24]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	": "

l_.str.1:                               ; @.str.1
	.asciz	"\n"

	.comm	_STDERR_FILENO,4,2              ; @STDERR_FILENO
.subsections_via_symbols
