	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dispc_wb_go
_dispc_wb_go:                           ## @dispc_wb_go
	.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	%rdi, %rbx
	movq	_OMAP_DSS_WB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_DISPC_OVL_ATTRIBUTES
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_REG_GET
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.1:
	movq	_DISPC_CONTROL2@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$6, %edx
	movl	$6, %ecx
	callq	_REG_GET
	cmpl	$1, %eax
	jne	LBB0_2
## %bb.4:
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DSSERR                         ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	movl	$6, %ecx
	movl	$6, %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_REG_FLD_MOD                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OMAP_DSS_WB,4,2                ## @OMAP_DSS_WB
	.comm	_DISPC_CONTROL2,4,2             ## @DISPC_CONTROL2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GO bit not down for WB\n"

	.no_dead_strip	_dispc_wb_go
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dispc_wb_go
_dispc_wb_go:                           ; @dispc_wb_go
	.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, x0
Lloh0:
	adrp	x8, _OMAP_DSS_WB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OMAP_DSS_WB@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_DISPC_OVL_ATTRIBUTES
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	mov	w3, #0
	bl	_REG_GET
	cmp	w0, #1
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x20, _DISPC_CONTROL2@GOTPAGE
Lloh4:
	ldr	x20, [x20, _DISPC_CONTROL2@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #6
	mov	w3, #6
	bl	_REG_GET
	cmp	w0, #1
	b.ne	LBB0_4
; %bb.2:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DSSERR
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #1
	mov	w3, #6
	mov	w4, #6
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_FLD_MOD
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_OMAP_DSS_WB,4,2                ; @OMAP_DSS_WB
	.comm	_DISPC_CONTROL2,4,2             ; @DISPC_CONTROL2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GO bit not down for WB\n"

	.no_dead_strip	_dispc_wb_go
.subsections_via_symbols
