	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lp_error
_lp_error:                              ## @lp_error
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_wait@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DEFINE_WAIT
	movl	%ebx, %edi
	callq	_LP_F
	movq	_LP_ABORT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_lp_table@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movslq	%ebx, %rbx
	shlq	$4, %rbx
	movq	(%rdi,%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_PARPORT_IRQ_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.4:
	addq	%rbx, %rdi
	callq	_lp_release_parport
	movq	(%r15), %rax
	leaq	(%rax,%rbx), %rdi
	addq	$8, %rdi
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_wait@GOTPCREL(%rip), %r14
	movq	%r14, %rsi
	callq	_prepare_to_wait
	movq	_LP_TIMEOUT_POLLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_schedule_timeout
	movq	(%r15), %rax
	leaq	(%rax,%rbx), %rdi
	addq	$8, %rdi
	movq	%r14, %rsi
	callq	_finish_wait
	addq	(%r15), %rbx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_lp_claim_parport_or_block      ## TAILCALL
LBB0_2:
	addq	%rbx, %rdi
	addq	$8, %rdi
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_wait@GOTPCREL(%rip), %r14
	movq	%r14, %rsi
	callq	_prepare_to_wait
	movq	_LP_TIMEOUT_POLLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_schedule_timeout
	movq	(%r15), %rax
	leaq	(%rax,%rbx), %rdi
	addq	$8, %rdi
	movq	%r14, %rsi
	callq	_finish_wait
	movq	(%r15), %rax
	movq	(%rax,%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_parport_yield_blocking         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_wait,4,2                       ## @wait
	.comm	_LP_ABORT,4,2                   ## @LP_ABORT
	.comm	_lp_table,8,3                   ## @lp_table
	.comm	_PARPORT_IRQ_NONE,8,3           ## @PARPORT_IRQ_NONE
	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_LP_TIMEOUT_POLLED,4,2          ## @LP_TIMEOUT_POLLED
	.no_dead_strip	_lp_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lp_error
_lp_error:                              ; @lp_error
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _wait@GOTPAGE
Lloh1:
	ldr	x8, [x8, _wait@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_DEFINE_WAIT
	mov	x0, x19
	bl	_LP_F
Lloh3:
	adrp	x8, _LP_ABORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LP_ABORT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x20, _lp_table@GOTPAGE
Lloh7:
	ldr	x20, [x20, _lp_table@GOTPAGEOFF]
	ldr	x8, [x20]
	sxtw	x21, w19
	add	x0, x8, w19, sxtw #4
	ldr	x9, [x0]
	ldr	x9, [x9]
	ldr	x9, [x9]
Lloh8:
	adrp	x10, _PARPORT_IRQ_NONE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _PARPORT_IRQ_NONE@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.3:
	bl	_lp_release_parport
	ldr	x8, [x20]
	lsl	x21, x21, #4
	add	x8, x8, x21
	add	x0, x8, #8
Lloh11:
	adrp	x8, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x19, _wait@GOTPAGE
Lloh15:
	ldr	x19, [x19, _wait@GOTPAGEOFF]
	mov	x1, x19
	bl	_prepare_to_wait
Lloh16:
	adrp	x8, _LP_TIMEOUT_POLLED@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LP_TIMEOUT_POLLED@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_schedule_timeout
	ldr	x8, [x20]
	add	x8, x8, x21
	add	x0, x8, #8
	mov	x1, x19
	bl	_finish_wait
	ldr	x8, [x20]
	add	x0, x8, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_lp_claim_parport_or_block
LBB0_4:
	lsl	x21, x21, #4
	add	x8, x8, x21
	add	x0, x8, #8
Lloh19:
	adrp	x8, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	adrp	x19, _wait@GOTPAGE
Lloh23:
	ldr	x19, [x19, _wait@GOTPAGEOFF]
	mov	x1, x19
	bl	_prepare_to_wait
Lloh24:
	adrp	x8, _LP_TIMEOUT_POLLED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _LP_TIMEOUT_POLLED@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_schedule_timeout
	ldr	x8, [x20]
	add	x8, x8, x21
	add	x0, x8, #8
	mov	x1, x19
	bl	_finish_wait
	ldr	x8, [x20]
	ldr	x0, [x8, x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_parport_yield_blocking
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_wait,4,2                       ; @wait
	.comm	_LP_ABORT,4,2                   ; @LP_ABORT
	.comm	_lp_table,8,3                   ; @lp_table
	.comm	_PARPORT_IRQ_NONE,8,3           ; @PARPORT_IRQ_NONE
	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_LP_TIMEOUT_POLLED,4,2          ; @LP_TIMEOUT_POLLED
	.no_dead_strip	_lp_error
.subsections_via_symbols
