	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adjust_message0                ## -- Begin function adjust_message0
	.p2align	4, 0x90
_adjust_message0:                       ## @adjust_message0
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%edx, %r15d
	movl	%esi, %ebx
	callq	_conv_uid
	testl	%ebx, %ebx
	jle	LBB0_2
## %bb.1:
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movq	_UserMsgDel@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, %ebx
	incl	(%rcx,%rbx,4)
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	movq	_current_extra_mask@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	notl	%eax
	testl	%r15d, %eax
	sete	%al
	testl	%r15d, %r15d
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	andl	(%r14), %r15d
	movl	%r15d, %edi
	callq	_extra_mask_intcount
	movq	_UserMsgExtras@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addl	%eax, (%rcx,%rbx,4)
	jmp	LBB0_5
LBB0_2:
	movq	_discarded_rec@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_discarded_rec,4,2              ## @discarded_rec
	.comm	_UserMsgDel,8,3                 ## @UserMsgDel
	.comm	_current_extra_mask,4,2         ## @current_extra_mask
	.comm	_UserMsgExtras,8,3              ## @UserMsgExtras
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adjust_message0                ; -- Begin function adjust_message0
	.p2align	2
_adjust_message0:                       ; @adjust_message0
	.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	x20, x4
	mov	x19, x2
	mov	x21, x1
	bl	_conv_uid
	cmp	w21, #1
	b.lt	LBB0_4
; %bb.1:
	tbnz	w0, #31, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _UserMsgDel@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UserMsgDel@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w9, w0
	lsl	x21, x9, #2
	ldr	w9, [x8, x21]
	add	w9, w9, #1
	str	w9, [x8, x21]
	cbz	x20, LBB0_5
; %bb.3:
Lloh3:
	adrp	x20, _current_extra_mask@GOTPAGE
Lloh4:
	ldr	x20, [x20, _current_extra_mask@GOTPAGEOFF]
	ldr	w8, [x20]
	bics	wzr, w19, w8
	ccmp	w19, #0, #4, eq
	cset	w0, ne
	bl	_assert
	ldr	w8, [x20]
	and	w0, w8, w19
	bl	_extra_mask_intcount
Lloh5:
	adrp	x8, _UserMsgExtras@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UserMsgExtras@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w9, [x8, x21]
	add	w9, w9, w0
	str	w9, [x8, x21]
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _discarded_rec@GOTPAGE
Lloh9:
	ldr	x8, [x8, _discarded_rec@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_discarded_rec,4,2              ; @discarded_rec
	.comm	_UserMsgDel,8,3                 ; @UserMsgDel
	.comm	_current_extra_mask,4,2         ; @current_extra_mask
	.comm	_UserMsgExtras,8,3              ; @UserMsgExtras
.subsections_via_symbols
