	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa2xx_build_groups
_pxa2xx_build_groups:                   ## @pxa2xx_build_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
	subq	$24, %rsp
	.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), %esi
	movl	8(%rdi), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$8, %edx
	callq	_devm_kmalloc_array
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	cmpl	$0, 4(%r15)
	jle	LBB0_15
## %bb.2:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
	movl	(%r15), %eax
	movl	$0, %ebx
	testl	%eax, %eax
	jle	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edx, %edx
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	(%r15), %eax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=2
	incq	%rdx
	movslq	%eax, %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_12
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
	movq	24(%r15), %rcx
	movq	%rdx, %r12
	shlq	$4, %r12
	movq	8(%rcx,%r12), %r14
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	addq	$8, %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=3
	movq	(%r14), %rsi
	addq	$8, %r14
	testq	%rsi, %rsi
	je	LBB0_10
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	16(%r15), %rax
	leaq	(,%r13,2), %rcx
	addq	%r13, %rcx
	movl	16(%rax,%rcx,8), %edi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=3
	movq	24(%r15), %rax
	movq	(%rax,%r12), %rax
	movslq	%ebx, %rcx
	incl	%ebx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rdx,%rcx,8)
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r15), %r14
	leaq	(,%r13,2), %r12
	addq	%r13, %r12
	movl	%ebx, (%r14,%r12,8)
	movl	8(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %esi
	movl	$8, %edx
	callq	_devm_kmalloc_array
	movq	%rax, 8(%r14,%r12,8)
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	shll	$3, %ebx
	movq	%rax, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	incq	%r13
	movslq	4(%r15), %rax
	cmpq	%rax, %r13
	jl	LBB0_3
LBB0_15:
	movl	8(%r15), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_devm_kfree
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_pxa2xx_build_groups
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa2xx_build_groups
_pxa2xx_build_groups:                   ; @pxa2xx_build_groups
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	ldr	w0, [x0, #8]
	ldr	w1, [x19]
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	w2, #8
	bl	_devm_kmalloc_array
	cbz	x0, LBB0_16
; %bb.1:
	mov	x20, x0
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.2:
	mov	x23, #0
	mov	w24, #24
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_10 Depth 3
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, #0
	mov	w21, #0
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	w8, [x19]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x25, x25, #1
	cmp	x25, w8, sxtw
	b.ge	LBB0_13
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_10 Depth 3
	ldr	x9, [x19, #24]
	add	x9, x9, x25, lsl #4
	ldr	x9, [x9, #8]
	ldr	x1, [x9]
	cbz	x1, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x26, x9, #8
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=3
	ldr	x1, [x26], #8
	cbz	x1, LBB0_5
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x8, [x19, #16]
	madd	x8, x23, x24, x8
	ldr	w0, [x8, #16]
	bl	_strcmp
	cbnz	w0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=3
	ldr	x8, [x19, #24]
	lsl	x9, x25, #4
	ldr	x8, [x8, x9]
	str	x8, [x20, w21, sxtw #3]
	add	w21, w21, #1
	b	LBB0_9
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w21, #0
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #16]
	madd	x25, x23, x24, x8
	str	w21, [x25]
	ldr	w0, [x19, #8]
	ldr	w3, [x22]
	mov	x1, x21
	mov	w2, #8
	bl	_devm_kmalloc_array
	str	x0, [x25, #8]
	cbz	x0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	lsl	w2, w21, #3
	mov	x1, x20
	bl	_memcpy
	add	x23, x23, #1
	ldrsw	x8, [x19, #4]
	cmp	x23, x8
	b.lt	LBB0_3
LBB0_15:
	ldr	w0, [x19, #8]
	mov	x1, x20
	bl	_devm_kfree
	mov	w0, #0
	b	LBB0_17
LBB0_16:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_17:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_pxa2xx_build_groups
.subsections_via_symbols
