	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cs_to_section
_cs_to_section:                         ## @cs_to_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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	$0, -32(%rbp)
	movq	%rsi, %rdi
	callq	_SECT_OFF_TEXT
	movl	%eax, %r15d
	movl	(%rbx), %eax
	movl	%eax, -40(%rbp)
	leaq	-32(%rbp), %rax
	movq	%rax, -48(%rbp)
	movl	(%r14), %edi
	movq	_find_targ_sec@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_bfd_map_over_sections
	movq	-32(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	_abfd@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_bfd_get_section_flags
	movq	_SEC_CODE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_SECT_OFF_TEXT
	movl	%eax, %r15d
	jmp	LBB0_6
LBB0_3:
	movl	(%rbx), %edi
	movq	-32(%rbp), %rsi
	callq	_bfd_get_section_flags
	movq	_SEC_LOAD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_SECT_OFF_DATA
	movl	%eax, %r15d
	jmp	LBB0_6
LBB0_5:
	movq	-32(%rbp), %rax
	movl	(%rax), %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_find_targ_sec,4,2              ## @find_targ_sec
	.comm	_abfd,4,2                       ## @abfd
	.comm	_SEC_CODE,4,2                   ## @SEC_CODE
	.comm	_SEC_LOAD,4,2                   ## @SEC_LOAD
	.no_dead_strip	_cs_to_section
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cs_to_section
_cs_to_section:                         ; @cs_to_section
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x21, x0
	str	xzr, [sp, #24]
	mov	x0, x1
	bl	_SECT_OFF_TEXT
	mov	x20, x0
	ldr	w8, [x21]
	str	w8, [sp, #16]
	add	x8, sp, #24
	str	x8, [sp, #8]
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _find_targ_sec@GOTPAGE
Lloh1:
	ldr	x8, [x8, _find_targ_sec@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_bfd_map_over_sections
	ldr	x1, [sp, #24]
	cbz	x1, LBB0_6
; %bb.1:
Lloh3:
	adrp	x20, _abfd@GOTPAGE
Lloh4:
	ldr	x20, [x20, _abfd@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_bfd_get_section_flags
Lloh5:
	adrp	x8, _SEC_CODE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SEC_CODE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_SECT_OFF_TEXT
	mov	x20, x0
	b	LBB0_6
LBB0_3:
	ldr	w0, [x20]
	ldr	x1, [sp, #24]
	bl	_bfd_get_section_flags
Lloh8:
	adrp	x8, _SEC_LOAD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SEC_LOAD@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_SECT_OFF_DATA
	mov	x20, x0
	b	LBB0_6
LBB0_5:
	ldr	x8, [sp, #24]
	ldr	w20, [x8]
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_find_targ_sec,4,2              ; @find_targ_sec
	.comm	_abfd,4,2                       ; @abfd
	.comm	_SEC_CODE,4,2                   ; @SEC_CODE
	.comm	_SEC_LOAD,4,2                   ; @SEC_LOAD
	.no_dead_strip	_cs_to_section
.subsections_via_symbols
