	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wf_lm75_get
_wf_lm75_get:                           ## @wf_lm75_get
	.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	%rsi, %r14
	movq	%rdi, %r15
	callq	_wf_to_lm75
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	cmpl	$0, (%rax)
	jne	LBB0_4
## %bb.3:
	movl	$1, %esi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %r12d
	movl	(%r15), %esi
	leaq	L_.str(%rip), %rdi
	movl	%eax, %edx
	callq	_DBG
	andl	$-2, %r12d
	movq	8(%rbx), %rdi
	movl	$1, %esi
	movl	%r12d, %edx
	callq	_i2c_smbus_write_byte_data
	movl	$1, (%rbx)
	movl	$200, %edi
	callq	_msleep
	movq	8(%rbx), %rdi
LBB0_4:
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_i2c_smbus_read_word_data
	movl	%eax, %edi
	callq	_le16_to_cpu
	shll	$8, %eax
	movl	%eax, (%r14)
	jmp	LBB0_5
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wf_lm75: Initializing %s, cfg was: %02x\n"

	.no_dead_strip	_wf_lm75_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wf_lm75_get
_wf_lm75_get:                           ; @wf_lm75_get
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x21, x0
	bl	_wf_to_lm75
	mov	x20, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [x20]
	cbnz	w8, LBB0_3
; %bb.2:
	mov	w23, #1
	mov	w1, #1
	bl	_i2c_smbus_read_byte_data
	mov	x22, x0
	ldr	w1, [x21]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x22
	bl	_DBG
	and	w2, w22, #0xfffffffe
	ldr	x0, [x20, #8]
	mov	w1, #1
	bl	_i2c_smbus_write_byte_data
	str	w23, [x20]
	mov	w0, #200
	bl	_msleep
	ldr	x0, [x20, #8]
LBB0_3:
	mov	w1, #0
	bl	_i2c_smbus_read_word_data
	bl	_le16_to_cpu
	mov	x8, x0
	mov	w0, #0
	lsl	w8, w8, #8
	str	w8, [x19]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wf_lm75: Initializing %s, cfg was: %02x\n"

	.no_dead_strip	_wf_lm75_get
.subsections_via_symbols
