	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function common_read
_common_read:                           ## @common_read
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	leaq	-44(%rbp), %rdi
	movl	$4, %edx
	movq	%r15, %rsi
	callq	_next_entry
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	movsbl	-44(%rbp), %edi
	callq	_le32_to_cpu
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movsbl	-43(%rbp), %edi
	callq	_le32_to_cpu
	movq	%rax, 16(%rbx)
	movq	_PERM_SYMTAB_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_symtab_init
	testl	%eax, %eax
	je	LBB0_7
LBB0_3:
	movl	%eax, %r14d
	xorl	%r13d, %r13d
LBB0_4:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_common_destroy
	jmp	LBB0_6
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movsbl	-42(%rbp), %edi
	callq	_le32_to_cpu
	movq	%rax, 8(%rbx)
	movsbl	-41(%rbp), %edi
	callq	_le32_to_cpu
	movq	%rax, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	1(%rax), %rdi
	movl	(%r13), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.8:
	movq	%rax, %r13
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%r15, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_next_entry
	testl	%eax, %eax
	js	LBB0_17
## %bb.9:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movb	$0, (%r13,%rax)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	cmpq	$2, %rax
	movl	$1, %r12d
	cmovaeq	%rax, %r12
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_perm_read
	testl	%eax, %eax
	jne	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	decq	%r12
	jne	LBB0_11
LBB0_13:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_hashtab_insert
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.14:
	xorl	%r14d, %r14d
	jmp	LBB0_6
LBB0_15:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_4
LBB0_17:
	movl	%eax, %r14d
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_PERM_SYMTAB_SIZE,4,2           ## @PERM_SYMTAB_SIZE
	.no_dead_strip	_common_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function common_read
_common_read:                           ; @common_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	add	x0, sp, #12
	mov	x1, x21
	mov	w2, #4
	bl	_next_entry
	tbnz	w0, #31, LBB0_3
; %bb.2:
	ldrsb	w0, [sp, #12]
	bl	_le32_to_cpu
	mov	x25, x0
	ldrsb	w0, [sp, #13]
	bl	_le32_to_cpu
	str	x0, [x19, #16]
Lloh2:
	adrp	x8, _PERM_SYMTAB_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PERM_SYMTAB_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_symtab_init
	cbz	w0, LBB0_7
LBB0_3:
	mov	x24, x0
	mov	x23, #0
LBB0_4:
	mov	x0, x23
	mov	x1, x19
	mov	x2, #0
	bl	_common_destroy
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_6:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_7:
	ldrsb	w0, [sp, #14]
	bl	_le32_to_cpu
	str	x0, [x19, #8]
	ldrsb	w0, [sp, #15]
	bl	_le32_to_cpu
	mov	x26, x0
	add	x0, x25, #1
	ldr	w1, [x23]
	bl	_kmalloc
	mov	x23, x0
	cbz	x0, LBB0_14
; %bb.8:
	mov	x0, x23
	mov	x1, x21
	mov	x2, x25
	bl	_next_entry
	tbnz	w0, #31, LBB0_15
; %bb.9:
	strb	wzr, [x23, x25]
	cbz	x26, LBB0_13
; %bb.10:
	cmp	x26, #1
	csinc	x25, x26, xzr, hi
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19]
	mov	x0, x22
	mov	x2, x21
	bl	_perm_read
	cbnz	w0, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	subs	x25, x25, #1
	b.ne	LBB0_11
LBB0_13:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	bl	_hashtab_insert
	mov	x24, x0
	cbnz	w0, LBB0_4
	b	LBB0_6
LBB0_14:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_4
LBB0_15:
	mov	x24, x0
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_PERM_SYMTAB_SIZE,4,2           ; @PERM_SYMTAB_SIZE
	.no_dead_strip	_common_read
.subsections_via_symbols
