	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msic_gpio_get
_msic_gpio_get:                         ## @msic_gpio_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	%esi, %edi
	callq	_msic_gpio_to_ireg
	testl	%eax, %eax
	js	LBB0_3
## %bb.1:
	leaq	-4(%rbp), %rsi
	movl	%eax, %edi
	callq	_intel_msic_reg_read
	testl	%eax, %eax
	js	LBB0_3
## %bb.2:
	movq	_MSIC_GPIO_DIN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, -4(%rbp)
	setne	%al
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSIC_GPIO_DIN_MASK,4,2         ## @MSIC_GPIO_DIN_MASK
	.no_dead_strip	_msic_gpio_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msic_gpio_get
_msic_gpio_get:                         ; @msic_gpio_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	x0, x1
	bl	_msic_gpio_to_ireg
	tbnz	w0, #31, LBB0_3
; %bb.1:
	sub	x1, x29, #4
	bl	_intel_msic_reg_read
	tbnz	w0, #31, LBB0_3
; %bb.2:
	ldur	w8, [x29, #-4]
Lloh0:
	adrp	x9, _MSIC_GPIO_DIN_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MSIC_GPIO_DIN_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSIC_GPIO_DIN_MASK,4,2         ; @MSIC_GPIO_DIN_MASK
	.no_dead_strip	_msic_gpio_get
.subsections_via_symbols
