	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_ppe_com_srst
_hns_ppe_com_srst:                      ## @hns_ppe_com_srst
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_dev_of_node
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_HNS_DSAF_IS_DEBUG
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movb	(%rbx), %cl
	movl	$256, %edx                      ## imm = 0x100
	shll	%cl, %edx
	testl	%r14d, %r14d
	jne	LBB0_7
## %bb.3:
	movq	_DSAF_SUB_SC_PPE_RESET_REQ_REG@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	_RESET_REQ_OR_DREQ@GOTPCREL(%rip), %rcx
	testl	%r14d, %r14d
	jne	LBB0_8
## %bb.6:
	movq	_DSAF_SUB_SC_RCB_PPE_COM_RESET_REQ_REG@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_DSAF_SUB_SC_PPE_RESET_DREQ_REG@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_DSAF_SUB_SC_RCB_PPE_COM_RESET_DREQ_REG@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rcx), %edx
LBB0_10:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dsaf_write_sub                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RESET_REQ_OR_DREQ,4,2          ## @RESET_REQ_OR_DREQ
	.comm	_DSAF_SUB_SC_RCB_PPE_COM_RESET_REQ_REG,4,2 ## @DSAF_SUB_SC_RCB_PPE_COM_RESET_REQ_REG
	.comm	_DSAF_SUB_SC_RCB_PPE_COM_RESET_DREQ_REG,4,2 ## @DSAF_SUB_SC_RCB_PPE_COM_RESET_DREQ_REG
	.comm	_DSAF_SUB_SC_PPE_RESET_REQ_REG,4,2 ## @DSAF_SUB_SC_PPE_RESET_REQ_REG
	.comm	_DSAF_SUB_SC_PPE_RESET_DREQ_REG,4,2 ## @DSAF_SUB_SC_PPE_RESET_DREQ_REG
	.no_dead_strip	_hns_ppe_com_srst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_ppe_com_srst
_hns_ppe_com_srst:                      ; @hns_ppe_com_srst
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_dev_of_node
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_HNS_DSAF_IS_DEBUG
	cbz	w0, LBB0_4
; %bb.2:
	ldr	w8, [x19]
	mov	w9, #256
	lsl	w2, w9, w8
Lloh0:
	adrp	x8, _DSAF_SUB_SC_PPE_RESET_DREQ_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DSAF_SUB_SC_PPE_RESET_DREQ_REG@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DSAF_SUB_SC_PPE_RESET_REQ_REG@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DSAF_SUB_SC_PPE_RESET_REQ_REG@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh4:
	adrp	x8, _RESET_REQ_OR_DREQ@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RESET_REQ_OR_DREQ@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x8, _DSAF_SUB_SC_RCB_PPE_COM_RESET_DREQ_REG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DSAF_SUB_SC_RCB_PPE_COM_RESET_DREQ_REG@GOTPAGEOFF]
Lloh9:
	adrp	x9, _DSAF_SUB_SC_RCB_PPE_COM_RESET_REQ_REG@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DSAF_SUB_SC_RCB_PPE_COM_RESET_REQ_REG@GOTPAGEOFF]
LBB0_5:
	cmp	w20, #0
	csel	x8, x9, x8, eq
	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	_dsaf_write_sub
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_RESET_REQ_OR_DREQ,4,2          ; @RESET_REQ_OR_DREQ
	.comm	_DSAF_SUB_SC_RCB_PPE_COM_RESET_REQ_REG,4,2 ; @DSAF_SUB_SC_RCB_PPE_COM_RESET_REQ_REG
	.comm	_DSAF_SUB_SC_RCB_PPE_COM_RESET_DREQ_REG,4,2 ; @DSAF_SUB_SC_RCB_PPE_COM_RESET_DREQ_REG
	.comm	_DSAF_SUB_SC_PPE_RESET_REQ_REG,4,2 ; @DSAF_SUB_SC_PPE_RESET_REQ_REG
	.comm	_DSAF_SUB_SC_PPE_RESET_DREQ_REG,4,2 ; @DSAF_SUB_SC_PPE_RESET_DREQ_REG
	.no_dead_strip	_hns_ppe_com_srst
.subsections_via_symbols
