	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function socket_perror
_socket_perror:                         ## @socket_perror
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movq	(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movl	%edx, %esi
	callq	_SSL_get_error
	cmpl	$129, %eax
	je	LBB0_6
## %bb.2:
	leaq	L_.str(%rip), %rdi
	cmpl	$128, %eax
	je	LBB0_8
## %bb.3:
	popq	%rbp
	jmp	_ssl_socket_perror              ## TAILCALL
LBB0_4:
	testl	%edx, %edx
	js	LBB0_7
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdx
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_6:
	popq	%rbp
	retq
LBB0_7:
	movq	%rax, %rdi
LBB0_8:
	popq	%rbp
	jmp	_perror                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SSL_connect"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"%s: unexpected EOF\n"

	.no_dead_strip	_socket_perror
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function socket_perror
_socket_perror:                         ; @socket_perror
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
	ldr	x0, [x1]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x1, x2
	bl	_SSL_get_error
	cmp	w0, #129
	b.eq	LBB0_6
; %bb.2:
	cmp	w0, #128
	b.eq	LBB0_8
; %bb.3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_ssl_socket_perror
LBB0_4:
	tbnz	w2, #31, LBB0_7
; %bb.5:
Lloh2:
	adrp	x9, _stderr@GOTPAGE
Lloh3:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x9]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_fprintf
LBB0_6:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_perror
LBB0_8:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_perror
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SSL_connect"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"%s: unexpected EOF\n"

	.no_dead_strip	_socket_perror
.subsections_via_symbols
