	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_occ_sysfs_poll_done            ## -- Begin function occ_sysfs_poll_done
	.p2align	4, 0x90
_occ_sysfs_poll_done:                   ## @occ_sysfs_poll_done
	.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, %rbx
	movq	48(%rdi), %r14
	cmpl	$0, 40(%rdi)
	je	LBB0_19
## %bb.1:
	movq	_OCC_STAT_MASTER@GOTPCREL(%rip), %r15
	movl	(%rbx), %eax
	xorl	(%r14), %eax
	testl	%eax, (%r15)
	je	LBB0_3
## %bb.2:
	movq	_sensor_dev_attr_occ_master@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	32(%rbx), %rdi
	xorl	%esi, %esi
	callq	_sysfs_notify
	movl	(%rbx), %eax
	xorl	(%r14), %eax
LBB0_3:
	movq	_OCC_STAT_ACTIVE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	_sensor_dev_attr_occ_active@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	32(%rbx), %rdi
	xorl	%esi, %esi
	callq	_sysfs_notify
LBB0_5:
	movq	_OCC_EXT_STAT_DVFS_OT@GOTPCREL(%rip), %rcx
	movl	4(%rbx), %eax
	xorl	4(%r14), %eax
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:
	movq	_sensor_dev_attr_occ_dvfs_overtemp@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	32(%rbx), %rdi
	xorl	%esi, %esi
	callq	_sysfs_notify
	movl	4(%rbx), %eax
	xorl	4(%r14), %eax
LBB0_7:
	movq	_OCC_EXT_STAT_DVFS_POWER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	_sensor_dev_attr_occ_dvfs_power@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	32(%rbx), %rdi
	xorl	%esi, %esi
	callq	_sysfs_notify
	movl	4(%rbx), %eax
	xorl	4(%r14), %eax
LBB0_9:
	movq	_OCC_EXT_STAT_MEM_THROTTLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:
	movq	_sensor_dev_attr_occ_mem_throttle@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	32(%rbx), %rdi
	xorl	%esi, %esi
	callq	_sysfs_notify
	movl	4(%rbx), %eax
	xorl	4(%r14), %eax
LBB0_11:
	movq	_OCC_EXT_STAT_QUICK_DROP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.12:
	movq	_sensor_dev_attr_occ_quick_pwr_drop@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	32(%rbx), %rdi
	xorl	%esi, %esi
	callq	_sysfs_notify
LBB0_13:
	movl	(%r15), %eax
	testl	%eax, (%r14)
	je	LBB0_16
## %bb.14:
	movq	8(%r14), %rax
	cmpq	8(%rbx), %rax
	je	LBB0_16
## %bb.15:
	movq	_sensor_dev_attr_occs_present@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	32(%rbx), %rdi
	xorl	%esi, %esi
	callq	_sysfs_notify
