	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_ratectl_init         ## -- Begin function ieee80211_ratectl_init
	.p2align	4, 0x90
_ieee80211_ratectl_init:                ## @ieee80211_ratectl_init
	.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
	movq	%rdi, %rbx
	movq	8(%rdi), %rcx
	movq	_ratectls@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_IEEE80211_RATECTL_NONE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	(%rax,%rdx,8), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_IEEE80211_RATECTL_AMRR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ieee80211_ratectl_set
	movq	8(%rbx), %rcx
LBB0_2:
	movq	%rbx, %rdi
	callq	*(%rcx)
	movl	(%rbx), %edi
	movl	4(%rbx), %r14d
	callq	_SYSCTL_CHILDREN
	movq	_OID_AUTO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_CTLTYPE_STRING@GOTPCREL(%rip), %rcx
	movq	_CTLFLAG_RD@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	orl	(%rcx), %r8d
	movq	_CTLFLAG_MPSAFE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r8d
	movq	_ieee80211_ratectl_sysctl_stats@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	leaq	L_.str.2(%rip), %r11
	leaq	L_.str.1(%rip), %r15
	leaq	L_.str(%rip), %rcx
	movl	%r14d, %edi
	movl	%eax, %esi
	movq	%rbx, %r9
	pushq	%r11
	pushq	%r15
	pushq	%r10
	pushq	$0
	callq	_SYSCTL_ADD_PROC
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ratectls,8,3                   ## @ratectls
	.comm	_IEEE80211_RATECTL_NONE,8,3     ## @IEEE80211_RATECTL_NONE
	.comm	_IEEE80211_RATECTL_AMRR,4,2     ## @IEEE80211_RATECTL_AMRR
	.comm	_OID_AUTO,4,2                   ## @OID_AUTO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rate_stats"

	.comm	_CTLTYPE_STRING,4,2             ## @CTLTYPE_STRING
	.comm	_CTLFLAG_RD,4,2                 ## @CTLFLAG_RD
	.comm	_CTLFLAG_MPSAFE,4,2             ## @CTLFLAG_MPSAFE
	.comm	_ieee80211_ratectl_sysctl_stats,4,2 ## @ieee80211_ratectl_sysctl_stats
L_.str.1:                               ## @.str.1
	.asciz	"A"

L_.str.2:                               ## @.str.2
	.asciz	"ratectl node stats"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_ratectl_init         ; -- Begin function ieee80211_ratectl_init
	.p2align	2
_ieee80211_ratectl_init:                ; @ieee80211_ratectl_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _ratectls@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ratectls@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _IEEE80211_RATECTL_NONE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IEEE80211_RATECTL_NONE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _IEEE80211_RATECTL_AMRR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IEEE80211_RATECTL_AMRR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ieee80211_ratectl_set
	ldr	x8, [x19, #8]
LBB0_2:
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	ldp	w0, w20, [x19]
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
Lloh9:
	adrp	x8, _OID_AUTO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OID_AUTO@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _CTLTYPE_STRING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CTLTYPE_STRING@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _CTLFLAG_RD@GOTPAGE
Lloh16:
	ldr	x9, [x9, _CTLFLAG_RD@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _CTLFLAG_MPSAFE@GOTPAGE
Lloh19:
	ldr	x10, [x10, _CTLFLAG_MPSAFE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh20:
	ldr	w9, [x10]
	orr	w4, w8, w9
Lloh21:
	adrp	x8, _ieee80211_ratectl_sysctl_stats@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ieee80211_ratectl_sysctl_stats@GOTPAGEOFF]
Lloh23:
	ldr	w7, [x8]
Lloh24:
	adrp	x8, l_.str.2@PAGE
Lloh25:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh26:
	adrp	x9, l_.str.1@PAGE
Lloh27:
	add	x9, x9, l_.str.1@PAGEOFF
	stp	x9, x8, [sp]
Lloh28:
	adrp	x3, l_.str@PAGE
Lloh29:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x5, x19
	mov	w6, #0
	bl	_SYSCTL_ADD_PROC
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ratectls,8,3                   ; @ratectls
	.comm	_IEEE80211_RATECTL_NONE,8,3     ; @IEEE80211_RATECTL_NONE
	.comm	_IEEE80211_RATECTL_AMRR,4,2     ; @IEEE80211_RATECTL_AMRR
	.comm	_OID_AUTO,4,2                   ; @OID_AUTO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rate_stats"

	.comm	_CTLTYPE_STRING,4,2             ; @CTLTYPE_STRING
	.comm	_CTLFLAG_RD,4,2                 ; @CTLFLAG_RD
	.comm	_CTLFLAG_MPSAFE,4,2             ; @CTLFLAG_MPSAFE
	.comm	_ieee80211_ratectl_sysctl_stats,4,2 ; @ieee80211_ratectl_sysctl_stats
l_.str.1:                               ; @.str.1
	.asciz	"A"

l_.str.2:                               ; @.str.2
	.asciz	"ratectl node stats"

.subsections_via_symbols
