	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function samsung_pinctrl_create_groups
_samsung_pinctrl_create_groups:         ## @samsung_pinctrl_create_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	(%rsi), %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$24, %edx
	callq	_devm_kcalloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movl	(%rbx), %r8d
	testl	%r8d, %r8d
	jle	LBB0_10
## %bb.2:
	movq	8(%rbx), %rdx
	leal	-1(%r8), %esi
	cmpl	$3, %esi
	jae	LBB0_4
## %bb.3:
	movq	%rax, %rsi
	testb	$3, %r8b
	jne	LBB0_8
	jmp	LBB0_10
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_4:
	movl	%r8d, %edi
	andl	$-4, %edi
	addq	$16, %rdx
	movq	%rax, %rsi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	-12(%rdx), %ebx
	movl	%ebx, 16(%rsi)
	leaq	-16(%rdx), %rbx
	movq	%rbx, 8(%rsi)
	movl	$1, (%rsi)
	movl	-4(%rdx), %ebx
	movl	%ebx, 40(%rsi)
	leaq	-8(%rdx), %rbx
	movq	%rbx, 32(%rsi)
	movl	$1, 24(%rsi)
	movl	4(%rdx), %ebx
	movl	%ebx, 64(%rsi)
	movq	%rdx, 56(%rsi)
	movl	$1, 48(%rsi)
	movl	12(%rdx), %ebx
	movl	%ebx, 88(%rsi)
	leaq	8(%rdx), %rbx
	movq	%rbx, 80(%rsi)
	movl	$1, 72(%rsi)
	addq	$96, %rsi
	addq	$32, %rdx
	addl	$-4, %edi
	jne	LBB0_5
## %bb.6:
	addq	$-16, %rdx
	testb	$3, %r8b
	je	LBB0_10
LBB0_8:
	movl	%r8d, %edi
	andl	$3, %edi
	shlq	$3, %rdi
	leaq	(%rdi,%rdi,2), %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rdx), %ecx
	movl	%ecx, 16(%rsi,%rbx)
	movq	%rdx, 8(%rsi,%rbx)
	movl	$1, (%rsi,%rbx)
	addq	$8, %rdx
	addq	$24, %rbx
	cmpl	%ebx, %edi
	jne	LBB0_9
LBB0_10:
	movl	%r8d, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_samsung_pinctrl_create_groups
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function samsung_pinctrl_create_groups
_samsung_pinctrl_create_groups:         ; @samsung_pinctrl_create_groups
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	ldr	w1, [x1]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	w2, #24
	bl	_devm_kcalloc
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [x20]
	subs	w9, w8, #1
	b.lt	LBB0_10
; %bb.2:
	ldr	x13, [x20, #8]
	cmp	w9, #3
	b.hs	LBB0_5
; %bb.3:
	mov	w10, #0
	mov	x9, x13
	mov	x11, x0
	b	LBB0_8
LBB0_4:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ERR_PTR
LBB0_5:
	add	x12, x9, #1
	and	x10, x12, #0x1fffffffc
	add	x9, x13, x10, lsl #3
	mov	w11, #24
	madd	x11, x10, x11, x0
	add	x13, x13, #16
	mov	w14, #1
	mov	x15, x0
	mov	x16, x10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w17, [x13, #-12]
	ldur	w1, [x13, #-4]
	ldr	w2, [x13, #4]
	ldr	w3, [x13, #12]
	str	w17, [x15, #16]
	str	w1, [x15, #40]
	str	w2, [x15, #64]
	str	w3, [x15, #88]
	sub	x17, x13, #16
	sub	x1, x13, #8
	add	x2, x13, #8
	str	x17, [x15, #8]
	str	x1, [x15, #32]
	str	x13, [x15, #56]
	str	x2, [x15, #80]
	str	w14, [x15]
	str	w14, [x15, #24]
	str	w14, [x15, #48]
	str	w14, [x15, #72]
	add	x15, x15, #96
	add	x13, x13, #32
	subs	x16, x16, #4
	b.ne	LBB0_6
; %bb.7:
	cmp	x12, x10
	b.eq	LBB0_10
LBB0_8:
	sub	w10, w8, w10
	add	x11, x11, #16
	mov	w12, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x9, #4]
	str	w13, [x11]
	stur	x9, [x11, #-8]
	stur	w12, [x11, #-16]
	add	x9, x9, #8
	add	x11, x11, #24
	subs	w10, w10, #1
	b.ne	LBB0_9
LBB0_10:
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_samsung_pinctrl_create_groups
.subsections_via_symbols
