	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_get_next_mapent            ## -- Begin function bfd_get_next_mapent
	.p2align	4, 0x90
_bfd_get_next_mapent:                   ## @bfd_get_next_mapent
	.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	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	callq	_bfd_has_map
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_BFD_NO_MORE_SYMBOLS@GOTPCREL(%rip), %r13
	leaq	1(%r12), %rax
	xorl	%ebx, %ebx
	cmpq	%r12, (%r13)
	cmovneq	%rax, %rbx
	movq	%r15, %rdi
	callq	_bfd_ardata
	cmpq	(%rax), %rbx
	jge	LBB0_3
## %bb.4:
	movq	%r15, %rdi
	callq	_bfd_ardata
	leaq	(,%rbx,4), %rcx
	addq	8(%rax), %rcx
	movq	%rcx, (%r14)
	jmp	LBB0_5
LBB0_1:
	movq	_bfd_error_invalid_operation@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
	movq	_BFD_NO_MORE_SYMBOLS@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_5
LBB0_3:
	movq	(%r13), %rbx
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_error_invalid_operation,4,2 ## @bfd_error_invalid_operation
	.comm	_BFD_NO_MORE_SYMBOLS,8,3        ## @BFD_NO_MORE_SYMBOLS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_get_next_mapent            ; -- Begin function bfd_get_next_mapent
	.p2align	2
_bfd_get_next_mapent:                   ; @bfd_get_next_mapent
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_bfd_has_map
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x22, _BFD_NO_MORE_SYMBOLS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BFD_NO_MORE_SYMBOLS@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x8, x20
	csinc	x20, xzr, x20, eq
	mov	x0, x21
	bl	_bfd_ardata
	ldr	x8, [x0]
	cmp	x20, x8
	b.ge	LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_bfd_ardata
	ldr	x8, [x0, #8]
	add	x8, x8, x20, lsl #2
	str	x8, [x19]
	b	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
Lloh5:
	adrp	x8, _BFD_NO_MORE_SYMBOLS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BFD_NO_MORE_SYMBOLS@GOTPAGEOFF]
Lloh7:
	ldr	x20, [x8]
	b	LBB0_5
LBB0_4:
	ldr	x20, [x22]
LBB0_5:
	mov	x0, x20
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_error_invalid_operation,4,2 ; @bfd_error_invalid_operation
	.comm	_BFD_NO_MORE_SYMBOLS,8,3        ; @BFD_NO_MORE_SYMBOLS
.subsections_via_symbols
