	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_bss_info_update      ## -- Begin function ieee80211_bss_info_update
	.p2align	4, 0x90
_ieee80211_bss_info_update:             ## @ieee80211_bss_info_update
	.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
	movq	%r9, %r13
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movl	(%rdx), %edi
	callq	_ieee80211_is_beacon
	movl	(%r12), %edx
	movq	_IEEE80211_HW_SIGNAL_DBM@GOTPCREL(%rip), %rcx
	testl	%edx, (%rcx)
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_2
## %bb.1:
	imull	$100, (%rbx), %r8d
	jmp	LBB0_5
LBB0_2:
	movq	_IEEE80211_HW_SIGNAL_UNSPEC@GOTPCREL(%rip), %rcx
	testl	%edx, (%rcx)
	je	LBB0_3
## %bb.4:
	imull	$100, (%rbx), %eax
	cltd
	idivl	4(%r12)
	movl	%eax, %r8d
	jmp	LBB0_5
LBB0_3:
	xorl	%r8d, %r8d
LBB0_5:
	movl	8(%r12), %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r13, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_cfg80211_inform_bss_frame
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	(%rax), %r15
	movl	4(%rbx), %eax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
## %bb.11:
	movl	%eax, 44(%r15)
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	leaq	8(%r13), %r12
	movq	8(%r13), %rax
	movq	_IEEE80211_BSS_CORRUPT_BEACON@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_6:
	xorl	%r15d, %r15d
	jmp	LBB0_36
LBB0_8:
	movl	%eax, 40(%r15)
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	leaq	8(%r13), %r12
	movq	8(%r13), %rax
	movq	_IEEE80211_BSS_CORRUPT_PROBE_RESP@GOTPCREL(%rip), %rcx
LBB0_9:
	movl	(%rcx), %ecx
	testq	%rax, %rax
	je	LBB0_10
## %bb.12:
	orl	%ecx, 36(%r15)
	xorl	%ecx, %ecx
	jmp	LBB0_13
LBB0_10:
	notl	%ecx
	andl	%ecx, 36(%r15)
	movb	$1, %cl
	xorl	%eax, %eax
LBB0_13:
	movq	40(%r13), %rdx
	testq	%rdx, %rdx
	je	LBB0_18
## %bb.14:
	testb	%cl, %cl
	je	LBB0_15
## %bb.17:
	movl	(%rdx), %eax
	movl	%eax, 32(%r15)
	movl	$1, 4(%r15)
	movq	_IEEE80211_BSS_VALID_ERP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	jmp	LBB0_21
LBB0_18:
	testb	%cl, %cl
	jne	LBB0_21
## %bb.19:
	movl	(%r15), %ecx
	jmp	LBB0_20
LBB0_15:
	movl	(%r15), %ecx
	movq	_IEEE80211_BSS_VALID_ERP@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	jne	LBB0_20
## %bb.16:
	movl	(%rdx), %edx
	movl	%edx, 32(%r15)
	movl	$1, 4(%r15)
LBB0_20:
	movq	_IEEE80211_BSS_VALID_RATES@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_21
## %bb.28:
	testq	%rax, %rax
	jne	LBB0_29
	jmp	LBB0_32
LBB0_21:
	movl	36(%r13), %esi
	testl	%esi, %esi
	je	LBB0_22
## %bb.23:
	movq	_IEEE80211_MAX_SUPP_RATES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%r13), %ebx
	cmpl	%ebx, %eax
	cmovll	%eax, %ebx
	movq	24(%r15), %rdi
	movl	%ebx, %edx
	callq	_memcpy
	jmp	LBB0_24
LBB0_22:
	xorl	%ebx, %ebx
LBB0_24:
	movl	32(%r13), %esi
	testl	%esi, %esi
	je	LBB0_26
## %bb.25:
	movq	_IEEE80211_MAX_SUPP_RATES@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	subl	%ebx, %r14d
	movl	4(%r13), %eax
	cmpl	%eax, %r14d
	cmovgel	%eax, %r14d
	movslq	%ebx, %rbx
	movq	24(%r15), %rdi
	addq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_memcpy
	addl	%r14d, %ebx
LBB0_26:
	testl	%ebx, %ebx
	je	LBB0_27
## %bb.30:
	movl	%ebx, 8(%r15)
	cmpq	$0, (%r12)
	jne	LBB0_29
## %bb.31:
	movq	_IEEE80211_BSS_VALID_RATES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	jmp	LBB0_32
LBB0_27:
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_32
LBB0_29:
	movq	_IEEE80211_BSS_VALID_WMM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	jne	LBB0_36
