	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _disablegpio
__disablegpio:                          ## @_disablegpio
	.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
	callq	_rtl_priv
	movq	%rax, %rbx
	movq	_REG_GPIO_PIN_CTRL@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	addq	$2, %rsi
	movq	%rax, %rdi
	xorl	%edx, %edx
	callq	_rtl_write_word
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_rtl_read_dword
	movl	%eax, %ecx
	andl	$-16776961, %ecx                ## imm = 0xFF0000FF
	shll	$8, %eax
	movzwl	%ax, %eax
	leal	(%rcx,%rax), %edx
	addl	$16711680, %edx                 ## imm = 0xFF0000
	movq	(%r14), %rsi
	movq	%rbx, %rdi
	callq	_rtl_write_dword
	movq	_REG_GPIO_MUXCFG@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	addq	$3, %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_rtl_write_byte
	movq	(%r15), %rsi
	addq	$2, %rsi
	movq	%rbx, %rdi
	callq	_rtl_read_word
	movl	%eax, %ecx
	andl	$63503, %ecx                    ## imm = 0xF80F
	shll	$4, %eax
	movzbl	%al, %edx
	orl	%ecx, %edx
	orl	$1920, %edx                     ## imm = 0x780
	movq	(%r14), %rsi
	addq	$2, %rsi
	movq	%rbx, %rdi
	callq	_rtl_write_word
	movq	_REG_LEDCFG0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	movl	$32896, %edx                    ## imm = 0x8080
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_write_word                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_GPIO_PIN_CTRL,8,3          ## @REG_GPIO_PIN_CTRL
	.comm	_REG_GPIO_MUXCFG,8,3            ## @REG_GPIO_MUXCFG
	.comm	_REG_LEDCFG0,8,3                ## @REG_LEDCFG0
	.no_dead_strip	__disablegpio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _disablegpio
__disablegpio:                          ; @_disablegpio
	.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
	bl	_rtl_priv
	mov	x19, x0
Lloh0:
	adrp	x20, _REG_GPIO_PIN_CTRL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _REG_GPIO_PIN_CTRL@GOTPAGEOFF]
	ldr	x8, [x20]
	add	x1, x8, #2
	mov	w2, #0
	bl	_rtl_write_word
	ldr	x1, [x20]
	mov	x0, x19
	bl	_rtl_read_dword
	and	w8, w0, #0xff0000ff
	bfi	w8, w0, #8, #8
	orr	w2, w8, #0xff0000
	ldr	x1, [x20]
	mov	x0, x19
	bl	_rtl_write_dword
Lloh2:
	adrp	x21, _REG_GPIO_MUXCFG@GOTPAGE
Lloh3:
	ldr	x21, [x21, _REG_GPIO_MUXCFG@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x1, x8, #3
	mov	x0, x19
	mov	w2, #0
	bl	_rtl_write_byte
	ldr	x8, [x21]
	add	x1, x8, #2
	mov	x0, x19
	bl	_rtl_read_word
	mov	w8, #63503
	and	w8, w0, w8
	bfi	w8, w0, #4, #3
	orr	w2, w8, #0x780
	ldr	x8, [x20]
	add	x1, x8, #2
	mov	x0, x19
	bl	_rtl_write_word
Lloh4:
	adrp	x8, _REG_LEDCFG0@GOTPAGE
Lloh5:
	ldr	x8, [x8, _REG_LEDCFG0@GOTPAGEOFF]
Lloh6:
	ldr	x1, [x8]
	mov	x0, x19
	mov	w2, #32896
	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	_rtl_write_word
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_GPIO_PIN_CTRL,8,3          ; @REG_GPIO_PIN_CTRL
	.comm	_REG_GPIO_MUXCFG,8,3            ; @REG_GPIO_MUXCFG
	.comm	_REG_LEDCFG0,8,3                ; @REG_LEDCFG0
	.no_dead_strip	__disablegpio
.subsections_via_symbols
