	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hpread_get_header
_hpread_get_header:                     ## @hpread_get_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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_bfd_get_section_by_name
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r12
	movl	8(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_bfd_get_section_by_name
	movq	%rax, %r13
	movl	8(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_bfd_get_section_by_name
	testq	%r13, %r13
	je	LBB0_3
## %bb.2:
	movl	8(%rbx), %edi
	xorl	%r15d, %r15d
	movq	%r12, %rsi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	movl	$4, %r8d
	callq	_bfd_get_section_contents
	cmpq	$0, 48(%r14)
	jne	LBB0_7
	jmp	LBB0_8
LBB0_3:
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movl	8(%rbx), %edi
	leaq	-112(%rbp), %rdx
	xorl	%r15d, %r15d
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movl	$72, %r8d
	callq	_bfd_get_section_contents
	movq	-64(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	-48(%rbp), %ecx
	movl	%ecx, 64(%r14)
	movl	-52(%rbp), %ecx
	movl	%ecx, 60(%r14)
	movl	-56(%rbp), %ecx
	movl	%ecx, 56(%r14)
	movq	%rax, 48(%r14)
	movaps	-80(%rbp), %xmm0
	movups	%xmm0, 32(%r14)
	movaps	-96(%rbp), %xmm0
	movups	%xmm0, 16(%r14)
	movaps	-112(%rbp), %xmm0
	movups	%xmm0, (%r14)
LBB0_7:
	movl	$1, %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	(%rbx), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_warning
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"$HEADER$"

L_.str.1:                               ## @.str.1
	.asciz	"$DEBUG$"

L_.str.2:                               ## @.str.2
	.asciz	"$PINFO$"

L_.str.3:                               ## @.str.3
	.asciz	"File \"%s\" not processed by pxdb!"

	.no_dead_strip	_hpread_get_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hpread_get_header
_hpread_get_header:                     ; @hpread_get_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x0
	ldr	w0, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_8
; %bb.1:
	mov	x21, x0
	ldr	w0, [x20, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_bfd_get_section_by_name
	mov	x22, x0
	ldr	w0, [x20, #8]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_bfd_get_section_by_name
	cbz	x22, LBB0_4
; %bb.2:
	ldr	w0, [x20, #8]
	mov	x1, x21
	mov	x2, x19
	mov	w3, #0
	mov	w4, #4
	bl	_bfd_get_section_contents
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_7
; %bb.3:
	mov	w0, #0
	b	LBB0_8
LBB0_4:
	cbz	x0, LBB0_8
; %bb.5:
	ldr	w0, [x20, #8]
	mov	x2, sp
	mov	x1, x21
	mov	w3, #0
	mov	w4, #72
	bl	_bfd_get_section_contents
	ldr	x8, [sp, #48]
	cbz	x8, LBB0_9
; %bb.6:
	ldr	w9, [sp, #64]
	str	w9, [x19, #64]
	ldr	d0, [sp, #56]
	str	d0, [x19, #56]
	str	x8, [x19, #48]
	ldr	q2, [sp, #32]
	ldp	q1, q0, [sp]
	stp	q0, q2, [x19, #16]
	str	q1, [x19]
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_9:
	ldr	x1, [x20]
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_warning
	mov	w0, #0
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"$HEADER$"

l_.str.1:                               ; @.str.1
	.asciz	"$DEBUG$"

l_.str.2:                               ; @.str.2
	.asciz	"$PINFO$"

l_.str.3:                               ; @.str.3
	.asciz	"File \"%s\" not processed by pxdb!"

	.no_dead_strip	_hpread_get_header
.subsections_via_symbols