LBB0_32:
	movl	$1, %eax
	cmpq	$0, 24(%r13)
	jne	LBB0_34
## %bb.33:
	xorl	%eax, %eax
	cmpq	$0, 16(%r13)
	setne	%al
LBB0_34:
	movl	%eax, 12(%r15)
	movq	%r13, %rdi
	callq	_is_uapsd_supported
	movl	%eax, 16(%r15)
	cmpq	$0, 8(%r13)
	jne	LBB0_36
## %bb.35:
	movq	_IEEE80211_BSS_VALID_WMM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_36:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_HW_SIGNAL_DBM,4,2    ## @IEEE80211_HW_SIGNAL_DBM
	.comm	_IEEE80211_HW_SIGNAL_UNSPEC,4,2 ## @IEEE80211_HW_SIGNAL_UNSPEC
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_IEEE80211_BSS_CORRUPT_BEACON,4,2 ## @IEEE80211_BSS_CORRUPT_BEACON
	.comm	_IEEE80211_BSS_CORRUPT_PROBE_RESP,4,2 ## @IEEE80211_BSS_CORRUPT_PROBE_RESP
	.comm	_IEEE80211_BSS_VALID_ERP,4,2    ## @IEEE80211_BSS_VALID_ERP
	.comm	_IEEE80211_BSS_VALID_RATES,4,2  ## @IEEE80211_BSS_VALID_RATES
	.comm	_IEEE80211_MAX_SUPP_RATES,4,2   ## @IEEE80211_MAX_SUPP_RATES
	.comm	_IEEE80211_BSS_VALID_WMM,4,2    ## @IEEE80211_BSS_VALID_WMM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_bss_info_update      ; -- Begin function ieee80211_bss_info_update
	.p2align	2
_ieee80211_bss_info_update:             ; @ieee80211_bss_info_update
	.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	x23, x5
	mov	x19, x4
	mov	x20, x3
	mov	x24, x2
	mov	x21, x1
	mov	x25, x0
	ldr	w0, [x2]
	bl	_ieee80211_is_beacon
	mov	x22, x0
	ldr	w8, [x25]
Lloh0:
	adrp	x9, _IEEE80211_HW_SIGNAL_DBM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_HW_SIGNAL_DBM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x21]
	mov	w9, #100
	mul	w4, w8, w9
	b	LBB0_5
