	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parport_ip32_fifo_write_block_pio
_parport_ip32_fifo_write_block_pio:     ## @parport_ip32_fifo_write_block_pio
	.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	8(%rdi), %rax
	movq	(%rax), %r13
	movq	_PARPORT_IP32_IRQ_HERE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	testq	%rdx, %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_10
## %bb.1:
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	%rdx, %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r13), %edi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_writesb
	movl	%ebx, %eax
	leaq	(%r12,%rax,4), %r12
	subq	%rax, %r14
	testq	%r14, %r14
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	_PARPORT_IRQ_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_parport_ip32_fwp_wait_polling
	testl	%eax, %eax
	jne	LBB0_6
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_parport_ip32_fwp_wait_interrupt
	testl	%eax, %eax
	je	LBB0_11
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ecx
	cmpq	%rcx, %r14
	movl	%r14d, %ebx
	cmovael	%eax, %ebx
	cmpl	$1, %ebx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	movl	4(%r13), %esi
	callq	_writeb
	addq	$4, %r12
	decq	%r14
	testq	%r14, %r14
	jne	LBB0_2
LBB0_10:
	xorl	%r14d, %r14d
LBB0_11:
	movq	_PARPORT_IP32_IRQ_FWD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PARPORT_IP32_IRQ_HERE,4,2      ## @PARPORT_IP32_IRQ_HERE
	.comm	_PARPORT_IRQ_NONE,8,3           ## @PARPORT_IRQ_NONE
	.comm	_PARPORT_IP32_IRQ_FWD,4,2       ## @PARPORT_IP32_IRQ_FWD
	.no_dead_strip	_parport_ip32_fifo_write_block_pio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parport_ip32_fifo_write_block_pio
_parport_ip32_fifo_write_block_pio:     ; @parport_ip32_fifo_write_block_pio
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	ldr	x8, [x0, #8]
	ldr	x23, [x8]
Lloh0:
	adrp	x8, _PARPORT_IP32_IRQ_HERE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PARPORT_IP32_IRQ_HERE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x23]
	cbz	x2, LBB0_8
; %bb.1:
	mov	x20, x1
	mov	x21, x0
Lloh3:
	adrp	x25, _PARPORT_IRQ_NONE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _PARPORT_IRQ_NONE@GOTPAGEOFF]
	mov	x24, x19
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x23, #4]
	mov	x1, x20
	mov	x2, x22
	bl	_writesb
	add	x20, x20, w22, uxtw #2
	sub	x24, x24, w22, uxtw
	cbz	x24, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x9, [x25]
	mov	x0, x21
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_parport_ip32_fwp_wait_polling
	cbnz	w0, LBB0_6
	b	LBB0_9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_parport_ip32_fwp_wait_interrupt
	cbz	w0, LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x24, w0, uxtw
	csel	w22, w24, w0, lo
	cmp	w22, #1
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x20], #4
	ldr	w1, [x23, #4]
	bl	_writeb
	sub	x24, x24, #1
	cbnz	x24, LBB0_3
	b	LBB0_9
LBB0_8:
	mov	x24, #0
LBB0_9:
Lloh5:
	adrp	x8, _PARPORT_IP32_IRQ_FWD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PARPORT_IP32_IRQ_FWD@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x23]
	sub	x0, x19, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PARPORT_IP32_IRQ_HERE,4,2      ; @PARPORT_IP32_IRQ_HERE
	.comm	_PARPORT_IRQ_NONE,8,3           ; @PARPORT_IRQ_NONE
	.comm	_PARPORT_IP32_IRQ_FWD,4,2       ; @PARPORT_IP32_IRQ_FWD
	.no_dead_strip	_parport_ip32_fifo_write_block_pio
.subsections_via_symbols