LBB0_16:
	movq	16(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:
	cmpq	24(%rbx), %rax
	je	LBB0_19
## %bb.18:
	movq	_dev_attr_occ_error@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	32(%rbx), %rdi
	xorl	%esi, %esi
	callq	_sysfs_notify
LBB0_19:
	movq	16(%rbx), %rax
	movq	%rax, 24(%rbx)
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	movl	4(%r14), %eax
	movl	%eax, 4(%rbx)
	movq	8(%r14), %rax
	movq	%rax, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OCC_STAT_MASTER,4,2            ## @OCC_STAT_MASTER
	.comm	_sensor_dev_attr_occ_master,8,3 ## @sensor_dev_attr_occ_master
	.comm	_OCC_STAT_ACTIVE,4,2            ## @OCC_STAT_ACTIVE
	.comm	_sensor_dev_attr_occ_active,8,3 ## @sensor_dev_attr_occ_active
	.comm	_OCC_EXT_STAT_DVFS_OT,4,2       ## @OCC_EXT_STAT_DVFS_OT
	.comm	_sensor_dev_attr_occ_dvfs_overtemp,8,3 ## @sensor_dev_attr_occ_dvfs_overtemp
	.comm	_OCC_EXT_STAT_DVFS_POWER,4,2    ## @OCC_EXT_STAT_DVFS_POWER
	.comm	_sensor_dev_attr_occ_dvfs_power,8,3 ## @sensor_dev_attr_occ_dvfs_power
	.comm	_OCC_EXT_STAT_MEM_THROTTLE,4,2  ## @OCC_EXT_STAT_MEM_THROTTLE
	.comm	_sensor_dev_attr_occ_mem_throttle,8,3 ## @sensor_dev_attr_occ_mem_throttle
	.comm	_OCC_EXT_STAT_QUICK_DROP,4,2    ## @OCC_EXT_STAT_QUICK_DROP
	.comm	_sensor_dev_attr_occ_quick_pwr_drop,8,3 ## @sensor_dev_attr_occ_quick_pwr_drop
	.comm	_sensor_dev_attr_occs_present,8,3 ## @sensor_dev_attr_occs_present
	.comm	_dev_attr_occ_error,8,3         ## @dev_attr_occ_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_occ_sysfs_poll_done            ; -- Begin function occ_sysfs_poll_done
	.p2align	2
_occ_sysfs_poll_done:                   ; @occ_sysfs_poll_done
	.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	x19, x0
	ldr	x20, [x0, #48]
	ldr	w8, [x0, #40]
	cbz	w8, LBB0_19
; %bb.1:
	ldr	w8, [x20]
Lloh0:
	adrp	x21, _OCC_STAT_MASTER@GOTPAGE
Lloh1:
	ldr	x21, [x21, _OCC_STAT_MASTER@GOTPAGEOFF]
	ldr	w9, [x21]
	ldr	w10, [x19]
	eor	w8, w10, w8
	tst	w8, w9
	b.eq	LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _sensor_dev_attr_occ_master@GOTPAGE
Lloh3:
	ldr	x8, [x8, _sensor_dev_attr_occ_master@GOTPAGEOFF]
Lloh4:
	ldr	x2, [x8]
	ldr	x0, [x19, #32]
	mov	x1, #0
	bl	_sysfs_notify
	ldr	w8, [x20]
	ldr	w9, [x19]
	eor	w8, w9, w8
LBB0_3:
Lloh5:
	adrp	x9, _OCC_STAT_ACTIVE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OCC_STAT_ACTIVE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _sensor_dev_attr_occ_active@GOTPAGE
Lloh9:
	ldr	x8, [x8, _sensor_dev_attr_occ_active@GOTPAGEOFF]
Lloh10:
	ldr	x2, [x8]
	ldr	x0, [x19, #32]
	mov	x1, #0
	bl	_sysfs_notify
LBB0_5:
	ldr	w8, [x20, #4]
Lloh11:
	adrp	x9, _OCC_EXT_STAT_DVFS_OT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _OCC_EXT_STAT_DVFS_OT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	ldr	w10, [x19, #4]
	eor	w8, w10, w8
	tst	w8, w9
	b.eq	LBB0_7
; %bb.6:
Lloh14:
	adrp	x8, _sensor_dev_attr_occ_dvfs_overtemp@GOTPAGE
Lloh15:
	ldr	x8, [x8, _sensor_dev_attr_occ_dvfs_overtemp@GOTPAGEOFF]
Lloh16:
	ldr	x2, [x8]
	ldr	x0, [x19, #32]
	mov	x1, #0
	bl	_sysfs_notify
	ldr	w8, [x20, #4]
	ldr	w9, [x19, #4]
	eor	w8, w9, w8
LBB0_7:
Lloh17:
	adrp	x9, _OCC_EXT_STAT_DVFS_POWER@GOTPAGE
Lloh18:
	ldr	x9, [x9, _OCC_EXT_STAT_DVFS_POWER@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_9
; %bb.8:
Lloh20:
	adrp	x8, _sensor_dev_attr_occ_dvfs_power@GOTPAGE
Lloh21:
	ldr	x8, [x8, _sensor_dev_attr_occ_dvfs_power@GOTPAGEOFF]
Lloh22:
	ldr	x2, [x8]
	ldr	x0, [x19, #32]
	mov	x1, #0
	bl	_sysfs_notify
	ldr	w8, [x20, #4]
	ldr	w9, [x19, #4]
	eor	w8, w9, w8
LBB0_9:
Lloh23:
	adrp	x9, _OCC_EXT_STAT_MEM_THROTTLE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _OCC_EXT_STAT_MEM_THROTTLE@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_11
; %bb.10:
Lloh26:
	adrp	x8, _sensor_dev_attr_occ_mem_throttle@GOTPAGE
Lloh27:
	ldr	x8, [x8, _sensor_dev_attr_occ_mem_throttle@GOTPAGEOFF]
Lloh28:
	ldr	x2, [x8]
	ldr	x0, [x19, #32]
	mov	x1, #0
	bl	_sysfs_notify
	ldr	w8, [x20, #4]
	ldr	w9, [x19, #4]
	eor	w8, w9, w8
LBB0_11:
Lloh29:
	adrp	x9, _OCC_EXT_STAT_QUICK_DROP@GOTPAGE
Lloh30:
	ldr	x9, [x9, _OCC_EXT_STAT_QUICK_DROP@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w8, w9
	b.eq	LBB0_13
; %bb.12:
Lloh32:
	adrp	x8, _sensor_dev_attr_occ_quick_pwr_drop@GOTPAGE
Lloh33:
	ldr	x8, [x8, _sensor_dev_attr_occ_quick_pwr_drop@GOTPAGEOFF]
Lloh34:
	ldr	x2, [x8]
	ldr	x0, [x19, #32]
	mov	x1, #0
	bl	_sysfs_notify
LBB0_13:
	ldr	w8, [x20]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.14:
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.15:
Lloh35:
	adrp	x8, _sensor_dev_attr_occs_present@GOTPAGE
Lloh36:
	ldr	x8, [x8, _sensor_dev_attr_occs_present@GOTPAGEOFF]
Lloh37:
	ldr	x2, [x8]
	ldr	x0, [x19, #32]
	mov	x1, #0
	bl	_sysfs_notify
LBB0_16:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_19
; %bb.17:
	ldr	x9, [x19, #24]
	cmp	x8, x9
	b.eq	LBB0_19
; %bb.18:
Lloh38:
	adrp	x8, _dev_attr_occ_error@GOTPAGE
Lloh39:
	ldr	x8, [x8, _dev_attr_occ_error@GOTPAGEOFF]
Lloh40:
	ldr	x2, [x8]
	ldr	x0, [x19, #32]
	mov	x1, #0
	bl	_sysfs_notify
LBB0_19:
	ldr	x8, [x19, #16]
	str	x8, [x19, #24]
	ldr	d0, [x20]
	str	d0, [x19]
	ldr	x8, [x20, #8]
	str	x8, [x19, #8]
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.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 AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_OCC_STAT_MASTER,4,2            ; @OCC_STAT_MASTER
	.comm	_sensor_dev_attr_occ_master,8,3 ; @sensor_dev_attr_occ_master
	.comm	_OCC_STAT_ACTIVE,4,2            ; @OCC_STAT_ACTIVE
	.comm	_sensor_dev_attr_occ_active,8,3 ; @sensor_dev_attr_occ_active
	.comm	_OCC_EXT_STAT_DVFS_OT,4,2       ; @OCC_EXT_STAT_DVFS_OT
	.comm	_sensor_dev_attr_occ_dvfs_overtemp,8,3 ; @sensor_dev_attr_occ_dvfs_overtemp
	.comm	_OCC_EXT_STAT_DVFS_POWER,4,2    ; @OCC_EXT_STAT_DVFS_POWER
	.comm	_sensor_dev_attr_occ_dvfs_power,8,3 ; @sensor_dev_attr_occ_dvfs_power
	.comm	_OCC_EXT_STAT_MEM_THROTTLE,4,2  ; @OCC_EXT_STAT_MEM_THROTTLE
	.comm	_sensor_dev_attr_occ_mem_throttle,8,3 ; @sensor_dev_attr_occ_mem_throttle
	.comm	_OCC_EXT_STAT_QUICK_DROP,4,2    ; @OCC_EXT_STAT_QUICK_DROP
	.comm	_sensor_dev_attr_occ_quick_pwr_drop,8,3 ; @sensor_dev_attr_occ_quick_pwr_drop
	.comm	_sensor_dev_attr_occs_present,8,3 ; @sensor_dev_attr_occs_present
	.comm	_dev_attr_occ_error,8,3         ; @dev_attr_occ_error
.subsections_via_symbols
