	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_fan_apps_settings_row  ## -- Begin function process_fan_apps_settings_row
	.p2align	4, 0x90
_process_fan_apps_settings_row:         ## @process_fan_apps_settings_row
	.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	_I@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_as_app_id@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,8), %r14d
	movq	_as_user_id@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	movq	_list_id@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	callq	_conv_uid
	testq	%rax, %rax
	js	LBB0_14
## %bb.1:
	testl	%r14d, %r14d
	jle	LBB0_14
## %bb.2:
	movq	_as_can_notify@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_as_can_access_audio@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	movq	(%r15), %r9
	subl	%r8d, %ecx
	jl	LBB0_11
## %bb.3:
	movslq	%r8d, %r13
	leal	1(%rcx), %r10d
	movl	%r10d, %r12d
	andl	$3, %r12d
	cmpl	$3, %ecx
	jb	LBB0_7
## %bb.4:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	leaq	(%r9,%r13,8), %r15
	addq	$24, %r15
	andl	$-4, %r10d
	xorl	%r11d, %r11d
	xorl	%edi, %edi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r8,%rdi), %esi
	movl	$1, %eax
	movl	%esi, %ecx
	shll	%cl, %eax
	cmpq	$0, -24(%r15,%rdi,8)
	cmovel	%r11d, %eax
	leal	1(%rsi), %ecx
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	addl	%ebx, %eax
	cmpq	$0, -16(%r15,%rdi,8)
	cmovel	%r11d, %edx
	leal	2(%rsi), %ecx
	movl	$1, %r14d
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r14d
	addl	%eax, %edx
	cmpq	$0, -8(%r15,%rdi,8)
	cmovel	%r11d, %r14d
	addl	%edx, %r14d
	addb	$3, %sil
	movl	$1, %ebx
	movl	%esi, %ecx
	shll	%cl, %ebx
	cmpq	$0, (%r15,%rdi,8)
	cmovel	%r11d, %ebx
	addl	%r14d, %ebx
	addq	$4, %rdi
	cmpl	%edi, %r10d
	jne	LBB0_5
## %bb.6:
	addq	%rdi, %r13
	movl	-44(%rbp), %r14d                ## 4-byte Reload
LBB0_7:
	testl	%r12d, %r12d
	je	LBB0_10
## %bb.8:
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %eax
	movl	%r13d, %ecx
	shll	%cl, %eax
	cmpq	$0, (%r9,%r13,8)
	cmovel	%esi, %eax
	addl	%eax, %ebx
	incq	%r13
	decl	%r12d
	jne	LBB0_9
LBB0_10:
	movslq	%ebx, %rbx
LBB0_11:
	cmpq	$0, (%r9,%r8,8)
	jne	LBB0_13
## %bb.12:
	movl	$1, %eax
	movl	%r8d, %ecx
	shll	%cl, %eax
	movq	_LEV_LI_DECR_FLAGS@GOTPCREL(%rip), %rcx
	movslq	%eax, %rdi
	addq	(%rcx), %rdi
	movl	%r14d, %esi
	callq	_log_1int
LBB0_13:
	movq	_LEV_LI_INCR_FLAGS@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_log_1int
	movq	_adj_rec@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I,8,3                          ## @I
	.comm	_as_app_id,8,3                  ## @as_app_id
	.comm	_as_user_id,8,3                 ## @as_user_id
	.comm	_list_id,8,3                    ## @list_id
	.comm	_as_can_notify,8,3              ## @as_can_notify
	.comm	_as_can_access_audio,4,2        ## @as_can_access_audio
	.comm	_LEV_LI_DECR_FLAGS,8,3          ## @LEV_LI_DECR_FLAGS
	.comm	_LEV_LI_INCR_FLAGS,8,3          ## @LEV_LI_INCR_FLAGS
	.comm	_adj_rec,4,2                    ## @adj_rec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function process_fan_apps_settings_row
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_process_fan_apps_settings_row
	.p2align	2
_process_fan_apps_settings_row:         ; @process_fan_apps_settings_row
	.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
Lloh0:
	adrp	x20, _I@GOTPAGE
Lloh1:
	ldr	x20, [x20, _I@GOTPAGEOFF]
Lloh2:
	adrp	x8, _as_app_id@GOTPAGE
