	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcc_add_file                   ## -- Begin function tcc_add_file
	.p2align	4, 0x90
_tcc_add_file:                          ## @tcc_add_file
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	%rdx, %rdi
	callq	_strdup
	movq	_dirname@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_2:
	movq	(%rbx), %rcx
	movq	_TCC_OUTPUT_PREPROCESS@GOTPCREL(%rip), %rsi
	xorl	%edx, %edx
	movq	_AFF_PRINT_ERROR@GOTPCREL(%rip), %rax
	cmpq	(%rsi), %rcx
	jne	LBB0_4
## %bb.3:
	movq	_AFF_PREPROCESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_4:
	orl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tcc_add_file_internal          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dirname,4,2                    ## @dirname
	.comm	_TCC_OUTPUT_PREPROCESS,8,3      ## @TCC_OUTPUT_PREPROCESS
	.comm	_AFF_PRINT_ERROR,4,2            ## @AFF_PRINT_ERROR
	.comm	_AFF_PREPROCESS,4,2             ## @AFF_PREPROCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcc_add_file                   ; -- Begin function tcc_add_file
	.p2align	2
_tcc_add_file:                          ; @tcc_add_file
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	cbz	x2, LBB0_2
; %bb.1:
	mov	x0, x2
	bl	_strdup
Lloh0:
	adrp	x8, _dirname@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dirname@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
LBB0_2:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _TCC_OUTPUT_PREPROCESS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TCC_OUTPUT_PREPROCESS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _AFF_PRINT_ERROR@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AFF_PRINT_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _AFF_PREPROCESS@GOTPAGE
Lloh10:
	ldr	x11, [x11, _AFF_PREPROCESS@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	cmp	x8, x9
	csel	w8, w11, wzr, eq
	orr	w2, w10, w8
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tcc_add_file_internal
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_dirname,4,2                    ; @dirname
	.comm	_TCC_OUTPUT_PREPROCESS,8,3      ; @TCC_OUTPUT_PREPROCESS
	.comm	_AFF_PRINT_ERROR,4,2            ; @AFF_PRINT_ERROR
	.comm	_AFF_PREPROCESS,4,2             ; @AFF_PREPROCESS
.subsections_via_symbols
