	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_dup_error_string            ## -- Begin function UI_dup_error_string
	.p2align	4, 0x90
_UI_dup_error_string:                   ## @UI_dup_error_string
	.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
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.3:
	movq	%rsi, %rdi
	callq	_OPENSSL_strdup
	movq	%rax, %rsi
	testq	%rax, %rax
	jne	LBB0_2
## %bb.4:
	movq	_UI_F_UI_DUP_ERROR_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_UIerr
	movl	$-1, %eax
	addq	$8, %rsp
	jmp	LBB0_5
LBB0_1:
	xorl	%esi, %esi
LBB0_2:
	movq	_UIT_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	subq	$8, %rsp
	movq	%rbx, %rdi
	movl	$1, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_general_allocate_string
	addq	$40, %rsp
LBB0_5:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UI_F_UI_DUP_ERROR_STRING,4,2   ## @UI_F_UI_DUP_ERROR_STRING
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_UIT_ERROR,4,2                  ## @UIT_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_dup_error_string            ; -- Begin function UI_dup_error_string
	.p2align	2
_UI_dup_error_string:                   ; @UI_dup_error_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	cbz	x1, LBB0_2
; %bb.1:
	mov	x0, x1
	bl	_OPENSSL_strdup
	mov	x1, x0
	cbz	x0, LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _UIT_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UIT_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	str	xzr, [sp]
	mov	x0, x19
	mov	w2, #1
	mov	w4, #0
	mov	x5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_general_allocate_string
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _UI_F_UI_DUP_ERROR_STRING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UI_F_UI_DUP_ERROR_STRING@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
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_UI_F_UI_DUP_ERROR_STRING,4,2   ; @UI_F_UI_DUP_ERROR_STRING
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_UIT_ERROR,4,2                  ; @UIT_ERROR
.subsections_via_symbols
