	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib8000_wait_lock
_dib8000_wait_lock:                     ## @dib8000_wait_lock
	.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	%r8d, %r14d
	movl	%edx, %ebx
	movq	%rdi, %r15
	imull	%esi, %r14d
	movl	%ecx, %r12d
	imull	%esi, %r12d
	cmpl	$32912, (%rdi)                  ## imm = 0x8090
	cmovel	%ecx, %ebx
	imull	%esi, %ebx
	movl	%ebx, %edx
	shrl	$16, %edx
	movl	$11, %esi
	callq	_dib8000_write_word
	movzwl	%bx, %edx
	movq	%r15, %rdi
	movl	$12, %esi
	callq	_dib8000_write_word
	movl	%r12d, %edx
	shrl	$16, %edx
	movq	%r15, %rdi
	movl	$13, %esi
	callq	_dib8000_write_word
	movzwl	%r12w, %edx
	movq	%r15, %rdi
	movl	$14, %esi
	callq	_dib8000_write_word
	movl	%r14d, %edx
	shrl	$16, %edx
	movq	%r15, %rdi
	movl	$15, %esi
	callq	_dib8000_write_word
	movzwl	%r14w, %edx
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_dib8000_write_word
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dib8000_wait_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib8000_wait_lock
_dib8000_wait_lock:                     ; @dib8000_wait_lock
	.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, x0
	mul	w20, w4, w1
	mul	w21, w3, w1
	ldr	w8, [x0]
	mov	w9, #32912
	cmp	w8, w9
	csel	w8, w3, w2, eq
	mul	w22, w8, w1
	lsr	w2, w22, #16
	mov	w1, #11
	bl	_dib8000_write_word
	and	w2, w22, #0xffff
	mov	x0, x19
	mov	w1, #12
	bl	_dib8000_write_word
	lsr	w2, w21, #16
	mov	x0, x19
	mov	w1, #13
	bl	_dib8000_write_word
	and	w2, w21, #0xffff
	mov	x0, x19
	mov	w1, #14
	bl	_dib8000_write_word
	lsr	w2, w20, #16
	mov	x0, x19
	mov	w1, #15
	bl	_dib8000_write_word
	and	w2, w20, #0xffff
	mov	x0, x19
	mov	w1, #16
	bl	_dib8000_write_word
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dib8000_wait_lock
.subsections_via_symbols
