	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_number_result
_read_number_result:                    ## @read_number_result
	.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
	subq	$80, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movl	(%rdi), %edx
	movl	4(%rdi), %esi
	leaq	-68(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_bytestream2_init
	leaq	-64(%rbp), %rsi
	leaq	-84(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$32, %edx
	callq	_ff_amf_read_string
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rsi
	leaq	-64(%rbp), %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_1
## %bb.3:
	leaq	-68(%rbp), %rdi
	leaq	-80(%rbp), %rsi
	callq	_ff_amf_read_number
	testq	%rax, %rax
	jne	LBB0_1
## %bb.4:
	leaq	-68(%rbp), %rdi
	callq	_ff_amf_read_null
	testq	%rax, %rax
	jne	LBB0_1
## %bb.5:
	leaq	-68(%rbp), %rdi
	leaq	-80(%rbp), %rsi
	callq	_ff_amf_read_number
	testq	%rax, %rax
	je	LBB0_6
LBB0_1:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_9
## %bb.8:
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movsd	-80(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movsd	%xmm0, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_result"

	.no_dead_strip	_read_number_result
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_number_result
_read_number_result:                    ; @read_number_result
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	ldp	w2, w1, [x0]
	add	x0, sp, #4
	bl	_bytestream2_init
	add	x0, sp, #4
	add	x1, sp, #24
	add	x3, sp, #20
	mov	w2, #32
	bl	_ff_amf_read_string
	cbnz	x0, LBB0_5
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #24
	bl	_strcmp
	cbnz	x0, LBB0_5
; %bb.2:
	add	x0, sp, #4
	add	x1, sp, #8
	bl	_ff_amf_read_number
	cbnz	x0, LBB0_5
; %bb.3:
	add	x0, sp, #4
	bl	_ff_amf_read_null
	cbnz	x0, LBB0_5
; %bb.4:
	add	x0, sp, #4
	add	x1, sp, #8
	bl	_ff_amf_read_number
	cbz	x0, LBB0_8
LBB0_5:
Lloh5:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_6:
	ldur	x8, [x29, #-24]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_8:
	ldr	d0, [sp, #8]
	str	d0, [x19]
	b	LBB0_6
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_result"

	.no_dead_strip	_read_number_result
.subsections_via_symbols
