	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib8000_set_sync_wait
_dib8000_set_sync_wait:                 ## @dib8000_set_sync_wait
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	xorl	%edx, %edx
	cmpl	$129, %ecx
	sete	%dl
	shll	$6, %edx
	addl	$64, %edx
	cmpl	$128, %ecx
	movl	$256, %esi                      ## imm = 0x100
	cmovnel	%edx, %esi
	movb	4(%rax), %cl
	shll	%cl, %esi
	movl	(%rdi), %eax
	leal	(%rsi,%rsi,2), %ecx
	shrl	%ecx
	testl	%eax, %eax
	movl	$48, %ebx
	cmovnel	%eax, %ebx
	addl	%ecx, %ebx
	movl	$273, %esi                      ## imm = 0x111
	callq	_dib8000_read_word
	andl	$15, %eax
	shll	$4, %ebx
	orl	%eax, %ebx
	movq	%r14, %rdi
	movl	$273, %esi                      ## imm = 0x111
	movl	%ebx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dib8000_write_word             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dib8000_set_sync_wait
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib8000_set_sync_wait
_dib8000_set_sync_wait:                 ; @dib8000_set_sync_wait
	.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	x8, [x0, #8]
	ldr	x8, [x8]
	mov	w9, #64
	mov	w10, #128
	ldp	w11, w8, [x8]
	cmp	w11, #129
	csel	w9, w10, w9, eq
	mov	w10, #256
	cmp	w11, #128
	csel	w9, w10, w9, eq
	ldr	w10, [x0]
	lsl	w8, w9, w8
	add	w8, w8, w8, lsl #1
	orr	w9, w8, #0x1
	cmp	w8, #0
	csel	w8, w9, w8, lt
	mov	w9, #48
	cmp	w10, #0
	csel	w9, w9, w10, eq
	add	w20, w9, w8, lsr #1
	mov	w1, #273
	bl	_dib8000_read_word
	mov	x2, x0
	bfi	w2, w20, #4, #28
	mov	x0, x19
	mov	w1, #273
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dib8000_write_word
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dib8000_set_sync_wait
.subsections_via_symbols
