	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adt7x10_probe                  ## -- Begin function adt7x10_probe
	.p2align	4, 0x90
_adt7x10_probe:                         ## @adt7x10_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	%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	%rcx, %rbx
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$32, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%rbx, 24(%rax)
	movq	%r15, (%rax)
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_dev_set_drvdata
	movq	%r13, %rdi
	addq	$20, %rdi
	callq	_mutex_init
	movq	_ADT7X10_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_adt7x10_read_byte
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movl	%ebx, 8(%r13)
	movq	_ADT7X10_MODE_MASK@GOTPCREL(%rip), %rax
	movq	_ADT7X10_CT_POLARITY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_ADT7X10_INT_POLARITY@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	notl	%edx
	andl	%ebx, %edx
	movq	_ADT7X10_FULL@GOTPCREL(%rip), %rax
	movq	_ADT7X10_RESOLUTION@GOTPCREL(%rip), %rcx
	movq	_ADT7X10_EVENT_MODE@GOTPCREL(%rip), %rsi
	orl	(%rax), %edx
	orl	(%rcx), %edx
	orl	(%rsi), %edx
	movl	%edx, 12(%r13)
	cmpl	%ebx, %edx
	je	LBB0_7
## %bb.5:
	movq	_ADT7X10_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_adt7x10_write_byte
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_21
## %bb.6:
	movl	12(%r13), %ebx
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_dbg
	movq	%r14, %rdi
	callq	_adt7x10_fill_cache
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_20
## %bb.8:
	movq	_adt7x10_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_create_group
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_20
## %bb.9:
	testq	%r15, %r15
	je	LBB0_11
## %bb.10:
	movq	_dev_attr_name@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_create_file
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_19
LBB0_11:
	movq	%r14, %rdi
	callq	_hwmon_device_register
	movl	%eax, 16(%r13)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	16(%r13), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	testq	%r15, %r15
	je	LBB0_19
LBB0_18:
	movq	_dev_attr_name@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_device_remove_file
LBB0_19:
	movq	_adt7x10_group@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_sysfs_remove_group
LBB0_20:
	movq	_ADT7X10_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r13), %edx
	movq	%r14, %rdi
	callq	_adt7x10_write_byte
	jmp	LBB0_21
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_21
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_dbg
LBB0_21:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	testl	%r12d, %r12d
	jle	LBB0_14
## %bb.15:
	movq	_adt7x10_irq_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_IRQF_TRIGGER_FALLING@GOTPCREL(%rip), %rax
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_dev_name
	xorl	%ebx, %ebx
	movl	%r12d, %edi
	xorl	%esi, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_21
## %bb.16:
	movl	%eax, %r12d
	movl	16(%r13), %edi
	callq	_hwmon_device_unregister
	movl	%r12d, %ebx
	testq	%r15, %r15
	jne	LBB0_18
	jmp	LBB0_19
LBB0_14:
	xorl	%ebx, %ebx
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ADT7X10_CONFIG,4,2             ## @ADT7X10_CONFIG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't read config? %d\n"

	.comm	_ADT7X10_MODE_MASK,4,2          ## @ADT7X10_MODE_MASK
	.comm	_ADT7X10_CT_POLARITY,4,2        ## @ADT7X10_CT_POLARITY
	.comm	_ADT7X10_INT_POLARITY,4,2       ## @ADT7X10_INT_POLARITY
	.comm	_ADT7X10_FULL,4,2               ## @ADT7X10_FULL
	.comm	_ADT7X10_RESOLUTION,4,2         ## @ADT7X10_RESOLUTION
	.comm	_ADT7X10_EVENT_MODE,4,2         ## @ADT7X10_EVENT_MODE
L_.str.1:                               ## @.str.1
	.asciz	"Config %02x\n"

	.comm	_adt7x10_group,4,2              ## @adt7x10_group
	.comm	_dev_attr_name,4,2              ## @dev_attr_name
	.comm	_adt7x10_irq_handler,4,2        ## @adt7x10_irq_handler
	.comm	_IRQF_TRIGGER_FALLING,4,2       ## @IRQF_TRIGGER_FALLING
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adt7x10_probe                  ; -- Begin function adt7x10_probe
	.p2align	2
_adt7x10_probe:                         ; @adt7x10_probe
	.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
	mov	x23, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #32
	bl	_devm_kzalloc
	cbz	x0, LBB0_14
