	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_audio_data_set_channels     ## -- Begin function ff_audio_data_set_channels
	.p2align	4, 0x90
_ff_audio_data_set_channels:            ## @ff_audio_data_set_channels
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	jle	LBB0_4
## %bb.1:
	movq	_AVRESAMPLE_MAX_CHANNELS@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jl	LBB0_4
## %bb.2:
	cmpl	%esi, (%rdi)
	jge	LBB0_3
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_3:
	movl	%esi, 4(%rdi)
	cmpq	$0, 16(%rdi)
	movl	$1, %eax
	cmovnel	%esi, %eax
	movl	%eax, 8(%rdi)
	callq	_calc_ptr_alignment
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVRESAMPLE_MAX_CHANNELS,4,2    ## @AVRESAMPLE_MAX_CHANNELS
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_audio_data_set_channels     ; -- Begin function ff_audio_data_set_channels
	.p2align	2
_ff_audio_data_set_channels:            ; @ff_audio_data_set_channels
	.cfi_startproc
; %bb.0:
	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
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _AVRESAMPLE_MAX_CHANNELS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVRESAMPLE_MAX_CHANNELS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.lt	LBB0_3
; %bb.2:
	ldr	w8, [x0]
	cmp	w8, w1
	b.ge	LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_4:
	ldr	x8, [x0, #16]
	cmp	x8, #0
	csinc	w8, w1, wzr, ne
	stp	w1, w8, [x0, #4]
	bl	_calc_ptr_alignment
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AVRESAMPLE_MAX_CHANNELS,4,2    ; @AVRESAMPLE_MAX_CHANNELS
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
