	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parport_ip32_clear_epp_timeout
_parport_ip32_clear_epp_timeout:        ## @parport_ip32_clear_epp_timeout
	.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	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %r12
	callq	_parport_ip32_read_status
	movq	_DSR_TIMEOUT@GOTPCREL(%rip), %r15
	testl	%eax, (%r15)
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_parport_ip32_read_status
	movq	%r14, %rdi
	callq	_parport_ip32_read_status
	movl	%eax, %ebx
	movl	(%r15), %edi
	orl	%eax, %edi
	movl	(%r12), %esi
	callq	_writeb
	movl	(%r15), %edi
	notl	%edi
	andl	%ebx, %edi
	movl	(%r12), %esi
	callq	_writeb
	movq	%r14, %rdi
	callq	_parport_ip32_read_status
	xorl	%ebx, %ebx
	testl	%eax, (%r15)
	sete	%bl
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.1(%rip), %rdx
	movl	$1, %ebx
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_pr_trace
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSR_TIMEOUT,4,2                ## @DSR_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(): %s"

L_.str.1:                               ## @.str.1
	.asciz	"cleared"

L_.str.2:                               ## @.str.2
	.asciz	"failed"

	.no_dead_strip	_parport_ip32_clear_epp_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parport_ip32_clear_epp_timeout
_parport_ip32_clear_epp_timeout:        ; @parport_ip32_clear_epp_timeout
	.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	x19, x0
	ldr	x8, [x0]
	ldr	x23, [x8]
	bl	_parport_ip32_read_status
Lloh0:
	adrp	x22, _DSR_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DSR_TIMEOUT@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_parport_ip32_read_status
	mov	x0, x19
	bl	_parport_ip32_read_status
	mov	x21, x0
	ldr	w8, [x22]
	orr	w0, w8, w0
	ldr	w1, [x23]
	bl	_writeb
	ldr	w8, [x22]
	bic	w0, w21, w8
	ldr	w1, [x23]
	bl	_writeb
	mov	x0, x19
	bl	_parport_ip32_read_status
	ldr	w8, [x22]
	tst	w8, w0
	cset	w21, eq
Lloh4:
	adrp	x8, l_.str.2@PAGE
Lloh5:
	add	x8, x8, l_.str.2@PAGEOFF
	csel	x20, x20, x8, eq
	b	LBB0_3
LBB0_2:
	mov	w21, #1
LBB0_3:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_pr_trace
	mov	x0, x21
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DSR_TIMEOUT,4,2                ; @DSR_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(): %s"

l_.str.1:                               ; @.str.1
	.asciz	"cleared"

l_.str.2:                               ; @.str.2
	.asciz	"failed"

	.no_dead_strip	_parport_ip32_clear_epp_timeout
.subsections_via_symbols
