	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function asf_read_bitmapinfoheader
_asf_read_bitmapinfoheader:             ## @asf_read_bitmapinfoheader
	.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
	cmpl	$50, %edx
	jg	LBB0_4
LBB0_1:
	movq	_VC_CONTAINER_ERROR_CORRUPTED@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdx
	movl	%r13d, %esi
	callq	_ASF_SKIP_U32
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_ASF_SKIP_U32
	leaq	L_.str.2(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_ASF_SKIP_U8
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_ASF_READ_U16
	cmpl	$40, %eax
	jl	LBB0_1
## %bb.5:
	movl	%eax, %ebx
	cmpl	%r13d, %eax
	jg	LBB0_1
## %bb.6:
	leaq	L_.str.3(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_ASF_READ_U32
	movq	%rax, %r12
	cmpl	$40, %r12d
	jl	LBB0_1
## %bb.7:
	cmpl	%r12d, %ebx
	jl	LBB0_1
## %bb.8:
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_ASF_READ_U32
	movq	(%r14), %rcx
	movq	24(%rcx), %rcx
	movq	%rax, 8(%rcx)
	leaq	L_.str.5(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_ASF_READ_U32
	movq	(%r14), %rcx
	movq	24(%rcx), %rcx
	movq	%rax, (%rcx)
	leaq	L_.str.6(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_ASF_SKIP_U16
	leaq	L_.str.7(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_ASF_SKIP_U16
	leaq	-44(%rbp), %rbx
	movq	%r15, %rdi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	movl	$4, %ecx
	callq	_ASF_READ_BYTES
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_LOG_FORMAT
	movl	-44(%rbp), %edi
	callq	_vfw_fourcc_to_codec
	movq	(%r14), %rcx
	movq	%rax, (%rcx)
	movq	_VC_CONTAINER_CODEC_UNKNOWN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_10
## %bb.9:
	movslq	-44(%rbp), %rax
	movq	%rax, (%rcx)
LBB0_10:
	leaq	L_.str.9(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_ASF_SKIP_U32
	leaq	L_.str.10(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_ASF_SKIP_U32
	leaq	L_.str.11(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_ASF_SKIP_U32
	leaq	L_.str.12(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_ASF_SKIP_U32
	leaq	L_.str.13(%rip), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_ASF_SKIP_U32
	addl	$-40, %r12d
	je	LBB0_14
## %bb.11:
	movq	_ASF_EXTRADATA_MAX@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %r12d
	jle	LBB0_13
## %bb.12:
	leaq	L_.str.14(%rip), %rsi
	movq	%r15, %rdi
	callq	_LOG_DEBUG
	movl	(%rbx), %r12d
LBB0_13:
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rdx
	movq	%rdx, 8(%rax)
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r12d, %ecx
	callq	_ASF_READ_BYTES
	movq	(%r14), %rcx
	movl	%eax, 16(%rcx)
	movq	%r15, %rdi
	callq	_STREAM_STATUS
	jmp	LBB0_3
LBB0_14:
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_ERROR_CORRUPTED,4,2 ## @VC_CONTAINER_ERROR_CORRUPTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Encoded Image Width"

L_.str.1:                               ## @.str.1
	.asciz	"Encoded Image Height"

L_.str.2:                               ## @.str.2
	.asciz	"Reserved Flags"

L_.str.3:                               ## @.str.3
	.asciz	"Format Data Size"

L_.str.4:                               ## @.str.4
	.asciz	"Image Width"

L_.str.5:                               ## @.str.5
	.asciz	"Image Height"

L_.str.6:                               ## @.str.6
	.asciz	"Reserved"

L_.str.7:                               ## @.str.7
	.asciz	"Bits Per Pixel Count"

L_.str.8:                               ## @.str.8
	.asciz	"Compression ID: %4.4s"

	.comm	_VC_CONTAINER_CODEC_UNKNOWN,8,3 ## @VC_CONTAINER_CODEC_UNKNOWN
L_.str.9:                               ## @.str.9
	.asciz	"Image Size"

L_.str.10:                              ## @.str.10
	.asciz	"Horizontal Pixels Per Meter"

L_.str.11:                              ## @.str.11
	.asciz	"Vertical Pixels Per Meter"

L_.str.12:                              ## @.str.12
	.asciz	"Colors Used Count"

L_.str.13:                              ## @.str.13
	.asciz	"Important Colors Count"

	.comm	_VC_CONTAINER_SUCCESS,4,2       ## @VC_CONTAINER_SUCCESS
	.comm	_ASF_EXTRADATA_MAX,4,2          ## @ASF_EXTRADATA_MAX
L_.str.14:                              ## @.str.14
	.asciz	"extradata truncated"

	.no_dead_strip	_asf_read_bitmapinfoheader
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function asf_read_bitmapinfoheader
_asf_read_bitmapinfoheader:             ; @asf_read_bitmapinfoheader
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cmp	w2, #50
	b.gt	LBB0_4
LBB0_1:
Lloh0:
	adrp	x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x21
	bl	_ASF_SKIP_U32
Lloh4:
	adrp	x2, l_.str.1@PAGE
Lloh5:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_ASF_SKIP_U32
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_ASF_SKIP_U8
Lloh8:
	adrp	x2, l_.str.3@PAGE
Lloh9:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_ASF_READ_U16
	cmp	w0, #40
	b.lt	LBB0_1
; %bb.5:
	mov	x23, x0
	cmp	w0, w21
	b.gt	LBB0_1
; %bb.6:
Lloh10:
	adrp	x2, l_.str.3@PAGE
Lloh11:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_ASF_READ_U32
	mov	x22, x0
	cmp	w22, #40
	b.lt	LBB0_1
; %bb.7:
	cmp	w23, w22
	b.lt	LBB0_1
; %bb.8:
Lloh12:
	adrp	x2, l_.str.4@PAGE
Lloh13:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_ASF_READ_U32
	ldr	x8, [x20]
	ldr	x8, [x8, #24]
	str	x0, [x8, #8]
Lloh14:
	adrp	x2, l_.str.5@PAGE
Lloh15:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_ASF_READ_U32
	ldr	x8, [x20]
	ldr	x8, [x8, #24]
	str	x0, [x8]
Lloh16:
	adrp	x2, l_.str.6@PAGE
Lloh17:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_ASF_SKIP_U16
Lloh18:
	adrp	x2, l_.str.7@PAGE
Lloh19:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_ASF_SKIP_U16
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x21
	mov	w3, #4
	bl	_ASF_READ_BYTES
Lloh20:
	adrp	x1, l_.str.8@PAGE
Lloh21:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_LOG_FORMAT
	ldr	w0, [sp, #12]
	bl	_vfw_fourcc_to_codec
	ldr	x8, [x20]
	str	x0, [x8]
Lloh22:
	adrp	x9, _VC_CONTAINER_CODEC_UNKNOWN@GOTPAGE
Lloh23:
	ldr	x9, [x9, _VC_CONTAINER_CODEC_UNKNOWN@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x0, x9
	b.ne	LBB0_10
; %bb.9:
	ldrsw	x9, [sp, #12]
	str	x9, [x8]
LBB0_10:
Lloh25:
	adrp	x2, l_.str.9@PAGE
Lloh26:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_ASF_SKIP_U32
Lloh27:
	adrp	x2, l_.str.10@PAGE
Lloh28:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_ASF_SKIP_U32
Lloh29:
	adrp	x2, l_.str.11@PAGE
Lloh30:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_ASF_SKIP_U32
Lloh31:
	adrp	x2, l_.str.12@PAGE
Lloh32:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_ASF_SKIP_U32
Lloh33:
	adrp	x2, l_.str.13@PAGE
Lloh34:
	add	x2, x2, l_.str.13@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_ASF_SKIP_U32
	subs	w3, w22, #40
	b.eq	LBB0_14
; %bb.11:
Lloh35:
	adrp	x22, _ASF_EXTRADATA_MAX@GOTPAGE
Lloh36:
	ldr	x22, [x22, _ASF_EXTRADATA_MAX@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w3, w8
	b.le	LBB0_13
; %bb.12:
Lloh37:
	adrp	x1, l_.str.14@PAGE
Lloh38:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x19
	bl	_LOG_DEBUG
	ldr	w3, [x22]
LBB0_13:
	ldp	x9, x8, [x20]
	ldr	x8, [x8]
	ldr	x2, [x8]
	str	x2, [x9, #8]
	mov	x0, x19
	mov	x1, x21
	bl	_ASF_READ_BYTES
	ldr	x8, [x20]
	str	w0, [x8, #16]
	mov	x0, x19
	bl	_STREAM_STATUS
	b	LBB0_3
LBB0_14:
Lloh39:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh40:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_ERROR_CORRUPTED,4,2 ; @VC_CONTAINER_ERROR_CORRUPTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Encoded Image Width"

l_.str.1:                               ; @.str.1
	.asciz	"Encoded Image Height"

l_.str.2:                               ; @.str.2
	.asciz	"Reserved Flags"

l_.str.3:                               ; @.str.3
	.asciz	"Format Data Size"

l_.str.4:                               ; @.str.4
	.asciz	"Image Width"

l_.str.5:                               ; @.str.5
	.asciz	"Image Height"

l_.str.6:                               ; @.str.6
	.asciz	"Reserved"

l_.str.7:                               ; @.str.7
	.asciz	"Bits Per Pixel Count"

l_.str.8:                               ; @.str.8
	.asciz	"Compression ID: %4.4s"

	.comm	_VC_CONTAINER_CODEC_UNKNOWN,8,3 ; @VC_CONTAINER_CODEC_UNKNOWN
l_.str.9:                               ; @.str.9
	.asciz	"Image Size"

l_.str.10:                              ; @.str.10
	.asciz	"Horizontal Pixels Per Meter"

l_.str.11:                              ; @.str.11
	.asciz	"Vertical Pixels Per Meter"

l_.str.12:                              ; @.str.12
	.asciz	"Colors Used Count"

l_.str.13:                              ; @.str.13
	.asciz	"Important Colors Count"

	.comm	_VC_CONTAINER_SUCCESS,4,2       ; @VC_CONTAINER_SUCCESS
	.comm	_ASF_EXTRADATA_MAX,4,2          ; @ASF_EXTRADATA_MAX
l_.str.14:                              ; @.str.14
	.asciz	"extradata truncated"

	.no_dead_strip	_asf_read_bitmapinfoheader
.subsections_via_symbols
