	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2x00lib_config_erp           ## -- Begin function rt2x00lib_config_erp
	.p2align	4, 0x90
_rt2x00lib_config_erp:                  ## @rt2x00lib_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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %rbx
	movq	%rdi, %r15
	leaq	-72(%rbp), %rdi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	44(%rbx), %eax
	movl	%eax, -36(%rbp)
	movl	40(%rbx), %eax
	movl	%eax, -40(%rbp)
	cmpq	$0, 32(%rbx)
	movq	_SHORT_SLOT_TIME@GOTPCREL(%rip), %rax
	cmoveq	_SLOT_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_SIFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_SHORT_PIFS@GOTPCREL(%rip), %rax
	cmoveq	_PIFS@GOTPCREL(%rip), %rax
	movq	_SHORT_DIFS@GOTPCREL(%rip), %rcx
	cmoveq	_DIFS@GOTPCREL(%rip), %rcx
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movl	(%rcx), %eax
	movl	%eax, -56(%rbp)
	movq	_SHORT_EIFS@GOTPCREL(%rip), %rax
	cmoveq	_EIFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movl	24(%rbx), %eax
	movl	%eax, -64(%rbp)
	movl	4(%rbx), %eax
	movl	%eax, -68(%rbp)
	cmpq	$0, 16(%rbx)
	je	LBB0_2
## %bb.1:
	movl	12(%rbx), %r12d
LBB0_2:
	movl	%r12d, 16(%r15)
	movl	8(%rbx), %ecx
	movl	%ecx, 12(%r15)
	movl	%eax, 8(%r15)
	movq	_BSS_CHANGED_HT@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %eax
	movl	%eax, -72(%rbp)
LBB0_4:
	movq	(%r15), %rax
	movq	(%rax), %rax
	leaq	-72(%rbp), %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	*(%rax)
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SHORT_SLOT_TIME,4,2            ## @SHORT_SLOT_TIME
	.comm	_SLOT_TIME,4,2                  ## @SLOT_TIME
	.comm	_SIFS,4,2                       ## @SIFS
	.comm	_SHORT_PIFS,4,2                 ## @SHORT_PIFS
	.comm	_PIFS,4,2                       ## @PIFS
	.comm	_SHORT_DIFS,4,2                 ## @SHORT_DIFS
	.comm	_DIFS,4,2                       ## @DIFS
	.comm	_SHORT_EIFS,4,2                 ## @SHORT_EIFS
	.comm	_EIFS,4,2                       ## @EIFS
	.comm	_BSS_CHANGED_HT,4,2             ## @BSS_CHANGED_HT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2x00lib_config_erp           ; -- Begin function rt2x00lib_config_erp
	.p2align	2
_rt2x00lib_config_erp:                  ; @rt2x00lib_config_erp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x21, x2
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	ldr	d0, [x21, #40]
	str	d0, [sp, #40]
	ldr	x8, [x21, #32]
Lloh0:
	adrp	x9, _SHORT_SLOT_TIME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SHORT_SLOT_TIME@GOTPAGEOFF]
Lloh2:
	adrp	x10, _SLOT_TIME@GOTPAGE
Lloh3:
	ldr	x10, [x10, _SLOT_TIME@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
Lloh4:
	adrp	x9, _SIFS@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SIFS@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh6:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #32]
Lloh7:
	adrp	x8, _SHORT_PIFS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SHORT_PIFS@GOTPAGEOFF]
Lloh9:
	adrp	x9, _PIFS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PIFS@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _SHORT_DIFS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SHORT_DIFS@GOTPAGEOFF]
	str	w8, [sp, #28]
Lloh13:
	adrp	x8, _DIFS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DIFS@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh15:
	adrp	x8, _SHORT_EIFS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SHORT_EIFS@GOTPAGEOFF]
Lloh17:
	adrp	x9, _EIFS@GOTPAGE
Lloh18:
	ldr	x9, [x9, _EIFS@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w10, [x8]
	ldr	w9, [x21, #24]
	ldr	w8, [x21, #4]
	stp	w9, w10, [sp, #16]
	str	w8, [sp, #12]
	ldr	x9, [x21, #16]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	w9, [x21, #12]
LBB0_2:
	str	w9, [x20, #16]
	ldr	w9, [x21, #8]
	stp	w8, w9, [x20, #8]
Lloh19:
	adrp	x8, _BSS_CHANGED_HT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BSS_CHANGED_HT@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x21]
	str	w8, [sp, #8]
LBB0_4:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x8, [x8]
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x19
	blr	x8
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_SHORT_SLOT_TIME,4,2            ; @SHORT_SLOT_TIME
	.comm	_SLOT_TIME,4,2                  ; @SLOT_TIME
	.comm	_SIFS,4,2                       ; @SIFS
	.comm	_SHORT_PIFS,4,2                 ; @SHORT_PIFS
	.comm	_PIFS,4,2                       ; @PIFS
	.comm	_SHORT_DIFS,4,2                 ; @SHORT_DIFS
	.comm	_DIFS,4,2                       ; @DIFS
	.comm	_SHORT_EIFS,4,2                 ; @SHORT_EIFS
	.comm	_EIFS,4,2                       ; @EIFS
	.comm	_BSS_CHANGED_HT,4,2             ; @BSS_CHANGED_HT
.subsections_via_symbols
