	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_foreign_rel_properties
_set_foreign_rel_properties:            ## @set_foreign_rel_properties
	.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
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rdi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	(%r15), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_13
## %bb.2:
	movq	8(%r15), %rdi
	cmpq	8(%rbx), %rdi
	jne	LBB0_5
## %bb.3:
	movq	%rax, (%r14)
	movq	%rdi, 8(%r14)
	movl	$1, %eax
	cmpl	$0, 16(%rbx)
	jne	LBB0_12
## %bb.4:
	xorl	%eax, %eax
	cmpl	$0, 16(%r15)
	setne	%al
	jmp	LBB0_12
LBB0_5:
	callq	_OidIsValid
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	8(%rbx), %r12
	xorl	%eax, %eax
	callq	_GetUserId
	cmpq	%rax, %r12
	jne	LBB0_8
## %bb.7:
	movups	(%rbx), %xmm0
	movups	%xmm0, (%r14)
	jmp	LBB0_11
LBB0_8:
	movq	8(%rbx), %rdi
	callq	_OidIsValid
	testq	%rax, %rax
	jne	LBB0_13
## %bb.9:
	movq	8(%r15), %r12
	xorl	%eax, %eax
	callq	_GetUserId
	cmpq	%rax, %r12
	jne	LBB0_13
## %bb.10:
	movq	(%rbx), %rax
	movq	%rax, (%r14)
	movq	8(%r15), %rax
	movq	%rax, 8(%r14)
LBB0_11:
	movl	$1, %eax
LBB0_12:
	movl	%eax, 16(%r14)
	movl	20(%rbx), %eax
	movl	%eax, 20(%r14)
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_set_foreign_rel_properties
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_foreign_rel_properties
_set_foreign_rel_properties:            ; @set_foreign_rel_properties
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x1]
	bl	_OidIsValid
	cbz	x0, LBB0_13
; %bb.1:
	ldr	x8, [x21]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.2:
	ldr	x0, [x21, #8]
	ldr	x9, [x20, #8]
	cmp	x0, x9
	b.ne	LBB0_5
; %bb.3:
	stp	x8, x0, [x19]
	ldr	w8, [x20, #16]
	cbnz	w8, LBB0_11
; %bb.4:
	ldr	w8, [x21, #16]
	cmp	w8, #0
	cset	w8, ne
	b	LBB0_12
LBB0_5:
	bl	_OidIsValid
	cbnz	x0, LBB0_8
; %bb.6:
	ldr	x22, [x20, #8]
	bl	_GetUserId
	cmp	x22, x0
	b.ne	LBB0_8
; %bb.7:
	ldr	q0, [x20]
	str	q0, [x19]
	b	LBB0_11
LBB0_8:
	ldr	x0, [x20, #8]
	bl	_OidIsValid
	cbnz	x0, LBB0_13
; %bb.9:
	ldr	x22, [x21, #8]
	bl	_GetUserId
	cmp	x22, x0
	b.ne	LBB0_13
; %bb.10:
	ldr	x8, [x20]
	ldr	x9, [x21, #8]
	stp	x8, x9, [x19]
LBB0_11:
	mov	w8, #1
LBB0_12:
	ldr	w9, [x20, #20]
	stp	w8, w9, [x19, #16]
LBB0_13:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_set_foreign_rel_properties
.subsections_via_symbols
