	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_new_method                  ## -- Begin function UI_new_method
	.p2align	4, 0x90
_UI_new_method:                         ## @UI_new_method
	.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, %r14
	movl	$24, %edi
	callq	_OPENSSL_zalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_CRYPTO_THREAD_lock_new
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	testq	%r14, %r14
	jne	LBB0_7
## %bb.5:
	xorl	%eax, %eax
	callq	_UI_get_default_method
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_UI_null
	movq	%rax, %r14
LBB0_7:
	movq	%r14, 8(%rbx)
	movq	_CRYPTO_EX_INDEX_UI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	movq	%rbx, %rdx
	callq	_CRYPTO_new_ex_data
	testl	%eax, %eax
	jne	LBB0_10
	jmp	LBB0_8
LBB0_1:
	movq	_UI_F_UI_NEW_METHOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_UIerr
	jmp	LBB0_9
LBB0_3:
	movq	_UI_F_UI_NEW_METHOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_UIerr
LBB0_8:
	movq	%rbx, %rdi
	callq	_OPENSSL_free
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UI_F_UI_NEW_METHOD,4,2         ## @UI_F_UI_NEW_METHOD
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_CRYPTO_EX_INDEX_UI,4,2         ## @CRYPTO_EX_INDEX_UI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_new_method                  ; -- Begin function UI_new_method
	.p2align	2
_UI_new_method:                         ; @UI_new_method
	.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, x0
	mov	w0, #24
	bl	_OPENSSL_zalloc
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.1:
	bl	_CRYPTO_THREAD_lock_new
	str	x0, [x19, #16]
	cbz	x0, LBB0_7
; %bb.2:
	cbnz	x20, LBB0_5
; %bb.3:
	bl	_UI_get_default_method
	mov	x20, x0
	cbnz	x0, LBB0_5
; %bb.4:
	bl	_UI_null
	mov	x20, x0
LBB0_5:
	str	x20, [x19, #8]
Lloh0:
	adrp	x8, _CRYPTO_EX_INDEX_UI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRYPTO_EX_INDEX_UI@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	mov	x2, x19
	bl	_CRYPTO_new_ex_data
	cbnz	w0, LBB0_9
	b	LBB0_8
LBB0_6:
Lloh3:
	adrp	x8, _UI_F_UI_NEW_METHOD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UI_F_UI_NEW_METHOD@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	_UIerr
	b	LBB0_9
LBB0_7:
Lloh9:
	adrp	x8, _UI_F_UI_NEW_METHOD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _UI_F_UI_NEW_METHOD@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_UIerr
LBB0_8:
	mov	x0, x19
	bl	_OPENSSL_free
	mov	x19, #0
LBB0_9:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_UI_F_UI_NEW_METHOD,4,2         ; @UI_F_UI_NEW_METHOD
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_CRYPTO_EX_INDEX_UI,4,2         ; @CRYPTO_EX_INDEX_UI
.subsections_via_symbols
