	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _dpu_encoder_phys_cmd_pingpong_config
__dpu_encoder_phys_cmd_pingpong_config: ## @_dpu_encoder_phys_cmd_pingpong_config
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_to_dpu_encoder_phys_cmd
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	16(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.2:
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.3:
	cmpl	$0, (%rcx)
	je	LBB0_4
## %bb.5:
	movq	(%rdx), %rdx
	movq	_PINGPONG_0@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rdx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_DPU_DEBUG_CMDENC
	movq	%rbx, %rdi
	callq	_drm_mode_debug_printmodeline
	movq	%rbx, %rdi
	callq	__dpu_encoder_phys_cmd_update_intf_cfg
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dpu_encoder_phys_cmd_tearcheck_config ## TAILCALL
LBB0_4:
	xorl	%esi, %esi
	testq	%rbx, %rbx
	setne	%sil
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_DPU_ERROR                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid arg(s), enc %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"pp %d, enabling mode:\n"

	.comm	_PINGPONG_0,8,3                 ## @PINGPONG_0
	.no_dead_strip	__dpu_encoder_phys_cmd_pingpong_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _dpu_encoder_phys_cmd_pingpong_config
__dpu_encoder_phys_cmd_pingpong_config: ; @_dpu_encoder_phys_cmd_pingpong_config
	.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
	bl	_to_dpu_encoder_phys_cmd
	cbz	x19, LBB0_5
; %bb.1:
	ldr	x9, [x19, #16]
	cbz	x9, LBB0_5
; %bb.2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	w9, [x9]
	cbz	w9, LBB0_5
; %bb.4:
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _PINGPONG_0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PINGPONG_0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	sub	x2, x8, x9
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DPU_DEBUG_CMDENC
	mov	x0, x19
	bl	_drm_mode_debug_printmodeline
	mov	x0, x19
	bl	__dpu_encoder_phys_cmd_update_intf_cfg
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dpu_encoder_phys_cmd_tearcheck_config
LBB0_5:
	cmp	x19, #0
	cset	w1, ne
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	_DPU_ERROR
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid arg(s), enc %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"pp %d, enabling mode:\n"

	.comm	_PINGPONG_0,8,3                 ; @PINGPONG_0
	.no_dead_strip	__dpu_encoder_phys_cmd_pingpong_config
.subsections_via_symbols
