	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ttm_mem_io_free
_ttm_mem_io_free:                       ## @ttm_mem_io_free
	.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	8(%rdi), %rax
	movq	(%rsi), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_1
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_4
## %bb.2:
	decq	8(%r14)
	jne	LBB0_4
## %bb.3:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ttm_mem_io_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ttm_mem_io_free
_ttm_mem_io_free:                       ; @ttm_mem_io_free
	.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
	ldr	x8, [x0, #8]
	ldr	x9, [x1]
	ldr	w0, [x8, x9, lsl #2]
	bl	_likely
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x8, [x20]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_1
; %bb.3:
	ldr	x9, [x19, #8]
	subs	x9, x9, #1
	str	x9, [x19, #8]
	b.ne	LBB0_1
; %bb.4:
	ldr	x2, [x8]
	cbz	x2, LBB0_1
; %bb.5:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ttm_mem_io_free
.subsections_via_symbols
