	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp3_xing_add_frame
_mp3_xing_add_frame:                    ## @mp3_xing_add_frame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	incl	28(%rdi)
	movl	(%rdi), %eax
	movl	4(%rdi), %edx
	incl	%eax
	movl	%eax, (%rdi)
	movl	24(%rdi), %ecx
	addl	(%rsi), %ecx
	movl	%ecx, 24(%rdi)
	cmpl	%eax, %edx
	jne	LBB0_7
## %bb.1:
	movq	8(%rdi), %rsi
	movq	16(%rdi), %rax
	movl	%ecx, (%rax,%rsi,4)
	movq	_XING_NUM_BAGS@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdx
	incq	%rsi
	movq	%rsi, 8(%rdi)
	cmpq	%rdx, %rsi
	jne	LBB0_6
## %bb.2:
	cmpl	$2, %edx
	jl	LBB0_5
## %bb.3:
	movl	$1, %esi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rsi,4), %edx
	movl	%edx, -2(%rax,%rsi,2)
	addq	$2, %rsi
	movslq	(%rcx), %rdx
	cmpq	%rdx, %rsi
	jl	LBB0_4
LBB0_5:
	shll	4(%rdi)
	movl	%edx, %eax
	shrl	$31, %eax
	addl	%edx, %eax
	sarl	%eax
	cltq
	movq	%rax, 8(%rdi)
LBB0_6:
	movl	$0, (%rdi)
LBB0_7:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XING_NUM_BAGS,4,2              ## @XING_NUM_BAGS
	.no_dead_strip	_mp3_xing_add_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mp3_xing_add_frame
_mp3_xing_add_frame:                    ; @mp3_xing_add_frame
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0]
	add	w8, w8, #1
	str	w8, [x0]
	ldr	d0, [x0, #24]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x1]
	add.2s	v0, v0, v1
	str	d0, [x0, #24]
	cmp	w9, w8
	b.ne	LBB0_8
; %bb.1:
	ldp	x11, x8, [x0, #8]
	str	s0, [x8, x11, lsl #2]
Lloh0:
	adrp	x9, _XING_NUM_BAGS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XING_NUM_BAGS@GOTPAGEOFF]
	ldrsw	x10, [x9]
	add	x11, x11, #1
	str	x11, [x0, #8]
	cmp	x11, x10
	b.ne	LBB0_7
; %bb.2:
	cmp	w10, #2
	b.lt	LBB0_6
; %bb.3:
	mov	x10, #0
	mov	w11, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x8, x11, lsl #2]
	str	w12, [x8, x10]
	add	x11, x11, #2
	ldrsw	x12, [x9]
	add	x10, x10, #4
	cmp	x11, x12
	b.lt	LBB0_4
; %bb.5:
	mov	x10, x12
LBB0_6:
	ldr	w8, [x0, #4]
	lsl	w8, w8, #1
	str	w8, [x0, #4]
	cmp	w10, #0
	cinc	w8, w10, lt
	sbfx	x8, x8, #1, #31
	str	x8, [x0, #8]
LBB0_7:
	str	wzr, [x0]
LBB0_8:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_XING_NUM_BAGS,4,2              ; @XING_NUM_BAGS
	.no_dead_strip	_mp3_xing_add_frame
.subsections_via_symbols
