	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lp_reset
_lp_reset:                              ## @lp_reset
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_lp_table@GOTPCREL(%rip), %r15
	movslq	%edi, %rbx
	leaq	(,%rbx,4), %r14
	movq	(%r15), %rdi
	addq	%r14, %rdi
	callq	_lp_claim_parport_or_block
	movq	_LP_PSELECP@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	%ebx, %edi
	callq	_w_ctr
	movq	_LP_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_udelay
	movq	_LP_PINITP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r12), %esi
	movl	%ebx, %edi
	callq	_w_ctr
	movl	%ebx, %edi
	callq	_r_str
	movl	%eax, %ebx
	addq	(%r15), %r14
	movq	%r14, %rdi
	callq	_lp_release_parport
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lp_table,8,3                   ## @lp_table
	.comm	_LP_PSELECP,4,2                 ## @LP_PSELECP
	.comm	_LP_DELAY,4,2                   ## @LP_DELAY
	.comm	_LP_PINITP,4,2                  ## @LP_PINITP
	.no_dead_strip	_lp_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lp_reset
_lp_reset:                              ; @lp_reset
	.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	x20, _lp_table@GOTPAGE
Lloh1:
	ldr	x20, [x20, _lp_table@GOTPAGEOFF]
	ldr	x8, [x20]
	sbfiz	x21, x19, #2, #32
	add	x0, x8, x21
	bl	_lp_claim_parport_or_block
Lloh2:
	adrp	x22, _LP_PSELECP@GOTPAGE
Lloh3:
	ldr	x22, [x22, _LP_PSELECP@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_w_ctr
Lloh4:
	adrp	x8, _LP_DELAY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LP_DELAY@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_udelay
	ldr	w8, [x22]
Lloh7:
	adrp	x9, _LP_PINITP@GOTPAGE
Lloh8:
	ldr	x9, [x9, _LP_PINITP@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_w_ctr
	mov	x0, x19
	bl	_r_str
	mov	x19, x0
	ldr	x8, [x20]
	add	x0, x8, x21
	bl	_lp_release_parport
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_lp_table,8,3                   ; @lp_table
	.comm	_LP_PSELECP,4,2                 ; @LP_PSELECP
	.comm	_LP_DELAY,4,2                   ; @LP_DELAY
	.comm	_LP_PINITP,4,2                  ; @LP_PINITP
	.no_dead_strip	_lp_reset
.subsections_via_symbols
