	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_noheader_flag
_update_noheader_flag:                  ## @update_noheader_flag
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	movl	(%rcx), %r8d
	testl	%r8d, %r8d
	jle	LBB0_7
## %bb.1:
	movq	8(%rcx), %rcx
	movq	(%rcx), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_2
LBB0_6:
	movq	_AVFMTCTX_NOHEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rdi)
	popq	%rbp
	retq
LBB0_2:
	leaq	-1(%r8), %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, %rsi
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rcx,%rdx,8), %rax
	incq	%rdx
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.5:
	cmpq	%r8, %rdx
	jb	LBB0_6
LBB0_7:
	movq	_AVFMTCTX_NOHEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVFMTCTX_NOHEADER,4,2          ## @AVFMTCTX_NOHEADER
	.no_dead_strip	_update_noheader_flag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_noheader_flag
_update_noheader_flag:                  ; @update_noheader_flag
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0, #8]
	ldr	w8, [x9]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	ldr	x10, [x9, #8]
	ldr	x9, [x10]
	ldr	x9, [x9]
	cbz	x9, LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _AVFMTCTX_NOHEADER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVFMTCTX_NOHEADER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	ret
LBB0_3:
	add	x10, x10, #8
	sub	x11, x8, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x11, x9
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x10, x9, lsl #3]
	ldr	x12, [x12]
	add	x9, x9, #1
	cbz	x12, LBB0_4
; %bb.6:
	cmp	x9, x8
	b.lo	LBB0_2
LBB0_7:
Lloh3:
	adrp	x8, _AVFMTCTX_NOHEADER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVFMTCTX_NOHEADER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AVFMTCTX_NOHEADER,4,2          ; @AVFMTCTX_NOHEADER
	.no_dead_strip	_update_noheader_flag
.subsections_via_symbols
