	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_elf_sizeof_headers        ## -- Begin function _bfd_elf_sizeof_headers
	.p2align	4, 0x90
__bfd_elf_sizeof_headers:               ## @_bfd_elf_sizeof_headers
	.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	%rsi, %r15
	movq	%rdi, %r12
	callq	_get_elf_backend_data
	movq	%rax, %r13
	movq	(%rax), %rax
	movl	(%rax), %r14d
	cmpl	$0, (%r15)
	jne	LBB0_8
## %bb.1:
	movq	%r12, %rdi
	callq	_elf_tdata
	movq	(%rax), %rbx
	cmpq	$-1, %rbx
	jne	LBB0_7
## %bb.2:
	movq	%r12, %rdi
	callq	_elf_tdata
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	(%r13), %rcx
	movq	8(%rcx), %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	addq	%rcx, %rbx
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	testq	%rbx, %rbx
	jne	LBB0_7
LBB0_6:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_get_program_header_size
	movq	%rax, %rbx
LBB0_7:
	movq	%r12, %rdi
	callq	_elf_tdata
	movq	%rbx, (%rax)
	addl	%ebx, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_elf_sizeof_headers        ; -- Begin function _bfd_elf_sizeof_headers
	.p2align	2
__bfd_elf_sizeof_headers:               ; @_bfd_elf_sizeof_headers
	.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	x21, x1
	mov	x20, x0
	bl	_get_elf_backend_data
	ldr	x8, [x0]
	ldr	w19, [x8]
	ldr	w8, [x21]
	cbnz	w8, LBB0_8
; %bb.1:
	mov	x23, x0
	mov	x0, x20
	bl	_elf_tdata
	ldr	x22, [x0]
	cmn	x22, #1
	b.ne	LBB0_7
; %bb.2:
	mov	x0, x20
	bl	_elf_tdata
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_6
; %bb.3:
	mov	x22, #0
	ldr	x9, [x23]
	ldr	x9, [x9, #8]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8]
	add	x22, x22, x9
	cbnz	x8, LBB0_4
; %bb.5:
	cbnz	x22, LBB0_7
LBB0_6:
	mov	x0, x20
	mov	x1, x21
	bl	_get_program_header_size
	mov	x22, x0
LBB0_7:
	mov	x0, x20
	bl	_elf_tdata
	str	x22, [x0]
	add	w19, w19, w22
LBB0_8:
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
