	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7603_pse_client_reset        ## -- Begin function mt7603_pse_client_reset
	.p2align	4, 0x90
_mt7603_pse_client_reset:               ## @mt7603_pse_client_reset
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_MT_CLIENT_BASE_PHYS_ADDR@GOTPCREL(%rip), %rax
	movq	_MT_CLIENT_RESET_TX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	callq	_mt7603_reg_map
	movq	_MT_CLIENT_RESET_TX_R_E_1@GOTPCREL(%rip), %r15
	movq	_MT_CLIENT_RESET_TX_R_E_2@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	orl	(%r15), %edx
	movq	_MT_CLIENT_RESET_TX_R_E_1_S@GOTPCREL(%rip), %r13
	orl	(%r13), %edx
	movl	%eax, %r14d
	movq	_MT_CLIENT_RESET_TX_R_E_2_S@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_mt76_clear
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_mt76_set
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%ecx, %edx
	movl	$500, %r8d                      ## imm = 0x1F4
	callq	_mt76_poll_msec
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_mt76_set
	movq	_MT_WPDMA_GLO_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MT_WPDMA_GLO_CFG_SW_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mt76_set
	movq	_MT_CLIENT_RESET_TX_R_E_2_S@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%ecx, %edx
	movl	$500, %r8d                      ## imm = 0x1F4
	callq	_mt76_poll_msec
	movl	(%r12), %edx
	orl	(%r15), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mt76_clear                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_CLIENT_BASE_PHYS_ADDR,8,3   ## @MT_CLIENT_BASE_PHYS_ADDR
	.comm	_MT_CLIENT_RESET_TX,8,3         ## @MT_CLIENT_RESET_TX
	.comm	_MT_CLIENT_RESET_TX_R_E_1,4,2   ## @MT_CLIENT_RESET_TX_R_E_1
	.comm	_MT_CLIENT_RESET_TX_R_E_2,4,2   ## @MT_CLIENT_RESET_TX_R_E_2
	.comm	_MT_CLIENT_RESET_TX_R_E_1_S,4,2 ## @MT_CLIENT_RESET_TX_R_E_1_S
	.comm	_MT_CLIENT_RESET_TX_R_E_2_S,4,2 ## @MT_CLIENT_RESET_TX_R_E_2_S
	.comm	_MT_WPDMA_GLO_CFG,4,2           ## @MT_WPDMA_GLO_CFG
	.comm	_MT_WPDMA_GLO_CFG_SW_RESET,4,2  ## @MT_WPDMA_GLO_CFG_SW_RESET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7603_pse_client_reset        ; -- Begin function mt7603_pse_client_reset
	.p2align	2
_mt7603_pse_client_reset:               ; @mt7603_pse_client_reset
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _MT_CLIENT_BASE_PHYS_ADDR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT_CLIENT_BASE_PHYS_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MT_CLIENT_RESET_TX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MT_CLIENT_RESET_TX@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_mt7603_reg_map
	mov	x20, x0
Lloh6:
	adrp	x21, _MT_CLIENT_RESET_TX_R_E_1@GOTPAGE
Lloh7:
	ldr	x21, [x21, _MT_CLIENT_RESET_TX_R_E_1@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh8:
	adrp	x22, _MT_CLIENT_RESET_TX_R_E_2@GOTPAGE
Lloh9:
	ldr	x22, [x22, _MT_CLIENT_RESET_TX_R_E_2@GOTPAGEOFF]
	ldr	w9, [x22]
	orr	w8, w9, w8
Lloh10:
	adrp	x23, _MT_CLIENT_RESET_TX_R_E_1_S@GOTPAGE
Lloh11:
	ldr	x23, [x23, _MT_CLIENT_RESET_TX_R_E_1_S@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w8, w8, w9
Lloh12:
	adrp	x24, _MT_CLIENT_RESET_TX_R_E_2_S@GOTPAGE
Lloh13:
	ldr	x24, [x24, _MT_CLIENT_RESET_TX_R_E_2_S@GOTPAGEOFF]
	ldr	w9, [x24]
	orr	w2, w8, w9
	mov	x0, x19
	mov	x1, x20
	bl	_mt76_clear
	ldr	w2, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_mt76_set
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x20
	mov	x3, x2
	mov	w4, #500
	bl	_mt76_poll_msec
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_mt76_set
Lloh14:
	adrp	x8, _MT_WPDMA_GLO_CFG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MT_WPDMA_GLO_CFG@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _MT_WPDMA_GLO_CFG_SW_RESET@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MT_WPDMA_GLO_CFG_SW_RESET@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mt76_set
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x20
	mov	x3, x2
	mov	w4, #500
	bl	_mt76_poll_msec
	ldr	w8, [x21]
	ldr	w9, [x22]
	orr	w2, w9, w8
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mt76_clear
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_CLIENT_BASE_PHYS_ADDR,8,3   ; @MT_CLIENT_BASE_PHYS_ADDR
	.comm	_MT_CLIENT_RESET_TX,8,3         ; @MT_CLIENT_RESET_TX
	.comm	_MT_CLIENT_RESET_TX_R_E_1,4,2   ; @MT_CLIENT_RESET_TX_R_E_1
	.comm	_MT_CLIENT_RESET_TX_R_E_2,4,2   ; @MT_CLIENT_RESET_TX_R_E_2
	.comm	_MT_CLIENT_RESET_TX_R_E_1_S,4,2 ; @MT_CLIENT_RESET_TX_R_E_1_S
	.comm	_MT_CLIENT_RESET_TX_R_E_2_S,4,2 ; @MT_CLIENT_RESET_TX_R_E_2_S
	.comm	_MT_WPDMA_GLO_CFG,4,2           ; @MT_WPDMA_GLO_CFG
	.comm	_MT_WPDMA_GLO_CFG_SW_RESET,4,2  ; @MT_WPDMA_GLO_CFG_SW_RESET
.subsections_via_symbols
