	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_hwframe_map                 ## -- Begin function av_hwframe_map
	.p2align	4, 0x90
_av_hwframe_map:                        ## @av_hwframe_map
	.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, %rbx
	movq	8(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	8(%rbx), %rcx
	movq	(%rax), %rdi
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.2:
	movq	(%rcx), %rax
	cmpq	%rax, %rdi
	jne	LBB0_5
## %bb.3:
	movq	(%r15), %rcx
	cmpq	(%rdi), %rcx
	jne	LBB0_5
## %bb.4:
	movq	(%rbx), %rcx
	cmpq	8(%rdi), %rcx
	je	LBB0_7
LBB0_5:
	movq	16(%rdi), %rcx
	movq	8(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.6:
	cmpq	%rax, (%rcx)
	je	LBB0_7
LBB0_10:
	movq	8(%rdi), %rax
	cmpq	(%r15), %rax
	jne	LBB0_13
## %bb.11:
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	*%rax
	movl	%eax, %r12d
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	cmpl	%eax, %r12d
	jne	LBB0_19
LBB0_13:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.14:
	movq	(%rax), %rdi
	movq	8(%rdi), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_17
## %bb.15:
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	*%rax
	movl	%eax, %r12d
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	cmpl	%eax, %r12d
	jne	LBB0_19
LBB0_17:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_19:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	16(%r15), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	(%rax), %r14
	movq	%rbx, %rdi
	callq	_av_frame_unref
	movl	(%r14), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_frame_ref                   ## TAILCALL
LBB0_8:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid mapping found when attempting unmap.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOSYS,4,2                     ## @ENOSYS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_hwframe_map                 ; -- Begin function av_hwframe_map
	.p2align	2
_av_hwframe_map:                        ; @av_hwframe_map
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x9, [x1, #8]
	cbz	x9, LBB0_10
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x0, [x9]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.3:
	ldr	x9, [x21]
	ldr	x10, [x0]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.4:
	ldr	x9, [x19]
	ldr	x10, [x0, #8]
	cmp	x9, x10
	b.eq	LBB0_17
LBB0_5:
	ldr	x9, [x0, #16]
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_7
; %bb.6:
	ldr	x9, [x9]
	cmp	x9, x8
	b.eq	LBB0_17
LBB0_7:
	ldr	x8, [x0, #8]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.9:
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	blr	x8
	mov	x22, x0
Lloh0:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_AVERROR
	cmp	w22, w0
	b.ne	LBB0_16
LBB0_10:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_14
; %bb.11:
	ldr	x0, [x8]
	ldr	x8, [x0, #8]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.12:
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_14
; %bb.13:
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	blr	x8
	mov	x22, x0
Lloh3:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_AVERROR
	cmp	w22, w0
	b.ne	LBB0_16
LBB0_14:
Lloh6:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x8]
	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
	b	_AVERROR
LBB0_16:
	mov	x0, x22
	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_17:
	ldr	x8, [x21, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_19
; %bb.18:
	ldr	x20, [x8]
	mov	x0, x19
	bl	_av_frame_unref
	ldr	w1, [x20]
	mov	x0, x19
	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
	b	_av_frame_ref
LBB0_19:
Lloh8:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid mapping found when attempting unmap.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOSYS,4,2                     ; @ENOSYS
.subsections_via_symbols
