	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msic_gpio_direction_input
_msic_gpio_direction_input:             ## @msic_gpio_direction_input
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %edi
	callq	_msic_gpio_to_oreg
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_MSIC_GPIO_DIR_IN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_MSIC_GPIO_DIR_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	popq	%rbp
	jmp	_intel_msic_reg_update          ## TAILCALL
LBB0_1:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSIC_GPIO_DIR_IN,4,2           ## @MSIC_GPIO_DIR_IN
	.comm	_MSIC_GPIO_DIR_MASK,4,2         ## @MSIC_GPIO_DIR_MASK
	.no_dead_strip	_msic_gpio_direction_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msic_gpio_direction_input
_msic_gpio_direction_input:             ; @msic_gpio_direction_input
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x0, x1
	bl	_msic_gpio_to_oreg
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MSIC_GPIO_DIR_IN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSIC_GPIO_DIR_IN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _MSIC_GPIO_DIR_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSIC_GPIO_DIR_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_intel_msic_reg_update
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSIC_GPIO_DIR_IN,4,2           ; @MSIC_GPIO_DIR_IN
	.comm	_MSIC_GPIO_DIR_MASK,4,2         ; @MSIC_GPIO_DIR_MASK
	.no_dead_strip	_msic_gpio_direction_input
.subsections_via_symbols
