	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_friends_row            ## -- Begin function process_friends_row
	.p2align	4, 0x90
_process_friends_row:                   ## @process_friends_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_I@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_fr_friend_id@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_user_id@GOTPCREL(%rip), %r12
	movl	%edi, (%r12)
	movq	_fr_user_id@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %r15d
	callq	_conv_uid
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	testl	%r15d, %r15d
	jle	LBB0_7
## %bb.2:
	movl	%eax, %ebx
	movq	(%r14), %rax
	movq	_fr_confirmed@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	jle	LBB0_4
## %bb.3:
	movl	$16, %edi
	callq	_gmalloc
	movq	_Friends@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%ebx, %edx
	movq	(%rcx,%rdx,8), %rsi
	movq	%rsi, 8(%rax)
	movl	%r15d, (%rax)
	movq	(%r14), %rsi
	movq	_fr_cat@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	$510, %ebx                      ## imm = 0x1FE
	andl	(%rsi,%rdi,4), %ebx
	orl	$1, %ebx
	movl	%ebx, 4(%rax)
	movq	%rax, (%rcx,%rdx,8)
LBB0_6:
	movq	_adj_rec@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_7
LBB0_4:
	je	LBB0_5
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	$16, %edi
	callq	_write_alloc
	movq	_LEV_FR_ADD_FRIENDREQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movl	(%r12), %ecx
	movl	%ecx, (%rax)
	movl	%r15d, 4(%rax)
	movq	(%r14), %rcx
	movq	_fr_cat@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	$510, %esi                      ## imm = 0x1FE
	andl	(%rcx,%rdx,4), %esi
	orl	$1, %esi
	movl	%esi, 8(%rax)
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_I,8,3                          ## @I
	.comm	_fr_friend_id,8,3               ## @fr_friend_id
	.comm	_user_id,4,2                    ## @user_id
	.comm	_fr_user_id,8,3                 ## @fr_user_id
	.comm	_fr_confirmed,8,3               ## @fr_confirmed
	.comm	_Friends,8,3                    ## @Friends
	.comm	_fr_cat,8,3                     ## @fr_cat
	.comm	_adj_rec,4,2                    ## @adj_rec
	.comm	_LEV_FR_ADD_FRIENDREQ,4,2       ## @LEV_FR_ADD_FRIENDREQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_friends_row            ; -- Begin function process_friends_row
	.p2align	2
_process_friends_row:                   ; @process_friends_row
	.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
Lloh0:
	adrp	x20, _I@GOTPAGE
Lloh1:
	ldr	x20, [x20, _I@GOTPAGEOFF]
Lloh2:
	adrp	x8, _fr_friend_id@GOTPAGE
Lloh3:
	ldr	x8, [x8, _fr_friend_id@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh4:
	ldr	x8, [x8]
	ldr	w0, [x9, x8, lsl #2]
Lloh5:
	adrp	x22, _user_id@GOTPAGE
Lloh6:
	ldr	x22, [x22, _user_id@GOTPAGEOFF]
	str	w0, [x22]
Lloh7:
	adrp	x8, _fr_user_id@GOTPAGE
Lloh8:
	ldr	x8, [x8, _fr_user_id@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	w21, [x9, x8, lsl #2]
	bl	_conv_uid
	tbnz	w0, #31, LBB0_6
; %bb.1:
	cmp	w21, #1
	b.lt	LBB0_6
; %bb.2:
	ldr	x8, [x20]
Lloh10:
	adrp	x9, _fr_confirmed@GOTPAGE
Lloh11:
	ldr	x9, [x9, _fr_confirmed@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x19, x0
	mov	w0, #16
	bl	_gmalloc
Lloh13:
	adrp	x8, _Friends@GOTPAGE
Lloh14:
	ldr	x8, [x8, _Friends@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	mov	w9, w19
	lsl	x9, x9, #3
	ldr	x10, [x8, x9]
	str	w21, [x0]
	ldr	x11, [x20]
Lloh16:
	adrp	x12, _fr_cat@GOTPAGE
Lloh17:
	ldr	x12, [x12, _fr_cat@GOTPAGEOFF]
Lloh18:
	ldr	x12, [x12]
	ldr	w11, [x11, x12, lsl #2]
	str	x10, [x0, #8]
	and	w10, w11, #0x1fe
	orr	w10, w10, #0x1
	str	w10, [x0, #4]
	str	x0, [x8, x9]
LBB0_4:
Lloh19:
	adrp	x8, _adj_rec@GOTPAGE
Lloh20:
	ldr	x8, [x8, _adj_rec@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_6
LBB0_5:
	cbz	w8, LBB0_7
LBB0_6:
	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
LBB0_7:
	mov	w0, #16
	bl	_write_alloc
Lloh21:
	adrp	x8, _LEV_FR_ADD_FRIENDREQ@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LEV_FR_ADD_FRIENDREQ@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x0, #12]
	ldr	w8, [x22]
	stp	w8, w21, [x0]
	ldr	x8, [x20]
Lloh24:
	adrp	x9, _fr_cat@GOTPAGE
Lloh25:
	ldr	x9, [x9, _fr_cat@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	and	w8, w8, #0x1fe
	orr	w8, w8, #0x1
	str	w8, [x0, #8]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_I,8,3                          ; @I
	.comm	_fr_friend_id,8,3               ; @fr_friend_id
	.comm	_user_id,4,2                    ; @user_id
	.comm	_fr_user_id,8,3                 ; @fr_user_id
	.comm	_fr_confirmed,8,3               ; @fr_confirmed
	.comm	_Friends,8,3                    ; @Friends
	.comm	_fr_cat,8,3                     ; @fr_cat
	.comm	_adj_rec,4,2                    ; @adj_rec
	.comm	_LEV_FR_ADD_FRIENDREQ,4,2       ; @LEV_FR_ADD_FRIENDREQ
.subsections_via_symbols
