	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function h264_init_ps
_h264_init_ps:                          ## @h264_init_ps
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	leaq	152(%rbx), %rdi
	callq	_av_buffer_unref
	movq	$0, 136(%rbx)
	movq	160(%rbx), %rax
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_av_buffer_ref
	movq	%rax, 152(%rbx)
	testq	%rax, %rax
	je	LBB0_52
## %bb.3:
	movq	(%rax), %rax
	movq	%rax, 136(%rbx)
	jmp	LBB0_4
LBB0_1:
	movq	136(%rbx), %rax
LBB0_4:
	movq	120(%rbx), %r12
	movq	144(%rbx), %rcx
	movq	(%rax), %rax
	movq	(%rcx,%rax,8), %rax
	cmpq	(%rax), %r12
	je	LBB0_5
## %bb.6:
	leaq	128(%rbx), %rdi
	callq	_av_buffer_unref
	movq	$0, 120(%rbx)
	movq	136(%rbx), %rax
	movq	144(%rbx), %rcx
	movq	(%rax), %rax
	movq	(%rcx,%rax,8), %rdi
	callq	_av_buffer_ref
	movq	%rax, 128(%rbx)
	testq	%rax, %rax
	je	LBB0_52
## %bb.7:
	movq	(%rax), %r12
	movq	%r12, 120(%rbx)
	movl	(%rbx), %eax
	cmpl	(%r12), %eax
	jne	LBB0_11
## %bb.8:
	movl	4(%rbx), %eax
	cmpl	4(%r12), %eax
	jne	LBB0_11
## %bb.9:
	movq	8(%rbx), %rax
	cmpq	8(%r12), %rax
	jne	LBB0_11
## %bb.10:
	movq	16(%rbx), %rcx
	xorl	%r13d, %r13d
	cmpq	16(%r12), %rcx
	je	LBB0_12
LBB0_11:
	movq	8(%r12), %rax
	movl	$1, %r13d
LBB0_12:
	cmpq	%rax, 24(%rbx)
	jne	LBB0_14
## %bb.13:
	movq	32(%rbx), %rax
	cmpq	16(%r12), %rax
	je	LBB0_15
LBB0_14:
	movl	$1, %r13d
	jmp	LBB0_15
LBB0_52:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_5:
	xorl	%r13d, %r13d
LBB0_15:
	cmpl	$0, 40(%rbx)
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_16
## %bb.17:
	movl	(%r12), %ecx
	movl	%ecx, %edx
	shll	$4, %edx
	movq	72(%rbx), %rax
	movl	$1, %r15d
	cmpl	(%rax), %edx
	jne	LBB0_23
## %bb.18:
	movl	4(%r12), %edx
	movl	%edx, %esi
	shll	$4, %esi
	cmpl	4(%rax), %esi
	jne	LBB0_23
## %bb.19:
	movq	8(%rbx), %rsi
	cmpq	8(%r12), %rsi
	jne	LBB0_23
## %bb.20:
	movq	16(%rbx), %rsi
	cmpq	16(%r12), %rsi
	jne	LBB0_23
## %bb.21:
	cmpl	%ecx, (%rbx)
	jne	LBB0_23
## %bb.22:
	xorl	%r15d, %r15d
	cmpl	%edx, 4(%rbx)
	setne	%r15b
	jmp	LBB0_23
LBB0_16:
	movq	72(%rbx), %rax
	xorl	%r15d, %r15d
LBB0_23:
	movl	8(%rax), %edi
	movq	_AV_PIX_FMT_NONE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	je	LBB0_25
## %bb.24:
	callq	_non_j_pixfmt
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	%r14d, %r15d
	movl	%r13d, %r14d
	movq	%rax, %r13
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_get_pixel_format
	movl	%eax, %edi
	callq	_non_j_pixfmt
	cmpq	%rax, %r13
	movl	%r14d, %r13d
	movl	%r15d, %r14d
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_26
LBB0_25:
	movl	$1, %r15d
