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

L_.str.1:                               ## @.str.1
	.asciz	"Hello"

L_.str.2:                               ## @.str.2
	.asciz	"test"

L_.str.3:                               ## @.str.3
	.asciz	" World\n"

	.no_dead_strip	_test_bio_new_mem_buf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_bio_new_mem_buf
_test_bio_new_mem_buf:                  ; @test_bio_new_mem_buf
	.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]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #12
	bl	_BIO_new_mem_buf
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_10
; %bb.1:
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #5
	bl	_BIO_read
	mov	w1, #5
	bl	_TEST_int_eq
	cbz	w0, LBB0_10
; %bb.2:
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	w1, #5
	mov	w3, #5
	bl	_TEST_mem_eq
	cbz	w0, LBB0_10
; %bb.3:
	mov	x1, sp
	mov	x0, x19
	bl	_BIO_get_mem_ptr
	mov	w1, #0
	bl	_TEST_int_gt
	cbz	w0, LBB0_10
; %bb.4:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #4
	bl	_BIO_write
	mov	w1, #0
	bl	_TEST_int_lt
	cbz	w0, LBB0_10
; %bb.5:
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #16
	bl	_BIO_read
	mov	w1, #7
	bl	_TEST_int_eq
	cbz	w0, LBB0_10
; %bb.6:
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	add	x0, sp, #8
	mov	w1, #7
	mov	w3, #7
	bl	_TEST_mem_eq
	cbz	w0, LBB0_10
; %bb.7:
	mov	x0, x19
	bl	_BIO_reset
	mov	w1, #0
	bl	_TEST_int_gt
	cbz	w0, LBB0_10
; %bb.8:
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #16
	bl	_BIO_read
	mov	w1, #12
	bl	_TEST_int_eq
	cbz	w0, LBB0_10
; %bb.9:
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #12
	mov	w3, #12
	bl	_TEST_mem_eq
	cmp	w0, #0
	cset	w20, ne
	b	LBB0_11
LBB0_10:
	mov	w20, #0
LBB0_11:
	mov	x0, x19
	bl	_BIO_free
	ldr	x8, [sp, #24]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	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_13:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Hello World\n"

l_.str.1:                               ; @.str.1
	.asciz	"Hello"

l_.str.2:                               ; @.str.2
	.asciz	"test"

l_.str.3:                               ; @.str.3
	.asciz	" World\n"

	.no_dead_strip	_test_bio_new_mem_buf
.subsections_via_symbols
