	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adjust_message_values          ## -- Begin function adjust_message_values
	.p2align	4, 0x90
_adjust_message_values:                 ## @adjust_message_values
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r14d
	movl	%edi, %ebx
	callq	_conv_uid
	testl	%r14d, %r14d
	jle	LBB0_8
## %bb.1:
	testq	%rax, %rax
	js	LBB0_8
## %bb.2:
	movl	4(%r12), %eax
	movl	%eax, %ecx
	notl	%ecx
	xorl	%edi, %edi
	testl	%ecx, (%r12)
	jne	LBB0_4
## %bb.3:
	movq	_write_extra_mask@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	xorl	%edi, %edi
	testl	%ecx, %eax
	sete	%dil
LBB0_4:
	callq	_assert
	movq	_read_extra_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r12)
	je	LBB0_24
## %bb.5:
	movl	%ebx, %edi
	callq	_get_user
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	%rax, %r15
	cmpl	%r14d, (%rax)
	jl	LBB0_12
## %bb.7:
	movq	24(%r15), %r13
	jmp	LBB0_14
LBB0_8:
	movq	%r12, %rdi
	callq	_free_value_data
LBB0_9:
	movl	$-1, %eax
	jmp	LBB0_26
LBB0_10:
	movl	%ebx, %edi
	callq	_lookup_user_directory
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	%rax, %r13
	cmpl	%r14d, (%rax)
	jge	LBB0_13
LBB0_12:
	movq	%r12, %rdi
	callq	_free_value_data
	xorl	%eax, %eax
	jmp	LBB0_26
LBB0_13:
	movl	%ebx, %edi
	callq	_get_user_f
	movq	%rax, %r15
LBB0_14:
	movq	_read_extra_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %eax
	notl	%eax
	testl	%eax, 4(%r12)
	je	LBB0_16
## %bb.15:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_convert_value_data
	movq	%rax, %r12
LBB0_16:
	testq	%r13, %r13
	je	LBB0_19
## %bb.17:
	cmpl	%r14d, (%r13)
	jl	LBB0_19
## %bb.18:
	movq	%r15, %rdi
	callq	_get_user_metafile
	testq	%rax, %rax
	je	LBB0_20
LBB0_19:
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_adjust_message_values_internal ## TAILCALL
LBB0_20:
	movq	16(%r15), %rdi
	movl	%r14d, %esi
	callq	_tree_lookup
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	xorl	%edi, %edi
	callq	_assert
	jmp	LBB0_9
LBB0_22:
	movq	8(%r15), %rdi
	movl	%r14d, %esi
	callq	_tree_lookup
	testq	%rax, %rax
	je	LBB0_27
## %bb.23:
	movq	%rax, %rbx
	movq	8(%rax), %rdi
	movq	%r12, %rsi
	movl	$-1, %edx
	movl	$1, %ecx
	callq	_merge_delayed_values
	movq	%rax, 8(%rbx)
LBB0_24:
	movq	%r12, %rdi
	callq	_free_value_data
LBB0_25:
	movl	$3, %eax
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_27:
	movq	8(%r15), %rbx
	xorl	%eax, %eax
	callq	_lrand48
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	movq	%r12, %rcx
	callq	_tree_insert
	movq	%rax, 8(%r15)
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_write_extra_mask,4,2           ## @write_extra_mask
	.comm	_read_extra_mask,4,2            ## @read_extra_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adjust_message_values          ; -- Begin function adjust_message_values
	.p2align	2
_adjust_message_values:                 ; @adjust_message_values
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	bl	_conv_uid
	cmp	w20, #1
	b.lt	LBB0_4
; %bb.1:
	tbnz	x0, #63, LBB0_4
; %bb.2:
	ldp	w9, w8, [x19]
	bics	wzr, w9, w8
	b.eq	LBB0_6
; %bb.3:
	mov	w0, #0
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_free_value_data
LBB0_5:
	mov	w0, #-1
	b	LBB0_27
LBB0_6:
Lloh0:
	adrp	x9, _write_extra_mask@GOTPAGE
Lloh1:
	ldr	x9, [x9, _write_extra_mask@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	bics	wzr, w8, w9
	cset	w0, eq
LBB0_7:
	bl	_assert
	ldr	w8, [x19, #4]
Lloh3:
	adrp	x24, _read_extra_mask@GOTPAGE
Lloh4:
	ldr	x24, [x24, _read_extra_mask@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.8:
	mov	x0, x22
	bl	_get_user
	cbz	x0, LBB0_11
; %bb.9:
	mov	x21, x0
	ldr	w8, [x0]
	cmp	w8, w20
	b.lt	LBB0_13
; %bb.10:
	ldr	x23, [x21, #24]
	b	LBB0_15
LBB0_11:
	mov	x0, x22
	bl	_lookup_user_directory
	cbz	x0, LBB0_13
; %bb.12:
	mov	x23, x0
	ldr	w8, [x0]
	cmp	w8, w20
	b.ge	LBB0_14
LBB0_13:
	mov	x0, x19
	bl	_free_value_data
	mov	w0, #0
	b	LBB0_27
LBB0_14:
	mov	x0, x22
	bl	_get_user_f
	mov	x21, x0
LBB0_15:
	ldr	w8, [x19, #4]
	ldr	w2, [x24]
	bics	wzr, w8, w2
	b.eq	LBB0_17
; %bb.16:
	mov	x0, x19
	mov	w1, #0
	bl	_convert_value_data
	mov	x19, x0
LBB0_17:
	cbz	x23, LBB0_20
; %bb.18:
	ldr	w8, [x23]
	cmp	w8, w20
	b.lt	LBB0_20
; %bb.19:
	mov	x0, x21
	bl	_get_user_metafile
	cbz	x0, LBB0_21
LBB0_20:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_adjust_message_values_internal
LBB0_21:
	ldr	x0, [x21, #16]
	mov	x1, x20
	bl	_tree_lookup
	cbz	x0, LBB0_23
; %bb.22:
	mov	w0, #0
	bl	_assert
	b	LBB0_5
LBB0_23:
	ldr	x0, [x21, #8]
	mov	x1, x20
	bl	_tree_lookup
	cbz	x0, LBB0_28
; %bb.24:
	mov	x22, x0
	ldr	x0, [x0, #8]
	mov	x1, x19
	mov	w2, #-1
	mov	w3, #1
	bl	_merge_delayed_values
	str	x0, [x22, #8]
LBB0_25:
	mov	x0, x19
	bl	_free_value_data
LBB0_26:
	mov	w0, #3
LBB0_27:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_28:
	ldr	x22, [x21, #8]
	bl	_lrand48
	mov	x2, x0
	mov	x0, x22
	mov	x1, x20
	mov	x3, x19
	bl	_tree_insert
	str	x0, [x21, #8]
	b	LBB0_26
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_write_extra_mask,4,2           ; @write_extra_mask
	.comm	_read_extra_mask,4,2            ; @read_extra_mask
.subsections_via_symbols
