	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl_pci_update_default_setting
__rtl_pci_update_default_setting:       ## @_rtl_pci_update_default_setting
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_rtl_pcipriv
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_psc
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_rtl_pcipriv
	movq	%rax, %rdi
	callq	_rtl_pcidev
	movq	%rax, %rbx
	movl	(%r12), %eax
	movq	$0, (%r15)
	movl	16(%rbx), %ecx
	movl	%ecx, 12(%r15)
	movl	(%rbx), %ecx
	decl	%ecx
	cmpl	$3, %ecx
	ja	LBB0_1
## %bb.2:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_3:
	movq	_RT_RF_LPS_LEVEL_ASPM@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_1:
	xorl	%ecx, %ecx
	jmp	LBB0_10
LBB0_4:
	movq	_RT_RF_LPS_LEVEL_ASPM@GOTPCREL(%rip), %rdx
	jmp	LBB0_5
LBB0_6:
	movq	_RT_RF_PS_LEVEL_ALWAYS_ASPM@GOTPCREL(%rip), %rdx
LBB0_5:
	movq	_RT_RF_OFF_LEVL_CLK_REQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	jmp	LBB0_9
LBB0_7:
	movq	_RT_RF_PS_LEVEL_ALWAYS_ASPM@GOTPCREL(%rip), %rcx
LBB0_8:
	movl	(%rcx), %ecx
LBB0_9:
	movl	%ecx, (%r15)
LBB0_10:
	movq	_RT_RF_OFF_LEVL_HALT_NIC@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%r15)
	movl	4(%rbx), %esi
	cmpl	$3, %esi
	je	LBB0_18
## %bb.11:
	cmpl	$2, %esi
	je	LBB0_15
## %bb.12:
	cmpl	$1, %esi
	jne	LBB0_21
## %bb.13:
	movq	_RT_RF_LPS_LEVEL_ASPM@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_21
## %bb.14:
	movq	_RT_RF_OFF_LEVL_ASPM@GOTPCREL(%rip), %rdx
	jmp	LBB0_19
LBB0_15:
	movq	_RT_RF_LPS_LEVEL_ASPM@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_17
## %bb.16:
	movq	_RT_RF_OFF_LEVL_ASPM@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	movl	%ecx, (%r15)
LBB0_17:
	movl	%ecx, %esi
	movl	(%rdx), %ecx
	jmp	LBB0_20
LBB0_18:
	movq	_RT_RF_OFF_LEVL_PCI_D3@GOTPCREL(%rip), %rdx
LBB0_19:
	movl	(%rdx), %esi
LBB0_20:
	orl	%esi, %ecx
	movl	%ecx, (%r15)
LBB0_21:
	movl	8(%rbx), %esi
	cmpl	$2, %esi
	je	LBB0_26
## %bb.22:
	cmpl	$1, %esi
	je	LBB0_25
## %bb.23:
	testl	%esi, %esi
	jne	LBB0_28
## %bb.24:
	movl	$0, 4(%r15)
	jmp	LBB0_29
LBB0_25:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 4(%r15)
	jmp	LBB0_29
LBB0_26:
	movq	_PCI_BRIDGE_VENDOR_INTEL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_29
## %bb.27:
	movl	$1, 4(%r15)
	jmp	LBB0_29
LBB0_28:
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
LBB0_29:
	movl	12(%rbx), %edi
	leaq	-36(%rbp), %rdx
	movl	$128, %esi
	callq	_pci_read_config_byte
	movq	(%r14), %rax
	movq	_HARDWARE_TYPE_RTL8192SE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_32
## %bb.30:
	cmpl	$67, -36(%rbp)
	jne	LBB0_32
## %bb.31:
	movl	$0, 4(%r15)
