	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function data_in
_data_in:                               ## @data_in
	.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
	movq	_IBM4704_DATA_BIT@GOTPCREL(%rip), %r14
	movb	(%r14), %cl
	movl	$1, %ebx
	movl	$1, %eax
	shll	%cl, %eax
	movl	$-2, %edx
	roll	%cl, %edx
	movq	_IBM4704_DATA_DDR@GOTPCREL(%rip), %rcx
	andl	%edx, (%rcx)
	movq	_IBM4704_DATA_PORT@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
	movl	$1, %edi
	callq	__delay_us
	movb	(%r14), %cl
	shll	%cl, %ebx
	movq	_IBM4704_DATA_PIN@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IBM4704_DATA_BIT,4,2           ## @IBM4704_DATA_BIT
	.comm	_IBM4704_DATA_DDR,4,2           ## @IBM4704_DATA_DDR
	.comm	_IBM4704_DATA_PORT,4,2          ## @IBM4704_DATA_PORT
	.comm	_IBM4704_DATA_PIN,4,2           ## @IBM4704_DATA_PIN
	.no_dead_strip	_data_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function data_in
_data_in:                               ; @data_in
	.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
Lloh0:
	adrp	x19, _IBM4704_DATA_BIT@GOTPAGE
Lloh1:
	ldr	x19, [x19, _IBM4704_DATA_BIT@GOTPAGEOFF]
	ldr	w8, [x19]
	mov	w20, #1
	lsl	w8, w20, w8
Lloh2:
	adrp	x9, _IBM4704_DATA_DDR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IBM4704_DATA_DDR@GOTPAGEOFF]
	ldr	w10, [x9]
	bic	w10, w10, w8
	str	w10, [x9]
Lloh4:
	adrp	x9, _IBM4704_DATA_PORT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _IBM4704_DATA_PORT@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	mov	w0, #1
	bl	__delay_us
Lloh6:
	adrp	x8, _IBM4704_DATA_PIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IBM4704_DATA_PIN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19]
	lsl	w9, w20, w9
	and	w0, w9, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IBM4704_DATA_BIT,4,2           ; @IBM4704_DATA_BIT
	.comm	_IBM4704_DATA_DDR,4,2           ; @IBM4704_DATA_DDR
	.comm	_IBM4704_DATA_PORT,4,2          ; @IBM4704_DATA_PORT
	.comm	_IBM4704_DATA_PIN,4,2           ; @IBM4704_DATA_PIN
	.no_dead_strip	_data_in
.subsections_via_symbols
