	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function put_swf_rect
_put_swf_rect:                          ## @put_swf_rect
	.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
	subq	$1064, %rsp                     ## imm = 0x428
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movl	%r8d, -1084(%rbp)               ## 4-byte Spill
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, -1096(%rbp)               ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-1080(%rbp), %rdi
	leaq	-1072(%rbp), %rsi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_init_put_bits
	movl	$0, -1076(%rbp)
	leaq	-1076(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_max_nbits
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_max_nbits
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_max_nbits
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_max_nbits
	movl	-1076(%rbp), %ecx
	movl	$-1, %r12d
	shll	%cl, %r12d
	notl	%r12d
	leaq	-1080(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$5, %esi
	movl	%ecx, %edx
	callq	_put_bits
	movl	-1076(%rbp), %esi
	andl	%r12d, %r15d
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_put_bits
	movl	-1076(%rbp), %esi
	andl	%r12d, %r14d
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_put_bits
	movl	-1076(%rbp), %esi
	andl	%r12d, %r13d
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_put_bits
	movl	-1076(%rbp), %esi
	andl	-1084(%rbp), %r12d              ## 4-byte Folded Reload
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_put_bits
	movq	%rbx, %rdi
	callq	_flush_put_bits
	movq	%rbx, %rdi
	callq	_put_bits_ptr
	subl	-1080(%rbp), %eax
	movq	-1096(%rbp), %rdi               ## 8-byte Reload
	leaq	-1072(%rbp), %rsi
	movl	%eax, %edx
	callq	_avio_write
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$1064, %rsp                     ## imm = 0x428
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_put_swf_rect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function put_swf_rect
_put_swf_rect:                          ; @put_swf_rect
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #1056
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	add	x0, sp, #16
	add	x1, sp, #24
	mov	w2, #1024
	bl	_init_put_bits
	str	wzr, [sp, #12]
	add	x0, sp, #12
	mov	x1, x23
	bl	_max_nbits
	add	x0, sp, #12
	mov	x1, x22
	bl	_max_nbits
	add	x0, sp, #12
	mov	x1, x21
	bl	_max_nbits
	add	x0, sp, #12
	mov	x1, x20
	bl	_max_nbits
	ldr	w2, [sp, #12]
	mov	w8, #-1
	lsl	w24, w8, w2
	add	x0, sp, #16
	mov	w1, #5
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_put_bits
	ldr	w1, [sp, #12]
	bic	w2, w23, w24
	add	x0, sp, #16
	bl	_put_bits
	ldr	w1, [sp, #12]
	bic	w2, w22, w24
	add	x0, sp, #16
	bl	_put_bits
	ldr	w1, [sp, #12]
	bic	w2, w21, w24
	add	x0, sp, #16
	bl	_put_bits
	ldr	w1, [sp, #12]
	bic	w2, w20, w24
	add	x0, sp, #16
	bl	_put_bits
	add	x0, sp, #16
	bl	_flush_put_bits
	add	x0, sp, #16
	bl	_put_bits_ptr
	ldr	w8, [sp, #16]
	sub	w2, w0, w8
	add	x1, sp, #24
	mov	x0, x19
	bl	_avio_write
	ldur	x8, [x29, #-72]
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_2
; %bb.1:
	add	sp, sp, #1056
	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
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_put_swf_rect
.subsections_via_symbols
