	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	$1, %edi
	callq	_CRYPTO_set_mem_debug
LBB0_3:
	movq	_CRYPTO_MEM_CHECK_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRYPTO_mem_ctrl
	movl	$3, %edi
	callq	_OPENSSL_malloc
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_OPENSSL_free
	xorl	%r15d, %r15d
LBB0_7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRYPTO_mem_leaks_fp
	movl	%eax, %ebx
	movl	%eax, %edi
	movl	$-1, %esi
	callq	_TEST_int_ne
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	xorl	%esi, %esi
	testl	%ebx, %ebx
	sete	%sil
	callq	_TEST_int_eq
	testq	%rax, %rax
	jne	LBB0_9
LBB0_10:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OPENSSL_DEBUG_MEMORY"

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

	.comm	_CRYPTO_MEM_CHECK_ON,4,2        ## @CRYPTO_MEM_CHECK_ON
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
L_.str.2:                               ## @.str.2
	.asciz	"freeit"

	.comm	_stderr,4,2                     ## @stderr
	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_3
; %bb.2:
	mov	w0, #1
	bl	_CRYPTO_set_mem_debug
LBB0_3:
Lloh4:
	adrp	x8, _CRYPTO_MEM_CHECK_ON@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CRYPTO_MEM_CHECK_ON@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_CRYPTO_mem_ctrl
	mov	w0, #3
	bl	_OPENSSL_malloc
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_9
; %bb.4:
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_7
; %bb.5:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_OPENSSL_free
	mov	x19, #0
LBB0_7:
Lloh9:
	adrp	x8, _stderr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_CRYPTO_mem_leaks_fp
	mov	x20, x0
	mov	w1, #-1
	bl	_TEST_int_ne
	cbz	w0, LBB0_9
; %bb.8:
	cmp	x19, #0
	cset	w0, ne
	cmp	w20, #0
	cset	w1, eq
	bl	_TEST_int_eq
Lloh12:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
Lloh14:
	adrp	x9, _EXIT_FAILURE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _EXIT_FAILURE@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	b	LBB0_10
LBB0_9:
Lloh16:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OPENSSL_DEBUG_MEMORY"

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

	.comm	_CRYPTO_MEM_CHECK_ON,4,2        ; @CRYPTO_MEM_CHECK_ON
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
l_.str.2:                               ; @.str.2
	.asciz	"freeit"

	.comm	_stderr,4,2                     ; @stderr
	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
.subsections_via_symbols
