	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_host1x_cdma_push_wide          ## -- Begin function host1x_cdma_push_wide
	.p2align	4, 0x90
_host1x_cdma_push_wide:                 ## @host1x_cdma_push_wide
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movl	%esi, %r14d
	movq	%rdi, %r13
	callq	_cdma_to_channel
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_cdma_to_host1x
	movq	%rax, %rdi
	movq	_host1x_debug_trace_cmdbuf@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_dev_name
	movl	%eax, %edi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	callq	_trace_host1x_cdma_push_wide
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_2:
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	leaq	8(%r13), %r14
	movq	8(%r13), %rcx
	movq	16(%r13), %rax
	leaq	16(%rcx), %rdx
	cmpq	%rax, %rdx
	jle	LBB0_3
## %bb.4:
	subq	%rcx, %rax
	leaq	7(%rax), %r15
	testq	%rax, %rax
	cmovnsq	%rax, %r15
	shrq	$3, %r15
	leal	2(%r15), %r12d
	jmp	LBB0_5
LBB0_3:
	xorl	%r15d, %r15d
	movl	$2, %r12d
LBB0_5:
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_host1x_cdma_wait_pushbuffer_space
	movq	%r14, %rdi
	callq	_host1x_pushbuffer_space
	subl	%r12d, %eax
	movl	%eax, (%r13)
	addl	%r12d, 4(%r13)
	testl	%r15d, %r15d
	je	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%ebx, %edx
	callq	_host1x_pushbuffer_push
	decl	%r15d
	jne	LBB0_6
LBB0_7:
	movq	%r14, %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_host1x_pushbuffer_push
	movq	%r14, %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_host1x_pushbuffer_push         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_host1x_debug_trace_cmdbuf,8,3  ## @host1x_debug_trace_cmdbuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_host1x_cdma_push_wide          ; -- Begin function host1x_cdma_push_wide
	.p2align	2
_host1x_cdma_push_wide:                 ; @host1x_cdma_push_wide
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x24, x0
	bl	_cdma_to_channel
	mov	x26, x0
	mov	x0, x24
	bl	_cdma_to_host1x
	mov	x25, x0
	add	x23, x24, #8
Lloh0:
	adrp	x8, _host1x_debug_trace_cmdbuf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _host1x_debug_trace_cmdbuf@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x26]
	bl	_dev_name
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_trace_host1x_cdma_push_wide
LBB0_2:
	ldp	x8, x9, [x24, #8]
	add	x10, x8, #16
	cmp	x10, x9
	b.le	LBB0_4
; %bb.3:
	sub	x8, x9, x8
	add	x9, x8, #7
	cmp	x8, #0
	csel	x8, x9, x8, lt
	lsr	x27, x8, #3
	add	w26, w27, #2
	b	LBB0_5
LBB0_4:
	mov	w27, #0
	mov	w26, #2
LBB0_5:
	mov	x0, x25
	mov	x1, x24
	mov	x2, x26
	bl	_host1x_cdma_wait_pushbuffer_space
	mov	x0, x23
	bl	_host1x_pushbuffer_space
	sub	w8, w0, w26
	ldr	w9, [x24, #4]
	add	w9, w9, w26
	stp	w8, w9, [x24]
	cbz	w27, LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x19
	mov	x2, x19
	bl	_host1x_pushbuffer_push
	subs	w27, w27, #1
	b.ne	LBB0_6
LBB0_7:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	bl	_host1x_pushbuffer_push
	mov	x0, x23
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_host1x_pushbuffer_push
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_host1x_debug_trace_cmdbuf,8,3  ; @host1x_debug_trace_cmdbuf
.subsections_via_symbols
