	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_error
_print_error:                           ## @print_error
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	leaq	-16(%rbp), %rsi
	callq	_find_error_name
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	-16(%rbp), %r8
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_10
LBB0_2:
	movq	_BR_ERR_RECV_FATAL_ALERT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %eax
	jg	LBB0_5
## %bb.3:
	leal	256(%rax), %ecx
	cmpl	%ebx, %ecx
	jle	LBB0_5
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%ebx, %ecx
	subl	%eax, %ecx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_8
LBB0_5:
	movq	_BR_ERR_SEND_FATAL_ALERT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpl	%ebx, %eax
	jg	LBB0_9
## %bb.6:
	leal	256(%rax), %ecx
	cmpl	%ebx, %ecx
	jle	LBB0_9
## %bb.7:
	movl	%ebx, %ecx
	subl	%eax, %ecx
	leaq	L_.str.2(%rip), %rsi
LBB0_8:
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_10
LBB0_9:
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERR %d: %s\n   %s\n"

	.comm	_BR_ERR_RECV_FATAL_ALERT,4,2    ## @BR_ERR_RECV_FATAL_ALERT
L_.str.1:                               ## @.str.1
	.asciz	"ERR %d: received fatal alert %d\n"

	.comm	_BR_ERR_SEND_FATAL_ALERT,4,2    ## @BR_ERR_SEND_FATAL_ALERT
L_.str.2:                               ## @.str.2
	.asciz	"ERR %d: sent fatal alert %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"ERR %d: UNKNOWN\n"

	.no_dead_strip	_print_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_error
_print_error:                           ; @print_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x1, sp, #24
	bl	_find_error_name
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [sp, #24]
	stp	x0, x9, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	b	LBB0_7
LBB0_2:
Lloh5:
	adrp	x8, _BR_ERR_RECV_FATAL_ALERT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BR_ERR_RECV_FATAL_ALERT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	add	w9, w8, #256
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_5
; %bb.3:
Lloh8:
	adrp	x8, _BR_ERR_SEND_FATAL_ALERT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BR_ERR_SEND_FATAL_ALERT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	add	w9, w8, #256
Lloh11:
	adrp	x10, _stderr@GOTPAGE
Lloh12:
	ldr	x10, [x10, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x10]
	cmp	w8, w19
	ccmp	w9, w19, #4, le
	b.gt	LBB0_6
; %bb.4:
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_5:
Lloh16:
	adrp	x9, _stderr@GOTPAGE
Lloh17:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x9]
	sub	w8, w19, w8
	str	x8, [sp]
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:
	sub	w8, w19, w8
	str	x8, [sp]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_7:
	mov	x2, x19
	bl	_fprintf
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERR %d: %s\n   %s\n"

	.comm	_BR_ERR_RECV_FATAL_ALERT,4,2    ; @BR_ERR_RECV_FATAL_ALERT
l_.str.1:                               ; @.str.1
	.asciz	"ERR %d: received fatal alert %d\n"

	.comm	_BR_ERR_SEND_FATAL_ALERT,4,2    ; @BR_ERR_SEND_FATAL_ALERT
l_.str.2:                               ; @.str.2
	.asciz	"ERR %d: sent fatal alert %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"ERR %d: UNKNOWN\n"

	.no_dead_strip	_print_error
.subsections_via_symbols
