	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function max197_probe
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_1:
	.quad	2                               ## 0x2
	.quad	2                               ## 0x2
LCPI0_2:
	.quad	4                               ## 0x4
	.quad	4                               ## 0x4
LCPI0_3:
	.quad	6                               ## 0x6
	.quad	6                               ## 0x6
LCPI0_4:
	.quad	8                               ## 0x8
	.quad	8                               ## 0x8
LCPI0_5:
	.quad	10                              ## 0xa
	.quad	10                              ## 0xa
LCPI0_6:
	.quad	12                              ## 0xc
	.quad	12                              ## 0xc
LCPI0_7:
	.quad	14                              ## 0xe
	.quad	14                              ## 0xe
LCPI0_8:
	.quad	16                              ## 0x10
	.quad	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_max197_probe:                          ## @max197_probe
	.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	%rdi, %r15
	callq	_dev_get_platdata
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_platform_get_device_id
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.3:
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.5:
	movl	(%rax), %r12d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movq	%rax, %r14
	movq	%rbx, 24(%rax)
	movq	%rax, %rdi
	addq	$20, %rdi
	callq	_mutex_init
	movq	_max197@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	(%rcx), %r12d
	sete	%al
	jne	LBB0_9
## %bb.10:
	movq	_MAX197_LIMIT@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_7:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_28:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_9:
	movq	_MAX199_LIMIT@GOTPCREL(%rip), %rcx
LBB0_11:
	movl	(%rcx), %ecx
	movl	%ecx, 16(%r14)
	movl	%eax, (%r14)
	movq	_MAX197_NUM_CH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_23
## %bb.12:
	movq	8(%r14), %rcx
	cmpl	$4, %eax
	jae	LBB0_14
## %bb.13:
	xorl	%edx, %edx
	jmp	LBB0_22
LBB0_14:
	movl	%eax, %edx
	andl	$-4, %edx
	leaq	-4(%rdx), %rbx
	movq	%rbx, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %esi
	andl	$3, %esi
	cmpq	$12, %rbx
	jae	LBB0_16
## %bb.15:
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%ebx, %ebx
	jmp	LBB0_18
LBB0_16:
	andq	$-4, %rdi
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%ebx, %ebx
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [2,2]
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = [4,4]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [6,6]
	movdqa	LCPI0_4(%rip), %xmm4            ## xmm4 = [8,8]
	movdqa	LCPI0_5(%rip), %xmm5            ## xmm5 = [10,10]
	movdqa	LCPI0_6(%rip), %xmm6            ## xmm6 = [12,12]
	movdqa	LCPI0_7(%rip), %xmm7            ## xmm7 = [14,14]
	movdqa	LCPI0_8(%rip), %xmm1            ## xmm1 = [16,16]
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm2
	paddq	%xmm8, %xmm2
	movdqu	%xmm0, (%rcx,%rbx,8)
	movdqu	%xmm2, 16(%rcx,%rbx,8)
	movdqa	%xmm0, %xmm2
	paddq	%xmm9, %xmm2
	movdqa	%xmm0, %xmm3
	paddq	%xmm10, %xmm3
	movdqu	%xmm2, 32(%rcx,%rbx,8)
	movdqu	%xmm3, 48(%rcx,%rbx,8)
	movdqa	%xmm0, %xmm2
	paddq	%xmm4, %xmm2
	movdqa	%xmm0, %xmm3
	paddq	%xmm5, %xmm3
	movdqu	%xmm2, 64(%rcx,%rbx,8)
	movdqu	%xmm3, 80(%rcx,%rbx,8)
	movdqa	%xmm0, %xmm2
	paddq	%xmm6, %xmm2
	movdqa	%xmm0, %xmm3
	paddq	%xmm7, %xmm3
	movdqu	%xmm2, 96(%rcx,%rbx,8)
	movdqu	%xmm3, 112(%rcx,%rbx,8)
	addq	$16, %rbx
	paddq	%xmm1, %xmm0
	addq	$-4, %rdi
	jne	LBB0_17
LBB0_18:
	testq	%rsi, %rsi
	je	LBB0_21
## %bb.19:
	leaq	(%rcx,%rbx,8), %rdi
	addq	$16, %rdi
	shlq	$5, %rsi
	xorl	%ebx, %ebx
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [2,2]
	movdqa	LCPI0_2(%rip), %xmm2            ## xmm2 = [4,4]
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm3
	paddq	%xmm1, %xmm3
	movdqu	%xmm0, -16(%rdi,%rbx)
	movdqu	%xmm3, (%rdi,%rbx)
	paddq	%xmm2, %xmm0
	addq	$32, %rbx
	cmpq	%rbx, %rsi
	jne	LBB0_20
LBB0_21:
	cmpq	%rax, %rdx
	je	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdx, (%rcx,%rdx,8)
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_22
LBB0_23:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	_max197_sysfs_group@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_sysfs_create_group
	testl	%eax, %eax
	je	LBB0_25
