	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exif_add_metadata
_exif_add_metadata:                     ## @exif_add_metadata
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
                                        ## kill: def $edx killed $edx def $rdx
	movl	%esi, %r11d
	leal	-128(%rdx), %esi
	cmpl	$10, %esi
	ja	LBB0_1
## %bb.16:
	movq	%r8, %r10
	movq	24(%rbp), %rax
	movl	16(%rbp), %r8d
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rsi,4), %rsi
	addq	%rdx, %rsi
	jmpq	*%rsi
LBB0_9:
	movq	%rax, (%rsp)
	movl	%r11d, %edi
	movq	%rcx, %rsi
	movq	%r10, %rdx
	movq	%r9, %rcx
	xorl	%r9d, %r9d
	callq	_ff_tadd_bytes_metadata
	jmp	LBB0_15
LBB0_1:
	testl	%edx, %edx
	jne	LBB0_13
## %bb.2:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	%r11d, %r8d
	callq	_av_log
	jmp	LBB0_14
LBB0_11:
	movl	%r11d, %edi
	movq	%rcx, %rsi
	movq	%r10, %rdx
	movq	%r9, %rcx
	movq	%rax, %r9
	addq	$16, %rsp
	popq	%rbp
	jmp	_ff_tadd_rational_metadata      ## TAILCALL
LBB0_12:
	movl	%r11d, %edi
	movq	%rcx, %rsi
	movq	%r10, %rdx
	movq	%r9, %rcx
	movq	%rax, %r9
	addq	$16, %rsp
	popq	%rbp
	jmp	_ff_tadd_long_metadata          ## TAILCALL
LBB0_10:
	movl	%r11d, %edi
	movq	%rcx, %rsi
	movq	%r9, %rdx
	movl	%r8d, %ecx
	movq	%rax, %r8
	addq	$16, %rsp
	popq	%rbp
	jmp	_ff_tadd_string_metadata        ## TAILCALL
LBB0_4:
	movq	%rax, (%rsp)
	movl	%r11d, %edi
	movq	%rcx, %rsi
	movq	%r10, %rdx
	movq	%r9, %rcx
	movl	$1, %r9d
	callq	_ff_tadd_shorts_metadata
	jmp	LBB0_15
LBB0_6:
	movq	%rax, (%rsp)
	movl	%r11d, %edi
	movq	%rcx, %rsi
	movq	%r10, %rdx
	movq	%r9, %rcx
	xorl	%r9d, %r9d
	callq	_ff_tadd_shorts_metadata
	jmp	LBB0_15
LBB0_7:
	movq	%rax, (%rsp)
	movl	%r11d, %edi
	movq	%rcx, %rsi
	movq	%r10, %rdx
	movq	%r9, %rcx
	movl	$1, %r9d
	callq	_ff_tadd_bytes_metadata
	jmp	LBB0_15
LBB0_3:
	movl	%r11d, %edi
	movq	%rcx, %rsi
	movq	%r10, %rdx
	movq	%r9, %rcx
	movq	%rax, %r9
	addq	$16, %rsp
	popq	%rbp
	jmp	_ff_tadd_doubles_metadata       ## TAILCALL
LBB0_13:
	leaq	L_.str.1(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_avpriv_request_sample
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_3
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid TIFF tag type 0 found for %s with size %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"TIFF tag type (%u)"

	.no_dead_strip	_exif_add_metadata
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exif_add_metadata
_exif_add_metadata:                     ; @exif_add_metadata
	.cfi_startproc
; %bb.0:
	mov	x8, x1
	sub	w9, w2, #128
	cmp	w9, #10
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	mov	x0, x8
	mov	x1, x3
	mov	x2, x4
	mov	x3, x5
	mov	x4, x6
	mov	w5, #0
	mov	x6, x7
	b	_ff_tadd_bytes_metadata
LBB0_3:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_remember_state
	cbnz	w2, LBB0_12
; %bb.4:
Lloh2:
	adrp	x9, _AV_LOG_WARNING@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	x4, x8
	bl	_av_log
	b	LBB0_13
LBB0_5:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	mov	x0, x8
	mov	x1, x3
	mov	x2, x4
	mov	x3, x5
	mov	x4, x6
	mov	x5, x7
	b	_ff_tadd_rational_metadata
LBB0_6:
	mov	x0, x8
	mov	x1, x3
	mov	x2, x4
	mov	x3, x5
	mov	x4, x6
	mov	x5, x7
	b	_ff_tadd_long_metadata
LBB0_7:
	mov	x0, x8
	mov	x1, x3
	mov	x2, x5
	mov	x3, x6
	mov	x4, x7
	b	_ff_tadd_string_metadata
LBB0_8:
	mov	x0, x8
	mov	x1, x3
	mov	x2, x4
	mov	x3, x5
	mov	x4, x6
	mov	w5, #1
	mov	x6, x7
	b	_ff_tadd_shorts_metadata
LBB0_9:
	mov	x0, x8
	mov	x1, x3
	mov	x2, x4
	mov	x3, x5
	mov	x4, x6
	mov	w5, #0
	mov	x6, x7
	b	_ff_tadd_shorts_metadata
LBB0_10:
	mov	x0, x8
	mov	x1, x3
	mov	x2, x4
	mov	x3, x5
	mov	x4, x6
	mov	w5, #1
	mov	x6, x7
	b	_ff_tadd_bytes_metadata
LBB0_11:
	mov	x0, x8
	mov	x1, x3
	mov	x2, x4
	mov	x3, x5
	mov	x4, x6
	mov	x5, x7
	b	_ff_tadd_doubles_metadata
LBB0_12:
	.cfi_restore_state
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_avpriv_request_sample
LBB0_13:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid TIFF tag type 0 found for %s with size %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"TIFF tag type (%u)"

	.no_dead_strip	_exif_add_metadata
.subsections_via_symbols
