	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w83795_init_client
_w83795_init_client:                    ## @w83795_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, %r15
	callq	_i2c_get_clientdata
	movq	%rax, %r14
	movq	_reset@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_W83795_REG_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$128, %edx
	callq	_w83795_write
LBB0_2:
	movq	_W83795_REG_CONFIG@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_w83795_read
	movl	%eax, %ebx
	movq	_W83795_REG_CONFIG_START@GOTPCREL(%rip), %r13
	testl	%eax, (%r13)
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_info
	movl	(%r12), %esi
	movl	(%r13), %edx
	orl	%ebx, %edx
	movq	%r15, %rdi
	callq	_w83795_write
LBB0_4:
	shrl	$3, %ebx
	andl	$3, %ebx
	leaq	_w83795_init_client.clkin(%rip), %rax
	movl	(%rax,%rbx,4), %edx
	movl	%edx, (%r14)
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @w83795_init_client.clkin
_w83795_init_client.clkin:
	.long	14318                           ## 0x37ee
	.long	24000                           ## 0x5dc0
	.long	33333                           ## 0x8235
	.long	48000                           ## 0xbb80

	.comm	_reset,8,3                      ## @reset
	.comm	_W83795_REG_CONFIG,4,2          ## @W83795_REG_CONFIG
	.comm	_W83795_REG_CONFIG_START,4,2    ## @W83795_REG_CONFIG_START
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enabling monitoring operations\n"

L_.str.1:                               ## @.str.1
	.asciz	"clkin = %u kHz\n"

	.no_dead_strip	_w83795_init_client
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function w83795_init_client
_w83795_init_client:                    ; @w83795_init_client
	.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, x0
	bl	_i2c_get_clientdata
	mov	x20, x0
Lloh0:
	adrp	x8, _reset@GOTPAGE
Lloh1:
	ldr	x8, [x8, _reset@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x22, _W83795_REG_CONFIG@GOTPAGE
Lloh4:
	ldr	x22, [x22, _W83795_REG_CONFIG@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w1, [x22]
	mov	x0, x19
	mov	w2, #128
	bl	_w83795_write
LBB0_2:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_w83795_read
	mov	x21, x0
Lloh5:
	adrp	x23, _W83795_REG_CONFIG_START@GOTPAGE
Lloh6:
	ldr	x23, [x23, _W83795_REG_CONFIG_START@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w0
	b.ne	LBB0_4
; %bb.3:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_info
	ldr	w1, [x22]
	ldr	w8, [x23]
	orr	w2, w8, w21
	mov	x0, x19
	bl	_w83795_write
LBB0_4:
	ubfx	w8, w21, #3, #2
Lloh9:
	adrp	x9, _w83795_init_client.clkin@PAGE
Lloh10:
	add	x9, x9, _w83795_init_client.clkin@PAGEOFF
	ldr	w2, [x9, w8, uxtw #2]
	str	w2, [x20]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	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
	b	_dev_dbg
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @w83795_init_client.clkin
_w83795_init_client.clkin:
	.long	14318                           ; 0x37ee
	.long	24000                           ; 0x5dc0
	.long	33333                           ; 0x8235
	.long	48000                           ; 0xbb80

	.comm	_reset,8,3                      ; @reset
	.comm	_W83795_REG_CONFIG,4,2          ; @W83795_REG_CONFIG
	.comm	_W83795_REG_CONFIG_START,4,2    ; @W83795_REG_CONFIG_START
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enabling monitoring operations\n"

l_.str.1:                               ; @.str.1
	.asciz	"clkin = %u kHz\n"

	.no_dead_strip	_w83795_init_client
.subsections_via_symbols
