	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92s_phy_scan_operation_backup ## -- Begin function rtl92s_phy_scan_operation_backup
	.p2align	4, 0x90
_rtl92s_phy_scan_operation_backup:      ## @rtl92s_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_rtl_priv
	movl	%eax, %edi
	callq	_rtl_hal
	movq	%rax, %rdi
	callq	_is_hal_stop
	testl	%eax, %eax
	je	LBB0_1
## %bb.7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	cmpl	$128, %r14d
	je	LBB0_5
## %bb.2:
	cmpl	$129, %r14d
	jne	LBB0_6
## %bb.3:
	movq	_FW_CMD_PAUSE_DM_BY_SCAN@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	movq	_FW_CMD_RESUME_DM_BY_SCAN@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rtl92s_phy_set_fw_cmd          ## TAILCALL
LBB0_6:
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pr_err                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_CMD_PAUSE_DM_BY_SCAN,4,2    ## @FW_CMD_PAUSE_DM_BY_SCAN
	.comm	_FW_CMD_RESUME_DM_BY_SCAN,4,2   ## @FW_CMD_RESUME_DM_BY_SCAN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown operation\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92s_phy_scan_operation_backup ; -- Begin function rtl92s_phy_scan_operation_backup
	.p2align	2
_rtl92s_phy_scan_operation_backup:      ; @rtl92s_phy_scan_operation_backup
	.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
	bl	_rtl_priv
	bl	_rtl_hal
	bl	_is_hal_stop
	cbz	w0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	cmp	w20, #128
	b.eq	LBB0_5
; %bb.3:
	cmp	w20, #129
	b.ne	LBB0_7
; %bb.4:
Lloh0:
	adrp	x8, _FW_CMD_PAUSE_DM_BY_SCAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_CMD_PAUSE_DM_BY_SCAN@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _FW_CMD_RESUME_DM_BY_SCAN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FW_CMD_RESUME_DM_BY_SCAN@GOTPAGEOFF]
LBB0_6:
	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	_rtl92s_phy_set_fw_cmd
LBB0_7:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	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	_pr_err
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_CMD_PAUSE_DM_BY_SCAN,4,2    ; @FW_CMD_PAUSE_DM_BY_SCAN
	.comm	_FW_CMD_RESUME_DM_BY_SCAN,4,2   ; @FW_CMD_RESUME_DM_BY_SCAN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown operation\n"

.subsections_via_symbols
