	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vaapi_encode_mpeg2_init_slice_params
_vaapi_encode_mpeg2_init_slice_params:  ## @vaapi_encode_mpeg2_init_slice_params
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rcx
	movq	8(%rdx), %rbx
	movl	4(%rdx), %eax
	movl	%eax, 12(%rbx)
	movl	(%rdx), %eax
	movl	%eax, 8(%rbx)
	movl	(%rsi), %eax
	leal	-129(%rax), %edx
	cmpl	$2, %edx
	jb	LBB0_4
## %bb.1:
	cmpl	$128, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$131, %eax
	jne	LBB0_6
## %bb.3:
	movl	8(%rcx), %ecx
	movl	$131, %eax
	jmp	LBB0_7
LBB0_4:
	movl	(%rcx), %ecx
	jmp	LBB0_7
LBB0_5:
	movl	4(%rcx), %ecx
	movl	$128, %eax
	jmp	LBB0_7
LBB0_6:
	movq	%rsi, %r14
	xorl	%edi, %edi
	callq	_av_assert0
	movl	(%r14), %eax
                                        ## implicit-def: $ecx
LBB0_7:
	movl	%ecx, (%rbx)
	addl	$-129, %eax
	xorl	%ecx, %ecx
	cmpl	$2, %eax
	setb	%cl
	movl	%ecx, 4(%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_vaapi_encode_mpeg2_init_slice_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vaapi_encode_mpeg2_init_slice_params
_vaapi_encode_mpeg2_init_slice_params:  ; @vaapi_encode_mpeg2_init_slice_params
	.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
	ldr	x9, [x0]
	ldr	x20, [x2, #8]
	ldr	d0, [x2]
	str	d0, [x20, #8]
	ldr	w8, [x1]
	sub	w10, w8, #129
	cmp	w10, #2
	b.lo	LBB0_4
; %bb.1:
	cmp	w8, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #131
	b.ne	LBB0_6
; %bb.3:
	ldr	w9, [x9, #8]
	b	LBB0_7
LBB0_4:
	ldr	w9, [x9]
	b	LBB0_7
LBB0_5:
	ldr	w9, [x9, #4]
	b	LBB0_7
LBB0_6:
	mov	x19, x1
	mov	w0, #0
	bl	_av_assert0
	ldr	w8, [x19]
                                        ; implicit-def: $w9
LBB0_7:
	sub	w8, w8, #129
	cmp	w8, #2
	cset	w8, lo
	stp	w9, w8, [x20]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_vaapi_encode_mpeg2_init_slice_params
.subsections_via_symbols
