	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lmf_header_load
_lmf_header_load:                       ## @lmf_header_load
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_r_buf_size
	xorl	%r15d, %r15d
	cmpl	$48, %eax
	jb	LBB0_3
## %bb.1:
	movq	_QNX_HEADER_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	movq	%r12, %rdx
	movl	$1, %r8d
	callq	_r_buf_fread_at
	movq	_QNX_HDR_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_3
## %bb.2:
	movl	44(%r12), %esi
	leaq	L_.str.2(%rip), %r15
	movq	%r15, %rdi
	callq	_sdb_fmt
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_sdb_set
	movl	40(%r12), %esi
	movq	%r15, %rdi
	callq	_sdb_fmt
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_sdb_set
	movl	36(%r12), %esi
	movq	%r15, %rdi
	callq	_sdb_fmt
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_sdb_set
	movl	32(%r12), %esi
	movq	%r15, %rdi
	callq	_sdb_fmt
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_sdb_set
	movl	28(%r12), %esi
	leaq	L_.str.7(%rip), %r15
	movq	%r15, %rdi
	callq	_sdb_fmt
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_sdb_set
	movl	24(%r12), %esi
	movq	%r15, %rdi
	callq	_sdb_fmt
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_sdb_set
	movl	20(%r12), %esi
	movq	%r15, %rdi
	callq	_sdb_fmt
	leaq	L_.str.9(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_sdb_set
	movl	16(%r12), %esi
	movq	%r15, %rdi
	callq	_sdb_fmt
	leaq	L_.str.10(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_sdb_set
	movl	12(%r12), %esi
	movq	%r15, %rdi
	callq	_sdb_fmt
	leaq	L_.str.11(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_sdb_set
	movl	8(%r12), %esi
	movq	%r15, %rdi
	callq	_sdb_fmt
	leaq	L_.str.12(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_sdb_set
	movl	4(%r12), %esi
	movq	%r15, %rdi
	callq	_sdb_fmt
	leaq	L_.str.13(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_sdb_set
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_sdb_fmt
	leaq	L_.str.14(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	callq	_sdb_set
	movl	$1, %r15d
LBB0_3:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QNX_HEADER_ADDR,4,2            ## @QNX_HEADER_ADDR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"iiiiiiiicccciiiicc"

	.comm	_QNX_HDR_SIZE,8,3               ## @QNX_HDR_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"qnx.version"

L_.str.2:                               ## @.str.2
	.asciz	"0x%xH"

L_.str.3:                               ## @.str.3
	.asciz	"qnx.cflags"

L_.str.4:                               ## @.str.4
	.asciz	"qnx.cpu"

L_.str.5:                               ## @.str.5
	.asciz	"qnx.fpu"

L_.str.6:                               ## @.str.6
	.asciz	"qnx.code_index"

L_.str.7:                               ## @.str.7
	.asciz	"0x%x"

L_.str.8:                               ## @.str.8
	.asciz	"qnx.stack_index"

L_.str.9:                               ## @.str.9
	.asciz	"qnx.heap_index"

L_.str.10:                              ## @.str.10
	.asciz	"qnx.argv_index"

L_.str.11:                              ## @.str.11
	.asciz	"qnx.code_offset"

L_.str.12:                              ## @.str.12
	.asciz	"qnx.stack_nbytes"

L_.str.13:                              ## @.str.13
	.asciz	"qnx.heap_nbytes"

L_.str.14:                              ## @.str.14
	.asciz	"qnx.image_base"

	.no_dead_strip	_lmf_header_load
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lmf_header_load
_lmf_header_load:                       ; @lmf_header_load
	.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	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_r_buf_size
	cmp	w0, #48
	b.lo	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _QNX_HEADER_ADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QNX_HEADER_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x20
	mov	w4, #1
	bl	_r_buf_fread_at
Lloh5:
	adrp	x8, _QNX_HDR_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QNX_HDR_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	ldr	w1, [x20, #44]
Lloh8:
	adrp	x21, l_.str.2@PAGE
Lloh9:
	add	x21, x21, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_sdb_fmt
	mov	x2, x0
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_sdb_set
	ldr	w1, [x20, #40]
	mov	x0, x21
	bl	_sdb_fmt
	mov	x2, x0
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_sdb_set
	ldr	w1, [x20, #36]
	mov	x0, x21
	bl	_sdb_fmt
	mov	x2, x0
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_sdb_set
	ldr	w1, [x20, #32]
	mov	x0, x21
	bl	_sdb_fmt
	mov	x2, x0
Lloh16:
	adrp	x1, l_.str.5@PAGE
Lloh17:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_sdb_set
	ldr	w1, [x20, #28]
Lloh18:
	adrp	x21, l_.str.7@PAGE
Lloh19:
	add	x21, x21, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_sdb_fmt
	mov	x2, x0
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_sdb_set
	ldr	w1, [x20, #24]
	mov	x0, x21
	bl	_sdb_fmt
	mov	x2, x0
Lloh22:
	adrp	x1, l_.str.8@PAGE
Lloh23:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_sdb_set
	ldr	w1, [x20, #20]
	mov	x0, x21
	bl	_sdb_fmt
	mov	x2, x0
Lloh24:
	adrp	x1, l_.str.9@PAGE
Lloh25:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_sdb_set
	ldr	w1, [x20, #16]
	mov	x0, x21
	bl	_sdb_fmt
	mov	x2, x0
Lloh26:
	adrp	x1, l_.str.10@PAGE
Lloh27:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_sdb_set
	ldr	w1, [x20, #12]
	mov	x0, x21
	bl	_sdb_fmt
	mov	x2, x0
Lloh28:
	adrp	x1, l_.str.11@PAGE
Lloh29:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_sdb_set
	ldr	w1, [x20, #8]
	mov	x0, x21
	bl	_sdb_fmt
	mov	x2, x0
Lloh30:
	adrp	x1, l_.str.12@PAGE
Lloh31:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_sdb_set
	ldr	w1, [x20, #4]
	mov	x0, x21
	bl	_sdb_fmt
	mov	x2, x0
Lloh32:
	adrp	x1, l_.str.13@PAGE
Lloh33:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_sdb_set
	ldr	w1, [x20]
	mov	x0, x21
	bl	_sdb_fmt
	mov	x2, x0
Lloh34:
	adrp	x1, l_.str.14@PAGE
Lloh35:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x19
	mov	w3, #0
	bl	_sdb_set
	mov	w0, #1
LBB0_4:
	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 AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_QNX_HEADER_ADDR,4,2            ; @QNX_HEADER_ADDR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"iiiiiiiicccciiiicc"

	.comm	_QNX_HDR_SIZE,8,3               ; @QNX_HDR_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"qnx.version"

l_.str.2:                               ; @.str.2
	.asciz	"0x%xH"

l_.str.3:                               ; @.str.3
	.asciz	"qnx.cflags"

l_.str.4:                               ; @.str.4
	.asciz	"qnx.cpu"

l_.str.5:                               ; @.str.5
	.asciz	"qnx.fpu"

l_.str.6:                               ; @.str.6
	.asciz	"qnx.code_index"

l_.str.7:                               ; @.str.7
	.asciz	"0x%x"

l_.str.8:                               ; @.str.8
	.asciz	"qnx.stack_index"

l_.str.9:                               ; @.str.9
	.asciz	"qnx.heap_index"

l_.str.10:                              ; @.str.10
	.asciz	"qnx.argv_index"

l_.str.11:                              ; @.str.11
	.asciz	"qnx.code_offset"

l_.str.12:                              ; @.str.12
	.asciz	"qnx.stack_nbytes"

l_.str.13:                              ; @.str.13
	.asciz	"qnx.heap_nbytes"

l_.str.14:                              ; @.str.14
	.asciz	"qnx.image_base"

	.no_dead_strip	_lmf_header_load
.subsections_via_symbols
