	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function id3v2_encode_string
_id3v2_encode_string:                   ## @id3v2_encode_string
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_ID3v2_ENCODING_UTF16BOM@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	$65279, %esi                    ## imm = 0xFEFF
	callq	_avio_wl16
	movq	_avio_put_str16le@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_avio_put_str@GOTPCREL(%rip), %rax
LBB0_3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ID3v2_ENCODING_UTF16BOM,4,2    ## @ID3v2_ENCODING_UTF16BOM
	.no_dead_strip	_id3v2_encode_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function id3v2_encode_string
_id3v2_encode_string:                   ; @id3v2_encode_string
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ID3v2_ENCODING_UTF16BOM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ID3v2_ENCODING_UTF16BOM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #65279
	bl	_avio_wl16
Lloh3:
	adrp	x2, _avio_put_str16le@GOTPAGE
Lloh4:
	ldr	x2, [x2, _avio_put_str16le@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x2, _avio_put_str@GOTPAGE
Lloh6:
	ldr	x2, [x2, _avio_put_str@GOTPAGEOFF]
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ID3v2_ENCODING_UTF16BOM,4,2    ; @ID3v2_ENCODING_UTF16BOM
	.no_dead_strip	_id3v2_encode_string
.subsections_via_symbols
