	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_message_flags              ## -- Begin function get_message_flags
	.p2align	4, 0x90
_get_message_flags:                     ## @get_message_flags
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r14d
	movl	%edi, %r13d
	callq	_get_user
	movl	$-1, %r15d
	testl	%r14d, %r14d
	jle	LBB0_15
## %bb.1:
	movq	%rax, %rbx
	movl	%r13d, %edi
	callq	_conv_uid
	testq	%rax, %rax
	js	LBB0_15
## %bb.2:
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.3:
	movl	4(%rbx), %edi
	movl	%r14d, %esi
	callq	_tree_lookup
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	movl	%r14d, %esi
	callq	_tree_lookup
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	%rax, %rbx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$-1, (%rax)
	je	LBB0_15
## %bb.5:
	testl	%r12d, %r12d
	jns	LBB0_7
## %bb.6:
	movl	8(%rbx), %r15d
	movl	4(%rbx), %eax
	orl	%r15d, %eax
	cmpw	$-1, %ax
	je	LBB0_15
LBB0_7:
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.8:
	xorl	%edi, %edi
	callq	_assert
	movl	8(%rbx), %r15d
	jmp	LBB0_15
LBB0_9:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_11
## %bb.10:
	xorl	%edi, %edi
	callq	_assert
                                        ## implicit-def: $r15d
	jmp	LBB0_15
LBB0_11:
	xorl	%ecx, %ecx
	testl	%r12d, %r12d
	setg	%cl
	leaq	-48(%rbp), %rdi
	movl	%r13d, %esi
	movl	%r14d, %edx
	callq	_load_message
	testl	%eax, %eax
	js	LBB0_12
## %bb.13:
	movl	$-1, %r15d
	je	LBB0_15
## %bb.14:
	movl	-48(%rbp), %r15d
	jmp	LBB0_15
LBB0_12:
	movl	%eax, %r15d
LBB0_15:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_message_flags              ; -- Begin function get_message_flags
	.p2align	2
_get_message_flags:                     ; @get_message_flags
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_get_user
	cmp	w19, #1
	b.lt	LBB0_14
; %bb.1:
	mov	x23, x0
	mov	x0, x20
	bl	_conv_uid
	tbnz	x0, #63, LBB0_14
; %bb.2:
	cbz	x23, LBB0_11
; %bb.3:
	ldr	w0, [x23, #4]
	mov	x1, x19
	bl	_tree_lookup
	mov	x22, x0
	ldr	w0, [x23]
	mov	x1, x19
	bl	_tree_lookup
	cbz	x0, LBB0_9
; %bb.4:
	mov	x23, x0
	ldr	w8, [x0]
	cmn	w8, #1
	b.eq	LBB0_14
; %bb.5:
	tbz	w21, #31, LBB0_7
; %bb.6:
	ldp	w8, w0, [x23, #4]
	orr	w8, w0, w8
	mvn	w8, w8
	tst	w8, #0xffff
	b.eq	LBB0_15
LBB0_7:
	cbz	x22, LBB0_11
; %bb.8:
	mov	w0, #0
	bl	_assert
	ldr	w0, [x23, #8]
	b	LBB0_15
LBB0_9:
	cbz	x22, LBB0_11
; %bb.10:
	mov	w0, #0
	bl	_assert
                                        ; implicit-def: $w0
	b	LBB0_15
LBB0_11:
	cmp	w21, #0
	cset	w3, gt
	add	x0, sp, #8
	mov	x1, x20
	mov	x2, x19
	bl	_load_message
	tbnz	w0, #31, LBB0_15
; %bb.12:
	cbz	w0, LBB0_14
; %bb.13:
	ldr	w0, [sp, #8]
	b	LBB0_15
LBB0_14:
	mov	w0, #-1
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
