	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nsp_gpio_disable_free
_nsp_gpio_disable_free:                 ## @nsp_gpio_disable_free
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rdi, %rbx
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	%r15d, %ecx
	movq	(%rax,%rcx,8), %rbx
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	4(%r14), %edi
	callq	_readl
	movl	$1, %edx
	movl	%r15d, %ecx
	shll	%cl, %edx
	movl	%eax, %edi
	andl	%edx, %edi
	movl	(%rbx), %ebx
	movl	%ebx, %esi
	shll	%cl, %esi
	cmpl	%esi, %edi
	jne	LBB0_2
## %bb.1:
	movl	%edx, %ecx
	notl	%ecx
	andl	%eax, %ecx
	orl	%edx, %eax
	testl	%ebx, %ebx
	cmovnel	%ecx, %eax
	movl	4(%r14), %esi
	movl	%eax, %edi
	callq	_writel
LBB0_2:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nsp_gpio_disable_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nsp_gpio_disable_free
_nsp_gpio_disable_free:                 ; @nsp_gpio_disable_free
	.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	x20, x2
	mov	x21, x0
	bl	_pinctrl_dev_get_drvdata
	mov	x19, x0
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x21, [x8, w20, uxtw #3]
	bl	_spin_lock_irqsave
	ldr	w0, [x19, #4]
	bl	_readl
	mov	w8, #1
	lsl	w8, w8, w20
	and	w10, w0, w8
	ldr	w9, [x21]
	lsl	w11, w9, w20
	cmp	w10, w11
	b.ne	LBB0_2
; %bb.1:
	bic	w10, w0, w8
	orr	w8, w0, w8
	cmp	w9, #0
	csel	w0, w8, w10, eq
	ldr	w1, [x19, #4]
	bl	_writel
LBB0_2:
	mov	x0, x19
	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
	b	_spin_unlock_irqrestore
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nsp_gpio_disable_free
.subsections_via_symbols
