	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parport_ieee1284_epp_read_data ## -- Begin function parport_ieee1284_epp_read_data
	.p2align	4, 0x90
_parport_ieee1284_epp_read_data:        ## @parport_ieee1284_epp_read_data
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_PARPORT_CONTROL_STROBE@GOTPCREL(%rip), %rcx
	movq	_PARPORT_CONTROL_AUTOFD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_PARPORT_CONTROL_SELECT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rdx, %r14
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	_PARPORT_CONTROL_INIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	%edx, %eax
	movl	%eax, %esi
	callq	_parport_frob_control
	movq	(%r13), %rax
	movq	%r13, %rdi
	callq	*8(%rax)
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	movq	_PARPORT_STATUS_BUSY@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_PARPORT_CONTROL_AUTOFD@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r13, %rdi
	movl	%edx, %esi
	callq	_parport_frob_control
	movl	(%r12), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_parport_wait_peripheral
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_parport_read_data
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movb	%al, (%rcx,%rbx)
	movl	(%r15), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_parport_frob_control
	movl	(%r12), %edx
	movq	%r13, %rdi
	movl	%edx, %esi
	movl	$5, %ecx
	callq	_parport_poll_peripheral
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_3
	jmp	LBB0_7
LBB0_6:
	movl	%ebx, %r14d
	jmp	LBB0_7
LBB0_1:
	xorl	%r14d, %r14d
LBB0_7:
	movq	(%r13), %rax
	movq	%r13, %rdi
	callq	*(%rax)
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PARPORT_CONTROL_STROBE,4,2     ## @PARPORT_CONTROL_STROBE
	.comm	_PARPORT_CONTROL_AUTOFD,4,2     ## @PARPORT_CONTROL_AUTOFD
	.comm	_PARPORT_CONTROL_SELECT,4,2     ## @PARPORT_CONTROL_SELECT
	.comm	_PARPORT_CONTROL_INIT,4,2       ## @PARPORT_CONTROL_INIT
	.comm	_PARPORT_STATUS_BUSY,4,2        ## @PARPORT_STATUS_BUSY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parport_ieee1284_epp_read_data ; -- Begin function parport_ieee1284_epp_read_data
	.p2align	2
_parport_ieee1284_epp_read_data:        ; @parport_ieee1284_epp_read_data
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PARPORT_CONTROL_STROBE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PARPORT_CONTROL_STROBE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x22, _PARPORT_CONTROL_AUTOFD@GOTPAGE
Lloh4:
	ldr	x22, [x22, _PARPORT_CONTROL_AUTOFD@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w8, w9, w8
Lloh5:
	adrp	x9, _PARPORT_CONTROL_SELECT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PARPORT_CONTROL_SELECT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh8:
	adrp	x9, _PARPORT_CONTROL_INIT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PARPORT_CONTROL_INIT@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x9]
	orr	w1, w8, w2
	bl	_parport_frob_control
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
	cbz	x20, LBB0_6
; %bb.1:
	mov	x23, #0
Lloh11:
	adrp	x24, _PARPORT_STATUS_BUSY@GOTPAGE
Lloh12:
	ldr	x24, [x24, _PARPORT_STATUS_BUSY@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x1
	bl	_parport_frob_control
	ldr	w1, [x24]
	mov	x0, x19
	mov	w2, #0
	bl	_parport_wait_peripheral
	cbnz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_parport_read_data
	strb	w0, [x21, x23]
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #0
	bl	_parport_frob_control
	ldr	w1, [x24]
	mov	x0, x19
	mov	x2, x1
	mov	w3, #5
	bl	_parport_poll_peripheral
	cbnz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	cmp	x20, x23
	b.ne	LBB0_2
	b	LBB0_6
LBB0_5:
	mov	x20, x23
LBB0_6:
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	mov	w0, w20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_PARPORT_CONTROL_STROBE,4,2     ; @PARPORT_CONTROL_STROBE
	.comm	_PARPORT_CONTROL_AUTOFD,4,2     ; @PARPORT_CONTROL_AUTOFD
	.comm	_PARPORT_CONTROL_SELECT,4,2     ; @PARPORT_CONTROL_SELECT
	.comm	_PARPORT_CONTROL_INIT,4,2       ; @PARPORT_CONTROL_INIT
	.comm	_PARPORT_STATUS_BUSY,4,2        ; @PARPORT_STATUS_BUSY
.subsections_via_symbols
