	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_debug_section
_build_debug_section:                   ## @build_debug_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	leaq	L_.str(%rip), %rsi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %r15
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_bfd_alloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_bfd_tell
	movl	%eax, %r12d
	movl	8(%rbx), %esi
	movq	_SEEK_SET@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r13, %rdi
	callq	_bfd_seek
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_bfd_bread
	cmpq	%r15, %rax
	jne	LBB0_8
## %bb.7:
	movl	(%rbx), %edx
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_bfd_seek
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	cmoveq	%r14, %rax
	jmp	LBB0_9
LBB0_4:
	movq	_bfd_error_no_debug_section@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %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	".debug"

	.comm	_bfd_error_no_debug_section,4,2 ## @bfd_error_no_debug_section
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.no_dead_strip	_build_debug_section
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_debug_section
_build_debug_section:                   ; @build_debug_section
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_5
; %bb.1:
	mov	x23, x0
	ldr	x21, [x0]
	mov	x0, x19
	mov	x1, x21
	bl	_bfd_alloc
	cbz	x0, LBB0_7
; %bb.2:
	mov	x20, x0
	mov	x0, x19
	bl	_bfd_tell
	mov	x22, x0
	ldr	w1, [x23, #8]
Lloh2:
	adrp	x23, _SEEK_SET@GOTPAGE
Lloh3:
	ldr	x23, [x23, _SEEK_SET@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_bfd_seek
	cbnz	x0, LBB0_6
; %bb.3:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_bfd_bread
	cmp	x0, x21
	b.ne	LBB0_6
; %bb.4:
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x22
	bl	_bfd_seek
	cmp	x0, #0
	csel	x0, x20, xzr, eq
	b	LBB0_7
LBB0_5:
Lloh4:
	adrp	x8, _bfd_error_no_debug_section@GOTPAGE
Lloh5:
	ldr	x8, [x8, _bfd_error_no_debug_section@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_bfd_set_error
LBB0_6:
	mov	x0, #0
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".debug"

	.comm	_bfd_error_no_debug_section,4,2 ; @bfd_error_no_debug_section
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.no_dead_strip	_build_debug_section
.subsections_via_symbols
