	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_bio_nonclear_rst
_test_bio_nonclear_rst:                 ## @test_bio_nonclear_rst
	.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	$24, %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)
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BIO_s_mem
	movl	%eax, %edi
	callq	_BIO_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_BIO_puts
	movl	%eax, %edi
	movl	$12, %esi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	movq	_BIO_FLAGS_NONCLEAR_RST@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_BIO_set_flags
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_BIO_read
	movl	%eax, %edi
	movl	$12, %esi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_9
## %bb.3:
	leaq	L_.str(%rip), %rdx
	leaq	-48(%rbp), %rdi
	movl	$12, %esi
	movl	$12, %ecx
	callq	_TEST_mem_eq
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:
	movq	%rbx, %rdi
	callq	_BIO_reset
	xorl	%r14d, %r14d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_gt
	testl	%eax, %eax
	je	LBB0_9
## %bb.5:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_BIO_read
	movl	%eax, %edi
	movl	$12, %esi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	leaq	L_.str(%rip), %rdx
	leaq	-48(%rbp), %rdi
	movl	$12, %esi
	movl	$12, %ecx
	callq	_TEST_mem_eq
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_BIO_clear_flags
	movq	%rbx, %rdi
	callq	_BIO_reset
	xorl	%r14d, %r14d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_gt
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$16, %edx
	callq	_BIO_read
	movl	%eax, %edi
	movl	$1, %esi
	callq	_TEST_int_lt
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
LBB0_9:
	movq	%rbx, %rdi
	callq	_BIO_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Hello World\n"

	.comm	_BIO_FLAGS_NONCLEAR_RST,4,2     ## @BIO_FLAGS_NONCLEAR_RST
	.no_dead_strip	_test_bio_nonclear_rst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_bio_nonclear_rst
_test_bio_nonclear_rst:                 ; @test_bio_nonclear_rst
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	bl	_BIO_s_mem
	bl	_BIO_new
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_9
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_BIO_puts
	mov	w1, #12
	bl	_TEST_int_eq
	cbz	w0, LBB0_9
; %bb.2:
Lloh5:
	adrp	x20, _BIO_FLAGS_NONCLEAR_RST@GOTPAGE
Lloh6:
	ldr	x20, [x20, _BIO_FLAGS_NONCLEAR_RST@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_BIO_set_flags
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #16
	bl	_BIO_read
	mov	w1, #12
	bl	_TEST_int_eq
	cbz	w0, LBB0_9
; %bb.3:
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #12
	mov	w3, #12
	bl	_TEST_mem_eq
	cbz	w0, LBB0_9
; %bb.4:
	mov	x0, x19
	bl	_BIO_reset
	mov	w1, #0
	bl	_TEST_int_gt
	cbz	w0, LBB0_9
; %bb.5:
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #16
	bl	_BIO_read
	mov	w1, #12
	bl	_TEST_int_eq
	cbz	w0, LBB0_9
; %bb.6:
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #12
	mov	w3, #12
	bl	_TEST_mem_eq
	cbz	w0, LBB0_9
; %bb.7:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_BIO_clear_flags
	mov	x0, x19
	bl	_BIO_reset
	mov	w1, #0
	bl	_TEST_int_gt
	cbz	w0, LBB0_9
; %bb.8:
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #16
	bl	_BIO_read
	mov	w1, #1
	bl	_TEST_int_lt
	cmp	w0, #0
	cset	w20, ne
	b	LBB0_10
LBB0_9:
	mov	w20, #0
LBB0_10:
	mov	x0, x19
	bl	_BIO_free
	ldr	x8, [sp, #24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Hello World\n"

	.comm	_BIO_FLAGS_NONCLEAR_RST,4,2     ; @BIO_FLAGS_NONCLEAR_RST
	.no_dead_strip	_test_bio_nonclear_rst
.subsections_via_symbols
