	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adis_check_status              ## -- Begin function adis_check_status
	.p2align	4, 0x90
_adis_check_status:                     ## @adis_check_status
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movl	16(%rax), %esi
	leaq	-36(%rbp), %rdx
	callq	_adis_read_reg_16
	testl	%eax, %eax
	js	LBB0_9
## %bb.1:
	movq	(%r14), %rax
	movl	-36(%rbp), %r12d
	andl	(%rax), %r12d
	movl	%r12d, -36(%rbp)
	je	LBB0_2
## %bb.3:
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_BIT
	testl	%r12d, %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rax
	movq	8(%r14), %rdi
	movq	8(%rax), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r15, %rsi
	callq	_dev_err
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$15, %rbx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-36(%rbp), %r12d
	incq	%rbx
	jmp	LBB0_4
LBB0_8:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_2:
	xorl	%eax, %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s.\n"

	.comm	_EIO,4,2                        ## @EIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adis_check_status              ; -- Begin function adis_check_status
	.p2align	2
_adis_check_status:                     ; @adis_check_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0]
	ldr	w1, [x8, #16]
	add	x2, sp, #12
	bl	_adis_read_reg_16
	tbnz	w0, #31, LBB0_9
; %bb.1:
	ldr	x8, [x19]
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	ands	w22, w9, w8
	str	w22, [sp, #12]
	b.eq	LBB0_8
; %bb.2:
	mov	x20, #0
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_BIT
	tst	w0, w22
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x8, x0, [x19]
	ldr	x8, [x8, #8]
	ldr	w2, [x8, x20, lsl #2]
	mov	x1, x21
	bl	_dev_err
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x20, #15
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w22, [sp, #12]
	add	x20, x20, #1
	b	LBB0_3
LBB0_7:
Lloh2:
	adrp	x8, _EIO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s.\n"

	.comm	_EIO,4,2                        ; @EIO
.subsections_via_symbols
