	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_file_header
_get_file_header:                       ## @get_file_header
	.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, %r14
	movq	_elf_header@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	_EI_NIDENT@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_fread
	xorl	%ebx, %ebx
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.1:
	movq	(%r15), %rax
	movq	_EI_DATA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$129, (%rax,%rcx,4)
	movq	_byte_get_little_endian@GOTPCREL(%rip), %rcx
	cmoveq	_byte_get_big_endian@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_byte_put_little_endian@GOTPCREL(%rip), %rdx
	cmoveq	_byte_put_big_endian@GOTPCREL(%rip), %rdx
	movq	_byte_get@GOTPCREL(%rip), %rsi
	movl	%ecx, (%rsi)
	movl	(%rdx), %ecx
	movq	_byte_put@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movq	_EI_CLASS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	movq	_ELFCLASS64@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %eax
	setne	%dl
	movq	_is_32bit_elf@GOTPCREL(%rip), %r12
	movl	%edx, (%r12)
	je	LBB0_9
## %bb.2:
	movl	$104, %esi
	subq	(%r13), %rsi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	_fread
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.3:
	callq	_BYTE_GET
	movq	%rax, 8(%r15)
	callq	_BYTE_GET
	movq	%rax, 104(%r15)
	callq	_BYTE_GET
	movq	%rax, 96(%r15)
	callq	_BYTE_GET
	movq	%rax, 88(%r15)
	callq	_BYTE_GET
	movq	%rax, 80(%r15)
	callq	_BYTE_GET
	movq	%rax, 16(%r15)
	callq	_BYTE_GET
	movq	%rax, 72(%r15)
	callq	_BYTE_GET
	movq	%rax, 64(%r15)
	callq	_BYTE_GET
	movq	%rax, 56(%r15)
	callq	_BYTE_GET
	movq	%rax, 48(%r15)
	callq	_BYTE_GET
	movq	%rax, 40(%r15)
	callq	_BYTE_GET
	movq	%rax, 32(%r15)
	callq	_BYTE_GET
	movq	%rax, 24(%r15)
	cmpq	$0, 16(%r15)
	je	LBB0_7
## %bb.4:
	cmpl	$0, (%r12)
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_get_32bit_section_headers
	jmp	LBB0_7
LBB0_9:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_error
	jmp	LBB0_8
LBB0_6:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_get_64bit_section_headers
LBB0_7:
	movq	8(%r15), %rax
	movq	_ET_REL@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movq	_is_relocatable@GOTPCREL(%rip), %rax
	movl	%edx, (%rax)
	movl	$1, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_elf_header,112,3               ## @elf_header
	.comm	_EI_NIDENT,8,3                  ## @EI_NIDENT
	.comm	_EI_DATA,8,3                    ## @EI_DATA
	.comm	_byte_get_little_endian,4,2     ## @byte_get_little_endian
	.comm	_byte_get,4,2                   ## @byte_get
	.comm	_byte_put_little_endian,4,2     ## @byte_put_little_endian
	.comm	_byte_put,4,2                   ## @byte_put
	.comm	_byte_get_big_endian,4,2        ## @byte_get_big_endian
	.comm	_byte_put_big_endian,4,2        ## @byte_put_big_endian
	.comm	_EI_CLASS,8,3                   ## @EI_CLASS
	.comm	_ELFCLASS64,4,2                 ## @ELFCLASS64
	.comm	_is_32bit_elf,4,2               ## @is_32bit_elf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"This instance of readelf has been built without support for a\n64 bit data type and so it cannot read 64 bit ELF files.\n"

	.comm	_ET_REL,8,3                     ## @ET_REL
	.comm	_is_relocatable,4,2             ## @is_relocatable
	.no_dead_strip	_get_file_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_file_header
_get_file_header:                       ; @get_file_header
	.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, x0
Lloh0:
	adrp	x20, _elf_header@GOTPAGE
Lloh1:
	ldr	x20, [x20, _elf_header@GOTPAGEOFF]
	ldr	x0, [x20]
Lloh2:
	adrp	x22, _EI_NIDENT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _EI_NIDENT@GOTPAGEOFF]
	ldr	x1, [x22]
	mov	w2, #1
	mov	x3, x19
	bl	_fread
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.1:
Lloh4:
	adrp	x8, _EI_DATA@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EI_DATA@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh6:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
Lloh7:
	adrp	x10, _byte_get_big_endian@GOTPAGE
Lloh8:
	ldr	x10, [x10, _byte_get_big_endian@GOTPAGEOFF]
Lloh9:
	adrp	x11, _byte_get_little_endian@GOTPAGE
Lloh10:
	ldr	x11, [x11, _byte_get_little_endian@GOTPAGEOFF]
	cmp	w8, #129
	csel	x8, x10, x11, eq
