	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpi_hwmon_probe
_rpi_hwmon_probe:                       ## @rpi_hwmon_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$12, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movl	(%r14), %edi
	callq	_dev_get_drvdata
	movl	%eax, 8(%rbx)
	leaq	L_.str(%rip), %rsi
	movq	_rpi_chip_info@GOTPCREL(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	xorl	%r8d, %r8d
	callq	_devm_hwmon_device_register_with_info
	movl	%eax, (%rbx)
	movq	%rbx, %r15
	addq	$4, %r15
	movq	_get_values_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_INIT_DELAYED_WORK
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_platform_set_drvdata
	movl	(%rbx), %edi
	callq	_PTR_ERR_OR_ZERO
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%esi, %esi
	movq	%r15, %rdi
	callq	_schedule_delayed_work
LBB0_3:
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR_OR_ZERO                ## TAILCALL
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rpi_volt"

	.comm	_rpi_chip_info,4,2              ## @rpi_chip_info
	.comm	_get_values_poll,4,2            ## @get_values_poll
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_rpi_hwmon_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpi_hwmon_probe
_rpi_hwmon_probe:                       ; @rpi_hwmon_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	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #12
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w0, [x20]
	bl	_dev_get_drvdata
	str	w0, [x19, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
Lloh5:
	adrp	x3, _rpi_chip_info@GOTPAGE
Lloh6:
	ldr	x3, [x3, _rpi_chip_info@GOTPAGEOFF]
	mov	x0, x20
	mov	x2, x19
	mov	x4, #0
	bl	_devm_hwmon_device_register_with_info
	str	w0, [x19]
	add	x21, x19, #4
Lloh7:
	adrp	x8, _get_values_poll@GOTPAGE
Lloh8:
	ldr	x8, [x8, _get_values_poll@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_INIT_DELAYED_WORK
	mov	x0, x20
	mov	x1, x19
	bl	_platform_set_drvdata
	ldr	w0, [x19]
	bl	_PTR_ERR_OR_ZERO
	cbnz	w0, LBB0_3
; %bb.2:
Lloh10:
	adrp	x8, _HZ@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	lsl	w1, w8, #1
	mov	x0, x21
	bl	_schedule_delayed_work
LBB0_3:
	ldr	w0, [x19]
	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
	b	_PTR_ERR_OR_ZERO
LBB0_4:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rpi_volt"

	.comm	_rpi_chip_info,4,2              ; @rpi_chip_info
	.comm	_get_values_poll,4,2            ; @get_values_poll
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_rpi_hwmon_probe
.subsections_via_symbols
