	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_base_filename
_get_base_filename:                     ## @get_base_filename
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	leaq	-56(%rbp), %rbx
	leaq	L_.str.1(%rip), %r12
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	movl	$1, %eax
	cmovel	%eax, %r13d
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %r15d
	testb	%r15b, %r15b
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_extract_string
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_extract_string
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
LBB0_7:
	testl	%r13d, %r13d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_9
## %bb.8:
	testq	%rbx, %rbx
	jne	LBB0_13
LBB0_9:
	testb	%r15b, %r15b
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_12
## %bb.10:
	testl	%r13d, %r13d
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_warning
	movq	_flag_use_repository@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	jmp	LBB0_13
LBB0_12:
	movq	%rbx, %rdi
	callq	_lbasename
	movq	%rax, %rbx
LBB0_13:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"COLLECT_GCC_OPTIONS"

L_.str.1:                               ## @.str.1
	.asciz	"-o"

L_.str.2:                               ## @.str.2
	.asciz	"-c"

L_.str.3:                               ## @.str.3
	.asciz	"-frepo must be used with -c"

	.comm	_flag_use_repository,8,3        ## @flag_use_repository
	.no_dead_strip	_get_base_filename
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_base_filename
_get_base_filename:                     ; @get_base_filename
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	str	x0, [sp, #8]
	cbz	x0, LBB0_9
; %bb.1:
	mov	w24, #0
	mov	x20, #0
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh4:
	adrp	x22, l_.str.2@PAGE
Lloh5:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x22
	bl	_strcmp
	cmp	x0, #0
	csinc	w24, w24, wzr, ne
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w25, [x0]
	cbz	w25, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #8
	bl	_extract_string
	mov	x23, x0
	mov	x1, x21
	bl	_strcmp
	cbnz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #8
	bl	_extract_string
	mov	x20, x0
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_3
LBB0_6:
	cbz	w24, LBB0_8
; %bb.7:
	cbnz	x20, LBB0_11
LBB0_8:
	cmp	w25, #0
	ccmp	w24, #0, #0, eq
	b.eq	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_lbasename
	mov	x20, x0
	b	LBB0_11
LBB0_10:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #0
	bl	_warning
	mov	x20, #0
Lloh8:
	adrp	x8, _flag_use_repository@GOTPAGE
Lloh9:
	ldr	x8, [x8, _flag_use_repository@GOTPAGEOFF]
Lloh10:
	str	xzr, [x8]
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"COLLECT_GCC_OPTIONS"

l_.str.1:                               ; @.str.1
	.asciz	"-o"

l_.str.2:                               ; @.str.2
	.asciz	"-c"

l_.str.3:                               ; @.str.3
	.asciz	"-frepo must be used with -c"

	.comm	_flag_use_repository,8,3        ; @flag_use_repository
	.no_dead_strip	_get_base_filename
.subsections_via_symbols
