	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_CTX_get                     ## -- Begin function BN_CTX_get
	.p2align	4, 0x90
_BN_CTX_get:                            ## @BN_CTX_get
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_CTXDBG_ENTRY
	cmpq	$0, 16(%rbx)
	jne	LBB0_7
## %bb.2:
	cmpl	$0, (%rbx)
	je	LBB0_4
LBB0_7:
	xorl	%r14d, %r14d
LBB0_8:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	leaq	12(%rbx), %rdi
	movl	8(%rbx), %esi
	callq	_BN_POOL_get
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_BN_zero
	movq	_BN_FLG_CONSTTIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r14)
	incl	4(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_CTXDBG_RET
	jmp	LBB0_8
LBB0_6:
	movl	$1, (%rbx)
	movq	_BN_F_BN_CTX_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BN_R_TOO_MANY_TEMPORARY_VARIABLES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BNerr
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BN_CTX_get"

	.comm	_BN_F_BN_CTX_GET,4,2            ## @BN_F_BN_CTX_GET
	.comm	_BN_R_TOO_MANY_TEMPORARY_VARIABLES,4,2 ## @BN_R_TOO_MANY_TEMPORARY_VARIABLES
	.comm	_BN_FLG_CONSTTIME,4,2           ## @BN_FLG_CONSTTIME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_CTX_get                     ; -- Begin function BN_CTX_get
	.p2align	2
_BN_CTX_get:                            ; @BN_CTX_get
	.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	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_CTXDBG_ENTRY
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	cbz	w8, LBB0_4
LBB0_2:
	mov	x20, #0
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	add	x0, x19, #12
	ldr	w1, [x19, #8]
	bl	_BN_POOL_get
	mov	x20, x0
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_BN_zero
Lloh2:
	adrp	x8, _BN_FLG_CONSTTIME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BN_FLG_CONSTTIME@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
	mov	x0, x19
	mov	x1, x20
	bl	_CTXDBG_RET
	b	LBB0_3
LBB0_6:
	mov	w8, #1
	str	w8, [x19]
Lloh5:
	adrp	x8, _BN_F_BN_CTX_GET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BN_F_BN_CTX_GET@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _BN_R_TOO_MANY_TEMPORARY_VARIABLES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BN_R_TOO_MANY_TEMPORARY_VARIABLES@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_BNerr
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BN_CTX_get"

	.comm	_BN_F_BN_CTX_GET,4,2            ; @BN_F_BN_CTX_GET
	.comm	_BN_R_TOO_MANY_TEMPORARY_VARIABLES,4,2 ; @BN_R_TOO_MANY_TEMPORARY_VARIABLES
	.comm	_BN_FLG_CONSTTIME,4,2           ; @BN_FLG_CONSTTIME
.subsections_via_symbols
