	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8723e_phy_scan_operation_backup ## -- Begin function rtl8723e_phy_scan_operation_backup
	.p2align	4, 0x90
_rtl8723e_phy_scan_operation_backup:    ## @rtl8723e_phy_scan_operation_backup
	.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, %r15d
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	movq	%rax, %rdi
	callq	_is_hal_stop
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	cmpl	$128, %r15d
	je	LBB0_6
## %bb.2:
	cmpl	$129, %r15d
	jne	LBB0_7
## %bb.3:
	movq	_IO_CMD_PAUSE_BAND0_DM_BY_SCAN@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movq	_IO_CMD_RESUME_DM_BY_SCAN@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	_HW_VAR_IO_CMD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-28(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*(%rax)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IO_CMD_PAUSE_BAND0_DM_BY_SCAN,4,2 ## @IO_CMD_PAUSE_BAND0_DM_BY_SCAN
	.comm	_HW_VAR_IO_CMD,4,2              ## @HW_VAR_IO_CMD
	.comm	_IO_CMD_RESUME_DM_BY_SCAN,4,2   ## @IO_CMD_RESUME_DM_BY_SCAN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown Scan Backup operation.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8723e_phy_scan_operation_backup ; -- Begin function rtl8723e_phy_scan_operation_backup
	.p2align	2
_rtl8723e_phy_scan_operation_backup:    ; @rtl8723e_phy_scan_operation_backup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x19
	bl	_rtl_priv
	bl	_rtl_hal
	bl	_is_hal_stop
	cbnz	w0, LBB0_6
; %bb.1:
	cmp	w21, #128
	b.eq	LBB0_4
; %bb.2:
	cmp	w21, #129
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _IO_CMD_PAUSE_BAND0_DM_BY_SCAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IO_CMD_PAUSE_BAND0_DM_BY_SCAN@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _IO_CMD_RESUME_DM_BY_SCAN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IO_CMD_RESUME_DM_BY_SCAN@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh4:
	adrp	x9, _HW_VAR_IO_CMD@GOTPAGE
Lloh5:
	ldr	x9, [x9, _HW_VAR_IO_CMD@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x9]
	add	x2, sp, #12
	mov	x0, x19
	blr	x8
LBB0_6:
	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
	add	sp, sp, #64
	ret
LBB0_7:
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	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
	add	sp, sp, #64
	b	_pr_err
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IO_CMD_PAUSE_BAND0_DM_BY_SCAN,4,2 ; @IO_CMD_PAUSE_BAND0_DM_BY_SCAN
	.comm	_HW_VAR_IO_CMD,4,2              ; @HW_VAR_IO_CMD
	.comm	_IO_CMD_RESUME_DM_BY_SCAN,4,2   ; @IO_CMD_RESUME_DM_BY_SCAN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown Scan Backup operation.\n"

.subsections_via_symbols
