	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ForwardSetup
_ForwardSetup:                          ## @ForwardSetup
	.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
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_IEEE1284_MODE_ECP@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_parport_negotiate
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movl	$10, %edi
	callq	_mdelay
	movl	(%rbx), %edi
	movl	(%r15), %esi
	callq	_parport_negotiate
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movl	$10, %edi
	callq	_mdelay
	movl	(%rbx), %edi
	movl	(%r15), %esi
	callq	_parport_negotiate
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movl	$10, %edi
	callq	_mdelay
	movl	(%rbx), %edi
	movl	(%r15), %esi
	callq	_parport_negotiate
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	$10, %edi
	callq	_mdelay
	leaq	L_.str(%rip), %rdi
	callq	_DBG
	movl	$-1, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE1284_MODE_ECP,4,2          ## @IEEE1284_MODE_ECP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to negotiate IEEE1284 ECP Download mode\n"

	.no_dead_strip	_ForwardSetup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ForwardSetup
_ForwardSetup:                          ; @ForwardSetup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x20, _IEEE1284_MODE_ECP@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IEEE1284_MODE_ECP@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_parport_negotiate
	cbz	w0, LBB0_5
; %bb.1:
	mov	w0, #10
	bl	_mdelay
	ldr	w0, [x19]
	ldr	w1, [x20]
	bl	_parport_negotiate
	cbz	w0, LBB0_5
; %bb.2:
	mov	w0, #10
	bl	_mdelay
	ldr	w0, [x19]
	ldr	w1, [x20]
	bl	_parport_negotiate
	cbz	w0, LBB0_5
; %bb.3:
	mov	w0, #10
	bl	_mdelay
	ldr	w0, [x19]
	ldr	w1, [x20]
	bl	_parport_negotiate
	cbz	w0, LBB0_5
; %bb.4:
	mov	w0, #10
	bl	_mdelay
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE1284_MODE_ECP,4,2          ; @IEEE1284_MODE_ECP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to negotiate IEEE1284 ECP Download mode\n"

	.no_dead_strip	_ForwardSetup
.subsections_via_symbols
