	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa2xx_build_state
_pxa2xx_build_state:                    ## @pxa2xx_build_state
	.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	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	%edx, (%rdi)
	movq	%rsi, 40(%rdi)
	movl	%edx, 4(%rdi)
	movl	%edx, 24(%rdi)
	movl	16(%rdi), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movl	%edx, %esi
	movl	$8, %edx
	callq	_devm_kcalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, 32(%r14)
	movl	%r15d, %r12d
	testl	%r15d, %r15d
	jle	LBB0_17
## %bb.3:
	xorl	%ecx, %ecx
	cmpl	$4, %r15d
	jb	LBB0_13
## %bb.4:
	movq	%rax, %rdx
	subq	%rbx, %rdx
	cmpq	$32, %rdx
	jb	LBB0_13
## %bb.5:
	movl	%r12d, %ecx
	andl	$-4, %ecx
	leaq	-4(%rcx), %rdx
	movq	%rdx, %rsi
	shrq	$2, %rsi
	incq	%rsi
	movl	%esi, %r8d
	andl	$3, %r8d
	cmpq	$12, %rdx
	jae	LBB0_7
## %bb.6:
	xorl	%edi, %edi
	jmp	LBB0_9
LBB0_7:
	andq	$-4, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rbx,%rdi,8), %xmm0
	movups	16(%rbx,%rdi,8), %xmm1
	movups	%xmm0, (%rax,%rdi,8)
	movups	%xmm1, 16(%rax,%rdi,8)
	movups	32(%rbx,%rdi,8), %xmm0
	movups	48(%rbx,%rdi,8), %xmm1
	movups	%xmm0, 32(%rax,%rdi,8)
	movups	%xmm1, 48(%rax,%rdi,8)
	movups	64(%rbx,%rdi,8), %xmm0
	movups	80(%rbx,%rdi,8), %xmm1
	movups	%xmm0, 64(%rax,%rdi,8)
	movups	%xmm1, 80(%rax,%rdi,8)
	movups	96(%rbx,%rdi,8), %xmm0
	movups	112(%rbx,%rdi,8), %xmm1
	movups	%xmm0, 96(%rax,%rdi,8)
	movups	%xmm1, 112(%rax,%rdi,8)
	addq	$16, %rdi
	addq	$-4, %rsi
	jne	LBB0_8
LBB0_9:
	testq	%r8, %r8
	je	LBB0_12
## %bb.10:
	leaq	(%rbx,%rdi,8), %rsi
	addq	$16, %rsi
	leaq	(%rax,%rdi,8), %rdi
	addq	$16, %rdi
	shlq	$5, %r8
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rsi,%rdx), %xmm0
	movups	(%rsi,%rdx), %xmm1
	movups	%xmm0, -16(%rdi,%rdx)
	movups	%xmm1, (%rdi,%rdx)
	addq	$32, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_11
LBB0_12:
	cmpq	%r12, %rcx
	je	LBB0_17
LBB0_13:
	movl	%r12d, %esi
	subl	%ecx, %esi
	movq	%rcx, %rdx
	notq	%rdx
	addq	%r12, %rdx
	andq	$7, %rsi
	je	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%rcx,8), %rdi
	movq	%rdi, (%rax,%rcx,8)
	incq	%rcx
	decq	%rsi
	jne	LBB0_14
LBB0_15:
	cmpq	$7, %rdx
	jb	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%rcx,8), %rdx
	movq	%rdx, (%rax,%rcx,8)
	movq	8(%rbx,%rcx,8), %rdx
	movq	%rdx, 8(%rax,%rcx,8)
	movq	16(%rbx,%rcx,8), %rdx
	movq	%rdx, 16(%rax,%rcx,8)
	movq	24(%rbx,%rcx,8), %rdx
	movq	%rdx, 24(%rax,%rcx,8)
	movq	32(%rbx,%rcx,8), %rdx
	movq	%rdx, 32(%rax,%rcx,8)
	movq	40(%rbx,%rcx,8), %rdx
	movq	%rdx, 40(%rax,%rcx,8)
	movq	48(%rbx,%rcx,8), %rdx
	movq	%rdx, 48(%rax,%rcx,8)
	movq	56(%rbx,%rcx,8), %rdx
	movq	%rdx, 56(%rax,%rcx,8)
	addq	$8, %rcx
	cmpq	%rcx, %r12
	jne	LBB0_16
LBB0_17:
	movl	4(%r14), %esi
	movl	16(%r14), %edi
	movl	(%r13), %ecx
	movl	$8, %edx
	callq	_devm_kmalloc_array
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_1
## %bb.18:
	testl	%r15d, %r15d
	jle	LBB0_29
## %bb.19:
	cmpl	$4, %r15d
	jae	LBB0_21
## %bb.20:
	xorl	%ecx, %ecx
	jmp	LBB0_28
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_30
LBB0_21:
	movl	%r12d, %ecx
	andl	$-4, %ecx
	leaq	-4(%rcx), %rsi
	movq	%rsi, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %edx
	andl	$3, %edx
	cmpq	$12, %rsi
	jae	LBB0_23
