	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_mesh_rx_bcn_presp
_ieee80211_mesh_rx_bcn_presp:           ## @ieee80211_mesh_rx_bcn_presp
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	24(%rdi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	(%r8), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_IEEE80211_STYPE_PROBE_RESP@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	movl	16(%rbx), %edi
	movl	16(%r12), %esi
	callq	_ether_addr_equal
	testl	%eax, %eax
	je	LBB0_17
LBB0_2:
	movq	8(%rbx), %rdi
	movq	%rdi, %rax
	subq	%rbx, %rax
	sarq	$2, %rax
	cmpq	%r13, %rax
	ja	LBB0_17
## %bb.3:
	subq	%rax, %r13
	leaq	-72(%rbp), %rcx
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_ieee802_11_parse_elems
	cmpl	$0, -52(%rbp)
	je	LBB0_17
## %bb.4:
	cmpl	$0, -56(%rbp)
	je	LBB0_17
## %bb.5:
	cmpq	$0, -64(%rbp)
	movq	(%r12), %rax
	movq	_IEEE80211_MESH_SEC_NONE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	je	LBB0_7
## %bb.6:
	cmpq	%rcx, %rax
	jne	LBB0_8
	jmp	LBB0_17
LBB0_7:
	cmpq	%rcx, %rax
	jne	LBB0_17
LBB0_8:
	movq	-72(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	(%rax), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_ieee80211_channel_to_frequency
	movl	%eax, %esi
	jmp	LBB0_11
LBB0_10:
	movl	4(%r14), %esi
LBB0_11:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_ieee80211_get_channel
	testq	%rax, %rax
	je	LBB0_17
## %bb.12:
	movq	_IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_17
## %bb.13:
	leaq	-72(%rbp), %rsi
	movq	%r12, %rdi
	callq	_mesh_matches_local
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movl	(%rbx), %esi
	leaq	-72(%rbp), %rdx
	movq	%r12, %rdi
	callq	_mesh_neighbour_update
LBB0_15:
	movq	8(%r12), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	leaq	-72(%rbp), %rcx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	movq	%r14, %r8
	callq	*(%rax)
LBB0_17:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_STYPE_PROBE_RESP,4,2 ## @IEEE80211_STYPE_PROBE_RESP
	.comm	_IEEE80211_MESH_SEC_NONE,8,3    ## @IEEE80211_MESH_SEC_NONE
	.comm	_IEEE80211_CHAN_DISABLED,4,2    ## @IEEE80211_CHAN_DISABLED
	.no_dead_strip	_ieee80211_mesh_rx_bcn_presp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_mesh_rx_bcn_presp
_ieee80211_mesh_rx_bcn_presp:           ; @ieee80211_mesh_rx_bcn_presp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x4
	mov	x24, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x25, [x0, #24]
	ldr	w23, [x4]
Lloh0:
	adrp	x8, _IEEE80211_STYPE_PROBE_RESP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_STYPE_PROBE_RESP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x20, #16]
	ldr	w1, [x22, #16]
	bl	_ether_addr_equal
	cbz	w0, LBB0_17
LBB0_2:
	ldr	x0, [x20, #8]
	sub	x8, x0, x20
	asr	x8, x8, #2
	cmp	x8, x24
	b.hi	LBB0_17
; %bb.3:
	sub	x1, x24, x8
	add	x3, sp, #8
	mov	w2, #0
	bl	_ieee802_11_parse_elems
	ldr	w8, [sp, #28]
	cbz	w8, LBB0_17
; %bb.4:
	ldr	w8, [sp, #24]
	cbz	w8, LBB0_17
; %bb.5:
	ldr	x10, [sp, #16]
	ldr	x8, [x22]
Lloh3:
	adrp	x9, _IEEE80211_MESH_SEC_NONE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_MESH_SEC_NONE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cbz	x10, LBB0_7
; %bb.6:
	b.ne	LBB0_8
	b	LBB0_17
LBB0_7:
	b.ne	LBB0_17
LBB0_8:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_ieee80211_channel_to_frequency
	mov	x1, x0
	b	LBB0_11
LBB0_10:
	ldr	w1, [x19, #4]
LBB0_11:
	ldr	w0, [x25]
	bl	_ieee80211_get_channel
	cbz	x0, LBB0_17
; %bb.12:
	ldr	w8, [x0]
Lloh6:
	adrp	x9, _IEEE80211_CHAN_DISABLED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_CHAN_DISABLED@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_17
; %bb.13:
	add	x1, sp, #8
	mov	x0, x22
	bl	_mesh_matches_local
	cbz	x0, LBB0_15
; %bb.14:
	ldr	w1, [x20]
	add	x2, sp, #8
	mov	x0, x22
	bl	_mesh_neighbour_update
LBB0_15:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_17
; %bb.16:
	ldr	x8, [x8]
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	mov	x4, x19
	blr	x8
LBB0_17:
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_STYPE_PROBE_RESP,4,2 ; @IEEE80211_STYPE_PROBE_RESP
	.comm	_IEEE80211_MESH_SEC_NONE,8,3    ; @IEEE80211_MESH_SEC_NONE
	.comm	_IEEE80211_CHAN_DISABLED,4,2    ; @IEEE80211_CHAN_DISABLED
	.no_dead_strip	_ieee80211_mesh_rx_bcn_presp
.subsections_via_symbols
