	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvkm_mmu_ptp_put
_nvkm_mmu_ptp_put:                      ## @nvkm_mmu_ptp_put
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	(%rdx), %r13d
	movq	24(%rdx), %rbx
	movb	4(%rbx), %cl
	sarl	%cl, %r13d
	movl	%esi, %r15d
	movq	%rdi, %r12
	cmpl	$0, 20(%rbx)
	jne	LBB0_2
## %bb.1:
	leaq	8(%rbx), %rdi
	movq	%r12, %rsi
	callq	_list_add
LBB0_2:
	movl	%r13d, %edi
	callq	_BIT
	orl	20(%rbx), %eax
	movl	%eax, 20(%rbx)
	cmpl	16(%rbx), %eax
	jne	LBB0_4
## %bb.3:
	leaq	12(%rbx), %rdx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_nvkm_mmu_ptc_put
	leaq	8(%rbx), %rdi
	callq	_list_del
	movq	%rbx, %rdi
	callq	_kfree
LBB0_4:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nvkm_mmu_ptp_put
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvkm_mmu_ptp_put
_nvkm_mmu_ptp_put:                      ; @nvkm_mmu_ptp_put
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	ldr	w8, [x2]
	ldr	x20, [x2, #24]
	ldr	w9, [x20, #4]
	asr	w23, w8, w9
	ldr	w8, [x20, #20]
	cbnz	w8, LBB0_2
; %bb.1:
	add	x0, x20, #8
	mov	x1, x22
	bl	_list_add
LBB0_2:
	mov	x0, x23
	bl	_BIT
	ldp	w9, w8, [x20, #16]
	orr	w8, w8, w0
	str	w8, [x20, #20]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:
	add	x2, x20, #12
	mov	x0, x22
	mov	x1, x21
	bl	_nvkm_mmu_ptc_put
	add	x0, x20, #8
	bl	_list_del
	mov	x0, x20
	bl	_kfree
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_kfree
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nvkm_mmu_ptp_put
.subsections_via_symbols
