	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sta_info_insert_drv_state
_sta_info_insert_drv_state:             ## @sta_info_insert_drv_state
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	_IEEE80211_STA_NOTEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%r12), %ecx
	jae	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leal	1(%rcx), %r14d
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r14d, %r8d
	callq	_drv_sta_state
	movl	%r14d, %ecx
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movl	%eax, %r15d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rax
	movq	_NL80211_IFTYPE_ADHOC@GOTPCREL(%rip), %rcx
	movq	%r13, %rdi
	leal	-1(%r14), %r13d
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.7:
	movl	8(%r12), %edx
	leaq	L_.str(%rip), %rsi
	movq	%rdi, %rbx
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	callq	_sdata_info
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_5:
	movq	(%rbx), %rax
	xorl	%r15d, %r15d
	cmpl	$0, (%rax)
	jne	LBB0_11
## %bb.6:
	movl	$1, 4(%r12)
	jmp	LBB0_11
LBB0_4:
	movq	%rdi, %rbx
LBB0_8:
	movq	_IEEE80211_STA_NOTEXIST@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jbe	LBB0_11
## %bb.9:
	movq	%rbx, %r14
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	leal	-1(%r13), %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	callq	_drv_sta_state
	movl	%eax, %edi
	callq	_WARN_ON
	movl	%ebx, %r13d
	movq	_IEEE80211_STA_NOTEXIST@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	ja	LBB0_10
LBB0_11:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_STA_NOTEXIST,4,2     ## @IEEE80211_STA_NOTEXIST
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ## @NL80211_IFTYPE_ADHOC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to move IBSS STA %pM to state %d (%d) - keeping it anyway\n"

	.no_dead_strip	_sta_info_insert_drv_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sta_info_insert_drv_state
_sta_info_insert_drv_state:             ; @sta_info_insert_drv_state
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x25, _IEEE80211_STA_NOTEXIST@GOTPAGE
Lloh1:
	ldr	x25, [x25, _IEEE80211_STA_NOTEXIST@GOTPAGEOFF]
	ldr	w3, [x25]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19]
	cmp	w3, w8
	b.hs	LBB0_7
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w24, w3, #1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	x4, x24
	bl	_drv_sta_state
	mov	x3, x24
	cbz	w0, LBB0_1
; %bb.3:
	mov	x22, x0
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _NL80211_IFTYPE_ADHOC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NL80211_IFTYPE_ADHOC@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	sub	w23, w24, #1
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	w2, [x19, #8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x3, x24
	mov	x4, x22
	bl	_sdata_info
	mov	w22, #0
LBB0_5:
	ldr	w8, [x25]
	cmp	w23, w8
	b.ls	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	sub	w24, w23, #1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	x3, x23
	mov	x4, x24
	bl	_drv_sta_state
	bl	_WARN_ON
	ldr	w8, [x25]
	mov	x23, x24
	cmp	w24, w8
	b.hi	LBB0_6
	b	LBB0_10
LBB0_7:
	ldr	x8, [x20]
	ldr	w8, [x8]
	cbz	w8, LBB0_9
; %bb.8:
	mov	w22, #0
	b	LBB0_10
LBB0_9:
	mov	w22, #0
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_10:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_STA_NOTEXIST,4,2     ; @IEEE80211_STA_NOTEXIST
	.comm	_NL80211_IFTYPE_ADHOC,8,3       ; @NL80211_IFTYPE_ADHOC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to move IBSS STA %pM to state %d (%d) - keeping it anyway\n"

	.no_dead_strip	_sta_info_insert_drv_state
.subsections_via_symbols