; %bb.1:
	mov	x20, x0
	str	x23, [x0, #24]
	str	x21, [x0]
	mov	x0, x19
	mov	x1, x20
	bl	_dev_set_drvdata
	add	x0, x20, #20
	bl	_mutex_init
Lloh3:
	adrp	x25, _ADT7X10_CONFIG@GOTPAGE
Lloh4:
	ldr	x25, [x25, _ADT7X10_CONFIG@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	bl	_adt7x10_read_byte
	mov	x23, x0
	tbnz	w0, #31, LBB0_15
; %bb.2:
Lloh5:
	adrp	x8, _ADT7X10_MODE_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ADT7X10_MODE_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _ADT7X10_CT_POLARITY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ADT7X10_CT_POLARITY@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _ADT7X10_INT_POLARITY@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ADT7X10_INT_POLARITY@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w8, w23, w8
Lloh14:
	adrp	x9, _ADT7X10_FULL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ADT7X10_FULL@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	adrp	x10, _ADT7X10_RESOLUTION@GOTPAGE
Lloh18:
	ldr	x10, [x10, _ADT7X10_RESOLUTION@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
Lloh20:
	adrp	x11, _ADT7X10_EVENT_MODE@GOTPAGE
Lloh21:
	ldr	x11, [x11, _ADT7X10_EVENT_MODE@GOTPAGEOFF]
Lloh22:
	ldr	w11, [x11]
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w2, w8, w11
	stp	w23, w2, [x20, #8]
	cmp	w2, w23
	b.eq	LBB0_5
; %bb.3:
	ldr	w1, [x25]
	mov	x0, x19
	bl	_adt7x10_write_byte
	mov	x23, x0
	cbnz	w0, LBB0_16
; %bb.4:
	ldr	w23, [x20, #12]
LBB0_5:
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	bl	_dev_dbg
	mov	x0, x19
	bl	_adt7x10_fill_cache
	mov	x23, x0
	cbnz	w0, LBB0_13
; %bb.6:
Lloh25:
	adrp	x1, _adt7x10_group@GOTPAGE
Lloh26:
	ldr	x1, [x1, _adt7x10_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_create_group
	mov	x23, x0
	cbnz	w0, LBB0_13
; %bb.7:
	cbz	x21, LBB0_9
; %bb.8:
Lloh27:
	adrp	x1, _dev_attr_name@GOTPAGE
Lloh28:
	ldr	x1, [x1, _dev_attr_name@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_create_file
	mov	x23, x0
	cbnz	w0, LBB0_12
LBB0_9:
	mov	x0, x19
	bl	_hwmon_device_register
	str	w0, [x20, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_17
; %bb.10:
	ldr	w0, [x20, #16]
	bl	_PTR_ERR
	mov	x23, x0
	cbz	x21, LBB0_12
LBB0_11:
Lloh29:
	adrp	x1, _dev_attr_name@GOTPAGE
Lloh30:
	ldr	x1, [x1, _dev_attr_name@GOTPAGEOFF]
	mov	x0, x19
	bl	_device_remove_file
LBB0_12:
Lloh31:
	adrp	x1, _adt7x10_group@GOTPAGE
Lloh32:
	ldr	x1, [x1, _adt7x10_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_group
LBB0_13:
	ldr	w1, [x25]
	ldr	w2, [x20, #8]
	mov	x0, x19
	bl	_adt7x10_write_byte
	b	LBB0_16
LBB0_14:
Lloh33:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_16
LBB0_15:
Lloh36:
	adrp	x1, l_.str@PAGE
Lloh37:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	bl	_dev_dbg
LBB0_16:
	mov	x0, x23
	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
LBB0_17:
	cmp	w22, #1
	b.lt	LBB0_20
; %bb.18:
Lloh38:
	adrp	x8, _adt7x10_irq_handler@GOTPAGE
Lloh39:
	ldr	x8, [x8, _adt7x10_irq_handler@GOTPAGEOFF]
Lloh40:
	adrp	x9, _IRQF_TRIGGER_FALLING@GOTPAGE
Lloh41:
	ldr	x9, [x9, _IRQF_TRIGGER_FALLING@GOTPAGEOFF]
Lloh42:
	ldr	w23, [x8]
Lloh43:
	ldr	w8, [x9]
Lloh44:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh45:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	orr	w24, w9, w8
	mov	x0, x19
	bl	_dev_name
	mov	x4, x0
	mov	x0, x22
	mov	x1, #0
	mov	x2, x23
	mov	x3, x24
	mov	x5, x19
	bl	_request_threaded_irq
	mov	x23, x0
	cbz	w0, LBB0_16
; %bb.19:
	ldr	w0, [x20, #16]
	bl	_hwmon_device_unregister
	cbnz	x21, LBB0_11
	b	LBB0_12
LBB0_20:
	mov	w23, #0
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ADT7X10_CONFIG,4,2             ; @ADT7X10_CONFIG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't read config? %d\n"

	.comm	_ADT7X10_MODE_MASK,4,2          ; @ADT7X10_MODE_MASK
	.comm	_ADT7X10_CT_POLARITY,4,2        ; @ADT7X10_CT_POLARITY
	.comm	_ADT7X10_INT_POLARITY,4,2       ; @ADT7X10_INT_POLARITY
	.comm	_ADT7X10_FULL,4,2               ; @ADT7X10_FULL
	.comm	_ADT7X10_RESOLUTION,4,2         ; @ADT7X10_RESOLUTION
	.comm	_ADT7X10_EVENT_MODE,4,2         ; @ADT7X10_EVENT_MODE
l_.str.1:                               ; @.str.1
	.asciz	"Config %02x\n"

	.comm	_adt7x10_group,4,2              ; @adt7x10_group
	.comm	_dev_attr_name,4,2              ; @dev_attr_name
	.comm	_adt7x10_irq_handler,4,2        ; @adt7x10_irq_handler
	.comm	_IRQF_TRIGGER_FALLING,4,2       ; @IRQF_TRIGGER_FALLING
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
.subsections_via_symbols
