	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_pool_aeb
_process_pool_aeb:                      ## @process_pool_aeb
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	(%rdx), %edi
	callq	_be32_to_cpu
	movl	%eax, %ebx
	movq	_UBI_FM_SB_VOLUME_ID@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_2
## %bb.1:
	movq	_UBI_FM_DATA_VOLUME_ID@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_2
## %bb.3:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_ubi_find_av
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r12
	xorl	%edi, %edi
	cmpl	(%rax), %ebx
	sete	%dil
	callq	_ubi_assert
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%r13, %rcx
	movq	%r14, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_update_vol                     ## TAILCALL
LBB0_2:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ubi_free_aeb
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ubi_err
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_ubi_free_aeb
	movq	_UBI_BAD_FASTMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UBI_FM_SB_VOLUME_ID,4,2        ## @UBI_FM_SB_VOLUME_ID
	.comm	_UBI_FM_DATA_VOLUME_ID,4,2      ## @UBI_FM_DATA_VOLUME_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"orphaned volume in fastmap pool!"

	.comm	_UBI_BAD_FASTMAP,4,2            ## @UBI_BAD_FASTMAP
	.no_dead_strip	_process_pool_aeb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_pool_aeb
_process_pool_aeb:                      ; @process_pool_aeb
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
	ldr	w0, [x2]
	bl	_be32_to_cpu
Lloh0:
	adrp	x8, _UBI_FM_SB_VOLUME_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UBI_FM_SB_VOLUME_ID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _UBI_FM_DATA_VOLUME_ID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _UBI_FM_DATA_VOLUME_ID@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_ubi_free_aeb
	mov	w0, #0
	b	LBB0_5
LBB0_2:
	mov	x23, x0
	mov	x0, x20
	mov	x1, x23
	bl	_ubi_find_av
	cbz	x0, LBB0_4
; %bb.3:
	mov	x24, x0
	ldr	w8, [x0]
	cmp	w23, w8
	cset	w0, eq
	bl	_ubi_assert
	mov	x0, x22
	mov	x1, x20
	mov	x2, x24
	mov	x3, x21
	mov	x4, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_update_vol
LBB0_4:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_ubi_err
	mov	x0, x20
	mov	x1, x19
	bl	_ubi_free_aeb
Lloh8:
	adrp	x8, _UBI_BAD_FASTMAP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _UBI_BAD_FASTMAP@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_UBI_FM_SB_VOLUME_ID,4,2        ; @UBI_FM_SB_VOLUME_ID
	.comm	_UBI_FM_DATA_VOLUME_ID,4,2      ; @UBI_FM_DATA_VOLUME_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"orphaned volume in fastmap pool!"

	.comm	_UBI_BAD_FASTMAP,4,2            ; @UBI_BAD_FASTMAP
	.no_dead_strip	_process_pool_aeb
.subsections_via_symbols
