	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function led_get_diskio_activity
_led_get_diskio_activity:               ## @led_get_diskio_activity
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movq	_NR_VM_EVENT_ITEMS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	%rbx, %rdi
	callq	_all_vm_events
	movq	_PGPGIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rcx
	cmpq	_led_get_diskio_activity.last_pgpgin(%rip), %rcx
	jne	LBB0_1
## %bb.2:
	movq	_PGPGOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdx
	xorl	%eax, %eax
	movq	%rcx, _led_get_diskio_activity.last_pgpgin(%rip)
	cmpq	_led_get_diskio_activity.last_pgpgout(%rip), %rdx
	movq	%rdx, _led_get_diskio_activity.last_pgpgout(%rip)
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movq	%rcx, _led_get_diskio_activity.last_pgpgin(%rip)
	movq	_PGPGOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rax
	movq	%rax, _led_get_diskio_activity.last_pgpgout(%rip)
LBB0_3:
	movq	_LED_DISK_IO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_6
## %bb.5:
	leaq	-8(%rbp), %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_led_get_diskio_activity.last_pgpgin,8,3 ## @led_get_diskio_activity.last_pgpgin
.zerofill __DATA,__bss,_led_get_diskio_activity.last_pgpgout,8,3 ## @led_get_diskio_activity.last_pgpgout
	.comm	_NR_VM_EVENT_ITEMS,4,2          ## @NR_VM_EVENT_ITEMS
	.comm	_PGPGIN,8,3                     ## @PGPGIN
	.comm	_PGPGOUT,8,3                    ## @PGPGOUT
	.comm	_LED_DISK_IO,4,2                ## @LED_DISK_IO
	.no_dead_strip	_led_get_diskio_activity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function led_get_diskio_activity
_led_get_diskio_activity:               ; @led_get_diskio_activity
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _NR_VM_EVENT_ITEMS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NR_VM_EVENT_ITEMS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x19, x9, x8
	mov	sp, x19
	mov	x0, x19
	bl	_all_vm_events
Lloh8:
	adrp	x8, _PGPGIN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PGPGIN@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x8, [x19, x8, lsl #3]
	adrp	x9, _led_get_diskio_activity.last_pgpgin@PAGE
	ldr	x10, [x9, _led_get_diskio_activity.last_pgpgin@PAGEOFF]
	cmp	x8, x10
	b.ne	LBB0_3
; %bb.1:
Lloh11:
	adrp	x10, _PGPGOUT@GOTPAGE
Lloh12:
	ldr	x10, [x10, _PGPGOUT@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	ldr	x10, [x19, x10, lsl #3]
	adrp	x11, _led_get_diskio_activity.last_pgpgout@PAGE
	ldr	x12, [x11, _led_get_diskio_activity.last_pgpgout@PAGEOFF]
	str	x8, [x9, _led_get_diskio_activity.last_pgpgin@PAGEOFF]
	str	x10, [x11, _led_get_diskio_activity.last_pgpgout@PAGEOFF]
	cmp	x10, x12
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_5
LBB0_3:
Lloh14:
	adrp	x10, _PGPGOUT@GOTPAGE
Lloh15:
	ldr	x10, [x10, _PGPGOUT@GOTPAGEOFF]
	str	x8, [x9, _led_get_diskio_activity.last_pgpgin@PAGEOFF]
Lloh16:
	ldr	x8, [x10]
	ldr	x8, [x19, x8, lsl #3]
	adrp	x9, _led_get_diskio_activity.last_pgpgout@PAGE
	str	x8, [x9, _led_get_diskio_activity.last_pgpgout@PAGEOFF]
LBB0_4:
Lloh17:
	adrp	x8, _LED_DISK_IO@GOTPAGE
Lloh18:
	ldr	x8, [x8, _LED_DISK_IO@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
LBB0_5:
	ldur	x8, [x29, #-24]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_led_get_diskio_activity.last_pgpgin,8,3 ; @led_get_diskio_activity.last_pgpgin
.zerofill __DATA,__bss,_led_get_diskio_activity.last_pgpgout,8,3 ; @led_get_diskio_activity.last_pgpgout
	.comm	_NR_VM_EVENT_ITEMS,4,2          ; @NR_VM_EVENT_ITEMS
	.comm	_PGPGIN,8,3                     ; @PGPGIN
	.comm	_PGPGOUT,8,3                    ; @PGPGOUT
	.comm	_LED_DISK_IO,4,2                ; @LED_DISK_IO
	.no_dead_strip	_led_get_diskio_activity
.subsections_via_symbols
