	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_openssl_tmp_rsa_cb
_php_openssl_tmp_rsa_cb:                ## @php_openssl_tmp_rsa_cb
	.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
	cmpq	$0, _php_openssl_tmp_rsa_cb.rsa_tmp(%rip)
	je	LBB0_1
LBB0_11:
	movq	_php_openssl_tmp_rsa_cb.rsa_tmp(%rip), %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movl	%edx, %ebx
	xorl	%eax, %eax
	callq	_BN_new
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	cmpq	$0, _php_openssl_tmp_rsa_cb.rsa_tmp(%rip)
	jne	LBB0_11
## %bb.4:
	movq	%rax, %r14
	movq	_RSA_F4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_BN_set_word
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	xorl	%eax, %eax
	callq	_RSA_new
	movq	%rax, _php_openssl_tmp_rsa_cb.rsa_tmp(%rip)
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	%rax, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	callq	_RSA_generate_key_ex
	testl	%eax, %eax
	jne	LBB0_10
LBB0_7:
	movq	_php_openssl_tmp_rsa_cb.rsa_tmp(%rip), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_RSA_free
LBB0_9:
	movq	$0, _php_openssl_tmp_rsa_cb.rsa_tmp(%rip)
LBB0_10:
	movq	%r14, %rdi
	callq	_BN_free
	jmp	LBB0_11
LBB0_2:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%edi, %edi
	callq	_php_error_docref
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_php_openssl_tmp_rsa_cb.rsa_tmp,8,3 ## @php_openssl_tmp_rsa_cb.rsa_tmp
	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"allocation error generating RSA key"

	.comm	_RSA_F4,4,2                     ## @RSA_F4
	.no_dead_strip	_php_openssl_tmp_rsa_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_openssl_tmp_rsa_cb
_php_openssl_tmp_rsa_cb:                ; @php_openssl_tmp_rsa_cb
	.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
	adrp	x21, _php_openssl_tmp_rsa_cb.rsa_tmp@PAGE
	ldr	x8, [x21, _php_openssl_tmp_rsa_cb.rsa_tmp@PAGEOFF]
	cbz	x8, LBB0_2
LBB0_1:
	ldr	x0, [x21, _php_openssl_tmp_rsa_cb.rsa_tmp@PAGEOFF]
	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
LBB0_2:
	mov	x20, x2
	bl	_BN_new
	cbz	x0, LBB0_11
; %bb.3:
	ldr	x8, [x21, _php_openssl_tmp_rsa_cb.rsa_tmp@PAGEOFF]
	cbnz	x8, LBB0_1
; %bb.4:
	mov	x19, x0
Lloh0:
	adrp	x8, _RSA_F4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RSA_F4@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_BN_set_word
	cbz	w0, LBB0_7
; %bb.5:
	bl	_RSA_new
	str	x0, [x21, _php_openssl_tmp_rsa_cb.rsa_tmp@PAGEOFF]
	cbz	x0, LBB0_9
; %bb.6:
	mov	x1, x20
	mov	x2, x19
	mov	x3, #0
	bl	_RSA_generate_key_ex
	cbnz	w0, LBB0_10
LBB0_7:
	ldr	x0, [x21, _php_openssl_tmp_rsa_cb.rsa_tmp@PAGEOFF]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_RSA_free
LBB0_9:
	str	xzr, [x21, _php_openssl_tmp_rsa_cb.rsa_tmp@PAGEOFF]
LBB0_10:
	mov	x0, x19
	bl	_BN_free
	b	LBB0_1
LBB0_11:
Lloh3:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	bl	_php_error_docref
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_php_openssl_tmp_rsa_cb.rsa_tmp,8,3 ; @php_openssl_tmp_rsa_cb.rsa_tmp
	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"allocation error generating RSA key"

	.comm	_RSA_F4,4,2                     ; @RSA_F4
	.no_dead_strip	_php_openssl_tmp_rsa_cb
.subsections_via_symbols
