	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc47m192_update_device
_smsc47m192_update_device:              ## @smsc47m192_update_device
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_to_i2c_client
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_i2c_get_clientdata
	movq	%rax, %r15
	leaq	72(%rax), %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	_jiffies@GOTPCREL(%rip), %rdx
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	addq	80(%r15), %rax
	movq	(%rdx), %rdi
	sarl	%ecx
	movslq	%ecx, %rsi
	addq	%rax, %rsi
	callq	_time_after
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	cmpl	$0, (%r15)
	jne	LBB0_9
LBB0_2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_SMSC47M192_REG_SFR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_dbg
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_SMSC47M192_REG_IN
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
	movq	8(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_SMSC47M192_REG_IN_MIN
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
	movq	16(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%ebx, %edi
	callq	_SMSC47M192_REG_IN_MAX
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
	movq	24(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	cmpq	$8, %rbx
	jne	LBB0_3
## %bb.4:
	movq	_SMSC47M192_REG_TEMP@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	32(%r15), %rcx
	movl	%eax, (%rcx)
	movq	_SMSC47M192_REG_TEMP_MAX@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	40(%r15), %rcx
	movl	%eax, (%rcx)
	movq	_SMSC47M192_REG_TEMP_MIN@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	48(%r15), %rcx
	movl	%eax, (%rcx)
	movq	(%rbx), %rax
	movl	4(%rax), %esi
	movq	%r13, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	32(%r15), %rcx
	movl	%eax, 4(%rcx)
	movq	(%r12), %rax
	movl	4(%rax), %esi
	movq	%r13, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	40(%r15), %rcx
	movl	%eax, 4(%rcx)
	movq	(%r14), %rax
	movl	4(%rax), %esi
	movq	%r13, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	48(%r15), %rcx
	movl	%eax, 4(%rcx)
	movq	(%rbx), %rax
	movl	8(%rax), %esi
	movq	%r13, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	32(%r15), %rcx
	movl	%eax, 8(%rcx)
	movq	(%r12), %rax
	movl	8(%rax), %esi
	movq	%r13, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	40(%r15), %rcx
	movl	%eax, 8(%rcx)
	movq	(%r14), %rax
	movl	8(%rax), %esi
	movq	%r13, %rdi
	callq	_i2c_smbus_read_byte_data
	movq	48(%r15), %rcx
	movl	%eax, 8(%rcx)
	movl	$1, %edi
	callq	_SMSC47M192_REG_TEMP_OFFSET
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
	movq	56(%r15), %rcx
	movl	%eax, 4(%rcx)
	movl	$2, %edi
	callq	_SMSC47M192_REG_TEMP_OFFSET
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_i2c_smbus_read_byte_data
	movq	56(%r15), %rcx
	movl	%eax, 8(%rcx)
	testb	$16, -44(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_6
## %bb.5:
	movl	4(%rcx), %eax
	movl	%eax, (%rcx)
	addq	$4, %rcx
LBB0_6:
	movq	_jiffies@GOTPCREL(%rip), %r14
	movl	$0, (%rcx)
	movq	_SMSC47M192_REG_VID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_i2c_smbus_read_byte_data
	andl	$15, %eax
	movl	%eax, 64(%r15)
	movq	_SMSC47M192_REG_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_i2c_smbus_read_byte_data
	testb	$32, %al
	je	LBB0_8
## %bb.7:
	movq	_SMSC47M192_REG_VID4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_i2c_smbus_read_byte_data
	shll	$4, %eax
	andl	$16, %eax
	orl	%eax, 64(%r15)
LBB0_8:
	movq	_SMSC47M192_REG_ALARM1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_i2c_smbus_read_byte_data
	movl	%eax, %ebx
	movq	_SMSC47M192_REG_ALARM2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_i2c_smbus_read_byte_data
	shll	$8, %eax
	orl	%ebx, %eax
	movl	%eax, 68(%r15)
	movq	(%r14), %rax
	movq	%rax, 80(%r15)
	movl	$1, (%r15)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_9:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_SMSC47M192_REG_SFR,4,2         ## @SMSC47M192_REG_SFR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Starting smsc47m192 update\n"

	.comm	_SMSC47M192_REG_TEMP,8,3        ## @SMSC47M192_REG_TEMP
	.comm	_SMSC47M192_REG_TEMP_MAX,8,3    ## @SMSC47M192_REG_TEMP_MAX
	.comm	_SMSC47M192_REG_TEMP_MIN,8,3    ## @SMSC47M192_REG_TEMP_MIN
	.comm	_SMSC47M192_REG_VID,4,2         ## @SMSC47M192_REG_VID
	.comm	_SMSC47M192_REG_CONFIG,4,2      ## @SMSC47M192_REG_CONFIG
	.comm	_SMSC47M192_REG_VID4,4,2        ## @SMSC47M192_REG_VID4
	.comm	_SMSC47M192_REG_ALARM1,4,2      ## @SMSC47M192_REG_ALARM1
	.comm	_SMSC47M192_REG_ALARM2,4,2      ## @SMSC47M192_REG_ALARM2
	.no_dead_strip	_smsc47m192_update_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc47m192_update_device
_smsc47m192_update_device:              ; @smsc47m192_update_device
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	bl	_to_i2c_client
	mov	x21, x0
	bl	_i2c_get_clientdata
	mov	x19, x0
	add	x20, x0, #72
	mov	x0, x20
	bl	_mutex_lock
Lloh0:
	adrp	x24, _jiffies@GOTPAGE
Lloh1:
	ldr	x24, [x24, _jiffies@GOTPAGEOFF]
	ldr	x0, [x24]
	ldr	x8, [x19, #80]
Lloh2:
	adrp	x9, _HZ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh4:
	ldrsw	x9, [x9]
	add	x8, x8, x9
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w9, w9, #1
	add	x1, x8, w9, sxtw
	bl	_time_after
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x19]
	cbnz	w8, LBB0_9
LBB0_2:
Lloh5:
	adrp	x8, _SMSC47M192_REG_SFR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SMSC47M192_REG_SFR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	mov	x22, x0
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
	mov	x23, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_SMSC47M192_REG_IN
	mov	x1, x0
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #8]
	lsl	x25, x23, #2
	str	w0, [x8, x25]
	mov	x0, x23
	bl	_SMSC47M192_REG_IN_MIN
	mov	x1, x0
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #16]
	str	w0, [x8, x25]
	mov	x0, x23
	bl	_SMSC47M192_REG_IN_MAX
	mov	x1, x0
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #24]
	str	w0, [x8, x25]
	add	x23, x23, #1
	cmp	x23, #8
	b.ne	LBB0_3
; %bb.4:
Lloh10:
	adrp	x23, _SMSC47M192_REG_TEMP@GOTPAGE
Lloh11:
	ldr	x23, [x23, _SMSC47M192_REG_TEMP@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #32]
	str	w0, [x8]
Lloh12:
	adrp	x25, _SMSC47M192_REG_TEMP_MAX@GOTPAGE
Lloh13:
	ldr	x25, [x25, _SMSC47M192_REG_TEMP_MAX@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #40]
	str	w0, [x8]
Lloh14:
	adrp	x26, _SMSC47M192_REG_TEMP_MIN@GOTPAGE
Lloh15:
	ldr	x26, [x26, _SMSC47M192_REG_TEMP_MIN@GOTPAGEOFF]
	ldr	x8, [x26]
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #48]
	str	w0, [x8]
	ldr	x8, [x23]
	ldr	w1, [x8, #4]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #32]
	str	w0, [x8, #4]
	ldr	x8, [x25]
	ldr	w1, [x8, #4]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #40]
	str	w0, [x8, #4]
	ldr	x8, [x26]
	ldr	w1, [x8, #4]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #48]
	str	w0, [x8, #4]
	ldr	x8, [x23]
	ldr	w1, [x8, #8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #32]
	str	w0, [x8, #8]
	ldr	x8, [x25]
	ldr	w1, [x8, #8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #40]
	str	w0, [x8, #8]
	ldr	x8, [x26]
	ldr	w1, [x8, #8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #48]
	str	w0, [x8, #8]
	mov	w0, #1
	bl	_SMSC47M192_REG_TEMP_OFFSET
	mov	x1, x0
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #56]
	str	w0, [x8, #4]
	mov	w0, #2
	bl	_SMSC47M192_REG_TEMP_OFFSET
	mov	x1, x0
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	ldr	x8, [x19, #56]
	str	w0, [x8, #8]
	tbz	w22, #4, LBB0_6
; %bb.5:
	mov	x9, x8
	ldr	w10, [x9, #4]!
	str	w10, [x8]
	mov	x8, x9
LBB0_6:
	str	wzr, [x8]
Lloh16:
	adrp	x8, _SMSC47M192_REG_VID@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SMSC47M192_REG_VID@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	and	w8, w0, #0xf
	str	w8, [x19, #64]
Lloh19:
	adrp	x8, _SMSC47M192_REG_CONFIG@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SMSC47M192_REG_CONFIG@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	tbz	w0, #5, LBB0_8
; %bb.7:
Lloh22:
	adrp	x8, _SMSC47M192_REG_VID4@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SMSC47M192_REG_VID4@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	ubfiz	w8, w0, #4, #1
	ldr	w9, [x19, #64]
	orr	w8, w8, w9
	str	w8, [x19, #64]
LBB0_8:
Lloh25:
	adrp	x8, _SMSC47M192_REG_ALARM1@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SMSC47M192_REG_ALARM1@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	mov	x22, x0
Lloh28:
	adrp	x8, _SMSC47M192_REG_ALARM2@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SMSC47M192_REG_ALARM2@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_i2c_smbus_read_byte_data
	orr	w8, w22, w0, lsl #8
	str	w8, [x19, #68]
	ldr	x8, [x24]
	str	x8, [x19, #80]
	mov	w8, #1
	str	w8, [x19]
LBB0_9:
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_SMSC47M192_REG_SFR,4,2         ; @SMSC47M192_REG_SFR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Starting smsc47m192 update\n"

	.comm	_SMSC47M192_REG_TEMP,8,3        ; @SMSC47M192_REG_TEMP
	.comm	_SMSC47M192_REG_TEMP_MAX,8,3    ; @SMSC47M192_REG_TEMP_MAX
	.comm	_SMSC47M192_REG_TEMP_MIN,8,3    ; @SMSC47M192_REG_TEMP_MIN
	.comm	_SMSC47M192_REG_VID,4,2         ; @SMSC47M192_REG_VID
	.comm	_SMSC47M192_REG_CONFIG,4,2      ; @SMSC47M192_REG_CONFIG
	.comm	_SMSC47M192_REG_VID4,4,2        ; @SMSC47M192_REG_VID4
	.comm	_SMSC47M192_REG_ALARM1,4,2      ; @SMSC47M192_REG_ALARM1
	.comm	_SMSC47M192_REG_ALARM2,4,2      ; @SMSC47M192_REG_ALARM2
	.no_dead_strip	_smsc47m192_update_device
.subsections_via_symbols
