	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce_abm_set_pipe
_dce_abm_set_pipe:                      ## @dce_abm_set_pipe
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_TO_DCE_ABM
	cmpl	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_MASTER_COMM_CNTL_REG@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_MASTER_COMM_INTERRUPT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	movl	$80000, %r8d                    ## imm = 0x13880
	callq	_REG_WAIT
	movq	_MASTER_COMM_DATA_REG1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$65535, %esi                    ## imm = 0xFFFF
	callq	_REG_WRITE
	movq	_MASTER_COMM_CMD_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MASTER_COMM_CMD_REG_BYTE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MCP_ABM_PIPE_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MASTER_COMM_CMD_REG_BYTE1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %r8d
	callq	_REG_UPDATE_2
	movl	(%r15), %edi
	movl	(%rbx), %esi
	movl	$1, %edx
	callq	_REG_UPDATE
LBB0_2:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MASTER_COMM_CNTL_REG,4,2       ## @MASTER_COMM_CNTL_REG
	.comm	_MASTER_COMM_INTERRUPT,4,2      ## @MASTER_COMM_INTERRUPT
	.comm	_MASTER_COMM_DATA_REG1,4,2      ## @MASTER_COMM_DATA_REG1
	.comm	_MASTER_COMM_CMD_REG,4,2        ## @MASTER_COMM_CMD_REG
	.comm	_MASTER_COMM_CMD_REG_BYTE0,4,2  ## @MASTER_COMM_CMD_REG_BYTE0
	.comm	_MCP_ABM_PIPE_SET,4,2           ## @MCP_ABM_PIPE_SET
	.comm	_MASTER_COMM_CMD_REG_BYTE1,4,2  ## @MASTER_COMM_CMD_REG_BYTE1
	.no_dead_strip	_dce_abm_set_pipe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce_abm_set_pipe
_dce_abm_set_pipe:                      ; @dce_abm_set_pipe
	.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	x19, x1
	mov	x20, x0
	bl	_TO_DCE_ABM
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x20, _MASTER_COMM_CNTL_REG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MASTER_COMM_CNTL_REG@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x21, _MASTER_COMM_INTERRUPT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _MASTER_COMM_INTERRUPT@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w2, #0
	mov	w3, #1
	mov	w4, #14464
	movk	w4, #1, lsl #16
	bl	_REG_WAIT
Lloh4:
	adrp	x8, _MASTER_COMM_DATA_REG1@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MASTER_COMM_DATA_REG1@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	w1, #65535
	bl	_REG_WRITE
Lloh7:
	adrp	x8, _MASTER_COMM_CMD_REG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MASTER_COMM_CMD_REG@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x8, _MASTER_COMM_CMD_REG_BYTE0@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MASTER_COMM_CMD_REG_BYTE0@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _MCP_ABM_PIPE_SET@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MCP_ABM_PIPE_SET@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _MASTER_COMM_CMD_REG_BYTE1@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MASTER_COMM_CMD_REG_BYTE1@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x4, x19
	bl	_REG_UPDATE_2
	ldr	w0, [x20]
	ldr	w1, [x21]
	mov	w2, #1
	bl	_REG_UPDATE
LBB0_2:
	mov	w0, #1
	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
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MASTER_COMM_CNTL_REG,4,2       ; @MASTER_COMM_CNTL_REG
	.comm	_MASTER_COMM_INTERRUPT,4,2      ; @MASTER_COMM_INTERRUPT
	.comm	_MASTER_COMM_DATA_REG1,4,2      ; @MASTER_COMM_DATA_REG1
	.comm	_MASTER_COMM_CMD_REG,4,2        ; @MASTER_COMM_CMD_REG
	.comm	_MASTER_COMM_CMD_REG_BYTE0,4,2  ; @MASTER_COMM_CMD_REG_BYTE0
	.comm	_MCP_ABM_PIPE_SET,4,2           ; @MCP_ABM_PIPE_SET
	.comm	_MASTER_COMM_CMD_REG_BYTE1,4,2  ; @MASTER_COMM_CMD_REG_BYTE1
	.no_dead_strip	_dce_abm_set_pipe
.subsections_via_symbols
