	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92d_phy_pimode_switch
__rtl92d_phy_pimode_switch:             ## @_rtl92d_phy_pimode_switch
	.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, %r14
	callq	_rtl_priv
	movq	_FINIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_INIT_IQK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	xorl	%ebx, %ebx
	testl	%r15d, %r15d
	setne	%bl
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %r8
	cmoveq	%rcx, %r8
	leaq	L_.str(%rip), %rcx
	movq	%rax, %rdi
	callq	_RTPRINT
	shll	$8, %ebx
	orl	$16777216, %ebx                 ## imm = 0x1000000
	movq	_MASKDWORD@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	$2080, %esi                     ## imm = 0x820
	movl	%ebx, %ecx
	callq	_rtl_set_bbreg
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	$2088, %esi                     ## imm = 0x828
	movl	%ebx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_set_bbreg                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FINIT,4,2                      ## @FINIT
	.comm	_INIT_IQK,4,2                   ## @INIT_IQK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BB Switch to %s mode!\n"

L_.str.1:                               ## @.str.1
	.asciz	"PI"

L_.str.2:                               ## @.str.2
	.asciz	"SI"

	.comm	_MASKDWORD,4,2                  ## @MASKDWORD
	.no_dead_strip	__rtl92d_phy_pimode_switch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl92d_phy_pimode_switch
__rtl92d_phy_pimode_switch:             ; @_rtl92d_phy_pimode_switch
	.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	_rtl_priv
Lloh0:
	adrp	x8, _FINIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FINIT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _INIT_IQK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INIT_IQK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, l_.str.1@PAGE
Lloh7:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh8:
	adrp	x9, l_.str.2@PAGE
Lloh9:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w19, #0
	csel	x4, x9, x8, eq
Lloh10:
	adrp	x3, l_.str@PAGE
Lloh11:
	add	x3, x3, l_.str@PAGEOFF
	mov	w8, #16777472
	mov	w9, #16777216
	csel	w19, w9, w8, eq
	bl	_RTPRINT
Lloh12:
	adrp	x21, _MASKDWORD@GOTPAGE
Lloh13:
	ldr	x21, [x21, _MASKDWORD@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x20
	mov	w1, #2080
	mov	x3, x19
	bl	_rtl_set_bbreg
	ldr	w2, [x21]
	mov	x0, x20
	mov	w1, #2088
	mov	x3, x19
	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
	b	_rtl_set_bbreg
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FINIT,4,2                      ; @FINIT
	.comm	_INIT_IQK,4,2                   ; @INIT_IQK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BB Switch to %s mode!\n"

l_.str.1:                               ; @.str.1
	.asciz	"PI"

l_.str.2:                               ; @.str.2
	.asciz	"SI"

	.comm	_MASKDWORD,4,2                  ; @MASKDWORD
	.no_dead_strip	__rtl92d_phy_pimode_switch
.subsections_via_symbols
