	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netup_jtag_io_lpt              ## -- Begin function netup_jtag_io_lpt
	.p2align	4, 0x90
_netup_jtag_io_lpt:                     ## @netup_jtag_io_lpt
	.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
	movl	%ecx, %r14d
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	_lpt_hardware_initialized@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jne	LBB0_2
## %bb.1:
	movl	$2, %edi
	callq	_byteblaster_read
                                        ## kill: def $eax killed $eax def $rax
	andl	$221, %eax
	leal	2(%rax), %esi
	movl	$2, %edi
	callq	_byteblaster_write
	movl	$1, (%r12)
LBB0_2:
	xorl	%eax, %eax
	testl	%ebx, %ebx
	setne	%al
	shll	$6, %eax
	xorl	%ecx, %ecx
	testl	%r15d, %r15d
	setne	%cl
	leal	(%rax,%rcx,2), %r15d
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movl	%r15d, %esi
	callq	_byteblaster_write
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:
	movl	$1, %edi
	callq	_byteblaster_read
	xorl	%ebx, %ebx
	testb	$-128, %al
	sete	%bl
LBB0_4:
	movl	%r15d, %esi
	orl	$1, %esi
	xorl	%edi, %edi
	callq	_byteblaster_write
	xorl	%edi, %edi
	movl	%r15d, %esi
	callq	_byteblaster_write
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lpt_hardware_initialized,4,2   ## @lpt_hardware_initialized
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_netup_jtag_io_lpt              ; -- Begin function netup_jtag_io_lpt
	.p2align	2
_netup_jtag_io_lpt:                     ; @netup_jtag_io_lpt
	.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, x3
	mov	x21, x2
	mov	x20, x1
Lloh0:
	adrp	x22, _lpt_hardware_initialized@GOTPAGE
Lloh1:
	ldr	x22, [x22, _lpt_hardware_initialized@GOTPAGEOFF]
	ldr	w8, [x22]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	w0, #2
	bl	_byteblaster_read
	mov	w8, #221
	and	w8, w0, w8
	orr	w1, w8, #0x2
	mov	w0, #2
	bl	_byteblaster_write
	mov	w8, #1
	str	w8, [x22]
LBB0_2:
	cmp	w21, #0
	cset	w8, ne
	cmp	w20, #0
	cset	w9, ne
	lsl	w20, w9, #1
	bfi	w20, w8, #6, #1
	mov	w0, #0
	mov	x1, x20
	bl	_byteblaster_write
	cbz	w19, LBB0_4
; %bb.3:
	mov	w19, #1
	mov	w0, #1
	bl	_byteblaster_read
	bic	w19, w19, w0, lsr #7
LBB0_4:
	orr	w1, w20, #0x1
	mov	w0, #0
	bl	_byteblaster_write
	mov	w0, #0
	mov	x1, x20
	bl	_byteblaster_write
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_lpt_hardware_initialized,4,2   ; @lpt_hardware_initialized
.subsections_via_symbols
