	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_pinctrl_add_padgroups
_intel_pinctrl_add_padgroups:           ## @intel_pinctrl_add_padgroups
	.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, %r12
	movl	(%rsi), %r13d
	cmpq	$0, 24(%rsi)
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	movq	8(%rsi), %rbx
	jmp	LBB0_3
LBB0_2:
	movl	16(%rsi), %esi
	movl	%r13d, %edi
	callq	_DIV_ROUND_UP
	movq	%rax, %rbx
LBB0_3:
	movl	(%r12), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rbx, %rsi
	movl	$32, %edx
	callq	_devm_kcalloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	testq	%rbx, %rbx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rsi
	je	LBB0_18
## %bb.5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	24(%rax), %rbx
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	addl	%ecx, %r15d
	incq	%r14
	addq	$32, %r12
	cmpq	%r14, %rsi
	je	LBB0_18
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rdx), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movups	(%rax,%r12), %xmm0
	movups	16(%rax,%r12), %xmm1
	movups	%xmm0, -24(%rbx,%r12)
	movups	%xmm1, -8(%rbx,%r12)
	movl	-16(%rbx,%r12), %eax
	cmpl	$33, %eax
	jb	LBB0_13
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	16(%rdx), %edi
	movq	%r14, -24(%rbx,%r12)
	movq	%rdi, %rax
	imulq	%r14, %rax
	addq	40(%rdx), %rax
	movq	%rax, -8(%rbx,%r12)
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%r13d, %esi
	callq	_min
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, -16(%rbx,%r12)
	subl	%eax, %r13d
	cmpl	$33, %eax
	jae	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, (%rbx,%r12)
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-8(%rbx,%r12), %rcx
	movq	%rcx, (%rbx,%r12)
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%r15d, -12(%rbx,%r12)
	movq	32(%rdx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	shll	$2, %eax
	movl	%eax, %edi
	movl	$32, %esi
	callq	_DIV_ROUND_UP
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, %rcx
	jmp	LBB0_17
LBB0_18:
	movq	%rsi, 8(%rdx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 24(%rdx)
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_9:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_19:
	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
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_intel_pinctrl_add_padgroups
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_pinctrl_add_padgroups
_intel_pinctrl_add_padgroups:           ; @intel_pinctrl_add_padgroups
	.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, x1
	mov	x22, x0
	ldr	w20, [x1]
	ldr	x8, [x1, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x21, [x19, #8]
	b	LBB0_3
LBB0_2:
	ldr	w1, [x19, #16]
	mov	x0, x20
	bl	_DIV_ROUND_UP
	mov	x21, x0
LBB0_3:
	ldr	w0, [x22]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x1, x21
	mov	w2, #32
	bl	_devm_kcalloc
	cbz	x0, LBB0_15
; %bb.4:
	mov	x22, x0
	cbz	x21, LBB0_14
; %bb.5:
	mov	x23, #0
	mov	x24, #0
	mov	w25, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w25, w25, w8
	add	x24, x24, #1
	add	x23, x23, #32
	cmp	x21, x24
	b.eq	LBB0_14
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x9, x22, x23
	add	x8, x8, x23
	ldp	q1, q0, [x8]
	stp	q1, q0, [x9]
	ldr	w0, [x9, #8]
	cmp	w0, #33
	b.lo	LBB0_10
	b	LBB0_16
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x19, #16]
	add	x26, x22, x23
	str	x24, [x26]
	ldr	x8, [x19, #40]
	madd	x8, x24, x0, x8
	str	x8, [x26, #16]
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x20
	bl	_min
	str	w0, [x26, #8]
	sub	w20, w20, w0
	cmp	w0, #33
	b.hs	LBB0_16
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x22, x23
	ldr	x9, [x8, #24]
	cbnz	x9, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x8, #16]
	str	x9, [x8, #24]
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	str	w25, [x8, #12]
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	lsl	w0, w0, #2
	mov	w1, #32
	bl	_DIV_ROUND_UP
	mov	x8, x0
	b	LBB0_6
LBB0_14:
	mov	w0, #0
	str	x21, [x19, #8]
	str	x22, [x19, #24]
	b	LBB0_18
LBB0_15:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_17
LBB0_16:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_17:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_18:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_intel_pinctrl_add_padgroups
.subsections_via_symbols