## %bb.24:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	jmp	LBB0_28
LBB0_25:
	movq	%r15, %rdi
	callq	_hwmon_device_register
	movl	%eax, 4(%r14)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_26
## %bb.27:
	movl	4(%r14), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_max197_sysfs_group@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_sysfs_remove_group
	jmp	LBB0_28
LBB0_26:
	xorl	%ebx, %ebx
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no platform data supplied\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"no convert function supplied\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_max197,4,2                     ## @max197
	.comm	_MAX197_LIMIT,4,2               ## @MAX197_LIMIT
	.comm	_MAX199_LIMIT,4,2               ## @MAX199_LIMIT
	.comm	_MAX197_NUM_CH,4,2              ## @MAX197_NUM_CH
	.comm	_max197_sysfs_group,4,2         ## @max197_sysfs_group
L_.str.2:                               ## @.str.2
	.asciz	"sysfs create group failed\n"

L_.str.3:                               ## @.str.3
	.asciz	"hwmon device register failed\n"

	.no_dead_strip	_max197_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function max197_probe
lCPI0_0:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_max197_probe:                          ; @max197_probe
	.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
	bl	_dev_get_platdata
	mov	x21, x0
	mov	x0, x19
	bl	_platform_get_device_id
	cbz	x21, LBB0_6
; %bb.1:
	ldr	x8, [x21]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	w22, [x0]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_12
; %bb.3:
	mov	x20, x0
	str	x21, [x0, #24]
	add	x0, x0, #20
	bl	_mutex_init
Lloh3:
	adrp	x8, _max197@GOTPAGE
Lloh4:
	ldr	x8, [x8, _max197@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w22, w8
	cset	w8, eq
Lloh6:
	adrp	x9, _MAX197_LIMIT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAX197_LIMIT@GOTPAGEOFF]
Lloh8:
	adrp	x10, _MAX199_LIMIT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MAX199_LIMIT@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	str	w9, [x20, #16]
	str	w8, [x20]
Lloh10:
	adrp	x8, _MAX197_NUM_CH@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MAX197_NUM_CH@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.4:
	ldr	x9, [x20, #8]
	cmp	w8, #8
	b.hs	LBB0_13
; %bb.5:
	mov	x10, #0
	b	LBB0_16
LBB0_6:
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_dev_err
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_10:
	mov	x0, x21
LBB0_11:
	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
LBB0_12:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_9
LBB0_13:
	and	x10, x8, #0xfffffff8
Lloh21:
	adrp	x11, lCPI0_0@PAGE
Lloh22:
	ldr	q0, [x11, lCPI0_0@PAGEOFF]
	add	x11, x9, #32
	mov	w12, #2
	dup.2d	v1, x12
	mov	w12, #4
	dup.2d	v2, x12
	mov	w12, #6
	dup.2d	v3, x12
	mov	w12, #8
	dup.2d	v4, x12
	mov	x12, x10
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add.2d	v5, v0, v1
	add.2d	v6, v0, v2
	add.2d	v7, v0, v3
	stp	q0, q5, [x11, #-32]
	stp	q6, q7, [x11], #64
	add.2d	v0, v0, v4
	subs	x12, x12, #8
	b.ne	LBB0_14
; %bb.15:
	cmp	x10, x8
	b.eq	LBB0_17
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	str	x10, [x9, x10, lsl #3]
	add	x10, x10, #1
	cmp	x8, x10
	b.ne	LBB0_16
LBB0_17:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh23:
	adrp	x1, _max197_sysfs_group@GOTPAGE
Lloh24:
	ldr	x1, [x1, _max197_sysfs_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_create_group
	cbz	w0, LBB0_19
; %bb.18:
	mov	x21, x0
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_10
LBB0_19:
	mov	x0, x19
	bl	_hwmon_device_register
	str	w0, [x20, #4]
	bl	_IS_ERR
	cbz	x0, LBB0_21
; %bb.20:
	ldr	w0, [x20, #4]
	bl	_PTR_ERR
	mov	x20, x0
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
Lloh29:
	adrp	x1, _max197_sysfs_group@GOTPAGE
Lloh30:
	ldr	x1, [x1, _max197_sysfs_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_group
	mov	x0, x20
	b	LBB0_11
LBB0_21:
	mov	w21, #0
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdr	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no platform data supplied\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"no convert function supplied\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_max197,4,2                     ; @max197
	.comm	_MAX197_LIMIT,4,2               ; @MAX197_LIMIT
	.comm	_MAX199_LIMIT,4,2               ; @MAX199_LIMIT
	.comm	_MAX197_NUM_CH,4,2              ; @MAX197_NUM_CH
	.comm	_max197_sysfs_group,4,2         ; @max197_sysfs_group
l_.str.2:                               ; @.str.2
	.asciz	"sysfs create group failed\n"

l_.str.3:                               ; @.str.3
	.asciz	"hwmon device register failed\n"

	.no_dead_strip	_max197_probe
.subsections_via_symbols
