	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2500pci_config_erp
_rt2500pci_config_erp:                  ## @rt2500pci_config_erp
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	_BSS_CHANGED_ERP_PREAMBLE@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_2
## %bb.1:
	movl	(%r14), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_TXCSR1@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_read
	movl	%eax, -44(%rbp)
	movq	_TXCSR1_ACK_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %r12
	movq	%r12, %rdi
	movl	$354, %edx                      ## imm = 0x162
	callq	_rt2x00_set_field32
	movq	_TXCSR1_ACK_CONSUME_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$162, %edx
	callq	_rt2x00_set_field32
	movq	_TXCSR1_TSF_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IEEE80211_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_rt2x00_set_field32
	movq	_TXCSR1_AUTORESPONDER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_rt2x00_set_field32
	movl	(%r15), %esi
	movl	-44(%rbp), %edx
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_write
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movq	_ARCSR2@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_read
	movl	%eax, -44(%rbp)
	movq	_ARCSR2_SIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_rt2x00_set_field32
	movq	_ARCSR2_SERVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_rt2x00_set_field32
	movq	_ARCSR2_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ACK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$10, %esi
	callq	_GET_DURATION
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movl	(%r15), %esi
	movl	-44(%rbp), %edx
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_write
	movq	_ARCSR3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_read
	movl	%eax, -44(%rbp)
	movq	_ARCSR3_SIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	leal	1(,%r15,8), %edx
	movq	%r12, %rdi
	callq	_rt2x00_set_field32
	movq	_ARCSR3_SERVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_rt2x00_set_field32
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	_ARCSR2_LENGTH@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	_ACK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$20, %esi
	callq	_GET_DURATION
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_ARCSR3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edx
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_write
	movq	_ARCSR4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_read
	movl	%eax, -44(%rbp)
	movq	_ARCSR4_SIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	2(,%r15,8), %edx
	movq	%r12, %rdi
	callq	_rt2x00_set_field32
	movq	_ARCSR4_SERVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_rt2x00_set_field32
	movl	(%r14), %ebx
	movq	_ACK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$55, %esi
	callq	_GET_DURATION
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_ARCSR4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edx
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_write
	movq	_ARCSR5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_read
	movl	%eax, -44(%rbp)
	movq	_ARCSR5_SIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	3(,%r15,8), %edx
	movq	%r12, %rdi
	callq	_rt2x00_set_field32
	movq	_ARCSR5_SERVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$132, %edx
	callq	_rt2x00_set_field32
	movl	(%r14), %ebx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	_ACK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$110, %esi
	callq	_GET_DURATION
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_rt2x00_set_field32
	movq	_ARCSR5@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	-44(%rbp), %edx
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_write
LBB0_2:
	movq	_BSS_CHANGED_BASIC_RATES@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_ARCSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %edx
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_write
LBB0_4:
	movq	_BSS_CHANGED_ERP_SLOT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_CSR11@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_read
	movl	%eax, -44(%rbp)
	movq	_CSR11_SLOT_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r14), %edx
	leaq	-44(%rbp), %r12
	movq	%r12, %rdi
	callq	_rt2x00_set_field32
	movl	(%r15), %esi
	movl	-44(%rbp), %edx
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_write
	movq	_CSR18@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_read
	movl	%eax, -44(%rbp)
	movq	_CSR18_SIFS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r14), %edx
	movq	%r12, %rdi
	callq	_rt2x00_set_field32
	movq	_CSR18_PIFS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r14), %edx
	movq	%r12, %rdi
	callq	_rt2x00_set_field32
	movl	(%r15), %esi
	movl	-44(%rbp), %edx
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_write
	movq	_CSR19@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_read
	movl	%eax, -44(%rbp)
	movq	_CSR19_DIFS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%r14), %edx
	movq	%r12, %rdi
	callq	_rt2x00_set_field32
	movq	_CSR19_EIFS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r14), %edx
	movq	%r12, %rdi
	callq	_rt2x00_set_field32
	movl	(%r15), %esi
	movl	-44(%rbp), %edx
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_write
LBB0_6:
	movq	_BSS_CHANGED_BEACON_INT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_CSR12@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_read
	movl	%eax, -44(%rbp)
	movq	_CSR12_BEACON_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%r14), %edx
	shll	$4, %edx
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_rt2x00_set_field32
	movq	_CSR12_CFP_MAX_DURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	28(%r14), %edx
	shll	$4, %edx
	movq	%rbx, %rdi
	callq	_rt2x00_set_field32
	movl	(%r15), %esi
	movl	-44(%rbp), %edx
	movq	%r13, %rdi
	callq	_rt2x00mmio_register_write
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BSS_CHANGED_ERP_PREAMBLE,4,2   ## @BSS_CHANGED_ERP_PREAMBLE
	.comm	_TXCSR1,4,2                     ## @TXCSR1
	.comm	_TXCSR1_ACK_TIMEOUT,4,2         ## @TXCSR1_ACK_TIMEOUT
	.comm	_TXCSR1_ACK_CONSUME_TIME,4,2    ## @TXCSR1_ACK_CONSUME_TIME
	.comm	_TXCSR1_TSF_OFFSET,4,2          ## @TXCSR1_TSF_OFFSET
	.comm	_IEEE80211_HEADER,4,2           ## @IEEE80211_HEADER
	.comm	_TXCSR1_AUTORESPONDER,4,2       ## @TXCSR1_AUTORESPONDER
	.comm	_ARCSR2,4,2                     ## @ARCSR2
	.comm	_ARCSR2_SIGNAL,4,2              ## @ARCSR2_SIGNAL
	.comm	_ARCSR2_SERVICE,4,2             ## @ARCSR2_SERVICE
	.comm	_ARCSR2_LENGTH,4,2              ## @ARCSR2_LENGTH
	.comm	_ACK_SIZE,4,2                   ## @ACK_SIZE
	.comm	_ARCSR3,4,2                     ## @ARCSR3
	.comm	_ARCSR3_SIGNAL,4,2              ## @ARCSR3_SIGNAL
	.comm	_ARCSR3_SERVICE,4,2             ## @ARCSR3_SERVICE
	.comm	_ARCSR4,4,2                     ## @ARCSR4
	.comm	_ARCSR4_SIGNAL,4,2              ## @ARCSR4_SIGNAL
	.comm	_ARCSR4_SERVICE,4,2             ## @ARCSR4_SERVICE
	.comm	_ARCSR5,4,2                     ## @ARCSR5
	.comm	_ARCSR5_SIGNAL,4,2              ## @ARCSR5_SIGNAL
	.comm	_ARCSR5_SERVICE,4,2             ## @ARCSR5_SERVICE
	.comm	_BSS_CHANGED_BASIC_RATES,4,2    ## @BSS_CHANGED_BASIC_RATES
	.comm	_ARCSR1,4,2                     ## @ARCSR1
	.comm	_BSS_CHANGED_ERP_SLOT,4,2       ## @BSS_CHANGED_ERP_SLOT
	.comm	_CSR11,4,2                      ## @CSR11
	.comm	_CSR11_SLOT_TIME,4,2            ## @CSR11_SLOT_TIME
	.comm	_CSR18,4,2                      ## @CSR18
	.comm	_CSR18_SIFS,4,2                 ## @CSR18_SIFS
	.comm	_CSR18_PIFS,4,2                 ## @CSR18_PIFS
	.comm	_CSR19,4,2                      ## @CSR19
	.comm	_CSR19_DIFS,4,2                 ## @CSR19_DIFS
	.comm	_CSR19_EIFS,4,2                 ## @CSR19_EIFS
	.comm	_BSS_CHANGED_BEACON_INT,4,2     ## @BSS_CHANGED_BEACON_INT
	.comm	_CSR12,4,2                      ## @CSR12
	.comm	_CSR12_BEACON_INTERVAL,4,2      ## @CSR12_BEACON_INTERVAL
	.comm	_CSR12_CFP_MAX_DURATION,4,2     ## @CSR12_CFP_MAX_DURATION
	.no_dead_strip	_rt2500pci_config_erp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2500pci_config_erp
