	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bochs_plane_update
_bochs_plane_update:                    ## @bochs_plane_update
	.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), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rdi, %r14
	cmpl	$0, (%rdi)
	je	LBB0_2
## %bb.3:
	movq	%rsi, %rbx
	movq	24(%rax), %rax
	movl	(%rax), %edi
	callq	_drm_gem_vram_of_gem
	movl	12(%rbx), %esi
	movl	8(%rbx), %edx
	movq	(%rbx), %rcx
	movq	8(%rcx), %rdi
	movq	16(%rcx), %rcx
	movl	(%rcx), %ecx
	movq	(%rax), %r8
	addq	(%rdi), %r8
	movq	%r14, %rdi
	callq	_bochs_hw_setbase
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bochs_hw_setformat             ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bochs_plane_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bochs_plane_update
_bochs_plane_update:                    ; @bochs_plane_update
	.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
	ldr	x8, [x1]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w9, [x0]
	cbz	w9, LBB0_3
; %bb.2:
	mov	x20, x1
	ldr	x8, [x8, #24]
	ldr	w0, [x8]
	bl	_drm_gem_vram_of_gem
	ldp	w2, w1, [x20, #8]
	ldr	x8, [x20]
	ldp	x8, x9, [x8, #8]
	ldr	w3, [x9]
	ldr	x8, [x8]
	ldr	x9, [x0]
	add	x4, x9, x8
	mov	x0, x19
	bl	_bochs_hw_setbase
	ldr	x8, [x20]
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bochs_hw_setformat
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bochs_plane_update
.subsections_via_symbols
