	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tr2_sid_compute
_tr2_sid_compute:                       ## @tr2_sid_compute
	.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	_tr2sid_buf@GOTPCREL(%rip), %r12
	cmpq	$0, 8(%r12)
	je	LBB0_1
## %bb.10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_TR2_ENVVAR_PARENT_SID@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movb	(%rax), %dl
	testb	%dl, %dl
	je	LBB0_7
## %bb.3:
	movq	%rax, %rcx
	incq	%rcx
	movq	_tr2sid_nr_git_parents@GOTPCREL(%rip), %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	(%rbx)
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movzbl	(%rcx), %edx
	incq	%rcx
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$47, %dl
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testb	%dl, %dl
	jne	LBB0_9
## %bb.6:
	movq	_tr2sid_buf@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_strbuf_addstr
	movq	%r14, %rdi
	movl	$47, %esi
	callq	_strbuf_addch
	incl	(%rbx)
LBB0_7:
	xorl	%eax, %eax
	callq	_tr2_sid_append_my_sid_component
	movl	(%r15), %edi
	movl	(%r12), %esi
	movl	$1, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_setenv                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tr2sid_buf,16,3                ## @tr2sid_buf
	.comm	_TR2_ENVVAR_PARENT_SID,4,2      ## @TR2_ENVVAR_PARENT_SID
	.comm	_tr2sid_nr_git_parents,4,2      ## @tr2sid_nr_git_parents
	.no_dead_strip	_tr2_sid_compute
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tr2_sid_compute
_tr2_sid_compute:                       ; @tr2_sid_compute
	.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, _tr2sid_buf@GOTPAGE
Lloh1:
	ldr	x20, [x20, _tr2sid_buf@GOTPAGEOFF]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_2
; %bb.1:
	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_2:
Lloh2:
	adrp	x21, _TR2_ENVVAR_PARENT_SID@GOTPAGE
Lloh3:
	ldr	x21, [x21, _TR2_ENVVAR_PARENT_SID@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_getenv
	cbz	x0, LBB0_10
; %bb.3:
	mov	x1, x0
	ldrb	w9, [x0]
	cbz	w9, LBB0_10
; %bb.4:
	mov	w8, #1
Lloh4:
	adrp	x22, _tr2sid_nr_git_parents@GOTPAGE
Lloh5:
	ldr	x22, [x22, _tr2sid_nr_git_parents@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x22]
	add	w9, w9, #1
	str	w9, [x22]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w9, [x1, x8]
	add	x8, x8, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w9, #47
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cbnz	w9, LBB0_6
; %bb.9:
Lloh6:
	adrp	x19, _tr2sid_buf@GOTPAGE
Lloh7:
	ldr	x19, [x19, _tr2sid_buf@GOTPAGEOFF]
	mov	x0, x19
	bl	_strbuf_addstr
	mov	x0, x19
	mov	w1, #47
	bl	_strbuf_addch
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
LBB0_10:
	bl	_tr2_sid_append_my_sid_component
	ldr	w0, [x21]
	ldr	w1, [x20]
	mov	w2, #1
	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
	b	_setenv
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_tr2sid_buf,16,3                ; @tr2sid_buf
	.comm	_TR2_ENVVAR_PARENT_SID,4,2      ; @TR2_ENVVAR_PARENT_SID
	.comm	_tr2sid_nr_git_parents,4,2      ; @tr2sid_nr_git_parents
	.no_dead_strip	_tr2_sid_compute
.subsections_via_symbols
