	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i5500_temp_probe
_i5500_temp_probe:                      ## @i5500_temp_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_pci_enable_device
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_6
LBB0_2:
	movq	_REG_TSFSC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movq	%r14, %rdi
	callq	_pci_read_config_byte
	movq	_REG_TSTIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movq	%r14, %rdi
	callq	_pci_read_config_dword
	cmpl	$127, -20(%rbp)
	jne	LBB0_5
## %bb.3:
	cmpl	$131272000, -24(%rbp)           ## imm = 0x7D30D40
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_notice
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_6
LBB0_5:
	movq	_i5500_temp_groups@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_devm_hwmon_device_register_with_groups
	movq	%rax, %rdi
	callq	_PTR_ERR_OR_ZERO
	movl	%eax, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to enable device\n"

	.comm	_REG_TSFSC,4,2                  ## @REG_TSFSC
	.comm	_REG_TSTIMER,4,2                ## @REG_TSTIMER
L_.str.1:                               ## @.str.1
	.asciz	"Sensor seems to be disabled\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.2:                               ## @.str.2
	.asciz	"intel5500"

	.comm	_i5500_temp_groups,4,2          ## @i5500_temp_groups
	.no_dead_strip	_i5500_temp_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i5500_temp_probe
_i5500_temp_probe:                      ; @i5500_temp_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_pci_enable_device
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_5
LBB0_2:
Lloh2:
	adrp	x8, _REG_TSFSC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REG_TSFSC@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_pci_read_config_byte
Lloh5:
	adrp	x8, _REG_TSTIMER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REG_TSTIMER@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	bl	_pci_read_config_dword
	ldp	w8, w9, [sp, #8]
	cmp	w8, #127
	mov	w8, #3392
	movk	w8, #2003, lsl #16
	ccmp	w9, w8, #0, eq
	b.eq	LBB0_4
; %bb.3:
Lloh8:
	adrp	x8, _i5500_temp_groups@GOTPAGE
Lloh9:
	ldr	x8, [x8, _i5500_temp_groups@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x1, l_.str.2@PAGE
Lloh12:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, #0
	bl	_devm_hwmon_device_register_with_groups
	bl	_PTR_ERR_OR_ZERO
	mov	x20, x0
	b	LBB0_5
LBB0_4:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_notice
Lloh15:
	adrp	x8, _ENODEV@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to enable device\n"

	.comm	_REG_TSFSC,4,2                  ; @REG_TSFSC
	.comm	_REG_TSTIMER,4,2                ; @REG_TSTIMER
l_.str.1:                               ; @.str.1
	.asciz	"Sensor seems to be disabled\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.2:                               ; @.str.2
	.asciz	"intel5500"

	.comm	_i5500_temp_groups,4,2          ; @i5500_temp_groups
	.no_dead_strip	_i5500_temp_probe
.subsections_via_symbols
