	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function deduce_name
_deduce_name:                           ## @deduce_name
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_program_name@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	xorl	%edx, %edx
	xorl	%ebx, %ebx
	movq	%rsi, %rax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rdx
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$47, %cl
	movl	$0, %ecx
	cmoveq	%rcx, %rdx
	cmoveq	%rax, %rbx
	incq	%rax
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %ecx
	cmpb	$45, %cl
	je	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%cl, %cl
	jne	LBB0_6
## %bb.3:
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.7:
	subl	%esi, %edx
	incl	%edx
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_look_for_prog
	testq	%rbx, %rbx
	jne	LBB0_9
	jmp	LBB0_11
LBB0_4:
	xorl	%eax, %eax
	testq	%rbx, %rbx
	je	LBB0_11
LBB0_9:
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	(%r15), %rsi
	subl	%esi, %ebx
	incl	%ebx
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_look_for_prog
LBB0_11:
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xstrdup                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_program_name,8,3               ## @program_name
	.no_dead_strip	_deduce_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function deduce_name
_deduce_name:                           ; @deduce_name
	.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, x0
	mov	x8, #0
	mov	x20, #0
Lloh0:
	adrp	x21, _program_name@GOTPAGE
Lloh1:
	ldr	x21, [x21, _program_name@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	x9, x1
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, x9
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w10, #47
	csel	x8, xzr, x8, eq
	csel	x20, x9, x20, eq
	add	x9, x9, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x9]
	cmp	w10, #45
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w10, LBB0_2
; %bb.5:
	cbz	x8, LBB0_7
; %bb.6:
	sub	w8, w8, w1
	add	w2, w8, #1
	mov	x0, x19
	bl	_look_for_prog
	cbnz	x20, LBB0_8
	b	LBB0_10
LBB0_7:
	mov	x0, #0
	cbz	x20, LBB0_10
LBB0_8:
	cbnz	x0, LBB0_10
; %bb.9:
	ldr	x1, [x21]
	sub	w8, w20, w1
	add	w2, w8, #1
	mov	x0, x19
	bl	_look_for_prog
LBB0_10:
	cbz	x0, LBB0_12
; %bb.11:
	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_12:
	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
	b	_xstrdup
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_program_name,8,3               ; @program_name
	.no_dead_strip	_deduce_name
.subsections_via_symbols
