	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apply_pragma_weak
_apply_pragma_weak:                     ## @apply_pragma_weak
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, -24(%rbp)
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_IDENTIFIER_LENGTH
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_IDENTIFIER_POINTER
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_build_string
	movq	%rax, %r14
	leaq	L_.str(%rip), %rdi
	callq	_get_identifier
	movq	%rax, %rbx
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_build_tree_list
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_build_tree_list
	leaq	-24(%rbp), %rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_decl_attributes
LBB0_2:
	movq	_SUPPORTS_WEAK@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.3:
	movq	-24(%rbp), %rdi
	callq	_DECL_EXTERNAL
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	-24(%rbp), %rdi
	callq	_TREE_USED
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	-24(%rbp), %rdi
	callq	_DECL_WEAK
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	movq	-24(%rbp), %rdi
	callq	_DECL_ASSEMBLER_NAME
	movl	%eax, %edi
	callq	_TREE_SYMBOL_REFERENCED
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_OPT_Wpragmas@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-24(%rbp), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_warning
LBB0_8:
	movq	-24(%rbp), %rdi
	callq	_declare_weak
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"alias"

	.comm	_SUPPORTS_WEAK,8,3              ## @SUPPORTS_WEAK
	.comm	_OPT_Wpragmas,4,2               ## @OPT_Wpragmas
L_.str.1:                               ## @.str.1
	.asciz	"applying #pragma weak %q+D after first use results in unspecified behavior"

	.no_dead_strip	_apply_pragma_weak
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apply_pragma_weak
_apply_pragma_weak:                     ; @apply_pragma_weak
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	str	x0, [sp, #8]
	cbz	x1, LBB0_2
; %bb.1:
	mov	x19, x1
	mov	x0, x1
	bl	_IDENTIFIER_LENGTH
	mov	x20, x0
	mov	x0, x19
	bl	_IDENTIFIER_POINTER
	mov	x1, x0
	mov	x0, x20
	bl	_build_string
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_get_identifier
	mov	x20, x0
	mov	x0, #0
	mov	x1, x19
	bl	_build_tree_list
	mov	x1, x0
	mov	x0, x20
	bl	_build_tree_list
	mov	x1, x0
	add	x0, sp, #8
	mov	w2, #0
	bl	_decl_attributes
LBB0_2:
Lloh2:
	adrp	x8, _SUPPORTS_WEAK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SUPPORTS_WEAK@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.3:
	ldr	x0, [sp, #8]
	bl	_DECL_EXTERNAL
	cbz	x0, LBB0_8
; %bb.4:
	ldr	x0, [sp, #8]
	bl	_TREE_USED
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x0, [sp, #8]
	bl	_DECL_WEAK
	cbnz	w0, LBB0_8
; %bb.6:
	ldr	x0, [sp, #8]
	bl	_DECL_ASSEMBLER_NAME
	bl	_TREE_SYMBOL_REFERENCED
	cbz	x0, LBB0_8
; %bb.7:
Lloh5:
	adrp	x8, _OPT_Wpragmas@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OPT_Wpragmas@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x2, [sp, #8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_warning
LBB0_8:
	ldr	x0, [sp, #8]
	bl	_declare_weak
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"alias"

	.comm	_SUPPORTS_WEAK,8,3              ; @SUPPORTS_WEAK
	.comm	_OPT_Wpragmas,4,2               ; @OPT_Wpragmas
l_.str.1:                               ; @.str.1
	.asciz	"applying #pragma weak %q+D after first use results in unspecified behavior"

	.no_dead_strip	_apply_pragma_weak
.subsections_via_symbols
