	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_dup_user_data               ## -- Begin function UI_dup_user_data
	.p2align	4, 0x90
_UI_dup_user_data:                      ## @UI_dup_user_data
	.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	8(%rdi), %rcx
	movq	(%rcx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpq	$0, 8(%rcx)
	je	LBB0_2
## %bb.4:
	movq	%rdi, %rbx
	callq	*%rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_UI_add_user_data
	movq	_UI_FLAG_DUPL_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_2:
	movq	_UI_F_UI_DUP_USER_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_UI_R_USER_DATA_DUPLICATION_UNSUPPORTED@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movq	_UI_F_UI_DUP_USER_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	callq	_UIerr
	movl	$-1, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UI_F_UI_DUP_USER_DATA,4,2      ## @UI_F_UI_DUP_USER_DATA
	.comm	_UI_R_USER_DATA_DUPLICATION_UNSUPPORTED,4,2 ## @UI_R_USER_DATA_DUPLICATION_UNSUPPORTED
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_UI_FLAG_DUPL_DATA,4,2          ## @UI_FLAG_DUPL_DATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_UI_dup_user_data               ; -- Begin function UI_dup_user_data
	.p2align	2
_UI_dup_user_data:                      ; @UI_dup_user_data
	.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
	ldr	x9, [x0, #8]
	ldr	x8, [x9]
	cbz	x8, LBB0_4
; %bb.1:
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_4
; %bb.2:
	mov	x19, x0
	blr	x8
	cbz	x0, LBB0_5
; %bb.3:
	mov	x1, x0
	mov	x0, x19
	bl	_UI_add_user_data
	mov	w0, #0
Lloh0:
	adrp	x8, _UI_FLAG_DUPL_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UI_FLAG_DUPL_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_7
LBB0_4:
Lloh3:
	adrp	x8, _UI_F_UI_DUP_USER_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UI_F_UI_DUP_USER_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _UI_R_USER_DATA_DUPLICATION_UNSUPPORTED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UI_R_USER_DATA_DUPLICATION_UNSUPPORTED@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _UI_F_UI_DUP_USER_DATA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _UI_F_UI_DUP_USER_DATA@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
LBB0_6:
	ldr	w1, [x8]
	bl	_UIerr
	mov	w0, #-1
LBB0_7:
	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 AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_UI_F_UI_DUP_USER_DATA,4,2      ; @UI_F_UI_DUP_USER_DATA
	.comm	_UI_R_USER_DATA_DUPLICATION_UNSUPPORTED,4,2 ; @UI_R_USER_DATA_DUPLICATION_UNSUPPORTED
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_UI_FLAG_DUPL_DATA,4,2          ; @UI_FLAG_DUPL_DATA
.subsections_via_symbols
