	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm85_init_client
_lm85_init_client:                      ## @lm85_init_client
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_LM85_REG_CONFIG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_lm85_read_value
	movl	%eax, %ebx
	testb	$1, %bl
	je	LBB0_1
## %bb.2:
	testb	$2, %bl
	jne	LBB0_3
LBB0_4:
	testb	$4, %bl
	jne	LBB0_5
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_info
	movl	(%r15), %esi
	movl	%ebx, %edx
	orl	$1, %edx
	movq	%r14, %rdi
	callq	_lm85_write_value
	testb	$2, %bl
	je	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_warn
	testb	$4, %bl
	je	LBB0_6
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LM85_REG_CONFIG,4,2            ## @LM85_REG_CONFIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Starting monitoring\n"

L_.str.1:                               ## @.str.1
	.asciz	"Device configuration is locked\n"

L_.str.2:                               ## @.str.2
	.asciz	"Device is not ready\n"

	.no_dead_strip	_lm85_init_client
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm85_init_client
_lm85_init_client:                      ; @lm85_init_client
	.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	x21, _LM85_REG_CONFIG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _LM85_REG_CONFIG@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_lm85_read_value
	mov	x20, x0
	tbz	w0, #0, LBB0_4
; %bb.1:
	tbnz	w20, #1, LBB0_5
LBB0_2:
	tbnz	w20, #2, LBB0_6
LBB0_3:
Lloh2:
	adrp	x1, l_.str.2@PAGE
Lloh3:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	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
	b	_dev_warn
LBB0_4:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	ldr	w1, [x21]
	orr	w2, w20, #0x1
	mov	x0, x19
	bl	_lm85_write_value
	tbz	w20, #1, LBB0_2
LBB0_5:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
	tbz	w20, #2, LBB0_3
LBB0_6:
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LM85_REG_CONFIG,4,2            ; @LM85_REG_CONFIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Starting monitoring\n"

l_.str.1:                               ; @.str.1
	.asciz	"Device configuration is locked\n"

l_.str.2:                               ; @.str.2
	.asciz	"Device is not ready\n"

	.no_dead_strip	_lm85_init_client
.subsections_via_symbols
