	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function put_padding_packet
_put_padding_packet:                    ## @put_padding_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	(%rdi), %r12
	movq	_PADDING_STREAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_avio_wb32
	leal	-6(%r14), %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_avio_wb16
	cmpl	$0, (%r12)
	je	LBB0_1
## %bb.2:
	testl	%ebx, %ebx
	jle	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	$255, %esi
	callq	_avio_w8
	decl	%ebx
	jne	LBB0_3
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r15, %rdi
	movl	$15, %esi
	callq	_avio_w8
	addl	$-7, %r14d
	movl	%r14d, %ebx
	testl	%ebx, %ebx
	jg	LBB0_3
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_PADDING_STREAM,4,2             ## @PADDING_STREAM
	.no_dead_strip	_put_padding_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function put_padding_packet
_put_padding_packet:                    ; @put_padding_packet
	.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	x21, x2
	mov	x19, x1
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _PADDING_STREAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PADDING_STREAM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_avio_wb32
	sub	w20, w21, #6
	mov	x0, x19
	mov	x1, x20
	bl	_avio_wb16
	ldr	w8, [x22]
	cbz	w8, LBB0_4
; %bb.1:
	cmp	w20, #1
	b.lt	LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #255
	bl	_avio_w8
	subs	w20, w20, #1
	b.ne	LBB0_2
LBB0_3:
	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
LBB0_4:
	mov	x0, x19
	mov	w1, #15
	bl	_avio_w8
	sub	w20, w21, #7
	cmp	w20, #1
	b.ge	LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PADDING_STREAM,4,2             ; @PADDING_STREAM
	.no_dead_strip	_put_padding_packet
.subsections_via_symbols
