	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gemini_get_group_pins
_gemini_get_group_pins:                 ## @gemini_get_group_pins
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %ebx
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %r12
	cmpq	$0, 16(%rax)
	movl	%ebx, %ebx
	je	LBB0_9
## %bb.1:
	cmpq	$0, 8(%r12)
	je	LBB0_6
## %bb.2:
	movq	_gemini_3512_pin_groups@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, %rcx
	shlq	$4, %rcx
	movl	12(%rax,%rcx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	cmpq	$0, 16(%r12)
	je	LBB0_9
LBB0_6:
	cmpq	$0, (%r12)
	je	LBB0_9
## %bb.7:
	movq	_gemini_3516_pin_groups@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rbx, %rcx
	shlq	$4, %rcx
	movl	12(%rax,%rcx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
LBB0_9:
	cmpq	$0, 8(%r12)
	je	LBB0_11
## %bb.10:
	movq	_gemini_3512_pin_groups@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rbx, %rdx
	shlq	$4, %rdx
	movq	(%rcx,%rdx), %rcx
	movq	%rcx, (%r15)
	movq	(%rax), %rax
	movl	8(%rax,%rdx), %eax
	movl	%eax, (%r14)
LBB0_11:
	cmpq	$0, (%r12)
	je	LBB0_14
## %bb.12:
	movq	_gemini_3516_pin_groups@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	shlq	$4, %rbx
	movq	(%rcx,%rbx), %rcx
	movq	%rcx, (%r15)
	movq	(%rax), %rax
	movl	8(%rax,%rbx), %eax
	jmp	LBB0_13
LBB0_3:
	movq	_pflash_3512_pins_extended@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_8:
	movq	_pflash_3516_pins_extended@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rcx
	movq	%rcx, (%r15)
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
LBB0_13:
	movl	%eax, (%r14)
LBB0_14:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gemini_3512_pin_groups,8,3     ## @gemini_3512_pin_groups
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pflashgrp"

	.comm	_pflash_3512_pins_extended,8,3  ## @pflash_3512_pins_extended
	.comm	_gemini_3516_pin_groups,8,3     ## @gemini_3516_pin_groups
	.comm	_pflash_3516_pins_extended,8,3  ## @pflash_3516_pins_extended
	.no_dead_strip	_gemini_get_group_pins
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gemini_get_group_pins
_gemini_get_group_pins:                 ; @gemini_get_group_pins
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	bl	_pinctrl_dev_get_drvdata
	mov	x22, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_6
; %bb.1:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _gemini_3512_pin_groups@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gemini_3512_pin_groups@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, w21, uxtw #4
	ldr	w0, [x8, #12]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_10
; %bb.3:
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_6
LBB0_4:
	ldr	x8, [x22]
	cbz	x8, LBB0_6
; %bb.5:
Lloh5:
	adrp	x8, _gemini_3516_pin_groups@GOTPAGE
Lloh6:
	ldr	x8, [x8, _gemini_3516_pin_groups@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	add	x8, x8, w21, uxtw #4
	ldr	w0, [x8, #12]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_11
LBB0_6:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_8
; %bb.7:
Lloh10:
	adrp	x8, _gemini_3512_pin_groups@GOTPAGE
Lloh11:
	ldr	x8, [x8, _gemini_3512_pin_groups@GOTPAGEOFF]
	ldr	x9, [x8]
	mov	w10, w21
	lsl	x10, x10, #4
	ldr	x9, [x9, x10]
	str	x9, [x20]
	ldr	x8, [x8]
	add	x8, x8, x10
	ldr	w8, [x8, #8]
	str	w8, [x19]
LBB0_8:
	ldr	x8, [x22]
	cbz	x8, LBB0_14
; %bb.9:
Lloh12:
	adrp	x8, _gemini_3516_pin_groups@GOTPAGE
Lloh13:
	ldr	x8, [x8, _gemini_3516_pin_groups@GOTPAGEOFF]
	ldr	x9, [x8]
	mov	w10, w21
	lsl	x10, x10, #4
	ldr	x9, [x9, x10]
	str	x9, [x20]
	ldr	x8, [x8]
	add	x8, x8, x10
	ldr	w0, [x8, #8]
	b	LBB0_13
LBB0_10:
Lloh14:
	adrp	x8, _pflash_3512_pins_extended@GOTPAGE
Lloh15:
	ldr	x8, [x8, _pflash_3512_pins_extended@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh16:
	adrp	x8, _pflash_3516_pins_extended@GOTPAGE
Lloh17:
	ldr	x8, [x8, _pflash_3516_pins_extended@GOTPAGEOFF]
LBB0_12:
	ldr	x9, [x8]
	str	x9, [x20]
	ldr	x0, [x8]
	bl	_ARRAY_SIZE
LBB0_13:
	str	w0, [x19]
LBB0_14:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_gemini_3512_pin_groups,8,3     ; @gemini_3512_pin_groups
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pflashgrp"

	.comm	_pflash_3512_pins_extended,8,3  ; @pflash_3512_pins_extended
	.comm	_gemini_3516_pin_groups,8,3     ; @gemini_3516_pin_groups
	.comm	_pflash_3516_pins_extended,8,3  ; @pflash_3516_pins_extended
	.no_dead_strip	_gemini_get_group_pins
.subsections_via_symbols
