	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_free                        ## -- Begin function BN_free
	.p2align	4, 0x90
_BN_free:                               ## @BN_free
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.2:
	movq	_BN_FLG_STATIC_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_BN_get_flags
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	8(%rbx), %rdi
	callq	_free
LBB0_4:
	movq	_BN_FLG_FREE@GOTPCREL(%rip), %rax
	movl	(%rbx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_BN_FLG_MALLOCED@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BN_FLG_STATIC_DATA,4,2         ## @BN_FLG_STATIC_DATA
	.comm	_BN_FLG_FREE,4,2                ## @BN_FLG_FREE
	.comm	_BN_FLG_MALLOCED,4,2            ## @BN_FLG_MALLOCED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_free                        ; -- Begin function BN_free
	.p2align	2
_BN_free:                               ; @BN_free
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _BN_FLG_STATIC_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BN_FLG_STATIC_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_BN_get_flags
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	x0, [x19, #8]
	bl	_free
LBB0_4:
Lloh3:
	adrp	x8, _BN_FLG_FREE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BN_FLG_FREE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh6:
	adrp	x9, _BN_FLG_MALLOCED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BN_FLG_MALLOCED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BN_FLG_STATIC_DATA,4,2         ; @BN_FLG_STATIC_DATA
	.comm	_BN_FLG_FREE,4,2                ; @BN_FLG_FREE
	.comm	_BN_FLG_MALLOCED,4,2            ; @BN_FLG_MALLOCED
.subsections_via_symbols