Lloh3:
	ldr	x8, [x8, _as_app_id@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh4:
	ldr	x8, [x8]
	ldr	x19, [x9, x8, lsl #3]
Lloh5:
	adrp	x8, _as_user_id@GOTPAGE
Lloh6:
	ldr	x8, [x8, _as_user_id@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x0, [x9, x8, lsl #3]
Lloh8:
	adrp	x8, _list_id@GOTPAGE
Lloh9:
	ldr	x8, [x8, _list_id@GOTPAGEOFF]
Lloh10:
	str	x0, [x8]
	bl	_conv_uid
	tbnz	x0, #63, LBB0_14
; %bb.1:
	cmp	w19, #1
	b.lt	LBB0_14
; %bb.2:
Lloh11:
	adrp	x8, _as_can_notify@GOTPAGE
Lloh12:
	ldr	x8, [x8, _as_can_notify@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _as_can_access_audio@GOTPAGE
Lloh15:
	ldr	x9, [x9, _as_can_access_audio@GOTPAGEOFF]
Lloh16:
	ldr	w11, [x9]
	ldr	x9, [x20]
	subs	w10, w11, w8
	b.ge	LBB0_4
; %bb.3:
	mov	x20, #0
	ldr	x9, [x9, x8, lsl #3]
	cbnz	x9, LBB0_13
	b	LBB0_12
LBB0_4:
	sxtw	x15, w8
	cmp	w10, #7
	b.hs	LBB0_6
; %bb.5:
	mov	w14, #0
	mov	x10, x15
	b	LBB0_9
LBB0_6:
	dup.2s	v0, w8
Lloh17:
	adrp	x12, lCPI0_0@PAGE
Lloh18:
	ldr	d1, [x12, lCPI0_0@PAGEOFF]
	add.2s	v0, v0, v1
	add	x12, x10, #1
	and	x13, x12, #0x1fffffff8
	add	x10, x15, x13
	movi.2d	v1, #0000000000000000
	movi.2s	v2, #2
	movi.2s	v3, #4
	add	x14, x9, x15, lsl #3
	add	x14, x14, #32
	movi.2s	v4, #6
	movi.2s	v5, #1
	movi.2s	v6, #8
	mov	x15, x13
	movi.2d	v7, #0000000000000000
	movi.2d	v16, #0000000000000000
	movi.2d	v17, #0000000000000000
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add.2s	v18, v0, v2
	add.2s	v19, v0, v3
	add.2s	v20, v0, v4
	ldp	q21, q22, [x14, #-32]
	ldp	q23, q24, [x14], #64
	cmeq.2d	v21, v21, #0
	xtn.2s	v21, v21
	cmeq.2d	v22, v22, #0
	xtn.2s	v22, v22
	cmeq.2d	v23, v23, #0
	xtn.2s	v23, v23
	cmeq.2d	v24, v24, #0
	xtn.2s	v24, v24
	ushl.2s	v25, v5, v0
	ushl.2s	v18, v5, v18
	ushl.2s	v19, v5, v19
	ushl.2s	v20, v5, v20
	bic.8b	v21, v25, v21
	bic.8b	v18, v18, v22
	bic.8b	v19, v19, v23
	bic.8b	v20, v20, v24
	add.2s	v1, v21, v1
	add.2s	v7, v18, v7
	add.2s	v16, v19, v16
	add.2s	v17, v20, v17
	add.2s	v0, v0, v6
	subs	x15, x15, #8
	b.ne	LBB0_7
; %bb.8:
	add.2s	v0, v7, v1
	add.2s	v0, v16, v0
	add.2s	v0, v17, v0
	addp.2s	v0, v0, v0
	fmov	w14, s0
	cmp	x12, x13
	b.eq	LBB0_11
LBB0_9:
	add	w11, w11, #1
	mov	w12, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x9, x10, lsl #3]
	lsl	w15, w12, w10
	cmp	x13, #0
	csel	w13, wzr, w15, eq
	add	w14, w13, w14
	add	x10, x10, #1
	cmp	w11, w10
	b.ne	LBB0_10
LBB0_11:
	sxtw	x20, w14
	ldr	x9, [x9, x8, lsl #3]
	cbnz	x9, LBB0_13
LBB0_12:
Lloh19:
	adrp	x9, _LEV_LI_DECR_FLAGS@GOTPAGE
Lloh20:
	ldr	x9, [x9, _LEV_LI_DECR_FLAGS@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	mov	w10, #1
	lsl	w8, w10, w8
	add	x0, x9, w8, sxtw
	mov	x1, x19
	bl	_log_1int
LBB0_13:
Lloh22:
	adrp	x8, _LEV_LI_INCR_FLAGS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LEV_LI_INCR_FLAGS@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	add	x0, x8, x20
	mov	x1, x19
	bl	_log_1int
Lloh25:
	adrp	x8, _adj_rec@GOTPAGE
Lloh26:
	ldr	x8, [x8, _adj_rec@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdr	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_I,8,3                          ; @I
	.comm	_as_app_id,8,3                  ; @as_app_id
	.comm	_as_user_id,8,3                 ; @as_user_id
	.comm	_list_id,8,3                    ; @list_id
	.comm	_as_can_notify,8,3              ; @as_can_notify
	.comm	_as_can_access_audio,4,2        ; @as_can_access_audio
	.comm	_LEV_LI_DECR_FLAGS,8,3          ; @LEV_LI_DECR_FLAGS
	.comm	_LEV_LI_INCR_FLAGS,8,3          ; @LEV_LI_INCR_FLAGS
	.comm	_adj_rec,4,2                    ; @adj_rec
.subsections_via_symbols
