	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function g762_fan_init
_g762_fan_init:                         ## @g762_fan_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	callq	_g762_update_client
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_2:
	movq	_G762_REG_FAN_CMD1_DET_FAN_FAIL@GOTPCREL(%rip), %rax
	movl	4(%rbx), %edx
	orl	(%rax), %edx
	movl	8(%rbx), %edi
	movq	_G762_REG_FAN_CMD1_DET_FAN_OOC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, 4(%rbx)
	movl	$0, (%rbx)
	movq	_G762_REG_FAN_CMD1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_i2c_smbus_write_byte_data      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_G762_REG_FAN_CMD1_DET_FAN_FAIL,4,2 ## @G762_REG_FAN_CMD1_DET_FAN_FAIL
	.comm	_G762_REG_FAN_CMD1_DET_FAN_OOC,4,2 ## @G762_REG_FAN_CMD1_DET_FAN_OOC
	.comm	_G762_REG_FAN_CMD1,4,2          ## @G762_REG_FAN_CMD1
	.no_dead_strip	_g762_fan_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function g762_fan_init
_g762_fan_init:                         ; @g762_fan_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	bl	_g762_update_client
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_2:
Lloh0:
	adrp	x8, _G762_REG_FAN_CMD1_DET_FAN_FAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _G762_REG_FAN_CMD1_DET_FAN_FAIL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w0, [x19, #4]
	orr	w8, w9, w8
Lloh3:
	adrp	x9, _G762_REG_FAN_CMD1_DET_FAN_OOC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _G762_REG_FAN_CMD1_DET_FAN_OOC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
	stp	wzr, w2, [x19]
Lloh6:
	adrp	x8, _G762_REG_FAN_CMD1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _G762_REG_FAN_CMD1@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_i2c_smbus_write_byte_data
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_G762_REG_FAN_CMD1_DET_FAN_FAIL,4,2 ; @G762_REG_FAN_CMD1_DET_FAN_FAIL
	.comm	_G762_REG_FAN_CMD1_DET_FAN_OOC,4,2 ; @G762_REG_FAN_CMD1_DET_FAN_OOC
	.comm	_G762_REG_FAN_CMD1,4,2          ; @G762_REG_FAN_CMD1
	.no_dead_strip	_g762_fan_init
.subsections_via_symbols