LBB0_32:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_RT_RF_LPS_LEVEL_ASPM,4,2       ## @RT_RF_LPS_LEVEL_ASPM
	.comm	_RT_RF_OFF_LEVL_CLK_REQ,4,2     ## @RT_RF_OFF_LEVL_CLK_REQ
	.comm	_RT_RF_PS_LEVEL_ALWAYS_ASPM,4,2 ## @RT_RF_PS_LEVEL_ALWAYS_ASPM
	.comm	_RT_RF_OFF_LEVL_HALT_NIC,4,2    ## @RT_RF_OFF_LEVL_HALT_NIC
	.comm	_RT_RF_OFF_LEVL_ASPM,4,2        ## @RT_RF_OFF_LEVL_ASPM
	.comm	_RT_RF_OFF_LEVL_PCI_D3,4,2      ## @RT_RF_OFF_LEVL_PCI_D3
	.comm	_PCI_BRIDGE_VENDOR_INTEL,4,2    ## @PCI_BRIDGE_VENDOR_INTEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"switch case %#x not processed\n"

	.comm	_HARDWARE_TYPE_RTL8192SE,8,3    ## @HARDWARE_TYPE_RTL8192SE
	.no_dead_strip	__rtl_pci_update_default_setting
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl_pci_update_default_setting
__rtl_pci_update_default_setting:       ; @_rtl_pci_update_default_setting
	.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, x0
	bl	_rtl_priv
	mov	x19, x0
	mov	x0, x21
	bl	_rtl_pcipriv
	mov	x22, x0
	mov	x0, x21
	bl	_rtl_priv
	bl	_rtl_psc
	mov	x20, x0
	mov	x0, x21
	bl	_rtl_pcipriv
	bl	_rtl_pcidev
	mov	x21, x0
	ldr	w8, [x22]
	str	xzr, [x20]
	ldr	w9, [x0, #16]
	str	w9, [x20, #12]
	ldr	w9, [x0]
	sub	w9, w9, #1
	cmp	w9, #3
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh2:
	adrp	x9, _RT_RF_LPS_LEVEL_ASPM@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RT_RF_LPS_LEVEL_ASPM@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
	mov	w9, #0
	b	LBB0_10
LBB0_4:
Lloh4:
	adrp	x9, _RT_RF_LPS_LEVEL_ASPM@GOTPAGE
Lloh5:
	ldr	x9, [x9, _RT_RF_LPS_LEVEL_ASPM@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x9, _RT_RF_PS_LEVEL_ALWAYS_ASPM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RT_RF_PS_LEVEL_ALWAYS_ASPM@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _RT_RF_OFF_LEVL_CLK_REQ@GOTPAGE
Lloh9:
	ldr	x10, [x10, _RT_RF_OFF_LEVL_CLK_REQ@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w10, w9
	b	LBB0_9
LBB0_7:
Lloh11:
	adrp	x9, _RT_RF_PS_LEVEL_ALWAYS_ASPM@GOTPAGE
Lloh12:
	ldr	x9, [x9, _RT_RF_PS_LEVEL_ALWAYS_ASPM@GOTPAGEOFF]
LBB0_8:
	ldr	w9, [x9]
LBB0_9:
	str	w9, [x20]
LBB0_10:
Lloh13:
	adrp	x10, _RT_RF_OFF_LEVL_HALT_NIC@GOTPAGE
Lloh14:
	ldr	x10, [x10, _RT_RF_OFF_LEVL_HALT_NIC@GOTPAGEOFF]
	ldr	w11, [x10]
	orr	w9, w9, w11
	str	w9, [x20]
	ldr	w11, [x21, #4]
	cmp	w11, #3
	b.eq	LBB0_18
; %bb.11:
	cmp	w11, #2
	b.eq	LBB0_15
; %bb.12:
	cmp	w11, #1
	b.ne	LBB0_21
; %bb.13:
Lloh15:
	adrp	x10, _RT_RF_LPS_LEVEL_ASPM@GOTPAGE
Lloh16:
	ldr	x10, [x10, _RT_RF_LPS_LEVEL_ASPM@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_21
; %bb.14:
Lloh18:
	adrp	x10, _RT_RF_OFF_LEVL_ASPM@GOTPAGE
Lloh19:
	ldr	x10, [x10, _RT_RF_OFF_LEVL_ASPM@GOTPAGEOFF]
	b	LBB0_19
LBB0_15:
Lloh20:
	adrp	x11, _RT_RF_LPS_LEVEL_ASPM@GOTPAGE
Lloh21:
	ldr	x11, [x11, _RT_RF_LPS_LEVEL_ASPM@GOTPAGEOFF]
Lloh22:
	ldr	w11, [x11]
	tst	w11, w9
	b.eq	LBB0_17
; %bb.16:
Lloh23:
	adrp	x11, _RT_RF_OFF_LEVL_ASPM@GOTPAGE
Lloh24:
	ldr	x11, [x11, _RT_RF_OFF_LEVL_ASPM@GOTPAGEOFF]
Lloh25:
	ldr	w11, [x11]
	orr	w9, w11, w9
	str	w9, [x20]
LBB0_17:
	mov	x11, x9
	ldr	w9, [x10]
	b	LBB0_20
LBB0_18:
Lloh26:
	adrp	x10, _RT_RF_OFF_LEVL_PCI_D3@GOTPAGE
Lloh27:
	ldr	x10, [x10, _RT_RF_OFF_LEVL_PCI_D3@GOTPAGEOFF]
LBB0_19:
	ldr	w11, [x10]
LBB0_20:
	orr	w9, w11, w9
	str	w9, [x20]
LBB0_21:
	ldr	w1, [x21, #8]
	cmp	w1, #2
	b.eq	LBB0_26
; %bb.22:
	cmp	w1, #1
	b.eq	LBB0_25
; %bb.23:
	cbnz	w1, LBB0_28
; %bb.24:
	str	wzr, [x20, #4]
	b	LBB0_29
LBB0_25:
	movi.2s	v0, #1
	stur	d0, [x20, #4]
	b	LBB0_29
LBB0_26:
Lloh28:
	adrp	x9, _PCI_BRIDGE_VENDOR_INTEL@GOTPAGE
Lloh29:
	ldr	x9, [x9, _PCI_BRIDGE_VENDOR_INTEL@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_29
; %bb.27:
	mov	w8, #1
	str	w8, [x20, #4]
	b	LBB0_29
LBB0_28:
Lloh31:
	adrp	x0, l_.str@PAGE
Lloh32:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
LBB0_29:
	ldr	w0, [x21, #12]
	add	x2, sp, #12
	mov	w1, #128
	bl	_pci_read_config_byte
	ldr	x8, [x19]
Lloh33:
	adrp	x9, _HARDWARE_TYPE_RTL8192SE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _HARDWARE_TYPE_RTL8192SE@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_32
; %bb.30:
	ldr	w8, [sp, #12]
	cmp	w8, #67
	b.ne	LBB0_32
; %bb.31:
	str	wzr, [x20, #4]
LBB0_32:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_RT_RF_LPS_LEVEL_ASPM,4,2       ; @RT_RF_LPS_LEVEL_ASPM
	.comm	_RT_RF_OFF_LEVL_CLK_REQ,4,2     ; @RT_RF_OFF_LEVL_CLK_REQ
	.comm	_RT_RF_PS_LEVEL_ALWAYS_ASPM,4,2 ; @RT_RF_PS_LEVEL_ALWAYS_ASPM
	.comm	_RT_RF_OFF_LEVL_HALT_NIC,4,2    ; @RT_RF_OFF_LEVL_HALT_NIC
	.comm	_RT_RF_OFF_LEVL_ASPM,4,2        ; @RT_RF_OFF_LEVL_ASPM
	.comm	_RT_RF_OFF_LEVL_PCI_D3,4,2      ; @RT_RF_OFF_LEVL_PCI_D3
	.comm	_PCI_BRIDGE_VENDOR_INTEL,4,2    ; @PCI_BRIDGE_VENDOR_INTEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"switch case %#x not processed\n"

	.comm	_HARDWARE_TYPE_RTL8192SE,8,3    ; @HARDWARE_TYPE_RTL8192SE
	.no_dead_strip	__rtl_pci_update_default_setting
.subsections_via_symbols
