	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_attrs
_setup_attrs:                           ## @setup_attrs
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_read_domain_devices
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.1:
	movl	(%r14), %eax
	movq	_POWER_METER_CAN_MEASURE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.2:
	movq	_meter_ro_attrs@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_register_ro_attrs
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.3:
	movq	_meter_rw_attrs@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_register_rw_attrs
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.4:
	movl	(%r14), %eax
LBB0_5:
	movq	_POWER_METER_CAN_CAP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.6:
	cmpq	$0, 8(%r14)
	je	LBB0_8
## %bb.7:
	movq	_rw_cap_attrs@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_register_rw_attrs
	jmp	LBB0_9
LBB0_8:
	movq	_ro_cap_attrs@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_register_ro_attrs
LBB0_9:
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.10:
	movq	_misc_cap_attrs@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_register_ro_attrs
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
## %bb.11:
	movl	(%r14), %eax
LBB0_12:
	movq	_POWER_METER_CAN_TRIP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.13:
	movq	_trip_attrs@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_register_rw_attrs
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_16
LBB0_14:
	movq	_misc_attrs@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_register_ro_attrs
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_15
LBB0_16:
	movq	%r14, %rdi
	callq	_remove_domain_devices
	movq	%r14, %rdi
	callq	_remove_attrs
LBB0_17:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_15:
	xorl	%ebx, %ebx
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_POWER_METER_CAN_MEASURE,4,2    ## @POWER_METER_CAN_MEASURE
	.comm	_meter_ro_attrs,4,2             ## @meter_ro_attrs
	.comm	_meter_rw_attrs,4,2             ## @meter_rw_attrs
	.comm	_POWER_METER_CAN_CAP,4,2        ## @POWER_METER_CAN_CAP
	.comm	_rw_cap_attrs,4,2               ## @rw_cap_attrs
	.comm	_ro_cap_attrs,4,2               ## @ro_cap_attrs
	.comm	_misc_cap_attrs,4,2             ## @misc_cap_attrs
	.comm	_POWER_METER_CAN_TRIP,4,2       ## @POWER_METER_CAN_TRIP
	.comm	_trip_attrs,4,2                 ## @trip_attrs
	.comm	_misc_attrs,4,2                 ## @misc_attrs
	.no_dead_strip	_setup_attrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_attrs
_setup_attrs:                           ; @setup_attrs
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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	_read_domain_devices
	mov	x20, x0
	cbnz	w0, LBB0_15
; %bb.1:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _POWER_METER_CAN_MEASURE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _POWER_METER_CAN_MEASURE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _meter_ro_attrs@GOTPAGE
Lloh4:
	ldr	x8, [x8, _meter_ro_attrs@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_register_ro_attrs
	mov	x20, x0
	cbnz	w0, LBB0_14
; %bb.3:
Lloh6:
	adrp	x8, _meter_rw_attrs@GOTPAGE
Lloh7:
	ldr	x8, [x8, _meter_rw_attrs@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_register_rw_attrs
	mov	x20, x0
	cbnz	w0, LBB0_14
; %bb.4:
	ldr	w8, [x19]
LBB0_5:
Lloh9:
	adrp	x9, _POWER_METER_CAN_CAP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _POWER_METER_CAN_CAP@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.6:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_8
; %bb.7:
Lloh12:
	adrp	x8, _rw_cap_attrs@GOTPAGE
Lloh13:
	ldr	x8, [x8, _rw_cap_attrs@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_register_rw_attrs
	mov	x20, x0
	cbnz	w0, LBB0_14
	b	LBB0_9
LBB0_8:
Lloh15:
	adrp	x8, _ro_cap_attrs@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ro_cap_attrs@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_register_ro_attrs
	mov	x20, x0
	cbnz	w0, LBB0_14
LBB0_9:
Lloh18:
	adrp	x8, _misc_cap_attrs@GOTPAGE
Lloh19:
	ldr	x8, [x8, _misc_cap_attrs@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_register_ro_attrs
	mov	x20, x0
	cbnz	w0, LBB0_14
; %bb.10:
	ldr	w8, [x19]
LBB0_11:
Lloh21:
	adrp	x9, _POWER_METER_CAN_TRIP@GOTPAGE
Lloh22:
	ldr	x9, [x9, _POWER_METER_CAN_TRIP@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
Lloh24:
	adrp	x8, _trip_attrs@GOTPAGE
Lloh25:
	ldr	x8, [x8, _trip_attrs@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_register_rw_attrs
	mov	x20, x0
	cbnz	w0, LBB0_14
LBB0_13:
Lloh27:
	adrp	x8, _misc_attrs@GOTPAGE
Lloh28:
	ldr	x8, [x8, _misc_attrs@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_register_ro_attrs
	mov	x20, x0
	cbz	w0, LBB0_15
LBB0_14:
	mov	x0, x19
	bl	_remove_domain_devices
	mov	x0, x19
	bl	_remove_attrs
LBB0_15:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_POWER_METER_CAN_MEASURE,4,2    ; @POWER_METER_CAN_MEASURE
	.comm	_meter_ro_attrs,4,2             ; @meter_ro_attrs
	.comm	_meter_rw_attrs,4,2             ; @meter_rw_attrs
	.comm	_POWER_METER_CAN_CAP,4,2        ; @POWER_METER_CAN_CAP
	.comm	_rw_cap_attrs,4,2               ; @rw_cap_attrs
	.comm	_ro_cap_attrs,4,2               ; @ro_cap_attrs
	.comm	_misc_cap_attrs,4,2             ; @misc_cap_attrs
	.comm	_POWER_METER_CAN_TRIP,4,2       ; @POWER_METER_CAN_TRIP
	.comm	_trip_attrs,4,2                 ; @trip_attrs
	.comm	_misc_attrs,4,2                 ; @misc_attrs
	.no_dead_strip	_setup_attrs
.subsections_via_symbols
