	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dump_config                    ## -- Begin function dump_config
	.p2align	4, 0x90
_dump_config:                           ## @dump_config
	.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	_EVENT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %r12
	leaq	L_.str.1(%rip), %r15
	leaq	L_.str.2(%rip), %r13
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_EVENT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movslq	%eax, %rcx
	cmpq	%rcx, %r14
	jge	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	_events@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%r14, %rdx
	shlq	$4, %rdx
	movq	8(%rcx,%rdx), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edi
	movq	(%rcx,%rdx), %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	movl	(%r12), %edi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r12), %edi
	movq	(%rbx), %rdx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	*%rax
	jmp	LBB0_6
LBB0_9:
	movq	_battery_watch_list@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_17
## %bb.10:
	movq	_stderr@GOTPCREL(%rip), %r15
	leaq	L_.str.1(%rip), %r12
	leaq	L_.str.2(%rip), %r13
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	32(%r14), %r14
	testq	%r14, %r14
	je	LBB0_17
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movl	(%r15), %edi
	movq	8(%r14), %rax
	movq	_BATTERY_PERCENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	(%r14), %edx
	leaq	L_.str.6(%rip), %rcx
	leaq	L_.str.5(%rip), %rax
	cmoveq	%rax, %rcx
	movq	16(%r14), %rax
	movq	_BATTERY_CHARGING@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	leaq	L_.str.8(%rip), %r8
	leaq	L_.str.7(%rip), %rax
	cmoveq	%rax, %r8
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	24(%r14), %rbx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	(%r15), %edi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	16(%rbx), %rbx
LBB0_12:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movl	(%r15), %edi
	movq	(%rbx), %rdx
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	*%rax
	jmp	LBB0_15
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVENT_MAX,4,2                  ## @EVENT_MAX
	.comm	_events,8,3                     ## @events
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"apm_event %s {\n"

L_.str.1:                               ## @.str.1
	.asciz	"\t%s"

L_.str.2:                               ## @.str.2
	.asciz	";\n"

L_.str.3:                               ## @.str.3
	.asciz	"}\n"

	.comm	_battery_watch_list,8,3         ## @battery_watch_list
L_.str.4:                               ## @.str.4
	.asciz	"apm_battery %d%s %s {\n"

	.comm	_BATTERY_PERCENT,8,3            ## @BATTERY_PERCENT
L_.str.5:                               ## @.str.5
	.asciz	"%"

L_.str.6:                               ## @.str.6
	.asciz	"m"

	.comm	_BATTERY_CHARGING,8,3           ## @BATTERY_CHARGING
L_.str.7:                               ## @.str.7
	.asciz	"charging"

L_.str.8:                               ## @.str.8
	.asciz	"discharging"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dump_config                    ; -- Begin function dump_config
	.p2align	2
