	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ax_audio_start
_ax_audio_start:                        ## @ax_audio_start
	.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
	testl	%esi, %esi
	jne	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_AX_AUDIO_SAMPLE_LOAD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_3
## %bb.2:
	movl	16(%rbx), %r14d
	movq	8(%rbx), %rdi
	subq	%rax, %rdi
	callq	_ax_audio_limit
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_AXSetMultiVoiceCurrentOffset
	movl	16(%rbx), %edi
	movq	_AX_VOICE_STATE_PLAYING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_AXSetMultiVoiceState
LBB0_3:
	movl	$1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AX_AUDIO_SAMPLE_LOAD,8,3       ## @AX_AUDIO_SAMPLE_LOAD
	.comm	_AX_VOICE_STATE_PLAYING,4,2     ## @AX_VOICE_STATE_PLAYING
	.no_dead_strip	_ax_audio_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ax_audio_start
_ax_audio_start:                        ; @ax_audio_start
	.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
	cbnz	w1, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AX_AUDIO_SAMPLE_LOAD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AX_AUDIO_SAMPLE_LOAD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.le	LBB0_3
; %bb.2:
	ldr	w20, [x19, #16]
	ldr	x9, [x19, #8]
	sub	x0, x9, x8
	bl	_ax_audio_limit
	mov	x1, x0
	mov	x0, x20
	bl	_AXSetMultiVoiceCurrentOffset
	ldr	w0, [x19, #16]
Lloh3:
	adrp	x8, _AX_VOICE_STATE_PLAYING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AX_VOICE_STATE_PLAYING@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_AXSetMultiVoiceState
LBB0_3:
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AX_AUDIO_SAMPLE_LOAD,8,3       ; @AX_AUDIO_SAMPLE_LOAD
	.comm	_AX_VOICE_STATE_PLAYING,4,2     ; @AX_VOICE_STATE_PLAYING
	.no_dead_strip	_ax_audio_start
.subsections_via_symbols
