	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sim_get_username               ## -- Begin function sim_get_username
	.p2align	4, 0x90
_sim_get_username:                      ## @sim_get_username
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rsi, %rax
	xorl	%esi, %esi
	testq	%rax, %rax
	je	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testb	$-65, (%rdi,%rsi)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_2
## %bb.4:
	movq	%rax, %rsi
LBB0_5:
	popq	%rbp
	jmp	_dup_binstr                     ## TAILCALL
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sim_get_username               ; -- Begin function sim_get_username
	.p2align	2
_sim_get_username:                      ; @sim_get_username
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_6
; %bb.1:
	mov	x8, #0
	cbz	x1, LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x0, x8]
	orr	w9, w9, #0x40
	cmp	w9, #64
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	cmp	x1, x8
	b.ne	LBB0_2
; %bb.4:
	mov	x8, x1
LBB0_5:
	mov	x1, x8
	b	_dup_binstr
LBB0_6:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
