	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parseMetadata
_parseMetadata:                         ## @parseMetadata
	.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
	subq	$1056, %rsp                     ## imm = 0x420
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rdi)
	movups	%xmm0, 8(%rdi)
	movl	$0, 40(%rdi)
	leaq	-1072(%rbp), %r12
	movl	$1024, %esi                     ## imm = 0x400
	movq	%r12, %rdi
	callq	___bzero
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%r12, %rdx
	movl	$1024, %ecx                     ## imm = 0x400
	callq	_r_buf_read_at
	movl	%r15d, (%rbx)
	movq	%r12, %rdi
	callq	_r_read_le32
	movl	%eax, 4(%rbx)
	leaq	32(%rbx), %rsi
	movl	%eax, %edi
	callq	_typeString
	movl	%eax, 36(%rbx)
	leaq	-1056(%rbp), %rdi
	callq	_r_read_le32
	movl	%eax, 8(%rbx)
	movl	%eax, %edi
	callq	_subtypeString
	movl	%eax, 28(%rbx)
	leaq	-1040(%rbp), %rdi
	callq	_r_read_le32
	movl	%eax, 12(%rbx)
	leaq	-1024(%rbp), %rdi
	callq	_r_read_le32
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, 16(%rbx)
	leal	(%r15,%rax), %esi
	addl	$16, %esi
	movl	12(%rbx), %edx
	movq	%r14, %rdi
	callq	_parseSegments
	movl	%eax, 24(%rbx)
	movl	12(%rbx), %eax
	shll	$5, %eax
	leal	120(%rax), %ecx
	movl	%ecx, 20(%rbx)
	leal	(%rax,%r15), %esi
	addl	$120, %esi
	leaq	-1084(%rbp), %rdx
	movq	%r14, %rdi
	movl	$4, %ecx
	callq	_r_buf_read_at
	movl	20(%rbx), %eax
	leal	(%r15,%rax), %esi
	addl	$4, %esi
	leaq	-1080(%rbp), %rdx
	movq	%r14, %rdi
	movl	$4, %ecx
	callq	_r_buf_read_at
	movl	20(%rbx), %eax
	leal	(%r15,%rax), %esi
	addl	$8, %esi
	leaq	-1076(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rdx
	movl	$4, %ecx
	callq	_r_buf_read_at
	movq	%r15, %rdi
	callq	_r_read_le32
	cmpl	$-1582159078, %eax              ## imm = 0xA1B22B1A
	je	LBB0_2
## %bb.1:
	addl	$-8, 20(%rbx)
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rax
	addq	$1056, %rsp                     ## imm = 0x420
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_parseMetadata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parseMetadata
_parseMetadata:                         ; @parseMetadata
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -56
	.cfi_offset w28, -64
	sub	sp, sp, #1056
	mov	x21, x1
	mov	x20, x0
	mov	x19, x8
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	str	wzr, [x19, #40]
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #24]
	stur	q0, [x19, #8]
	add	x22, sp, #24
	add	x0, sp, #24
	mov	w1, #1024
	bl	_bzero
	add	x2, sp, #24
	mov	x0, x20
	mov	x1, x21
	mov	w3, #1024
	bl	_r_buf_read_at
	str	w21, [x19]
	add	x0, sp, #24
	bl	_r_read_le32
	str	w0, [x19, #4]
	add	x1, x19, #32
	bl	_typeString
	str	w0, [x19, #36]
	add	x0, x22, #16
	bl	_r_read_le32
	str	w0, [x19, #8]
	bl	_subtypeString
	str	w0, [x19, #28]
	add	x0, x22, #32
	bl	_r_read_le32
	str	w0, [x19, #12]
	add	x0, x22, #48
	bl	_r_read_le32
	str	w0, [x19, #16]
	add	w8, w21, w0
	add	w1, w8, #16
	ldr	w2, [x19, #12]
	mov	x0, x20
	bl	_parseSegments
	ldr	w8, [x19, #12]
	lsl	w8, w8, #5
	add	w8, w8, #120
	stp	w8, w0, [x19, #20]
	add	w1, w8, w21
	add	x2, sp, #20
	mov	x0, x20
	mov	w3, #4
	bl	_r_buf_read_at
	ldr	w8, [x19, #20]
	add	w8, w21, w8
	add	w1, w8, #4
	add	x2, sp, #16
	mov	x0, x20
	mov	w3, #4
	bl	_r_buf_read_at
	ldr	w8, [x19, #20]
	add	w8, w21, w8
	add	w1, w8, #8
	add	x2, sp, #12
	mov	x0, x20
	mov	w3, #4
	bl	_r_buf_read_at
	add	x0, sp, #12
	bl	_r_read_le32
	mov	w8, #11034
	movk	w8, #41394, lsl #16
	cmp	w0, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x19, #20]
	sub	w8, w8, #8
	str	w8, [x19, #20]
LBB0_2:
	ldur	x8, [x29, #-56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	add	sp, sp, #1056
	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	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_parseMetadata
.subsections_via_symbols