_rt2500pci_config_erp:                  ; @rt2500pci_config_erp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _BSS_CHANGED_ERP_PREAMBLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BSS_CHANGED_ERP_PREAMBLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_2
; %bb.1:
	ldr	w24, [x20]
Lloh3:
	adrp	x23, _TXCSR1@GOTPAGE
Lloh4:
	ldr	x23, [x23, _TXCSR1@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_rt2x00mmio_register_read
	str	w0, [sp, #12]
Lloh5:
	adrp	x8, _TXCSR1_ACK_TIMEOUT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TXCSR1_ACK_TIMEOUT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #354
	bl	_rt2x00_set_field32
Lloh8:
	adrp	x8, _TXCSR1_ACK_CONSUME_TIME@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TXCSR1_ACK_CONSUME_TIME@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #162
	bl	_rt2x00_set_field32
Lloh11:
	adrp	x8, _TXCSR1_TSF_OFFSET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TXCSR1_TSF_OFFSET@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _IEEE80211_HEADER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IEEE80211_HEADER@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh17:
	adrp	x8, _TXCSR1_AUTORESPONDER@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TXCSR1_AUTORESPONDER@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	w22, #1
	add	x0, sp, #12
	mov	w2, #1
	bl	_rt2x00_set_field32
	ldr	w1, [x23]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_rt2x00mmio_register_write
Lloh20:
	adrp	x27, _ARCSR2@GOTPAGE
Lloh21:
	ldr	x27, [x27, _ARCSR2@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	x0, x19
	bl	_rt2x00mmio_register_read
	str	w0, [sp, #12]
Lloh22:
	adrp	x8, _ARCSR2_SIGNAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ARCSR2_SIGNAL@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #0
	bl	_rt2x00_set_field32
Lloh25:
	adrp	x8, _ARCSR2_SERVICE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ARCSR2_SERVICE@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #4
	bl	_rt2x00_set_field32
Lloh28:
	adrp	x25, _ARCSR2_LENGTH@GOTPAGE
Lloh29:
	ldr	x25, [x25, _ARCSR2_LENGTH@GOTPAGEOFF]
	ldr	w23, [x25]
Lloh30:
	adrp	x26, _ACK_SIZE@GOTPAGE
Lloh31:
	ldr	x26, [x26, _ACK_SIZE@GOTPAGEOFF]
	ldr	w0, [x26]
	mov	w1, #10
	bl	_GET_DURATION
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x23
	bl	_rt2x00_set_field32
	ldr	w1, [x27]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_rt2x00mmio_register_write
Lloh32:
	adrp	x23, _ARCSR3@GOTPAGE
Lloh33:
	ldr	x23, [x23, _ARCSR3@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_rt2x00mmio_register_read
	str	w0, [sp, #12]
Lloh34:
	adrp	x8, _ARCSR3_SIGNAL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ARCSR3_SIGNAL@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	bfi	w22, w24, #3, #29
	add	x0, sp, #12
	mov	x2, x22
	bl	_rt2x00_set_field32
Lloh37:
	adrp	x8, _ARCSR3_SERVICE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ARCSR3_SERVICE@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #4
	bl	_rt2x00_set_field32
	ldr	w22, [x25]
	ldr	w0, [x26]
	mov	w1, #20
	bl	_GET_DURATION
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x22
	bl	_rt2x00_set_field32
	ldr	w1, [x23]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_rt2x00mmio_register_write
Lloh40:
	adrp	x23, _ARCSR4@GOTPAGE
Lloh41:
	ldr	x23, [x23, _ARCSR4@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_rt2x00mmio_register_read
	str	w0, [sp, #12]
Lloh42:
	adrp	x8, _ARCSR4_SIGNAL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ARCSR4_SIGNAL@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	mov	w2, #2
	bfi	w2, w24, #3, #29
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh45:
	adrp	x8, _ARCSR4_SERVICE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ARCSR4_SERVICE@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #4
	bl	_rt2x00_set_field32
	ldr	w22, [x25]
	ldr	w0, [x26]
	mov	w1, #55
	bl	_GET_DURATION
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x22
	bl	_rt2x00_set_field32
	ldr	w1, [x23]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_rt2x00mmio_register_write
Lloh48:
	adrp	x23, _ARCSR5@GOTPAGE
Lloh49:
	ldr	x23, [x23, _ARCSR5@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_rt2x00mmio_register_read
	str	w0, [sp, #12]
Lloh50:
	adrp	x8, _ARCSR5_SIGNAL@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ARCSR5_SIGNAL@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	mov	w2, #3
	bfi	w2, w24, #3, #29
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh53:
	adrp	x8, _ARCSR5_SERVICE@GOTPAGE
Lloh54:
	ldr	x8, [x8, _ARCSR5_SERVICE@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	add	x0, sp, #12
	mov	w2, #132
	bl	_rt2x00_set_field32
	ldr	w22, [x25]
	ldr	w0, [x26]
	mov	w1, #110
	bl	_GET_DURATION
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x22
	bl	_rt2x00_set_field32
	ldr	w1, [x23]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_rt2x00mmio_register_write
LBB0_2:
Lloh56:
	adrp	x8, _BSS_CHANGED_BASIC_RATES@GOTPAGE
Lloh57:
	ldr	x8, [x8, _BSS_CHANGED_BASIC_RATES@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
Lloh59:
	adrp	x8, _ARCSR1@GOTPAGE
Lloh60:
	ldr	x8, [x8, _ARCSR1@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_rt2x00mmio_register_write
LBB0_4:
Lloh62:
	adrp	x8, _BSS_CHANGED_ERP_SLOT@GOTPAGE
Lloh63:
	ldr	x8, [x8, _BSS_CHANGED_ERP_SLOT@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.5:
Lloh65:
	adrp	x22, _CSR11@GOTPAGE
Lloh66:
	ldr	x22, [x22, _CSR11@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_rt2x00mmio_register_read
	str	w0, [sp, #12]
Lloh67:
	adrp	x8, _CSR11_SLOT_TIME@GOTPAGE
Lloh68:
	ldr	x8, [x8, _CSR11_SLOT_TIME@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x8]
	ldr	w2, [x20, #8]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
	ldr	w1, [x22]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_rt2x00mmio_register_write
Lloh70:
	adrp	x22, _CSR18@GOTPAGE
Lloh71:
	ldr	x22, [x22, _CSR18@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_rt2x00mmio_register_read
	str	w0, [sp, #12]
Lloh72:
	adrp	x8, _CSR18_SIFS@GOTPAGE
Lloh73:
	ldr	x8, [x8, _CSR18_SIFS@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh75:
	adrp	x8, _CSR18_PIFS@GOTPAGE
Lloh76:
	ldr	x8, [x8, _CSR18_PIFS@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	ldr	w2, [x20, #16]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
	ldr	w1, [x22]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_rt2x00mmio_register_write
Lloh78:
	adrp	x22, _CSR19@GOTPAGE
Lloh79:
	ldr	x22, [x22, _CSR19@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_rt2x00mmio_register_read
	str	w0, [sp, #12]
Lloh80:
	adrp	x8, _CSR19_DIFS@GOTPAGE
Lloh81:
	ldr	x8, [x8, _CSR19_DIFS@GOTPAGEOFF]
Lloh82:
	ldr	w1, [x8]
	ldr	w2, [x20, #20]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh83:
	adrp	x8, _CSR19_EIFS@GOTPAGE
Lloh84:
	ldr	x8, [x8, _CSR19_EIFS@GOTPAGEOFF]
Lloh85:
	ldr	w1, [x8]
	ldr	w2, [x20, #24]
	add	x0, sp, #12
	bl	_rt2x00_set_field32
	ldr	w1, [x22]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_rt2x00mmio_register_write
LBB0_6:
Lloh86:
	adrp	x8, _BSS_CHANGED_BEACON_INT@GOTPAGE
Lloh87:
	ldr	x8, [x8, _BSS_CHANGED_BEACON_INT@GOTPAGEOFF]
Lloh88:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.7:
Lloh89:
	adrp	x21, _CSR12@GOTPAGE
Lloh90:
	ldr	x21, [x21, _CSR12@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_rt2x00mmio_register_read
	str	w0, [sp, #12]
Lloh91:
	adrp	x8, _CSR12_BEACON_INTERVAL@GOTPAGE
Lloh92:
	ldr	x8, [x8, _CSR12_BEACON_INTERVAL@GOTPAGEOFF]
Lloh93:
	ldr	w1, [x8]
	ldr	w8, [x20, #28]
	lsl	w2, w8, #4
	add	x0, sp, #12
	bl	_rt2x00_set_field32
Lloh94:
	adrp	x8, _CSR12_CFP_MAX_DURATION@GOTPAGE
Lloh95:
	ldr	x8, [x8, _CSR12_CFP_MAX_DURATION@GOTPAGEOFF]
Lloh96:
	ldr	w1, [x8]
	ldr	w8, [x20, #28]
	lsl	w2, w8, #4
	add	x0, sp, #12
	bl	_rt2x00_set_field32
	ldr	w1, [x21]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_rt2x00mmio_register_write
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh89, Lloh90
	.cfi_endproc
                                        ; -- End function
	.comm	_BSS_CHANGED_ERP_PREAMBLE,4,2   ; @BSS_CHANGED_ERP_PREAMBLE
	.comm	_TXCSR1,4,2                     ; @TXCSR1
	.comm	_TXCSR1_ACK_TIMEOUT,4,2         ; @TXCSR1_ACK_TIMEOUT
	.comm	_TXCSR1_ACK_CONSUME_TIME,4,2    ; @TXCSR1_ACK_CONSUME_TIME
	.comm	_TXCSR1_TSF_OFFSET,4,2          ; @TXCSR1_TSF_OFFSET
	.comm	_IEEE80211_HEADER,4,2           ; @IEEE80211_HEADER
	.comm	_TXCSR1_AUTORESPONDER,4,2       ; @TXCSR1_AUTORESPONDER
	.comm	_ARCSR2,4,2                     ; @ARCSR2
	.comm	_ARCSR2_SIGNAL,4,2              ; @ARCSR2_SIGNAL
	.comm	_ARCSR2_SERVICE,4,2             ; @ARCSR2_SERVICE
	.comm	_ARCSR2_LENGTH,4,2              ; @ARCSR2_LENGTH
	.comm	_ACK_SIZE,4,2                   ; @ACK_SIZE
	.comm	_ARCSR3,4,2                     ; @ARCSR3
	.comm	_ARCSR3_SIGNAL,4,2              ; @ARCSR3_SIGNAL
	.comm	_ARCSR3_SERVICE,4,2             ; @ARCSR3_SERVICE
	.comm	_ARCSR4,4,2                     ; @ARCSR4
	.comm	_ARCSR4_SIGNAL,4,2              ; @ARCSR4_SIGNAL
	.comm	_ARCSR4_SERVICE,4,2             ; @ARCSR4_SERVICE
	.comm	_ARCSR5,4,2                     ; @ARCSR5
	.comm	_ARCSR5_SIGNAL,4,2              ; @ARCSR5_SIGNAL
	.comm	_ARCSR5_SERVICE,4,2             ; @ARCSR5_SERVICE
	.comm	_BSS_CHANGED_BASIC_RATES,4,2    ; @BSS_CHANGED_BASIC_RATES
	.comm	_ARCSR1,4,2                     ; @ARCSR1
	.comm	_BSS_CHANGED_ERP_SLOT,4,2       ; @BSS_CHANGED_ERP_SLOT
	.comm	_CSR11,4,2                      ; @CSR11
	.comm	_CSR11_SLOT_TIME,4,2            ; @CSR11_SLOT_TIME
	.comm	_CSR18,4,2                      ; @CSR18
	.comm	_CSR18_SIFS,4,2                 ; @CSR18_SIFS
	.comm	_CSR18_PIFS,4,2                 ; @CSR18_PIFS
	.comm	_CSR19,4,2                      ; @CSR19
	.comm	_CSR19_DIFS,4,2                 ; @CSR19_DIFS
	.comm	_CSR19_EIFS,4,2                 ; @CSR19_EIFS
	.comm	_BSS_CHANGED_BEACON_INT,4,2     ; @BSS_CHANGED_BEACON_INT
	.comm	_CSR12,4,2                      ; @CSR12
	.comm	_CSR12_BEACON_INTERVAL,4,2      ; @CSR12_BEACON_INTERVAL
	.comm	_CSR12_CFP_MAX_DURATION,4,2     ; @CSR12_CFP_MAX_DURATION
	.no_dead_strip	_rt2500pci_config_erp
.subsections_via_symbols
