	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm95234_init_client
_lm95234_init_client:                   ## @lm95234_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	%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
	movq	%rdi, %r14
	movq	_LM95234_REG_CONFIG@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_9
## %bb.1:
	testb	$64, %bl
	je	LBB0_3
## %bb.2:
	movl	(%r15), %esi
	andl	$-65, %ebx
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_i2c_smbus_write_byte_data
LBB0_3:
	movq	_LM95234_REG_REM_MODEL_STS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	_LM95234_REG_REM_MODEL@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:
	xorl	%ebx, %ebx
	testl	%r15d, %r12d
	je	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_dev_notice
	movl	(%r13), %esi
	notl	%r15d
	andl	%r15d, %r12d
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_i2c_smbus_write_byte_data
	jmp	LBB0_9
LBB0_4:
	movl	%r15d, %ebx
	jmp	LBB0_9
LBB0_6:
	movl	%r12d, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LM95234_REG_CONFIG,4,2         ## @LM95234_REG_CONFIG
	.comm	_LM95234_REG_REM_MODEL_STS,4,2  ## @LM95234_REG_REM_MODEL_STS
	.comm	_LM95234_REG_REM_MODEL,4,2      ## @LM95234_REG_REM_MODEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Fixing remote diode type misconfiguration (0x%x)\n"

	.no_dead_strip	_lm95234_init_client
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm95234_init_client
_lm95234_init_client:                   ; @lm95234_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, _LM95234_REG_CONFIG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _LM95234_REG_CONFIG@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_i2c_smbus_read_byte_data
	mov	x20, x0
	tbnz	w0, #31, LBB0_9
; %bb.1:
	tbz	w20, #6, LBB0_3
; %bb.2:
	ldr	w1, [x21]
	and	w2, w20, #0xffffffbf
	mov	x0, x19
	bl	_i2c_smbus_write_byte_data
LBB0_3:
Lloh2:
	adrp	x8, _LM95234_REG_REM_MODEL_STS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LM95234_REG_REM_MODEL_STS@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_i2c_smbus_read_byte_data
	mov	x20, x0
	tbnz	w0, #31, LBB0_9
; %bb.4:
Lloh5:
	adrp	x22, _LM95234_REG_REM_MODEL@GOTPAGE
Lloh6:
	ldr	x22, [x22, _LM95234_REG_REM_MODEL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_i2c_smbus_read_byte_data
	mov	x21, x0
	tbnz	w0, #31, LBB0_8
; %bb.5:
	tst	w21, w20
	b.eq	LBB0_7
; %bb.6:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_dev_notice
	ldr	w1, [x22]
	bic	w2, w21, w20
	mov	x0, x19
	bl	_i2c_smbus_write_byte_data
LBB0_7:
	mov	w20, #0
	b	LBB0_9
LBB0_8:
	mov	x20, x21
LBB0_9:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LM95234_REG_CONFIG,4,2         ; @LM95234_REG_CONFIG
	.comm	_LM95234_REG_REM_MODEL_STS,4,2  ; @LM95234_REG_REM_MODEL_STS
	.comm	_LM95234_REG_REM_MODEL,4,2      ; @LM95234_REG_REM_MODEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Fixing remote diode type misconfiguration (0x%x)\n"

	.no_dead_strip	_lm95234_init_client
.subsections_via_symbols
