	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_create_gnu_debuglink_section ## -- Begin function bfd_create_gnu_debuglink_section
	.p2align	4, 0x90
_bfd_create_gnu_debuglink_section:      ## @bfd_create_gnu_debuglink_section
	.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
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_lbasename
	movq	%rax, %r14
	movq	_GNU_DEBUGLINK@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_6
LBB0_3:
	movq	_bfd_error_invalid_operation@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_SEC_HAS_CONTENTS@GOTPCREL(%rip), %rax
	movq	_SEC_READONLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_SEC_DEBUGGING@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_bfd_make_section_with_flags
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	8(%rax), %edx
	andl	$-4, %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_bfd_set_section_size
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	cmovneq	%r15, %rax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_error_invalid_operation,4,2 ## @bfd_error_invalid_operation
	.comm	_GNU_DEBUGLINK,4,2              ## @GNU_DEBUGLINK
	.comm	_SEC_HAS_CONTENTS,4,2           ## @SEC_HAS_CONTENTS
	.comm	_SEC_READONLY,4,2               ## @SEC_READONLY
	.comm	_SEC_DEBUGGING,4,2              ## @SEC_DEBUGGING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_create_gnu_debuglink_section ; -- Begin function bfd_create_gnu_debuglink_section
	.p2align	2
_bfd_create_gnu_debuglink_section:      ; @bfd_create_gnu_debuglink_section
	.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
	cbz	x0, LBB0_3
; %bb.1:
	cbz	x1, LBB0_3
; %bb.2:
	mov	x19, x0
	mov	x0, x1
	bl	_lbasename
	mov	x20, x0
Lloh0:
	adrp	x21, _GNU_DEBUGLINK@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GNU_DEBUGLINK@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_5
LBB0_3:
Lloh2:
	adrp	x8, _bfd_error_invalid_operation@GOTPAGE
Lloh3:
	ldr	x8, [x8, _bfd_error_invalid_operation@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_bfd_set_error
	mov	x0, #0
LBB0_4:
	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_5:
Lloh5:
	adrp	x8, _SEC_HAS_CONTENTS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SEC_HAS_CONTENTS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _SEC_READONLY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SEC_READONLY@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _SEC_DEBUGGING@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SEC_DEBUGGING@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w2, w8, w9
	ldr	w1, [x21]
	mov	x0, x19
	bl	_bfd_make_section_with_flags
	cbz	x0, LBB0_4
; %bb.6:
	mov	x21, x0
	mov	x0, x20
	bl	_strlen
	add	w8, w0, #8
	and	w2, w8, #0xfffffffc
	mov	x0, x19
	mov	x1, x21
	bl	_bfd_set_section_size
	cmp	w0, #0
	csel	x0, xzr, x21, eq
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_error_invalid_operation,4,2 ; @bfd_error_invalid_operation
	.comm	_GNU_DEBUGLINK,4,2              ; @GNU_DEBUGLINK
	.comm	_SEC_HAS_CONTENTS,4,2           ; @SEC_HAS_CONTENTS
	.comm	_SEC_READONLY,4,2               ; @SEC_READONLY
	.comm	_SEC_DEBUGGING,4,2              ; @SEC_DEBUGGING
.subsections_via_symbols