Lloh11:
	adrp	x10, _byte_get@GOTPAGE
Lloh12:
	ldr	x10, [x10, _byte_get@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh13:
	str	w8, [x10]
Lloh14:
	adrp	x8, _byte_put_big_endian@GOTPAGE
Lloh15:
	ldr	x8, [x8, _byte_put_big_endian@GOTPAGEOFF]
Lloh16:
	adrp	x10, _byte_put_little_endian@GOTPAGE
Lloh17:
	ldr	x10, [x10, _byte_put_little_endian@GOTPAGEOFF]
	csel	x8, x8, x10, eq
	ldr	w8, [x8]
Lloh18:
	adrp	x10, _byte_put@GOTPAGE
Lloh19:
	ldr	x10, [x10, _byte_put@GOTPAGEOFF]
Lloh20:
	adrp	x11, _EI_CLASS@GOTPAGE
Lloh21:
	ldr	x11, [x11, _EI_CLASS@GOTPAGEOFF]
Lloh22:
	str	w8, [x10]
Lloh23:
	ldr	x8, [x11]
	ldr	w8, [x9, x8, lsl #2]
Lloh24:
	adrp	x9, _ELFCLASS64@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ELFCLASS64@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w8, ne
Lloh27:
	adrp	x21, _is_32bit_elf@GOTPAGE
Lloh28:
	ldr	x21, [x21, _is_32bit_elf@GOTPAGEOFF]
	str	w8, [x21]
	b.eq	LBB0_6
; %bb.2:
	ldr	x8, [x22]
	mov	w9, #104
	sub	x1, x9, x8
	mov	w2, #1
	mov	x3, x19
	bl	_fread
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.3:
	bl	_BYTE_GET
	str	x0, [x20, #8]
	bl	_BYTE_GET
	str	x0, [x20, #104]
	bl	_BYTE_GET
	str	x0, [x20, #96]
	bl	_BYTE_GET
	str	x0, [x20, #88]
	bl	_BYTE_GET
	str	x0, [x20, #80]
	bl	_BYTE_GET
	str	x0, [x20, #16]
	bl	_BYTE_GET
	str	x0, [x20, #72]
	bl	_BYTE_GET
	str	x0, [x20, #64]
	bl	_BYTE_GET
	str	x0, [x20, #56]
	bl	_BYTE_GET
	str	x0, [x20, #48]
	bl	_BYTE_GET
	str	x0, [x20, #40]
	bl	_BYTE_GET
	str	x0, [x20, #32]
	bl	_BYTE_GET
	str	x0, [x20, #24]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_10
; %bb.4:
	ldr	w8, [x21]
	cbz	w8, LBB0_9
; %bb.5:
	mov	x0, x19
	mov	w1, #1
	bl	_get_32bit_section_headers
	b	LBB0_10
LBB0_6:
Lloh29:
	adrp	x0, l_.str@PAGE
Lloh30:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_error
LBB0_7:
	mov	w0, #0
LBB0_8:
	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_9:
	mov	x0, x19
	mov	w1, #1
	bl	_get_64bit_section_headers
LBB0_10:
	ldr	x8, [x20, #8]
Lloh31:
	adrp	x9, _ET_REL@GOTPAGE
Lloh32:
	ldr	x9, [x9, _ET_REL@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w8, eq
Lloh34:
	adrp	x9, _is_relocatable@GOTPAGE
Lloh35:
	ldr	x9, [x9, _is_relocatable@GOTPAGEOFF]
Lloh36:
	str	w8, [x9]
	mov	w0, #1
	b	LBB0_8
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_elf_header,112,3               ; @elf_header
	.comm	_EI_NIDENT,8,3                  ; @EI_NIDENT
	.comm	_EI_DATA,8,3                    ; @EI_DATA
	.comm	_byte_get_little_endian,4,2     ; @byte_get_little_endian
	.comm	_byte_get,4,2                   ; @byte_get
	.comm	_byte_put_little_endian,4,2     ; @byte_put_little_endian
	.comm	_byte_put,4,2                   ; @byte_put
	.comm	_byte_get_big_endian,4,2        ; @byte_get_big_endian
	.comm	_byte_put_big_endian,4,2        ; @byte_put_big_endian
	.comm	_EI_CLASS,8,3                   ; @EI_CLASS
	.comm	_ELFCLASS64,4,2                 ; @ELFCLASS64
	.comm	_is_32bit_elf,4,2               ; @is_32bit_elf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"This instance of readelf has been built without support for a\n64 bit data type and so it cannot read 64 bit ELF files.\n"

	.comm	_ET_REL,8,3                     ; @ET_REL
	.comm	_is_relocatable,4,2             ; @is_relocatable
	.no_dead_strip	_get_file_header
.subsections_via_symbols
