	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_cenc_start_packet
_mov_cenc_start_packet:                 ## @mov_cenc_start_packet
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	20(%rdi), %edi
	callq	_av_aes_ctr_get_iv
	movq	_AES_CTR_IV_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_auxiliary_info_write
	testl	%eax, %eax
	je	LBB0_1
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	cmpl	$0, 16(%rbx)
	je	LBB0_2
## %bb.4:
	movl	8(%rbx), %eax
	movl	%eax, 12(%rbx)
	movq	$0, (%rbx)
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movl	$8, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_auxiliary_info_write           ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_AES_CTR_IV_SIZE,4,2            ## @AES_CTR_IV_SIZE
	.no_dead_strip	_mov_cenc_start_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_cenc_start_packet
_mov_cenc_start_packet:                 ; @mov_cenc_start_packet
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #20]
	bl	_av_aes_ctr_get_iv
	mov	x1, x0
Lloh0:
	adrp	x8, _AES_CTR_IV_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AES_CTR_IV_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_auxiliary_info_write
	cbz	w0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_4
; %bb.3:
	ldr	w8, [x19, #8]
	str	w8, [x19, #12]
	str	xzr, [x19]
	mov	x0, x19
	mov	x1, x19
	mov	w2, #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_auxiliary_info_write
LBB0_4:
	mov	w0, #0
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AES_CTR_IV_SIZE,4,2            ; @AES_CTR_IV_SIZE
	.no_dead_strip	_mov_cenc_start_packet
.subsections_via_symbols
