	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_data_dl
_handle_data_dl:                        ## @handle_data_dl
	.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	%r9d, %ebx
	movl	%r8d, %r13d
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rdi, %r12
	movl	(%rdx), %edx
	testl	%ecx, %r8d
	je	LBB0_7
## %bb.1:
	testl	%edx, %edx
	jne	LBB0_7
## %bb.2:
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %edi
	movq	%r12, %rsi
	callq	_receive_data
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	8(%r12), %esi
	movl	%r13d, %edi
	callq	_writew
	xorl	%eax, %eax
	cmpl	$0, (%r14)
	sete	%al
	movl	%eax, (%r14)
LBB0_4:
	movl	$1, %ebx
	testl	%r15d, -48(%rbp)                ## 4-byte Folded Reload
	je	LBB0_17
## %bb.5:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r12, %rsi
	callq	_receive_data
	testq	%rax, %rax
	je	LBB0_17
## %bb.6:
	movl	8(%r12), %esi
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_writew
	xorl	%eax, %eax
	cmpl	$0, (%r14)
	sete	%al
	movl	%eax, (%r14)
	jmp	LBB0_17
LBB0_7:
	testl	%r15d, %ebx
	je	LBB0_14
## %bb.8:
	cmpl	$1, %edx
	jne	LBB0_14
## %bb.9:
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %edi
	movq	%r12, %rsi
	callq	_receive_data
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	8(%r12), %esi
	movl	%ebx, %edi
	callq	_writew
	xorl	%eax, %eax
	cmpl	$0, (%r14)
	sete	%al
	movl	%eax, (%r14)
LBB0_11:
	testl	%r15d, %r13d
	je	LBB0_16
## %bb.12:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r12, %rsi
	callq	_receive_data
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:
	movl	8(%r12), %esi
	movl	%r13d, %edi
	callq	_writew
	xorl	%eax, %eax
	cmpl	$0, (%r14)
	sete	%al
	movl	%eax, (%r14)
LBB0_16:
	movl	$1, %ebx
	jmp	LBB0_17
LBB0_14:
	movq	(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	xorl	%ebx, %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"port out of sync!, toggle:%d\n"

	.no_dead_strip	_handle_data_dl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_data_dl
_handle_data_dl:                        ; @handle_data_dl
	.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	x21, x5
	mov	x23, x4
	mov	x24, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	ldr	w2, [x2]
	ands	w25, w4, w3
	b.eq	LBB0_7
; %bb.1:
	cbnz	w2, LBB0_7
; %bb.2:
	mov	x0, x22
	mov	x1, x20
	bl	_receive_data
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w1, [x20, #8]
	mov	x0, x23
	bl	_writew
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x19]
LBB0_4:
	tst	w21, w24
	b.eq	LBB0_15
; %bb.5:
	mov	x0, x22
	mov	x1, x20
	bl	_receive_data
	cbz	x0, LBB0_15
; %bb.6:
	ldr	w1, [x20, #8]
	mov	x0, x21
	b	LBB0_14
LBB0_7:
	tst	w21, w24
	b.eq	LBB0_16
; %bb.8:
	cmp	w2, #1
	b.ne	LBB0_16
; %bb.9:
	mov	x0, x22
	mov	x1, x20
	bl	_receive_data
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w1, [x20, #8]
	mov	x0, x21
	bl	_writew
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x19]
LBB0_11:
	cbz	w25, LBB0_15
; %bb.12:
	mov	x0, x22
	mov	x1, x20
	bl	_receive_data
	cbz	x0, LBB0_15
; %bb.13:
	ldr	w1, [x20, #8]
	mov	x0, x23
LBB0_14:
	bl	_writew
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x19]
LBB0_15:
	mov	w0, #1
	b	LBB0_17
LBB0_16:
	ldr	x0, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	mov	w0, #0
LBB0_17:
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"port out of sync!, toggle:%d\n"

	.no_dead_strip	_handle_data_dl
.subsections_via_symbols
