	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function plip_send
_plip_send:                             ## @plip_send
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rsi, %r13
	movl	%edi, %r12d
	movl	(%rdx), %eax
	movq	_OK@GOTPCREL(%rip), %rbx
	cmpl	$128, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_18
## %bb.3:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	%r15d, %ebx
	andb	$15, %bl
	jmp	LBB0_6
LBB0_5:
	movl	%r15d, %ebx
	andb	$15, %bl
	movzbl	%bl, %esi
	movq	%r13, %rdi
	callq	_write_data
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	$130, (%r14)
LBB0_6:
	orb	$16, %bl
	movzbl	%bl, %esi
	movq	%r13, %rdi
	callq	_write_data
	movzwl	%r12w, %r14d
	movq	%r13, %rdi
	callq	_read_status
	testb	%al, %al
	jns	LBB0_11
## %bb.7:
	movq	_PLIP_DELAY_UNIT@GOTPCREL(%rip), %r12
	movl	%r14d, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	decl	%ebx
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	(%r12), %edi
	callq	_udelay
	movq	%r13, %rdi
	callq	_read_status
	testb	%al, %al
	js	LBB0_8
LBB0_11:
	shrb	$4, %r15b
	leal	16(%r15), %eax
	movzbl	%al, %esi
	movq	%r13, %rdi
	callq	_write_data
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$129, (%rax)
	movq	_OK@GOTPCREL(%rip), %rbx
	jmp	LBB0_12
LBB0_4:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	shrb	$4, %r15b
	movzwl	%r12w, %r14d
LBB0_12:
	movzbl	%r15b, %esi
	movq	%r13, %rdi
	callq	_write_data
	movq	%r13, %rdi
	callq	_read_status
	testb	%al, %al
	js	LBB0_17
## %bb.13:
	movq	_TIMEOUT@GOTPCREL(%rip), %r15
	movq	_PLIP_DELAY_UNIT@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	decl	%r14d
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	(%r12), %edi
	callq	_udelay
	movq	%r13, %rdi
	callq	_read_status
	testb	%al, %al
	jns	LBB0_14
LBB0_17:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$128, (%rax)
	jmp	LBB0_18
LBB0_15:
	movq	%r15, %rbx
	jmp	LBB0_18
LBB0_9:
	movq	_TIMEOUT@GOTPCREL(%rip), %rbx
LBB0_18:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIMEOUT,4,2                    ## @TIMEOUT
	.comm	_PLIP_DELAY_UNIT,4,2            ## @PLIP_DELAY_UNIT
	.comm	_OK,4,2                         ## @OK
	.no_dead_strip	_plip_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function plip_send
_plip_send:                             ; @plip_send
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w8, [x2]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_10
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_16
; %bb.3:
	and	w23, w22, #0xf
	b	LBB0_5
LBB0_4:
	and	w23, w22, #0xf
	mov	x0, x20
	mov	x1, x23
	bl	_write_data
	mov	w8, #130
	str	w8, [x19]
LBB0_5:
	orr	w1, w23, #0x10
	mov	x0, x20
	bl	_write_data
	mov	x0, x20
	bl	_read_status
	tbz	w0, #7, LBB0_9
; %bb.6:
Lloh0:
	adrp	x23, _TIMEOUT@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TIMEOUT@GOTPAGEOFF]
Lloh2:
	adrp	x24, _PLIP_DELAY_UNIT@GOTPAGE
Lloh3:
	ldr	x24, [x24, _PLIP_DELAY_UNIT@GOTPAGEOFF]
	mov	x25, x21
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	subs	w25, w25, #1
	b.eq	LBB0_17
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x24]
	bl	_udelay
	mov	x0, x20
	bl	_read_status
	tbnz	w0, #7, LBB0_7
LBB0_9:
	lsr	w22, w22, #4
	orr	w1, w22, #0x10
	mov	x0, x20
	bl	_write_data
	mov	w8, #129
	str	w8, [x19]
	b	LBB0_11
LBB0_10:
	lsr	w22, w22, #4
LBB0_11:
	mov	x0, x20
	mov	x1, x22
	bl	_write_data
	mov	x0, x20
	bl	_read_status
	tbnz	w0, #7, LBB0_15
; %bb.12:
Lloh4:
	adrp	x23, _TIMEOUT@GOTPAGE
Lloh5:
	ldr	x23, [x23, _TIMEOUT@GOTPAGEOFF]
Lloh6:
	adrp	x22, _PLIP_DELAY_UNIT@GOTPAGE
Lloh7:
	ldr	x22, [x22, _PLIP_DELAY_UNIT@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	subs	w21, w21, #1
	b.eq	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x22]
	bl	_udelay
	mov	x0, x20
	bl	_read_status
	tbz	w0, #7, LBB0_13
LBB0_15:
	mov	w8, #128
	str	w8, [x19]
LBB0_16:
Lloh8:
	adrp	x23, _OK@GOTPAGE
Lloh9:
	ldr	x23, [x23, _OK@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x23]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_TIMEOUT,4,2                    ; @TIMEOUT
	.comm	_PLIP_DELAY_UNIT,4,2            ; @PLIP_DELAY_UNIT
	.comm	_OK,4,2                         ; @OK
	.no_dead_strip	_plip_send
.subsections_via_symbols
