	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adt7x10_temp_ready
_adt7x10_temp_ready:                    ## @adt7x10_temp_ready
	.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
	movq	%rdi, %rbx
	movq	_ADT7X10_STATUS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_adt7x10_read_byte
	testl	%eax, %eax
	js	LBB0_18
## %bb.1:
	movq	_ADT7X10_STAT_NOT_RDY@GOTPCREL(%rip), %r12
	xorl	%r14d, %r14d
	testl	%eax, (%r12)
	je	LBB0_19
## %bb.2:
	movl	$60, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_adt7x10_read_byte
	testl	%eax, %eax
	js	LBB0_18
## %bb.3:
	testl	%eax, (%r12)
	je	LBB0_19
## %bb.4:
	movl	$60, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_adt7x10_read_byte
	testl	%eax, %eax
	js	LBB0_18
## %bb.5:
	testl	%eax, (%r12)
	je	LBB0_19
## %bb.6:
	movl	$60, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_adt7x10_read_byte
	testl	%eax, %eax
	js	LBB0_18
## %bb.7:
	testl	%eax, (%r12)
	je	LBB0_19
## %bb.8:
	movl	$60, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_adt7x10_read_byte
	testl	%eax, %eax
	js	LBB0_18
## %bb.9:
	testl	%eax, (%r12)
	je	LBB0_19
## %bb.10:
	movl	$60, %edi
	callq	_msleep
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_adt7x10_read_byte
	testl	%eax, %eax
	js	LBB0_18
## %bb.11:
	testl	%eax, (%r12)
	je	LBB0_19
## %bb.12:
	movl	$60, %edi
	callq	_msleep
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_19
LBB0_18:
	movl	%eax, %r14d
LBB0_19:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADT7X10_STATUS,4,2             ## @ADT7X10_STATUS
	.comm	_ADT7X10_STAT_NOT_RDY,4,2       ## @ADT7X10_STAT_NOT_RDY
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.no_dead_strip	_adt7x10_temp_ready
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adt7x10_temp_ready
_adt7x10_temp_ready:                    ; @adt7x10_temp_ready
	.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
Lloh0:
	adrp	x20, _ADT7X10_STATUS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ADT7X10_STATUS@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_adt7x10_read_byte
	tbnz	w0, #31, LBB0_14
; %bb.1:
Lloh2:
	adrp	x21, _ADT7X10_STAT_NOT_RDY@GOTPAGE
Lloh3:
	ldr	x21, [x21, _ADT7X10_STAT_NOT_RDY@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_13
; %bb.2:
	mov	w0, #60
	bl	_msleep
	ldr	w1, [x20]
	mov	x0, x19
	bl	_adt7x10_read_byte
	tbnz	w0, #31, LBB0_14
; %bb.3:
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_13
; %bb.4:
	mov	w0, #60
	bl	_msleep
	ldr	w1, [x20]
	mov	x0, x19
	bl	_adt7x10_read_byte
	tbnz	w0, #31, LBB0_14
; %bb.5:
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_13
; %bb.6:
	mov	w0, #60
	bl	_msleep
	ldr	w1, [x20]
	mov	x0, x19
	bl	_adt7x10_read_byte
	tbnz	w0, #31, LBB0_14
; %bb.7:
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_13
; %bb.8:
	mov	w0, #60
	bl	_msleep
	ldr	w1, [x20]
	mov	x0, x19
	bl	_adt7x10_read_byte
	tbnz	w0, #31, LBB0_14
; %bb.9:
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_13
; %bb.10:
	mov	w0, #60
	bl	_msleep
	ldr	w1, [x20]
	mov	x0, x19
	bl	_adt7x10_read_byte
	tbnz	w0, #31, LBB0_14
; %bb.11:
	ldr	w8, [x21]
	tst	w8, w0
	b.eq	LBB0_13
; %bb.12:
	mov	w0, #60
	bl	_msleep
Lloh4:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_13:
	mov	w0, #0
LBB0_14:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ADT7X10_STATUS,4,2             ; @ADT7X10_STATUS
	.comm	_ADT7X10_STAT_NOT_RDY,4,2       ; @ADT7X10_STAT_NOT_RDY
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.no_dead_strip	_adt7x10_temp_ready
.subsections_via_symbols
