	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spear_pinctrl_endisable
_spear_pinctrl_endisable:               ## @spear_pinctrl_endisable
	.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	%ecx, %r14d
	movl	%edx, %r15d
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %r12
	movq	8(%rax), %rdx
	movq	16(%rdx), %rax
	movl	%r15d, %ecx
	movq	(%rax,%rcx,8), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.1:
	xorl	%ecx, %ecx
	movl	$8, %ebx
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rsi
	cmpq	$0, 8(%rdx)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-8(%rsi,%rbx), %edi
	testl	%edi, (%rdx)
	je	LBB0_5
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-4(%rsi,%rbx), %edx
	movl	(%rsi,%rbx), %esi
	movq	%r12, %rdi
	movl	%r14d, %ecx
	callq	_muxregs_endisable
	movl	(%r15), %eax
	movl	$1, %ecx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%eax, %rdx
	cmpq	%rdx, %r13
	jge	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rdx
	addq	$12, %rbx
	incq	%r13
	jmp	LBB0_2
LBB0_7:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	jne	LBB0_9
LBB0_8:
	movl	(%r12), %edi
	movl	4(%r15), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pinmux group: %s not supported\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_spear_pinctrl_endisable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spear_pinctrl_endisable
_spear_pinctrl_endisable:               ; @spear_pinctrl_endisable
	.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	x19, x3
	mov	x21, x2
	bl	_pinctrl_dev_get_drvdata
	mov	x20, x0
	ldr	x10, [x0, #8]
	ldr	x8, [x10, #16]
	ldr	x21, [x8, w21, uxtw #3]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x22, #0
	mov	w9, #0
	mov	w23, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x21, #8]
	ldr	x12, [x10, #8]
	cbz	x12, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w10, [x10]
	ldr	w12, [x11, x22]
	tst	w12, w10
	b.eq	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x11, x22
	ldp	w2, w1, [x8, #4]
	mov	x0, x20
	mov	x3, x19
	bl	_muxregs_endisable
	ldr	w8, [x21]
	mov	w9, #1
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x23, w8, sxtw
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x10, [x20, #8]
	add	x22, x22, #12
	add	x23, x23, #1
	b	LBB0_2
LBB0_7:
	cbz	w9, LBB0_9
; %bb.8:
	mov	w0, #0
	b	LBB0_10
LBB0_9:
	ldr	w0, [x20]
	ldr	w2, [x21, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pinmux group: %s not supported\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_spear_pinctrl_endisable
.subsections_via_symbols