## %bb.22:
	xorl	%esi, %esi
	jmp	LBB0_25
LBB0_23:
	andq	$-4, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rbx,%rsi,8), %xmm0
	movups	16(%rbx,%rsi,8), %xmm1
	movups	%xmm0, (%rax,%rsi,8)
	movups	%xmm1, 16(%rax,%rsi,8)
	movups	32(%rbx,%rsi,8), %xmm0
	movups	48(%rbx,%rsi,8), %xmm1
	movups	%xmm0, 32(%rax,%rsi,8)
	movups	%xmm1, 48(%rax,%rsi,8)
	movups	64(%rbx,%rsi,8), %xmm0
	movups	80(%rbx,%rsi,8), %xmm1
	movups	%xmm0, 64(%rax,%rsi,8)
	movups	%xmm1, 80(%rax,%rsi,8)
	movups	96(%rbx,%rsi,8), %xmm0
	movups	112(%rbx,%rsi,8), %xmm1
	movups	%xmm0, 96(%rax,%rsi,8)
	movups	%xmm1, 112(%rax,%rsi,8)
	addq	$16, %rsi
	addq	$-4, %rdi
	jne	LBB0_24
LBB0_25:
	testq	%rdx, %rdx
	je	LBB0_27
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	leaq	(,%rsi,8), %rdi
	orq	$16, %rdi
	movups	(%rbx,%rsi,8), %xmm0
	movups	(%rbx,%rdi), %xmm1
	movups	%xmm0, (%rax,%rsi,8)
	movups	%xmm1, (%rax,%rdi)
	addq	$4, %rsi
	decq	%rdx
	jne	LBB0_26
LBB0_27:
	cmpq	%r12, %rcx
	je	LBB0_29
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx,%rcx,8), %edx
	movl	%edx, 4(%rax,%rcx,8)
	movl	(%rbx,%rcx,8), %edx
	movl	%edx, (%rax,%rcx,8)
	incq	%rcx
	cmpq	%rcx, %r12
	jne	LBB0_28
LBB0_29:
	movq	%r14, %rdi
	callq	_pxa2xx_build_functions
	testl	%eax, %eax
	je	LBB0_31
LBB0_30:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pxa2xx_build_groups            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_pxa2xx_build_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa2xx_build_state
_pxa2xx_build_state:                    ; @pxa2xx_build_state
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	str	x1, [x0, #40]
	stp	w2, w2, [x0]
	str	w2, [x0, #24]
	ldr	w0, [x0, #16]
Lloh0:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	x1, x2
	mov	w2, #8
	bl	_devm_kcalloc
	cbz	x0, LBB0_13
; %bb.1:
	str	x0, [x19, #32]
	mov	w22, w21
	cmp	w21, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x8, #0
	cmp	w21, #8
	b.lo	LBB0_7
; %bb.3:
	sub	x9, x0, x20
	cmp	x9, #64
	b.lo	LBB0_7
; %bb.4:
	and	x8, x22, #0xfffffff8
	add	x9, x20, #32
	add	x10, x0, #32
	mov	x11, x8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x9, #-32]
	ldp	q2, q3, [x9], #64
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	subs	x11, x11, #8
	b.ne	LBB0_5
; %bb.6:
	cmp	x8, x22
	b.eq	LBB0_9
LBB0_7:
	lsl	x10, x8, #3
	add	x9, x0, x10
	add	x10, x20, x10
	sub	x8, x22, x8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10], #8
	str	x11, [x9], #8
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	ldr	w0, [x19, #16]
	ldr	w1, [x19, #4]
	ldr	w3, [x23]
	mov	w2, #8
	bl	_devm_kmalloc_array
	str	x0, [x19, #8]
	cbz	x0, LBB0_13
; %bb.10:
	cmp	w21, #1
	b.lt	LBB0_19
; %bb.11:
	cmp	w21, #8
	b.hs	LBB0_14
; %bb.12:
	mov	x8, #0
	b	LBB0_17
LBB0_13:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_20
LBB0_14:
	and	x8, x22, #0xfffffff8
	add	x9, x20, #32
	add	x10, x0, #32
	mov	x11, x8
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q0, [x9, #-32]
	ldp	q3, q2, [x9], #64
	stp	q1, q0, [x10, #-32]
	stp	q3, q2, [x10], #64
	subs	x11, x11, #8
	b.ne	LBB0_15
; %bb.16:
	cmp	x8, x22
	b.eq	LBB0_19
LBB0_17:
	lsl	x10, x8, #3
	add	x9, x20, x10
	add	x10, x0, x10
	sub	x8, x22, x8
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x9], #8
	str	d0, [x10], #8
	subs	x8, x8, #1
	b.ne	LBB0_18
LBB0_19:
	mov	x0, x19
	bl	_pxa2xx_build_functions
	cbz	w0, LBB0_21
LBB0_20:
	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_21:
	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
	b	_pxa2xx_build_groups
	.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_state
.subsections_via_symbols
