	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_user_metafile_message_lookup   ## -- Begin function user_metafile_message_lookup
	.p2align	4, 0x90
_user_metafile_message_lookup:          ## @user_metafile_message_lookup
	.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	%rcx, %r9
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r15
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	testl	%ebx, %ebx
	jg	LBB0_3
LBB0_2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r9), %eax
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	movl	%r14d, %r8d
	callq	_fprintf
LBB0_3:
	testq	%r15, %r15
	setne	%al
	testl	%ebx, %ebx
	setg	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movl	(%r15), %eax
	cmpl	%r14d, %eax
	jg	LBB0_4
## %bb.5:
	cmpl	%r14d, 4(%r15)
	jl	LBB0_4
## %bb.7:
	movslq	8(%r15), %rbx
	addq	%r15, %rbx
	subl	%eax, %r14d
	movslq	%r14d, %r14
	movl	(%rbx,%r14,4), %ecx
	movl	4(%rbx,%r14,4), %eax
	xorl	%edi, %edi
	cmpl	%eax, %ecx
	jne	LBB0_9
LBB0_4:
	xorl	%r15d, %r15d
LBB0_13:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	cmpl	12(%r15), %ecx
	jl	LBB0_12
## %bb.10:
	cmpl	%eax, %ecx
	jge	LBB0_12
## %bb.11:
	xorl	%edi, %edi
	cmpl	16(%r15), %eax
	setle	%dil
LBB0_12:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_assert
	movslq	(%rbx,%r14,4), %rax
	addq	%rax, %r15
	movl	4(%rbx,%r14,4), %esi
	subl	%eax, %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_check_message_size
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"user_metafile_message_lookup (%p, %d, %d, %p [%d])\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_user_metafile_message_lookup   ; -- Begin function user_metafile_message_lookup
	.p2align	2
_user_metafile_message_lookup:          ; @user_metafile_message_lookup
	.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	x5, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	cmp	w21, #0
	b.gt	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w6, [x5]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	mov	x3, x21
	mov	x4, x20
	bl	_fprintf
LBB0_3:
	cmp	x19, #0
	ccmp	w21, #0, #4, ne
	cset	w0, gt
	bl	_assert
	ldr	w8, [x19]
	cmp	w8, w20
	b.gt	LBB0_6
; %bb.4:
	ldr	w9, [x19, #4]
	cmp	w9, w20
	b.lt	LBB0_6
; %bb.5:
	ldrsw	x9, [x19, #8]
	add	x9, x19, x9
	sub	w8, w20, w8
	add	x20, x9, w8, sxtw #2
	ldp	w9, w8, [x20]
	cmp	w9, w8
	b.ne	LBB0_8
LBB0_6:
	mov	x19, #0
LBB0_7:
	mov	x0, x19
	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
LBB0_8:
	ldr	w10, [x19, #12]
	cmp	w9, w10
	ccmp	w9, w8, #0, ge
	b.lt	LBB0_10
; %bb.9:
	mov	w0, #0
	b	LBB0_11
LBB0_10:
	ldr	w9, [x19, #16]
	cmp	w8, w9
	cset	w0, le
LBB0_11:
	bl	_assert
	ldp	w8, w9, [x20]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x19, x19, x8
	sub	w1, w9, w8
	mov	x0, x19
	mov	w2, #0
	bl	_check_message_size
	b	LBB0_7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"user_metafile_message_lookup (%p, %d, %d, %p [%d])\n"

.subsections_via_symbols