LBB0_26:
	testl	%r14d, %r14d
	je	LBB0_28
## %bb.27:
	movl	80(%r12), %edi
	movq	72(%rbx), %rax
	movl	52(%rax), %esi
	callq	_av_cmp_q
	testq	%rax, %rax
	movl	$1, %eax
	cmovnel	%eax, %r15d
LBB0_28:
	cmpl	$0, 112(%rbx)
	je	LBB0_29
LBB0_41:
	movl	40(%rbx), %r12d
	testl	%r13d, %r13d
	jne	LBB0_44
## %bb.42:
	testl	%r12d, %r12d
	je	LBB0_44
## %bb.43:
	xorl	%r13d, %r13d
	testl	%r15d, %r15d
	je	LBB0_51
LBB0_44:
	movl	$0, 40(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, 88(%rbx)
	je	LBB0_46
## %bb.45:
	movq	72(%rbx), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	60(%rbx), %ecx
	movl	64(%rbx), %r9d
	movl	(%rdi), %r8d
	movl	4(%rdi), %r10d
	movq	80(%rbx), %rbx
	incq	%rbx
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r10
	callq	_av_log
	addq	$16, %rsp
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	jmp	LBB0_51
LBB0_29:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r12, %rdi
	callq	_ff_h264_get_profile
	movq	72(%rbx), %rcx
	movl	%eax, 48(%rcx)
	movl	76(%r12), %eax
	movl	%eax, 44(%rcx)
	movl	72(%r12), %eax
	movl	%eax, 40(%rcx)
	movl	(%r12), %eax
	movl	%eax, (%rbx)
	movl	4(%r12), %ecx
	movl	%ecx, 4(%rbx)
	movl	%ecx, %edx
	imull	%eax, %edx
	movl	%edx, 44(%rbx)
	leal	1(%rax), %edx
	movl	%edx, 48(%rbx)
	leal	(,%rax,4), %edx
	movl	%edx, 52(%rbx)
	xorl	%edx, %edx
	cmpq	$2, 16(%r12)
	setl	%dl
	movl	%edx, 56(%rbx)
	shll	$4, %eax
	movl	%eax, 60(%rbx)
	shll	$4, %ecx
	movl	%ecx, 64(%rbx)
	movq	%rbx, %rdi
	callq	_init_dimensions
	testl	%eax, %eax
	js	LBB0_30
## %bb.31:
	cmpq	$0, 64(%r12)
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_37
## %bb.32:
	cmpq	$0, 24(%r12)
	jle	LBB0_33
## %bb.34:
	movq	_AVCOL_RANGE_JPEG@GOTPCREL(%rip), %rax
	jmp	LBB0_35
LBB0_46:
	movl	%r14d, %edi
	callq	_av_assert1
	testl	%r12d, %r12d
	je	LBB0_48
## %bb.47:
	movq	%rbx, %rdi
	callq	_ff_h264_flush_change
LBB0_48:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_get_pixel_format
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_51
## %bb.49:
	movq	72(%rbx), %r14
	movl	%r13d, 8(%r14)
	movq	_AV_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	60(%rbx), %r12d
	movl	64(%rbx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%r13d, %edi
	callq	_av_get_pix_fmt_name
	leaq	L_.str.1(%rip), %rdx
	xorl	%r13d, %r13d
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %ecx
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_av_log
	movq	%rbx, %rdi
	callq	_h264_slice_header_init
	testl	%eax, %eax
	jns	LBB0_51
## %bb.50:
	movl	%eax, %r14d
	movq	72(%rbx), %rdi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	movl	%r14d, %r13d
	jmp	LBB0_51
LBB0_30:
	movl	%eax, %r13d
LBB0_51:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	movq	_AVCOL_RANGE_MPEG@GOTPCREL(%rip), %rax
LBB0_35:
	movl	(%rax), %ecx
	movq	72(%rbx), %rax
	movl	%ecx, 36(%rax)
	cmpq	$0, 56(%r12)
	je	LBB0_37
## %bb.36:
	movq	16(%rax), %rcx
	movl	48(%r12), %edx
	movl	%edx, 32(%rax)
	movups	32(%r12), %xmm0
	cmpq	32(%r12), %rcx
	movl	$1, %ecx
	cmovnel	%ecx, %r13d
	movups	%xmm0, 16(%rax)
LBB0_37:
	cmpq	$0, 104(%rbx)
	je	LBB0_41
## %bb.38:
	movq	96(%rbx), %rdi
	callq	_av_color_transfer_name
	testq	%rax, %rax
	je	LBB0_41
## %bb.39:
	movq	96(%rbx), %rax
	movq	_AVCOL_TRC_UNSPECIFIED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_41
## %bb.40:
	movq	72(%rbx), %rcx
	movq	%rax, 24(%rcx)
	jmp	LBB0_41
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_PIX_FMT_NONE,4,2            ## @AV_PIX_FMT_NONE
	.comm	_AVCOL_RANGE_JPEG,4,2           ## @AVCOL_RANGE_JPEG
	.comm	_AVCOL_RANGE_MPEG,4,2           ## @AVCOL_RANGE_MPEG
	.comm	_AVCOL_TRC_UNSPECIFIED,8,3      ## @AVCOL_TRC_UNSPECIFIED
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"changing width %d -> %d / height %d -> %d on slice %d\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_LOG_VERBOSE,4,2             ## @AV_LOG_VERBOSE
L_.str.1:                               ## @.str.1
	.asciz	"Reinit context to %dx%d, pix_fmt: %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"h264_slice_header_init() failed\n"

	.no_dead_strip	_h264_init_ps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function h264_init_ps
_h264_init_ps:                          ; @h264_init_ps
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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 w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cbz	w2, LBB0_3
; %bb.1:
	add	x0, x19, #152
	bl	_av_buffer_unref
	str	xzr, [x19, #136]
	ldr	x8, [x19, #160]
	ldr	x9, [x21]
	ldr	x0, [x8, x9, lsl #3]
	bl	_av_buffer_ref
	str	x0, [x19, #152]
	cbz	x0, LBB0_11
; %bb.2:
	ldr	x8, [x0]
	str	x8, [x19, #136]
	b	LBB0_4
LBB0_3:
	ldr	x8, [x19, #136]
LBB0_4:
	ldr	x22, [x19, #120]
	ldr	x9, [x19, #144]
	ldr	x8, [x8]
	ldr	x8, [x9, x8, lsl #3]
	ldr	x8, [x8]
	cmp	x22, x8
	b.eq	LBB0_12
; %bb.5:
	add	x0, x19, #128
	bl	_av_buffer_unref
	str	xzr, [x19, #120]
	ldp	x9, x8, [x19, #136]
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	bl	_av_buffer_ref
	str	x0, [x19, #128]
	cbz	x0, LBB0_11
; %bb.6:
	ldr	x22, [x0]
	str	x22, [x19, #120]
	ldr	w8, [x19]
	ldr	w9, [x22]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.7:
	ldr	w8, [x19, #4]
	ldr	w9, [x22, #4]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.8:
	ldr	x8, [x19, #8]
	ldr	x9, [x22, #8]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.9:
	ldr	x9, [x19, #16]
	ldr	x10, [x22, #16]
	cmp	x9, x10
	b.ne	LBB0_13
; %bb.10:
	mov	w24, #0
	b	LBB0_14
LBB0_11:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_AVERROR
LBB0_12:
	mov	w24, #0
	b	LBB0_17
LBB0_13:
	ldr	x8, [x22, #8]
	mov	w24, #1
LBB0_14:
	ldr	x9, [x19, #24]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	ldr	x8, [x19, #32]
	ldr	x9, [x22, #16]
	cmp	x8, x9
	b.eq	LBB0_17
LBB0_16:
	mov	w24, #1
LBB0_17:
	ldr	w8, [x19, #40]
	cbz	w8, LBB0_25
; %bb.18:
	ldr	w9, [x22]
	ldr	x8, [x19, #72]
	ldr	w10, [x8]
	cmp	w10, w9, lsl #4
	b.ne	LBB0_24
; %bb.19:
	ldr	w10, [x22, #4]
	ldr	w11, [x8, #4]
	cmp	w11, w10, lsl #4
	b.ne	LBB0_24
; %bb.20:
	ldr	x11, [x19, #8]
	ldr	x12, [x22, #8]
	cmp	x11, x12
	b.ne	LBB0_24
; %bb.21:
	ldr	x11, [x19, #16]
	ldr	x12, [x22, #16]
	cmp	x11, x12
	b.ne	LBB0_24
; %bb.22:
	ldr	w11, [x19]
	cmp	w11, w9
	b.ne	LBB0_24
; %bb.23:
	ldr	w9, [x19, #4]
	cmp	w9, w10
	cset	w25, ne
	b	LBB0_26
LBB0_24:
	mov	w25, #1
	b	LBB0_26
LBB0_25:
	mov	w25, #0
	ldr	x8, [x19, #72]
LBB0_26:
	ldr	w0, [x8, #8]
Lloh3:
	adrp	x8, _AV_PIX_FMT_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_PIX_FMT_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_28
; %bb.27:
	bl	_non_j_pixfmt
	mov	x23, x0
	mov	x0, x19
	mov	w1, #0
	bl	_get_pixel_format
	bl	_non_j_pixfmt
	cmp	x23, x0
	b.eq	LBB0_29
LBB0_28:
	mov	w25, #1
LBB0_29:
	cbz	w20, LBB0_31
; %bb.30:
	ldr	w0, [x22, #80]
	ldr	x8, [x19, #72]
	ldr	w1, [x8, #52]
	bl	_av_cmp_q
	cmp	x0, #0
	csinc	w25, w25, wzr, eq
LBB0_31:
	ldr	w8, [x19, #112]
	cbz	w8, LBB0_38
LBB0_32:
	ldr	w22, [x19, #40]
	cbnz	w24, LBB0_36
; %bb.33:
	cbz	w22, LBB0_36
; %bb.34:
	cbnz	w25, LBB0_36
LBB0_35:
	mov	w23, #0
	b	LBB0_52
LBB0_36:
	str	wzr, [x19, #40]
	ldr	x8, [x19, #88]
	cmp	x8, x21
	b.eq	LBB0_46
; %bb.37:
Lloh6:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldp	x0, x8, [x19, #72]
	add	x8, x8, #1
	ldp	w9, w10, [x19, #60]
	ldp	w11, w12, [x0]
	stp	x12, x8, [sp, #24]
	stp	x11, x10, [sp, #8]
	str	x9, [sp]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
Lloh11:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh13:
	ldr	w23, [x8]
	b	LBB0_52
LBB0_38:
	mov	x0, x22
	bl	_ff_h264_get_profile
	ldr	x8, [x19, #72]
	str	w0, [x8, #48]
	ldr	d0, [x22, #72]
	str	d0, [x8, #40]
	ldp	w8, w9, [x22]
	stp	w8, w9, [x19]
	mul	w10, w9, w8
	add	w11, w8, #1
	stp	w10, w11, [x19, #44]
	lsl	w10, w8, #2
	ldr	x11, [x22, #16]
	cmp	x11, #2
	cset	w11, lt
	stp	w10, w11, [x19, #52]
	lsl	w8, w8, #4
	lsl	w9, w9, #4
	stp	w8, w9, [x19, #60]
	mov	x0, x19
	bl	_init_dimensions
	tbnz	w0, #31, LBB0_51
; %bb.39:
	ldr	x8, [x22, #64]
	cbz	x8, LBB0_42
; %bb.40:
	ldr	x8, [x22, #24]
Lloh14:
	adrp	x9, _AVCOL_RANGE_JPEG@GOTPAGE
Lloh15:
	ldr	x9, [x9, _AVCOL_RANGE_JPEG@GOTPAGEOFF]
Lloh16:
	adrp	x10, _AVCOL_RANGE_MPEG@GOTPAGE
Lloh17:
	ldr	x10, [x10, _AVCOL_RANGE_MPEG@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x9, x10, gt
	ldr	w9, [x8]
	ldr	x8, [x19, #72]
	str	w9, [x8, #36]
	ldr	x9, [x22, #56]
	cbz	x9, LBB0_42
; %bb.41:
	ldr	x9, [x8, #16]
	ldr	w10, [x22, #48]
	str	w10, [x8, #32]
	ldr	q0, [x22, #32]
	str	q0, [x8, #16]
	fmov	x8, d0
	cmp	x9, x8
	csinc	w24, w24, wzr, eq
LBB0_42:
	ldr	x8, [x19, #104]
	cbz	x8, LBB0_32
; %bb.43:
	ldr	x0, [x19, #96]
	bl	_av_color_transfer_name
	cbz	x0, LBB0_32
; %bb.44:
	ldr	x8, [x19, #96]
Lloh18:
	adrp	x9, _AVCOL_TRC_UNSPECIFIED@GOTPAGE
Lloh19:
	ldr	x9, [x9, _AVCOL_TRC_UNSPECIFIED@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_32
; %bb.45:
	ldr	x9, [x19, #72]
	str	x8, [x9, #24]
	b	LBB0_32
LBB0_46:
	mov	x0, x20
	bl	_av_assert1
	cbz	w22, LBB0_48
; %bb.47:
	mov	x0, x19
	bl	_ff_h264_flush_change
LBB0_48:
	mov	x0, x19
	mov	w1, #1
	bl	_get_pixel_format
	mov	x23, x0
	tbnz	w0, #31, LBB0_52
; %bb.49:
	ldr	x20, [x19, #72]
	str	w23, [x20, #8]
Lloh21:
	adrp	x8, _AV_LOG_VERBOSE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AV_LOG_VERBOSE@GOTPAGEOFF]
Lloh23:
	ldr	w21, [x8]
	ldp	w22, w24, [x19, #60]
	mov	x0, x23
	bl	_av_get_pix_fmt_name
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x24, x0, [sp, #8]
	str	x22, [sp]
Lloh24:
	adrp	x2, l_.str.1@PAGE
Lloh25:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_av_log
	mov	x0, x19
	bl	_h264_slice_header_init
	tbz	w0, #31, LBB0_35
; %bb.50:
	mov	x23, x0
	ldr	x0, [x19, #72]
Lloh26:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x2, l_.str.2@PAGE
Lloh30:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_av_log
	b	LBB0_52
LBB0_51:
	mov	x23, x0
LBB0_52:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_PIX_FMT_NONE,4,2            ; @AV_PIX_FMT_NONE
	.comm	_AVCOL_RANGE_JPEG,4,2           ; @AVCOL_RANGE_JPEG
	.comm	_AVCOL_RANGE_MPEG,4,2           ; @AVCOL_RANGE_MPEG
	.comm	_AVCOL_TRC_UNSPECIFIED,8,3      ; @AVCOL_TRC_UNSPECIFIED
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"changing width %d -> %d / height %d -> %d on slice %d\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_LOG_VERBOSE,4,2             ; @AV_LOG_VERBOSE
l_.str.1:                               ; @.str.1
	.asciz	"Reinit context to %dx%d, pix_fmt: %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"h264_slice_header_init() failed\n"

	.no_dead_strip	_h264_init_ps
.subsections_via_symbols
