	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ns2_pinmux_enable
_ns2_pinmux_enable:                     ## @ns2_pinmux_enable
	.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
	movl	%edx, %r15d
	movl	%esi, %r13d
	movq	%rdi, %r14
	callq	_pinctrl_dev_get_drvdata
	cmpl	%r15d, (%rax)
	jbe	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	cmpl	%r13d, 4(%rax)
	jbe	LBB0_2
## %bb.3:
	movq	16(%rbx), %rsi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	24(%rbx), %rax
	movl	%r13d, %ecx
	leaq	(%rax,%rcx,4), %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%r15d, %r12d
	shlq	$4, %r12
	leaq	(%rsi,%r12), %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	(%r14), %edi
	movl	(%rax,%rcx,4), %ecx
	movl	12(%rsi,%r12), %r9d
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	movl	%r15d, %r8d
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	(%r14), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax,%r12), %edx
	movl	(%rax,%r12), %r8d
	movl	4(%rax,%r12), %ecx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	8(%rbx), %ecx
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ns2_pinmux_set                 ## TAILCALL
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"func:%u name:%s grp:%u name:%s\n"

L_.str.1:                               ## @.str.1
	.asciz	"offset:0x%08x shift:%u alt:%u\n"

	.no_dead_strip	_ns2_pinmux_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ns2_pinmux_enable
_ns2_pinmux_enable:                     ; @ns2_pinmux_enable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	bl	_pinctrl_dev_get_drvdata
	ldr	w8, [x0]
	cmp	w8, w21
	b.ls	LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #4]
	cmp	w8, w22
	b.ls	LBB0_3
; %bb.2:
	ldp	x9, x8, [x19, #16]
	add	x23, x8, w22, uxtw #2
	add	x24, x9, w21, uxtw #4
	ldr	w0, [x20]
	ldr	w3, [x23]
	ldr	w8, [x24, #12]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	str	x8, [sp]
	mov	x2, x22
	mov	x4, x21
	bl	_dev_dbg
	ldr	w0, [x20]
	ldp	w3, w2, [x24, #4]
	ldr	w4, [x24]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_dbg
	ldr	w3, [x19, #8]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	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
	add	sp, sp, #80
	b	_ns2_pinmux_set
LBB0_3:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"func:%u name:%s grp:%u name:%s\n"

l_.str.1:                               ; @.str.1
	.asciz	"offset:0x%08x shift:%u alt:%u\n"

	.no_dead_strip	_ns2_pinmux_enable
.subsections_via_symbols
