	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_username
_set_username:                          ## @set_username
	.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
	movl	%esi, %r15d
	movl	(%rdi), %r12d
	movq	8(%rdi), %r13
	movslq	%esi, %r14
	xorl	%edi, %edi
	cmpb	$0, (%r13,%r14)
	sete	%dil
	callq	_assert
	movl	$0, %ebx
	testl	%r14d, %r14d
	jle	LBB0_7
## %bb.1:
	movl	%r15d, %eax
	xorl	%ecx, %ecx
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r13,%rcx), %edx
	cmpb	$9, %dl
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$31, %dl
	ja	LBB0_4
## %bb.6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	movq	%r13, %rcx
	movl	%r15d, %r8d
	callq	_fprintf
LBB0_7:
	notl	%ebx
	shrl	$31, %ebx
	movl	%ebx, %edi
	callq	_assert
	movl	%r12d, %edi
	callq	_get_user_f
	testq	%rax, %rax
	movl	$0, %r14d
	je	LBB0_9
## %bb.8:
	movq	%rax, %rbx
	movl	8(%rax), %edi
	callq	_exact_strfree
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_exact_strdup
	movl	%eax, 8(%rbx)
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_delete_user_hashlist
	movl	8(%rbx), %edi
	movq	_q_name@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$1, %r14d
	xorl	%esi, %esi
	movl	$-3, %edx
	movl	$1, %ecx
	callq	_save_words_hashlist_pattern
	movl	%eax, (%rbx)
	movl	4(%rbx), %edi
	movl	%eax, %esi
	callq	_add_user_hashlist
	movq	%rbx, %rdi
	callq	_rehash_user_interests
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name of %d: '%s' (len=%d)\n"

	.comm	_q_name,4,2                     ## @q_name
	.no_dead_strip	_set_username
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_username
_set_username:                          ; @set_username
	.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, x1
	ldr	w21, [x0]
	ldr	x20, [x0, #8]
	ldrb	w8, [x20, w1, sxtw]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	cmp	w19, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x8, #0
	mov	w22, #0
	mov	w9, w19
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #1
	cmp	x9, x8
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x20, x8]
	cmp	w10, #9
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w10, #31
	b.hi	LBB0_3
; %bb.6:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_fprintf
	b	LBB0_8
LBB0_7:
	mov	w22, #0
LBB0_8:
	mvn	w8, w22
	lsr	w0, w8, #31
	bl	_assert
	mov	x0, x21
	bl	_get_user_f
	cbz	x0, LBB0_10
; %bb.9:
	mov	x21, x0
	ldr	w0, [x0, #8]
	bl	_exact_strfree
	mov	x0, x20
	mov	x1, x19
	bl	_exact_strdup
	str	w0, [x21, #8]
	ldp	w1, w0, [x21]
	bl	_delete_user_hashlist
	ldr	w0, [x21, #8]
Lloh5:
	adrp	x8, _q_name@GOTPAGE
Lloh6:
	ldr	x8, [x8, _q_name@GOTPAGEOFF]
Lloh7:
	ldr	w4, [x8]
	mov	w19, #1
	mov	w1, #0
	mov	w2, #-3
	mov	w3, #1
	bl	_save_words_hashlist_pattern
	mov	x1, x0
	str	w0, [x21]
	ldr	w0, [x21, #4]
	bl	_add_user_hashlist
	mov	x0, x21
	bl	_rehash_user_interests
	b	LBB0_11
LBB0_10:
	mov	w19, #0
LBB0_11:
	mov	x0, x19
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name of %d: '%s' (len=%d)\n"

	.comm	_q_name,4,2                     ; @q_name
	.no_dead_strip	_set_username
.subsections_via_symbols
