	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_fan_apps_row           ## -- Begin function process_fan_apps_row
	.p2align	4, 0x90
_process_fan_apps_row:                  ## @process_fan_apps_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), %rbx
	movq	(%rbx), %rax
	movq	_af_app_id@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,8), %r15d
	movq	_af_user_id@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	movq	_list_id@GOTPCREL(%rip), %r14
	movq	%rdi, (%r14)
	callq	_conv_uid
	testq	%rax, %rax
	js	LBB0_7
## %bb.1:
	testl	%r15d, %r15d
	jle	LBB0_7
## %bb.2:
	movq	_LEV_LI_SET_ENTRY@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$19, %rdi
	movq	(%rbx), %rax
	movq	_af_ordering@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdx
	movl	%r15d, %esi
	callq	_log_2ints
	movq	_L@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	_af_message@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	cmpl	$0, (%rcx,%rax,4)
	jle	LBB0_6
## %bb.3:
	movq	_S@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movl	(%rcx,%rax,4), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	(%r12), %rax
	movq	(%r13), %rcx
	movl	(%rax,%rcx,4), %edi
	cmpl	$255, %edi
	jg	LBB0_6
## %bb.5:
	addl	$12, %edi
	callq	_write_alloc
	movq	_LEV_LI_SET_ENTRY_TEXT@GOTPCREL(%rip), %rsi
	movq	(%r12), %rdx
	movq	(%r13), %rcx
	movslq	(%rdx,%rcx,4), %rdi
	addq	(%rsi), %rdi
	movq	%rdi, 16(%rax)
	movq	(%r14), %rsi
	movq	%rsi, 8(%rax)
	movl	%r15d, (%rax)
	movl	4(%rax), %edi
	movq	(%rbx), %rax
	movl	(%rax,%rcx,4), %esi
	movl	(%rdx,%rcx,4), %edx
	callq	_memcpy
LBB0_6:
	movq	_adj_rec@GOTPCREL(%rip), %rax
	incl	(%rax)
LBB0_7:
	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	_af_app_id,8,3                  ## @af_app_id
	.comm	_af_user_id,8,3                 ## @af_user_id
	.comm	_list_id,8,3                    ## @list_id
	.comm	_LEV_LI_SET_ENTRY,8,3           ## @LEV_LI_SET_ENTRY
	.comm	_af_ordering,8,3                ## @af_ordering
	.comm	_L,8,3                          ## @L
	.comm	_af_message,8,3                 ## @af_message
	.comm	_S,8,3                          ## @S
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\\N"

	.comm	_LEV_LI_SET_ENTRY_TEXT,8,3      ## @LEV_LI_SET_ENTRY_TEXT
	.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
	.globl	_process_fan_apps_row           ; -- Begin function process_fan_apps_row
	.p2align	2
_process_fan_apps_row:                  ; @process_fan_apps_row
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x21, _I@GOTPAGE
Lloh1:
	ldr	x21, [x21, _I@GOTPAGEOFF]
Lloh2:
	adrp	x8, _af_app_id@GOTPAGE
Lloh3:
	ldr	x8, [x8, _af_app_id@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh4:
	ldr	x8, [x8]
	ldr	x19, [x9, x8, lsl #3]
Lloh5:
	adrp	x8, _af_user_id@GOTPAGE
Lloh6:
	ldr	x8, [x8, _af_user_id@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x0, [x9, x8, lsl #3]
Lloh8:
	adrp	x20, _list_id@GOTPAGE
Lloh9:
	ldr	x20, [x20, _list_id@GOTPAGEOFF]
	str	x0, [x20]
	bl	_conv_uid
	tbnz	x0, #63, LBB0_7
; %bb.1:
	cmp	w19, #1
	b.lt	LBB0_7
; %bb.2:
Lloh10:
	adrp	x8, _LEV_LI_SET_ENTRY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LEV_LI_SET_ENTRY@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	add	x0, x8, #19
	ldr	x8, [x21]
Lloh13:
	adrp	x9, _af_ordering@GOTPAGE
Lloh14:
	ldr	x9, [x9, _af_ordering@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	ldr	x2, [x8, x9, lsl #3]
	mov	x1, x19
	bl	_log_2ints
Lloh16:
	adrp	x21, _L@GOTPAGE
Lloh17:
	ldr	x21, [x21, _L@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh18:
	adrp	x23, _af_message@GOTPAGE
Lloh19:
	ldr	x23, [x23, _af_message@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	w9, [x9, x8, lsl #2]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.3:
Lloh20:
	adrp	x22, _S@GOTPAGE
Lloh21:
	ldr	x22, [x22, _S@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	w0, [x9, x8, lsl #2]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x21]
	ldr	x9, [x23]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w8, #255
	b.gt	LBB0_6
; %bb.5:
	add	w0, w8, #12
	bl	_write_alloc
Lloh24:
	adrp	x8, _LEV_LI_SET_ENTRY_TEXT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _LEV_LI_SET_ENTRY_TEXT@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	x10, [x23]
	lsl	x10, x10, #2
	ldrsw	x11, [x9, x10]
Lloh26:
	ldr	x8, [x8]
	add	x8, x8, x11
	ldr	x11, [x20]
	stp	x11, x8, [x0, #8]
	str	w19, [x0]
	ldr	w0, [x0, #4]
	ldr	x8, [x22]
	ldr	w1, [x8, x10]
	ldr	w2, [x9, x10]
	bl	_memcpy
LBB0_6:
Lloh27:
	adrp	x8, _adj_rec@GOTPAGE
Lloh28:
	ldr	x8, [x8, _adj_rec@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_I,8,3                          ; @I
	.comm	_af_app_id,8,3                  ; @af_app_id
	.comm	_af_user_id,8,3                 ; @af_user_id
	.comm	_list_id,8,3                    ; @list_id
	.comm	_LEV_LI_SET_ENTRY,8,3           ; @LEV_LI_SET_ENTRY
	.comm	_af_ordering,8,3                ; @af_ordering
	.comm	_L,8,3                          ; @L
	.comm	_af_message,8,3                 ; @af_message
	.comm	_S,8,3                          ; @S
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\\N"

	.comm	_LEV_LI_SET_ENTRY_TEXT,8,3      ; @LEV_LI_SET_ENTRY_TEXT
	.comm	_adj_rec,4,2                    ; @adj_rec
.subsections_via_symbols
