	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_pres_arg
_parse_pres_arg:                        ## @parse_pres_arg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %eax
	cmpl	$3, %esi
	jb	LBB0_3
## %bb.1:
	movq	%rdx, %rbx
	movl	(%rdi), %esi
	cmpl	$4, %eax
	ja	LBB0_6
## %bb.2:
	testl	%esi, %esi
	je	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_WARN
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	testl	%esi, %esi
	je	LBB0_10
## %bb.7:
	cmpl	$1, %esi
	jne	LBB0_13
## %bb.8:
	addq	$4, %rdi
	leaq	16(%rbx), %rsi
	callq	_parse_pres_reg
	movq	%rax, %rdi
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_4
LBB0_10:
	movq	_PRES_REGTAB_COUNT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	addq	$4, %rdi
LBB0_11:
	movq	%rbx, %rsi
	callq	_parse_pres_reg
	movq	(%rbx), %rcx
	movq	_PRES_REGTAB_OBCONST@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.12:
	movl	8(%rbx), %ecx
	leal	3(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$2, %edx
	movl	%edx, 8(%rbx)
	jmp	LBB0_5
LBB0_13:
	leaq	L_.str.1(%rip), %rdi
	callq	_FIXME
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Byte code buffer ends unexpectedly, count %u.\n"

L_.str.1:                               ## @.str.1
	.asciz	"Unknown relative addressing flag, word %#x.\n"

	.comm	_PRES_REGTAB_COUNT,8,3          ## @PRES_REGTAB_COUNT
	.comm	_PRES_REGTAB_OBCONST,8,3        ## @PRES_REGTAB_OBCONST
	.no_dead_strip	_parse_pres_arg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_pres_arg
_parse_pres_arg:                        ; @parse_pres_arg
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x1
	cmp	w1, #3
	b.lo	LBB0_3
; %bb.1:
	mov	x19, x2
	ldr	w1, [x0]
	cmp	w8, #4
	b.hi	LBB0_6
; %bb.2:
	cbz	w1, LBB0_6
LBB0_3:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x8
	bl	_WARN
LBB0_4:
	mov	x0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	cbz	w1, LBB0_9
; %bb.7:
	cmp	w1, #1
	b.ne	LBB0_12
; %bb.8:
	add	x0, x0, #4
	add	x1, x19, #16
	bl	_parse_pres_reg
	cbnz	x0, LBB0_10
	b	LBB0_5
LBB0_9:
Lloh2:
	adrp	x8, _PRES_REGTAB_COUNT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PRES_REGTAB_COUNT@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	add	x0, x0, #4
LBB0_10:
	mov	x1, x19
	bl	_parse_pres_reg
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _PRES_REGTAB_OBCONST@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PRES_REGTAB_OBCONST@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.11:
	ldr	w8, [x19, #8]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
	str	w8, [x19, #8]
	b	LBB0_5
LBB0_12:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_FIXME
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Byte code buffer ends unexpectedly, count %u.\n"

l_.str.1:                               ; @.str.1
	.asciz	"Unknown relative addressing flag, word %#x.\n"

	.comm	_PRES_REGTAB_COUNT,8,3          ; @PRES_REGTAB_COUNT
	.comm	_PRES_REGTAB_OBCONST,8,3        ; @PRES_REGTAB_OBCONST
	.no_dead_strip	_parse_pres_arg
.subsections_via_symbols
