	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ql_wait_other_func_reg_rdy
_ql_wait_other_func_reg_rdy:            ## @ql_wait_other_func_reg_rdy
	.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, %r12d
	movl	%edx, %r14d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	callq	_ql_read_other_func_reg
	testl	%r12d, %eax
	je	LBB0_1
LBB0_21:
	movl	$-1, %r15d
	jmp	LBB0_22
LBB0_1:
	xorl	%r15d, %r15d
	testl	%r14d, %eax
	je	LBB0_2
LBB0_22:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	$10, %edi
	callq	_mdelay
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_ql_read_other_func_reg
	testl	%r12d, %eax
	jne	LBB0_21
## %bb.3:
	testl	%r14d, %eax
	jne	LBB0_22
## %bb.4:
	movl	$10, %edi
	callq	_mdelay
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_ql_read_other_func_reg
	testl	%r12d, %eax
	jne	LBB0_21
## %bb.5:
	testl	%r14d, %eax
	jne	LBB0_22
## %bb.6:
	movl	$10, %edi
	callq	_mdelay
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_ql_read_other_func_reg
	testl	%r12d, %eax
	jne	LBB0_21
## %bb.7:
	testl	%r14d, %eax
	jne	LBB0_22
## %bb.8:
	movl	$10, %edi
	callq	_mdelay
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_ql_read_other_func_reg
	testl	%r12d, %eax
	jne	LBB0_21
## %bb.9:
	testl	%r14d, %eax
	jne	LBB0_22
## %bb.10:
	movl	$10, %edi
	callq	_mdelay
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_ql_read_other_func_reg
	testl	%r12d, %eax
	jne	LBB0_21
## %bb.11:
	testl	%r14d, %eax
	jne	LBB0_22
## %bb.12:
	movl	$10, %edi
	callq	_mdelay
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_ql_read_other_func_reg
	testl	%r12d, %eax
	jne	LBB0_21
## %bb.13:
	testl	%r14d, %eax
	jne	LBB0_22
## %bb.14:
	movl	$10, %edi
	callq	_mdelay
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_ql_read_other_func_reg
	testl	%r12d, %eax
	jne	LBB0_21
## %bb.15:
	testl	%r14d, %eax
	jne	LBB0_22
## %bb.16:
	movl	$10, %edi
	callq	_mdelay
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_ql_read_other_func_reg
	testl	%r12d, %eax
	jne	LBB0_21
## %bb.17:
	testl	%r14d, %eax
	jne	LBB0_22
## %bb.18:
	movl	$10, %edi
	callq	_mdelay
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_ql_read_other_func_reg
	testl	%r12d, %eax
	jne	LBB0_21
## %bb.19:
	testl	%r14d, %eax
	jne	LBB0_22
## %bb.20:
	movl	$10, %edi
	callq	_mdelay
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ql_wait_other_func_reg_rdy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ql_wait_other_func_reg_rdy
_ql_wait_other_func_reg_rdy:            ; @ql_wait_other_func_reg_rdy
	.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	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	bl	_ql_read_other_func_reg
	tst	w0, w20
	b.eq	LBB0_2
LBB0_1:
	mov	w0, #-1
	b	LBB0_4
LBB0_2:
	tst	w0, w19
	b.eq	LBB0_5
LBB0_3:
	mov	w0, #0
LBB0_4:
	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
LBB0_5:
	mov	w0, #10
	bl	_mdelay
	mov	x0, x22
	mov	x1, x21
	bl	_ql_read_other_func_reg
	tst	w0, w20
	b.ne	LBB0_1
; %bb.6:
	tst	w0, w19
	b.ne	LBB0_3
; %bb.7:
	mov	w0, #10
	bl	_mdelay
	mov	x0, x22
	mov	x1, x21
	bl	_ql_read_other_func_reg
	tst	w0, w20
	b.ne	LBB0_1
; %bb.8:
	tst	w0, w19
	b.ne	LBB0_3
; %bb.9:
	mov	w0, #10
	bl	_mdelay
	mov	x0, x22
	mov	x1, x21
	bl	_ql_read_other_func_reg
	tst	w0, w20
	b.ne	LBB0_1
; %bb.10:
	tst	w0, w19
	b.ne	LBB0_3
; %bb.11:
	mov	w0, #10
	bl	_mdelay
	mov	x0, x22
	mov	x1, x21
	bl	_ql_read_other_func_reg
	tst	w0, w20
	b.ne	LBB0_1
; %bb.12:
	tst	w0, w19
	b.ne	LBB0_3
; %bb.13:
	mov	w0, #10
	bl	_mdelay
	mov	x0, x22
	mov	x1, x21
	bl	_ql_read_other_func_reg
	tst	w0, w20
	b.ne	LBB0_1
; %bb.14:
	tst	w0, w19
	b.ne	LBB0_3
; %bb.15:
	mov	w0, #10
	bl	_mdelay
	mov	x0, x22
	mov	x1, x21
	bl	_ql_read_other_func_reg
	tst	w0, w20
	b.ne	LBB0_1
; %bb.16:
	tst	w0, w19
	b.ne	LBB0_3
; %bb.17:
	mov	w0, #10
	bl	_mdelay
	mov	x0, x22
	mov	x1, x21
	bl	_ql_read_other_func_reg
	tst	w0, w20
	b.ne	LBB0_1
; %bb.18:
	tst	w0, w19
	b.ne	LBB0_3
; %bb.19:
	mov	w0, #10
	bl	_mdelay
	mov	x0, x22
	mov	x1, x21
	bl	_ql_read_other_func_reg
	tst	w0, w20
	b.ne	LBB0_1
; %bb.20:
	tst	w0, w19
	b.ne	LBB0_3
; %bb.21:
	mov	w0, #10
	bl	_mdelay
	mov	x0, x22
	mov	x1, x21
	bl	_ql_read_other_func_reg
	tst	w0, w20
	b.ne	LBB0_1
; %bb.22:
	tst	w0, w19
	b.ne	LBB0_3
; %bb.23:
	mov	w0, #10
	bl	_mdelay
	b	LBB0_1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ql_wait_other_func_reg_rdy
.subsections_via_symbols
