	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ubi_eba_create_table           ## -- Begin function ubi_eba_create_table
	.p2align	4, 0x90
_ubi_eba_create_table:                  ## @ubi_eba_create_table
	.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
	movl	%esi, %r15d
	movq	_ENOMEM@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movl	(%r13), %edx
	movl	%r15d, %edi
	movl	$16, %esi
	callq	_kmalloc_array
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	testl	%r15d, %r15d
	jle	LBB0_11
## %bb.4:
	movl	%r15d, %edx
	leaq	-1(%rdx), %rsi
	movl	%edx, %r8d
	andl	$3, %r8d
	cmpq	$3, %rsi
	jae	LBB0_6
## %bb.5:
	xorl	%esi, %esi
	jmp	LBB0_8
LBB0_1:
	movl	(%r12), %ebx
	jmp	LBB0_13
LBB0_12:
	xorl	%edi, %edi
	callq	_kfree
	movq	%r14, %rdi
	callq	_kfree
LBB0_13:
	negl	%ebx
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_6:
	andl	$-4, %edx
	leaq	56(%rax), %rdi
	xorl	%esi, %esi
	movq	_UBI_LEB_UNMAPPED@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %ecx
	movl	%ecx, -48(%rdi)
	movl	(%rbx), %ecx
	movl	%ecx, -32(%rdi)
	movl	(%rbx), %ecx
	movl	%ecx, -16(%rdi)
	movl	(%rbx), %ecx
	movl	%ecx, (%rdi)
	addq	$4, %rsi
	addq	$64, %rdi
	cmpq	%rsi, %rdx
	jne	LBB0_7
LBB0_8:
	testq	%r8, %r8
	je	LBB0_11
## %bb.9:
	shlq	$4, %rsi
	addq	%rsi, %rax
	addq	$8, %rax
	shlq	$4, %r8
	xorl	%edx, %edx
	movq	_UBI_LEB_UNMAPPED@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rsi), %ecx
	movl	%ecx, (%rax,%rdx)
	addq	$16, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_10
LBB0_11:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_UBI_LEB_UNMAPPED,4,2           ## @UBI_LEB_UNMAPPED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ubi_eba_create_table           ; -- Begin function ubi_eba_create_table
	.p2align	2
_ubi_eba_create_table:                  ; @ubi_eba_create_table
	.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	x20, x1
Lloh0:
	adrp	x22, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ENOMEM@GOTPAGEOFF]
	ldr	w21, [x22]
Lloh2:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	w2, [x23]
	mov	x0, x20
	mov	w1, #16
	bl	_kmalloc_array
	str	x0, [x19]
	cbz	x0, LBB0_7
; %bb.2:
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.3:
	mov	w8, w20
	add	x9, x0, #8
Lloh4:
	adrp	x10, _UBI_LEB_UNMAPPED@GOTPAGE
Lloh5:
	ldr	x10, [x10, _UBI_LEB_UNMAPPED@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	str	w11, [x9], #16
	subs	x8, x8, #1
	b.ne	LBB0_4
LBB0_5:
	mov	x0, 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
	ret
LBB0_6:
	ldr	w21, [x22]
	b	LBB0_8
LBB0_7:
	bl	_kfree
	mov	x0, x19
	bl	_kfree
LBB0_8:
	neg	w0, w21
	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	_ERR_PTR
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_UBI_LEB_UNMAPPED,4,2           ; @UBI_LEB_UNMAPPED
.subsections_via_symbols
