	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function host1x_pushbuffer_push
_host1x_pushbuffer_push:                ## @host1x_pushbuffer_push
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	24(%rdi), %r12
	movslq	(%rdi), %r13
	xorl	%edi, %edi
	cmpq	%r13, 8(%rbx)
	sete	%dil
	callq	_WARN_ON
	movq	%r15, (%r12,%r13)
	movq	%r14, 8(%r12,%r13)
	movslq	(%rbx), %rax
	addq	$8, %rax
	movl	%eax, (%rbx)
	movq	16(%rbx), %rcx
	cmpq	%rax, %rcx
	jg	LBB0_2
## %bb.1:
	subl	%ecx, %eax
	movl	%eax, (%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_host1x_pushbuffer_push
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function host1x_pushbuffer_push
_host1x_pushbuffer_push:                ; @host1x_pushbuffer_push
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldrsw	x9, [x0]
	add	x22, x8, x9
	ldr	x8, [x0, #8]
	cmp	x8, x9
	cset	w0, eq
	bl	_WARN_ON
	stp	x21, x20, [x22]
	ldrsw	x8, [x19]
	add	x8, x8, #8
	str	w8, [x19]
	ldr	x9, [x19, #16]
	cmp	x9, x8
	b.gt	LBB0_2
; %bb.1:
	sub	w8, w8, w9
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_host1x_pushbuffer_push
.subsections_via_symbols
