	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee_read_optional_id
_ieee_read_optional_id:                 ## @ieee_read_optional_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	cmpq	(%rdi), %rbx
	jae	LBB0_1
## %bb.2:
	movl	(%rbx), %r9d
	leaq	4(%rbx), %rdi
	movq	%rdi, (%rsi)
	cmpl	$128, %r9d
	jl	LBB0_8
## %bb.3:
	movq	_ieee_extension_length_1_enum@GOTPCREL(%rip), %rax
	cmpq	%r9, (%rax)
	jne	LBB0_5
## %bb.4:
	movl	(%rdi), %r9d
	movl	$2, %edi
	jmp	LBB0_7
LBB0_5:
	movq	_ieee_extension_length_2_enum@GOTPCREL(%rip), %rax
	cmpq	%r9, (%rax)
	jne	LBB0_11
## %bb.6:
	movl	4(%rbx), %r9d
	shll	$8, %r9d
	addl	8(%rbx), %r9d
	movl	$3, %edi
LBB0_7:
	leaq	(%rbx,%rdi,4), %rdi
	movq	%rdi, (%rsi)
LBB0_8:
	movslq	%r9d, %rax
	movq	(%r14), %rbx
	subq	%rdi, %rbx
	sarq	$2, %rbx
	cmpq	%rax, %rbx
	jae	LBB0_9
LBB0_1:
	movq	%r14, %rdi
	callq	_ieee_eof
LBB0_14:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movq	%rdi, (%rdx)
	movq	%rax, (%rcx)
	shlq	$2, %rax
	addq	%rax, (%rsi)
	movq	_TRUE@GOTPCREL(%rip), %rax
	testq	%r8, %r8
	je	LBB0_15
## %bb.10:
	movl	(%rax), %ecx
	movl	%ecx, (%r8)
	jmp	LBB0_15
LBB0_11:
	testq	%r8, %r8
	je	LBB0_13
## %bb.12:
	movq	%rbx, (%rsi)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r8)
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_13:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_ieee_error
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_ieee_extension_length_1_enum,8,3 ## @ieee_extension_length_1_enum
	.comm	_ieee_extension_length_2_enum,8,3 ## @ieee_extension_length_2_enum
	.comm	_TRUE,4,2                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid string length"

	.no_dead_strip	_ieee_read_optional_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee_read_optional_id
_ieee_read_optional_id:                 ; @ieee_read_optional_id
	.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	x19, x0
	ldr	x20, [x1]
	ldr	x8, [x0]
	cmp	x20, x8
	b.hs	LBB0_8
; %bb.1:
	mov	x9, x20
	ldr	w8, [x9], #4
	str	x9, [x1]
	cmp	w8, #128
	b.lt	LBB0_7
; %bb.2:
Lloh0:
	adrp	x10, _ieee_extension_length_1_enum@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ieee_extension_length_1_enum@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x10, x8
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x9]
	mov	w9, #2
	b	LBB0_6
LBB0_4:
Lloh3:
	adrp	x9, _ieee_extension_length_2_enum@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ieee_extension_length_2_enum@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.5:
	ldp	w8, w9, [x20, #4]
	add	w8, w9, w8, lsl #8
	mov	w9, #3
LBB0_6:
	add	x9, x20, x9, lsl #2
	str	x9, [x1]
LBB0_7:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sxtw	x8, w8
	ldr	x10, [x19]
	sub	x10, x10, x9
	cmp	x8, x10, asr #2
	b.ls	LBB0_11
LBB0_8:
	mov	x0, x19
	bl	_ieee_eof
LBB0_9:
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	str	x9, [x2]
	str	x8, [x3]
	ldr	x9, [x1]
	add	x8, x9, x8, lsl #2
	str	x8, [x1]
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	cbz	x4, LBB0_10
; %bb.12:
	ldr	w9, [x8]
	str	w9, [x4]
	b	LBB0_10
LBB0_13:
	cbz	x4, LBB0_15
; %bb.14:
	str	x20, [x1]
Lloh10:
	adrp	x8, _FALSE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x4]
Lloh13:
	adrp	x8, _TRUE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_10
LBB0_15:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_ieee_error
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_ieee_extension_length_1_enum,8,3 ; @ieee_extension_length_1_enum
	.comm	_ieee_extension_length_2_enum,8,3 ; @ieee_extension_length_2_enum
	.comm	_TRUE,4,2                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid string length"

	.no_dead_strip	_ieee_read_optional_id
.subsections_via_symbols
