	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lochnagar_fill_func_groups
_lochnagar_fill_func_groups:            ## @lochnagar_fill_func_groups
	.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	%rdi, %r15
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	movq	8(%r15), %r8
	movq	16(%r15), %rcx
	cmpl	$1, %eax
	jne	LBB0_10
## %bb.2:
	xorl	%esi, %esi
	jmp	LBB0_3
LBB0_10:
	movl	%eax, %edi
	andl	$-2, %edi
	leaq	16(%r8), %rbx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	-16(%rbx), %rdx
	shlq	$4, %rdx
	incq	(%rcx,%rdx)
	movq	(%rbx), %rdx
	shlq	$4, %rdx
	incq	(%rcx,%rdx)
	addq	$2, %rsi
	addq	$32, %rbx
	cmpq	%rsi, %rdi
	jne	LBB0_11
LBB0_3:
	testb	$1, %al
	je	LBB0_5
## %bb.4:
	shlq	$4, %rsi
	movq	(%r8,%rsi), %rdx
	shlq	$4, %rdx
	incq	(%rcx,%rdx)
LBB0_5:
	movq	_LN_FTYPE_COUNT@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.6:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r13
	movslq	%ecx, %rax
	addq	$16, %rbx
	cmpq	%rax, %r13
	jge	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %r12
	movq	(%r12,%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	24(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, 8(%r12,%rbx)
	testq	%rax, %rax
	je	LBB0_9
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	$0, (%r12,%rbx)
	movl	(%r14), %ecx
	jmp	LBB0_16
LBB0_12:
	movl	(%r15), %eax
LBB0_13:
	testl	%eax, %eax
	jle	LBB0_14
## %bb.17:
	movq	8(%r15), %rcx
	movq	16(%r15), %r8
	addq	$8, %rcx
	xorl	%eax, %eax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	-8(%rcx), %rdi
	movl	(%rcx), %r9d
	shlq	$4, %rdi
	movq	(%r8,%rdi), %rdx
	movq	8(%r8,%rdi), %r10
	leaq	1(%rdx), %rbx
	movq	%rbx, (%r8,%rdi)
	movl	%r9d, (%r10,%rdx,4)
	incq	%rsi
	movslq	(%r15), %rdx
	addq	$16, %rcx
	cmpq	%rdx, %rsi
	jl	LBB0_18
	jmp	LBB0_19
LBB0_14:
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_19:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LN_FTYPE_COUNT,4,2             ## @LN_FTYPE_COUNT
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_lochnagar_fill_func_groups
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lochnagar_fill_func_groups
_lochnagar_fill_func_groups:            ; @lochnagar_fill_func_groups
	.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, x0
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	ldp	x10, x9, [x19, #8]
	mov	x11, x8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10], #16
	lsl	x12, x12, #4
	ldr	x13, [x9, x12]
	add	x13, x13, #1
	str	x13, [x9, x12]
	subs	x11, x11, #1
	b.ne	LBB0_2
LBB0_3:
Lloh0:
	adrp	x20, _LN_FTYPE_COUNT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _LN_FTYPE_COUNT@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.4:
	mov	x21, #0
	mov	x22, #0
Lloh2:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	add	x21, x21, #16
	cmp	x22, w9, sxtw
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x19, #16]
	ldr	x1, [x24, x21]
	cbz	x1, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x19, #24]
	ldr	w3, [x23]
	mov	w2, #4
	bl	_devm_kcalloc
	add	x8, x24, x21
	str	x0, [x8, #8]
	cbz	x0, LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [x24, x21]
	ldr	w9, [x20]
	b	LBB0_5
LBB0_9:
	ldr	w8, [x19]
LBB0_10:
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.11:
	mov	x8, #0
	ldp	x10, x9, [x19, #8]
	add	x10, x10, #8
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldur	x11, [x10, #-8]
	ldr	w12, [x10], #16
	add	x11, x9, x11, lsl #4
	ldp	x14, x13, [x11]
	add	x15, x14, #1
	str	x15, [x11]
	str	w12, [x13, x14, lsl #2]
	add	x8, x8, #1
	ldrsw	x11, [x19]
	cmp	x8, x11
	b.lt	LBB0_12
LBB0_13:
	mov	w0, #0
	b	LBB0_15
LBB0_14:
Lloh4:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_LN_FTYPE_COUNT,4,2             ; @LN_FTYPE_COUNT
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_lochnagar_fill_func_groups
.subsections_via_symbols