LBB0_2:
Lloh3:
	adrp	x9, _IEEE80211_HW_SIGNAL_UNSPEC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_HW_SIGNAL_UNSPEC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x21]
	mov	w9, #100
	mul	w8, w8, w9
	ldr	w9, [x25, #4]
	sdiv	w4, w8, w9
	b	LBB0_5
LBB0_4:
	mov	w4, #0
LBB0_5:
	ldr	w0, [x25, #8]
Lloh6:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	mov	x1, x23
	mov	x2, x24
	mov	x3, x20
	bl	_cfg80211_inform_bss_frame
	cbz	x0, LBB0_11
; %bb.6:
	ldr	x20, [x0]
	ldr	w8, [x21, #4]
	cbz	w22, LBB0_12
; %bb.7:
	str	w8, [x20, #44]
	mov	x23, x19
	ldr	x8, [x23, #8]!
Lloh9:
	adrp	x9, _IEEE80211_BSS_CORRUPT_BEACON@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IEEE80211_BSS_CORRUPT_BEACON@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x9]
	cbz	x8, LBB0_13
LBB0_8:
	mov	w9, #0
	ldr	w11, [x20, #36]
	orr	w10, w11, w10
	str	w10, [x20, #36]
	ldr	x10, [x19, #40]
	cbz	x10, LBB0_14
LBB0_9:
	tbz	w9, #0, LBB0_16
; %bb.10:
	ldr	w8, [x10]
	str	w8, [x20, #32]
Lloh12:
	adrp	x8, _IEEE80211_BSS_VALID_ERP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IEEE80211_BSS_VALID_ERP@GOTPAGEOFF]
	mov	w9, #1
Lloh14:
	ldr	w8, [x8]
	ldr	w10, [x20]
	orr	w8, w10, w8
	stp	w8, w9, [x20]
	b	LBB0_20
LBB0_11:
	mov	x20, #0
	b	LBB0_34
LBB0_12:
	str	w8, [x20, #40]
	mov	x23, x19
	ldr	x8, [x23, #8]!
Lloh15:
	adrp	x9, _IEEE80211_BSS_CORRUPT_PROBE_RESP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IEEE80211_BSS_CORRUPT_PROBE_RESP@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x9]
	cbnz	x8, LBB0_8
LBB0_13:
	ldr	w9, [x20, #36]
	bic	w9, w9, w10
	str	w9, [x20, #36]
	mov	w9, #1
	ldr	x10, [x19, #40]
	cbnz	x10, LBB0_9
LBB0_14:
	tbnz	w9, #0, LBB0_20
; %bb.15:
	ldr	w9, [x20]
	b	LBB0_18
LBB0_16:
	ldr	w9, [x20]
Lloh18:
	adrp	x11, _IEEE80211_BSS_VALID_ERP@GOTPAGE
Lloh19:
	ldr	x11, [x11, _IEEE80211_BSS_VALID_ERP@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	tst	w11, w9
	b.ne	LBB0_18
; %bb.17:
	ldr	w10, [x10]
	str	w10, [x20, #32]
	mov	w10, #1
	str	w10, [x20, #4]
LBB0_18:
Lloh21:
	adrp	x10, _IEEE80211_BSS_VALID_RATES@GOTPAGE
Lloh22:
	ldr	x10, [x10, _IEEE80211_BSS_VALID_RATES@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_20
; %bb.19:
	cbnz	x8, LBB0_28
	b	LBB0_29
LBB0_20:
	ldr	w1, [x19, #36]
Lloh24:
	adrp	x22, _IEEE80211_MAX_SUPP_RATES@GOTPAGE
Lloh25:
	ldr	x22, [x22, _IEEE80211_MAX_SUPP_RATES@GOTPAGEOFF]
	cbz	w1, LBB0_26
; %bb.21:
	ldr	w8, [x22]
	ldr	w9, [x19]
	cmp	w8, w9
	csel	w21, w8, w9, lt
	ldr	x0, [x20, #24]
	mov	x2, x21
	bl	_memcpy
	ldr	w1, [x19, #32]
	cbz	w1, LBB0_23
LBB0_22:
	ldr	w8, [x22]
	ldr	w9, [x19, #4]
	sub	w8, w8, w21
	cmp	w8, w9
	csel	w22, w8, w9, lt
	ldr	x8, [x20, #24]
	add	x0, x8, w21, sxtw
	mov	x2, x22
	bl	_memcpy
	add	w21, w22, w21
LBB0_23:
	cbz	w21, LBB0_27
; %bb.24:
	str	w21, [x20, #8]
	ldr	x8, [x23]
	cbnz	x8, LBB0_28
; %bb.25:
Lloh26:
	adrp	x8, _IEEE80211_BSS_VALID_RATES@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IEEE80211_BSS_VALID_RATES@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	b	LBB0_29
LBB0_26:
	mov	w21, #0
	ldr	w1, [x19, #32]
	cbnz	w1, LBB0_22
	b	LBB0_23
LBB0_27:
	ldr	x8, [x23]
	cbz	x8, LBB0_29
LBB0_28:
	ldr	w8, [x20]
Lloh29:
	adrp	x9, _IEEE80211_BSS_VALID_WMM@GOTPAGE
Lloh30:
	ldr	x9, [x9, _IEEE80211_BSS_VALID_WMM@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_34
LBB0_29:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_31
; %bb.30:
	mov	w8, #1
	b	LBB0_32
LBB0_31:
	ldr	x8, [x19, #16]
	cmp	x8, #0
	cset	w8, ne
LBB0_32:
	str	w8, [x20, #12]
	mov	x0, x19
	bl	_is_uapsd_supported
	str	w0, [x20, #16]
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_34
; %bb.33:
Lloh32:
	adrp	x8, _IEEE80211_BSS_VALID_WMM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IEEE80211_BSS_VALID_WMM@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_34:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_HW_SIGNAL_DBM,4,2    ; @IEEE80211_HW_SIGNAL_DBM
	.comm	_IEEE80211_HW_SIGNAL_UNSPEC,4,2 ; @IEEE80211_HW_SIGNAL_UNSPEC
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_IEEE80211_BSS_CORRUPT_BEACON,4,2 ; @IEEE80211_BSS_CORRUPT_BEACON
	.comm	_IEEE80211_BSS_CORRUPT_PROBE_RESP,4,2 ; @IEEE80211_BSS_CORRUPT_PROBE_RESP
	.comm	_IEEE80211_BSS_VALID_ERP,4,2    ; @IEEE80211_BSS_VALID_ERP
	.comm	_IEEE80211_BSS_VALID_RATES,4,2  ; @IEEE80211_BSS_VALID_RATES
	.comm	_IEEE80211_MAX_SUPP_RATES,4,2   ; @IEEE80211_MAX_SUPP_RATES
	.comm	_IEEE80211_BSS_VALID_WMM,4,2    ; @IEEE80211_BSS_VALID_WMM
.subsections_via_symbols
