	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lmc_gpio_mkinput               ## -- Begin function lmc_gpio_mkinput
	.p2align	4, 0x90
_lmc_gpio_mkinput:                      ## @lmc_gpio_mkinput
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_lmc_trace
	notl	%ebx
	andl	(%r14), %ebx
	movl	%ebx, (%r14)
	movq	_csr_gp@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TULIP_GP_PINSET@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_LMC_CSR_WRITE
	movl	4(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_lmc_trace                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lmc_gpio_mkinput in"

	.comm	_csr_gp,4,2                     ## @csr_gp
	.comm	_TULIP_GP_PINSET,4,2            ## @TULIP_GP_PINSET
L_.str.1:                               ## @.str.1
	.asciz	"lmc_gpio_mkinput out"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lmc_gpio_mkinput               ; -- Begin function lmc_gpio_mkinput
	.p2align	2
_lmc_gpio_mkinput:                      ; @lmc_gpio_mkinput
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_lmc_trace
	ldr	w8, [x20]
	bic	w8, w8, w19
Lloh2:
	adrp	x9, _csr_gp@GOTPAGE
Lloh3:
	ldr	x9, [x9, _csr_gp@GOTPAGEOFF]
	str	w8, [x20]
Lloh4:
	ldr	w1, [x9]
Lloh5:
	adrp	x9, _TULIP_GP_PINSET@GOTPAGE
Lloh6:
	ldr	x9, [x9, _TULIP_GP_PINSET@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_LMC_CSR_WRITE
	ldr	w0, [x20, #4]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_lmc_trace
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lmc_gpio_mkinput in"

	.comm	_csr_gp,4,2                     ; @csr_gp
	.comm	_TULIP_GP_PINSET,4,2            ; @TULIP_GP_PINSET
l_.str.1:                               ; @.str.1
	.asciz	"lmc_gpio_mkinput out"

.subsections_via_symbols