_dump_config:                           ; @dump_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x24, _EVENT_MAX@GOTPAGE
Lloh1:
	ldr	x24, [x24, _EVENT_MAX@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x25, #0
Lloh2:
	adrp	x26, _events@GOTPAGE
Lloh3:
	ldr	x26, [x26, _events@GOTPAGEOFF]
Lloh4:
	adrp	x27, _stderr@GOTPAGE
Lloh5:
	ldr	x27, [x27, _stderr@GOTPAGEOFF]
Lloh6:
	adrp	x19, l_.str@PAGE
Lloh7:
	add	x19, x19, l_.str@PAGEOFF
Lloh8:
	adrp	x20, l_.str.1@PAGE
Lloh9:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh10:
	adrp	x21, l_.str.2@PAGE
Lloh11:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh12:
	adrp	x22, l_.str.3@PAGE
Lloh13:
	add	x22, x22, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x27]
	mov	x1, x22
	bl	_fprintf
	ldr	w8, [x24]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	cmp	x25, w8, sxtw
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x9, [x26]
	add	x10, x9, x25, lsl #4
	ldr	x23, [x10, #8]
	cbz	x23, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x27]
	lsl	x8, x25, #4
	ldr	x8, [x9, x8]
	str	x8, [sp]
	mov	x1, x19
	bl	_fprintf
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	w0, [x27]
	mov	x1, x21
	bl	_fprintf
	ldr	x23, [x23, #16]
	cbz	x23, LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x27]
	ldr	x8, [x23]
	str	x8, [sp]
	mov	x1, x20
	bl	_fprintf
	ldr	x8, [x23, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	w1, [x27]
	mov	x0, x23
	blr	x8
	b	LBB0_6
LBB0_9:
Lloh14:
	adrp	x8, _battery_watch_list@GOTPAGE
Lloh15:
	ldr	x8, [x8, _battery_watch_list@GOTPAGEOFF]
Lloh16:
	ldr	x24, [x8]
	cbz	x24, LBB0_16
; %bb.10:
Lloh17:
	adrp	x25, _stderr@GOTPAGE
Lloh18:
	ldr	x25, [x25, _stderr@GOTPAGEOFF]
Lloh19:
	adrp	x26, _BATTERY_CHARGING@GOTPAGE
Lloh20:
	ldr	x26, [x26, _BATTERY_CHARGING@GOTPAGEOFF]
Lloh21:
	adrp	x27, l_.str.8@PAGE
Lloh22:
	add	x27, x27, l_.str.8@PAGEOFF
Lloh23:
	adrp	x28, l_.str.7@PAGE
Lloh24:
	add	x28, x28, l_.str.7@PAGEOFF
Lloh25:
	adrp	x19, l_.str.4@PAGE
Lloh26:
	add	x19, x19, l_.str.4@PAGEOFF
Lloh27:
	adrp	x20, l_.str.3@PAGE
Lloh28:
	add	x20, x20, l_.str.3@PAGEOFF
Lloh29:
	adrp	x21, l_.str.1@PAGE
Lloh30:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh31:
	adrp	x22, l_.str.2@PAGE
Lloh32:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x25]
	mov	x1, x20
	bl	_fprintf
	ldr	x24, [x24, #32]
	cbz	x24, LBB0_16
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	ldr	w0, [x25]
Lloh33:
	adrp	x8, _BATTERY_PERCENT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _BATTERY_PERCENT@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	ldp	x9, x10, [x24, #8]
	cmp	x9, x8
Lloh36:
	adrp	x8, l_.str.6@PAGE
Lloh37:
	add	x8, x8, l_.str.6@PAGEOFF
Lloh38:
	adrp	x9, l_.str.5@PAGE
Lloh39:
	add	x9, x9, l_.str.5@PAGEOFF
	csel	x8, x9, x8, eq
	ldr	x9, [x26]
	cmp	x10, x9
	csel	x9, x28, x27, eq
	ldr	w10, [x24]
	stp	x8, x9, [sp, #8]
	str	x10, [sp]
	mov	x1, x19
	bl	_fprintf
	ldr	x23, [x24, #24]
	cbnz	x23, LBB0_14
	b	LBB0_11
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=2
	ldr	w0, [x25]
	mov	x1, x22
	bl	_fprintf
	ldr	x23, [x23, #16]
	cbz	x23, LBB0_11
LBB0_14:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x25]
	ldr	x8, [x23]
	str	x8, [sp]
	mov	x1, x21
	bl	_fprintf
	ldr	x8, [x23, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	w1, [x25]
	mov	x0, x23
	blr	x8
	b	LBB0_13
LBB0_16:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_EVENT_MAX,4,2                  ; @EVENT_MAX
	.comm	_events,8,3                     ; @events
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"apm_event %s {\n"

l_.str.1:                               ; @.str.1
	.asciz	"\t%s"

l_.str.2:                               ; @.str.2
	.asciz	";\n"

l_.str.3:                               ; @.str.3
	.asciz	"}\n"

	.comm	_battery_watch_list,8,3         ; @battery_watch_list
l_.str.4:                               ; @.str.4
	.asciz	"apm_battery %d%s %s {\n"

	.comm	_BATTERY_PERCENT,8,3            ; @BATTERY_PERCENT
l_.str.5:                               ; @.str.5
	.asciz	"%"

l_.str.6:                               ; @.str.6
	.asciz	"m"

	.comm	_BATTERY_CHARGING,8,3           ; @BATTERY_CHARGING
l_.str.7:                               ; @.str.7
	.asciz	"charging"

l_.str.8:                               ; @.str.8
	.asciz	"discharging"

.subsections_via_symbols
