	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function BN_STACK_push
_BN_STACK_push:                         ## @BN_STACK_push
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	4(%rdi), %eax
	jne	LBB0_1
## %bb.2:
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leal	(%rax,%rax,2), %eax
	movl	%eax, %r12d
	shrl	$31, %r12d
	addl	%eax, %r12d
	sarl	%r12d
	jmp	LBB0_5
LBB0_1:
	movq	8(%rbx), %r15
	jmp	LBB0_9
LBB0_4:
	movq	_BN_CTX_START_FRAMES@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_5:
	leal	(,%r12,4), %edi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	%rax, %r15
	movl	(%rbx), %edx
	testl	%edx, %edx
	je	LBB0_8
## %bb.7:
	movq	8(%rbx), %rsi
	shll	$2, %edx
	movq	%r15, %rdi
	callq	_memcpy
LBB0_8:
	movq	8(%rbx), %rdi
	callq	_OPENSSL_free
	movq	%r15, 8(%rbx)
	movl	%r12d, 4(%rbx)
	movl	(%rbx), %eax
LBB0_9:
	leal	1(%rax), %ecx
	movl	%ecx, (%rbx)
	cltq
	movl	%r14d, (%r15,%rax,4)
	movl	$1, %eax
	jmp	LBB0_10
LBB0_11:
	movq	_BN_F_BN_STACK_PUSH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_BNerr
	xorl	%eax, %eax
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BN_CTX_START_FRAMES,4,2        ## @BN_CTX_START_FRAMES
	.comm	_BN_F_BN_STACK_PUSH,4,2         ## @BN_F_BN_STACK_PUSH
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_BN_STACK_push
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function BN_STACK_push
_BN_STACK_push:                         ; @BN_STACK_push
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldp	w8, w9, [x0]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.1:
	cbz	w8, LBB0_4
; %bb.2:
	add	w8, w8, w8, lsl #1
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w22, w8, #1
	b	LBB0_5
LBB0_3:
	ldr	x21, [x20, #8]
	b	LBB0_9
LBB0_4:
Lloh0:
	adrp	x8, _BN_CTX_START_FRAMES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BN_CTX_START_FRAMES@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
LBB0_5:
	lsl	w0, w22, #2
	bl	_OPENSSL_malloc
	cbz	x0, LBB0_10
; %bb.6:
	mov	x21, x0
	ldr	w8, [x20]
	cbz	w8, LBB0_8
; %bb.7:
	ldr	x1, [x20, #8]
	lsl	w2, w8, #2
	mov	x0, x21
	bl	_memcpy
LBB0_8:
	ldr	x0, [x20, #8]
	bl	_OPENSSL_free
	str	x21, [x20, #8]
	str	w22, [x20, #4]
	ldr	w8, [x20]
LBB0_9:
	add	w9, w8, #1
	str	w9, [x20]
	str	w19, [x21, w8, sxtw #2]
	mov	w0, #1
	b	LBB0_11
LBB0_10:
Lloh3:
	adrp	x8, _BN_F_BN_STACK_PUSH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BN_F_BN_STACK_PUSH@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_BNerr
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 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_CTX_START_FRAMES,4,2        ; @BN_CTX_START_FRAMES
	.comm	_BN_F_BN_STACK_PUSH,4,2         ; @BN_F_BN_STACK_PUSH
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_BN_STACK_push
.subsections_via_symbols
