	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_fatalerr
_test_fatalerr:                         ## @test_fatalerr
	.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	%rbx
	subq	$136, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	$0, -152(%rbp)
	movq	$0, -144(%rbp)
	movq	$0, -136(%rbp)
	movq	$0, -160(%rbp)
	movabsq	$7887285110675014423, %rax      ## imm = 0x6D75440500030317
	movq	%rax, -128(%rbp)
	movw	$31085, -120(%rbp)              ## imm = 0x796D
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_TLS_method
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_TLS_method
	movq	_TLS1_VERSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_cert@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	_privkey@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	leaq	-152(%rbp), %r8
	leaq	-144(%rbp), %r9
	movl	%r14d, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	pushq	%rbx
	pushq	%r10
	callq	_create_ssl_ctx_pair
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_13
## %bb.1:
	movq	-152(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_SSL_CTX_set_cipher_list
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_13
## %bb.2:
	movq	-144(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_SSL_CTX_set_cipher_list
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_13
## %bb.3:
	movq	-152(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_SSL_CTX_set_ciphersuites
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_13
## %bb.4:
	movq	-144(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_SSL_CTX_set_ciphersuites
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_13
## %bb.5:
	movq	-152(%rbp), %rdi
	movq	-144(%rbp), %rsi
	xorl	%r15d, %r15d
	leaq	-136(%rbp), %rdx
	leaq	-160(%rbp), %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_create_ssl_objects
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_13
## %bb.6:
	movq	-160(%rbp), %rdi
	callq	_SSL_get_wbio
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	-136(%rbp), %rdi
	movq	-160(%rbp), %rsi
	movq	_SSL_ERROR_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_create_ssl_connection
	movl	%eax, %edi
	callq	_TEST_false
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_ERR_clear_error
	leaq	-128(%rbp), %rsi
	movq	%r14, %rdi
	movl	$10, %edx
	callq	_BIO_write
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_gt
	testl	%eax, %eax
	je	LBB0_13
## %bb.10:
	movq	-136(%rbp), %rdi
	leaq	-112(%rbp), %rsi
	movl	$79, %edx
	callq	_SSL_read
	movl	%eax, %r14d
	xorl	%r15d, %r15d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_le
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	movq	-136(%rbp), %rbx
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_SSL_write
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_le
	xorl	%r15d, %r15d
	testl	%eax, %eax
	setne	%r15b
	jmp	LBB0_13
LBB0_7:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_13:
	movq	-136(%rbp), %rdi
	callq	_SSL_free
	movq	-160(%rbp), %rdi
	callq	_SSL_free
	movq	-152(%rbp), %rdi
	callq	_SSL_CTX_free
	movq	-144(%rbp), %rdi
	callq	_SSL_CTX_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	movl	%r15d, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movslq	%r14d, %rax
	movb	$0, -112(%rbp,%rax)
	leaq	L_.str.6(%rip), %rdi
	leaq	-112(%rbp), %rsi
	callq	_TEST_error
	jmp	LBB0_13
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Dummy"

	.section	__TEXT,__const
l___const.test_fatalerr.dummyrec:       ## @__const.test_fatalerr.dummyrec
	.ascii	"\027\003\003\000\005Dummy"

	.comm	_TLS1_VERSION,4,2               ## @TLS1_VERSION
	.comm	_cert,4,2                       ## @cert
	.comm	_privkey,4,2                    ## @privkey
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"AES128-SHA"

L_.str.2:                               ## @.str.2
	.asciz	"AES256-SHA"

L_.str.3:                               ## @.str.3
	.asciz	"TLS_AES_128_GCM_SHA256"

L_.str.4:                               ## @.str.4
	.asciz	"TLS_AES_256_GCM_SHA384"

	.comm	_SSL_ERROR_NONE,4,2             ## @SSL_ERROR_NONE
L_.str.6:                               ## @.str.6
	.asciz	"Unexpected success reading data: %s\n"

L_str:                                  ## @str
	.asciz	"Unexpected NULL bio received"

	.no_dead_strip	_test_fatalerr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_fatalerr
_test_fatalerr:                         ; @test_fatalerr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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]
	stp	xzr, xzr, [sp, #24]
	stp	xzr, xzr, [sp, #8]
Lloh3:
	adrp	x8, l___const.test_fatalerr.dummyrec@PAGE
Lloh4:
	add	x8, x8, l___const.test_fatalerr.dummyrec@PAGEOFF
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	mov	w8, #31085
	strh	w8, [sp, #48]
	bl	_TLS_method
	mov	x19, x0
	bl	_TLS_method
	mov	x1, x0
Lloh6:
	adrp	x8, _TLS1_VERSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TLS1_VERSION@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _cert@GOTPAGE
Lloh10:
	ldr	x8, [x8, _cert@GOTPAGEOFF]
Lloh11:
	ldr	w6, [x8]
Lloh12:
	adrp	x8, _privkey@GOTPAGE
Lloh13:
	ldr	x8, [x8, _privkey@GOTPAGEOFF]
Lloh14:
	ldr	w7, [x8]
	add	x4, sp, #32
	add	x5, sp, #24
	mov	x0, x19
	mov	w3, #0
	bl	_create_ssl_ctx_pair
	bl	_TEST_true
	cbz	w0, LBB0_12
; %bb.1:
	ldr	x0, [sp, #32]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_SSL_CTX_set_cipher_list
	bl	_TEST_true
	cbz	w0, LBB0_12
; %bb.2:
	ldr	x0, [sp, #24]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_SSL_CTX_set_cipher_list
	bl	_TEST_true
	cbz	w0, LBB0_12
; %bb.3:
	ldr	x0, [sp, #32]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_SSL_CTX_set_ciphersuites
	bl	_TEST_true
	cbz	w0, LBB0_12
; %bb.4:
	ldr	x0, [sp, #24]
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_SSL_CTX_set_ciphersuites
	bl	_TEST_true
	cbz	w0, LBB0_12
; %bb.5:
	ldp	x1, x0, [sp, #24]
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x4, #0
	mov	x5, #0
	bl	_create_ssl_objects
	bl	_TEST_true
	cbz	w0, LBB0_12
; %bb.6:
	ldr	x0, [sp, #8]
	bl	_SSL_get_wbio
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_11
; %bb.7:
	ldp	x1, x0, [sp, #8]
Lloh23:
	adrp	x8, _SSL_ERROR_NONE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SSL_ERROR_NONE@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	bl	_create_ssl_connection
	bl	_TEST_false
	cbz	w0, LBB0_12
; %bb.8:
	bl	_ERR_clear_error
	add	x1, sp, #40
	mov	x0, x19
	mov	w2, #10
	bl	_BIO_write
	mov	w1, #0
	bl	_TEST_int_gt
	cbz	w0, LBB0_12
; %bb.9:
	ldr	x0, [sp, #16]
	add	x20, sp, #56
	add	x1, sp, #56
	mov	w2, #79
	bl	_SSL_read
	mov	x19, x0
	mov	w1, #0
	bl	_TEST_int_le
	cbz	w0, LBB0_15
; %bb.10:
	ldr	x19, [sp, #16]
Lloh26:
	adrp	x20, l_.str@PAGE
Lloh27:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_SSL_write
	mov	w1, #0
	bl	_TEST_int_le
	cmp	w0, #0
	cset	w19, ne
	b	LBB0_13
LBB0_11:
Lloh28:
	adrp	x0, l_str@PAGE
Lloh29:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_12:
	mov	w19, #0
LBB0_13:
	ldr	x0, [sp, #16]
	bl	_SSL_free
	ldr	x0, [sp, #8]
	bl	_SSL_free
	ldr	x0, [sp, #32]
	bl	_SSL_CTX_free
	ldr	x0, [sp, #24]
	bl	_SSL_CTX_free
	ldur	x8, [x29, #-24]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.14:
	mov	x0, x19
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_15:
	strb	wzr, [x20, w19, sxtw]
Lloh33:
	adrp	x0, l_.str.6@PAGE
Lloh34:
	add	x0, x0, l_.str.6@PAGEOFF
	add	x1, sp, #56
	bl	_TEST_error
	b	LBB0_12
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dummy"

	.section	__TEXT,__const
l___const.test_fatalerr.dummyrec:       ; @__const.test_fatalerr.dummyrec
	.ascii	"\027\003\003\000\005Dummy"

	.comm	_TLS1_VERSION,4,2               ; @TLS1_VERSION
	.comm	_cert,4,2                       ; @cert
	.comm	_privkey,4,2                    ; @privkey
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"AES128-SHA"

l_.str.2:                               ; @.str.2
	.asciz	"AES256-SHA"

l_.str.3:                               ; @.str.3
	.asciz	"TLS_AES_128_GCM_SHA256"

l_.str.4:                               ; @.str.4
	.asciz	"TLS_AES_256_GCM_SHA384"

	.comm	_SSL_ERROR_NONE,4,2             ; @SSL_ERROR_NONE
l_.str.6:                               ; @.str.6
	.asciz	"Unexpected success reading data: %s\n"

l_str:                                  ; @str
	.asciz	"Unexpected NULL bio received"

	.no_dead_strip	_test_fatalerr
.subsections_via_symbols
