	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_menlow_register_sensor
_intel_menlow_register_sensor:          ## @intel_menlow_register_sensor
	.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
	movl	%edi, %r14d
	leaq	-32(%rbp), %rsi
	callq	_acpi_bus_get_private_data
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_2:
	movq	_GET_AUX0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movl	%r14d, %edi
	callq	_acpi_get_handle
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_SET_AUX0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movl	%r14d, %edi
	callq	_acpi_get_handle
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_8
LBB0_4:
	movq	_AE_NOT_FOUND@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_7
LBB0_5:
	movq	_AE_OK@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rbx
LBB0_7:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	_aux0_show@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_aux0_store@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	-32(%rbp), %r8
	leaq	L_.str(%rip), %rdi
	movl	$420, %esi                      ## imm = 0x1A4
	movl	%r14d, %r9d
	callq	_intel_menlow_add_one_attribute
	testl	%eax, %eax
	je	LBB0_10
LBB0_9:
	movq	_AE_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_10:
	movq	_GET_AUX1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movl	%r14d, %edi
	callq	_acpi_get_handle
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:
	movq	_SET_AUX1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movl	%r14d, %edi
	callq	_acpi_get_handle
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_14
LBB0_12:
	movq	_AE_NOT_FOUND@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_5
## %bb.13:
	xorl	%eax, %eax
	callq	_intel_menlow_unregister_sensor
	jmp	LBB0_7
LBB0_14:
	movq	_aux1_show@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_aux1_store@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	-32(%rbp), %r8
	leaq	L_.str.1(%rip), %rdi
	movl	$420, %esi                      ## imm = 0x1A4
	movl	%r14d, %r9d
	callq	_intel_menlow_add_one_attribute
	testl	%eax, %eax
	jne	LBB0_16
## %bb.15:
	movq	_bios_enabled_show@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-32(%rbp), %r8
	leaq	L_.str.2(%rip), %rdi
	movl	$292, %esi                      ## imm = 0x124
	xorl	%ecx, %ecx
	movl	%r14d, %r9d
	callq	_intel_menlow_add_one_attribute
	testl	%eax, %eax
	je	LBB0_5
LBB0_16:
	xorl	%eax, %eax
	callq	_intel_menlow_unregister_sensor
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_GET_AUX0,4,2                   ## @GET_AUX0
	.comm	_AE_NOT_FOUND,8,3               ## @AE_NOT_FOUND
	.comm	_AE_OK,8,3                      ## @AE_OK
	.comm	_SET_AUX0,4,2                   ## @SET_AUX0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"aux0"

	.comm	_aux0_show,4,2                  ## @aux0_show
	.comm	_aux0_store,8,3                 ## @aux0_store
	.comm	_AE_ERROR,8,3                   ## @AE_ERROR
	.comm	_GET_AUX1,4,2                   ## @GET_AUX1
	.comm	_SET_AUX1,4,2                   ## @SET_AUX1
L_.str.1:                               ## @.str.1
	.asciz	"aux1"

	.comm	_aux1_show,4,2                  ## @aux1_show
	.comm	_aux1_store,8,3                 ## @aux1_store
L_.str.2:                               ## @.str.2
	.asciz	"bios_enabled"

	.comm	_bios_enabled_show,4,2          ## @bios_enabled_show
	.no_dead_strip	_intel_menlow_register_sensor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_menlow_register_sensor
_intel_menlow_register_sensor:          ; @intel_menlow_register_sensor
	.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
	mov	x1, sp
	bl	_acpi_bus_get_private_data
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, #0
	b	LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _GET_AUX0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GET_AUX0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	bl	_acpi_get_handle
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _SET_AUX0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SET_AUX0@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	bl	_acpi_get_handle
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _AE_NOT_FOUND@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AE_NOT_FOUND@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _AE_OK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AE_OK@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x20, x8
	csel	x20, x9, x20, eq
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
LBB0_6:
Lloh12:
	adrp	x8, _aux0_show@GOTPAGE
Lloh13:
	ldr	x8, [x8, _aux0_show@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _aux0_store@GOTPAGE
Lloh16:
	ldr	x8, [x8, _aux0_store@GOTPAGEOFF]
Lloh17:
	ldr	x3, [x8]
	ldr	x4, [sp]
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #420
	mov	x5, x19
	bl	_intel_menlow_add_one_attribute
	cbz	w0, LBB0_8
LBB0_7:
Lloh20:
	adrp	x8, _AE_ERROR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AE_ERROR@GOTPAGEOFF]
Lloh22:
	ldr	x20, [x8]
	b	LBB0_5
LBB0_8:
Lloh23:
	adrp	x8, _GET_AUX1@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GET_AUX1@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	bl	_acpi_get_handle
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_10
; %bb.9:
Lloh26:
	adrp	x8, _SET_AUX1@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SET_AUX1@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	bl	_acpi_get_handle
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_13
LBB0_10:
Lloh29:
	adrp	x8, _AE_NOT_FOUND@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AE_NOT_FOUND@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_12
LBB0_11:
Lloh32:
	adrp	x8, _AE_OK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh34:
	ldr	x20, [x8]
	b	LBB0_5
LBB0_12:
	bl	_intel_menlow_unregister_sensor
	b	LBB0_5
LBB0_13:
Lloh35:
	adrp	x8, _aux1_show@GOTPAGE
Lloh36:
	ldr	x8, [x8, _aux1_show@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
Lloh38:
	adrp	x8, _aux1_store@GOTPAGE
Lloh39:
	ldr	x8, [x8, _aux1_store@GOTPAGEOFF]
Lloh40:
	ldr	x3, [x8]
	ldr	x4, [sp]
Lloh41:
	adrp	x0, l_.str.1@PAGE
Lloh42:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #420
	mov	x5, x19
	bl	_intel_menlow_add_one_attribute
	cbnz	w0, LBB0_15
; %bb.14:
Lloh43:
	adrp	x8, _bios_enabled_show@GOTPAGE
Lloh44:
	ldr	x8, [x8, _bios_enabled_show@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
	ldr	x4, [sp]
Lloh46:
	adrp	x0, l_.str.2@PAGE
Lloh47:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #292
	mov	x3, #0
	mov	x5, x19
	bl	_intel_menlow_add_one_attribute
	cbz	w0, LBB0_11
LBB0_15:
	bl	_intel_menlow_unregister_sensor
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_GET_AUX0,4,2                   ; @GET_AUX0
	.comm	_AE_NOT_FOUND,8,3               ; @AE_NOT_FOUND
	.comm	_AE_OK,8,3                      ; @AE_OK
	.comm	_SET_AUX0,4,2                   ; @SET_AUX0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"aux0"

	.comm	_aux0_show,4,2                  ; @aux0_show
	.comm	_aux0_store,8,3                 ; @aux0_store
	.comm	_AE_ERROR,8,3                   ; @AE_ERROR
	.comm	_GET_AUX1,4,2                   ; @GET_AUX1
	.comm	_SET_AUX1,4,2                   ; @SET_AUX1
l_.str.1:                               ; @.str.1
	.asciz	"aux1"

	.comm	_aux1_show,4,2                  ; @aux1_show
	.comm	_aux1_store,8,3                 ; @aux1_store
l_.str.2:                               ; @.str.2
	.asciz	"bios_enabled"

	.comm	_bios_enabled_show,4,2          ; @bios_enabled_show
	.no_dead_strip	_intel_menlow_register_sensor
.subsections_via_symbols
