	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tqmx86_gpio_direction_input
_tqmx86_gpio_direction_input:           ## @tqmx86_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	_BIT
	movq	_TQMX86_DIR_INPUT_MASK@GOTPCREL(%rip), %rdx
	movq	_EINVAL@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	subl	(%rsi), %ecx
	testl	%eax, (%rdx)
	cmovnel	%edi, %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TQMX86_DIR_INPUT_MASK,4,2      ## @TQMX86_DIR_INPUT_MASK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_tqmx86_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 tqmx86_gpio_direction_input
_tqmx86_gpio_direction_input:           ; @tqmx86_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	_BIT
Lloh0:
	adrp	x8, _TQMX86_DIR_INPUT_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TQMX86_DIR_INPUT_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _EINVAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w0
	csneg	w0, wzr, w9, ne
	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	_TQMX86_DIR_INPUT_MASK,4,2      ; @TQMX86_DIR_INPUT_MASK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_tqmx86_gpio_direction_input
.subsections_via_symbols
