	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_parse_beacon
_nl80211_parse_beacon:                  ## @nl80211_parse_beacon
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	_NL80211_ATTR_BEACON_TAIL@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_is_valid_ie_attr
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movq	(%r15), %rax
	movq	_NL80211_ATTR_IE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_is_valid_ie_attr
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	movq	(%r15), %rax
	movq	_NL80211_ATTR_IE_PROBE_RESP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_is_valid_ie_attr
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	(%r15), %rax
	movq	_NL80211_ATTR_IE_ASSOC_RESP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_is_valid_ie_attr
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$96, %edx
	callq	_memset
	movq	(%r15), %rax
	movq	_NL80211_ATTR_BEACON_HEAD@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.6:
	callq	_nla_data
	movq	%rax, 88(%r14)
	movq	(%r15), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_len
	movq	%rax, 80(%r14)
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	jne	LBB0_8
	jmp	LBB0_9
LBB0_18:
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
LBB0_8:
	callq	_nla_data
	movq	%rax, 72(%r14)
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_len
	movq	%rax, 64(%r14)
	movq	(%r15), %rax
LBB0_9:
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_nla_data
	movq	%rax, 56(%r14)
	movq	(%r15), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_len
	movq	%rax, 48(%r14)
	movq	(%r15), %rax
LBB0_11:
	movq	_NL80211_ATTR_IE_PROBE_RESP@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	movq	_NL80211_ATTR_IE_ASSOC_RESP@GOTPCREL(%rip), %rbx
	je	LBB0_13
## %bb.12:
	callq	_nla_data
	movq	%rax, 40(%r14)
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_len
	movq	%rax, 32(%r14)
	movq	(%r15), %rax
LBB0_13:
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_nla_data
	movq	%rax, 24(%r14)
	movq	(%r15), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_len
	movq	%rax, 16(%r14)
	movq	(%r15), %rax
LBB0_15:
	movq	_NL80211_ATTR_PROBE_RESP@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	callq	_nla_data
	movq	%rax, 8(%r14)
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_len
	movq	%rax, (%r14)
	jmp	LBB0_17
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_17:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_ATTR_BEACON_TAIL,8,3   ## @NL80211_ATTR_BEACON_TAIL
	.comm	_NL80211_ATTR_IE,8,3            ## @NL80211_ATTR_IE
	.comm	_NL80211_ATTR_IE_PROBE_RESP,8,3 ## @NL80211_ATTR_IE_PROBE_RESP
	.comm	_NL80211_ATTR_IE_ASSOC_RESP,8,3 ## @NL80211_ATTR_IE_ASSOC_RESP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NL80211_ATTR_BEACON_HEAD,8,3   ## @NL80211_ATTR_BEACON_HEAD
	.comm	_NL80211_ATTR_PROBE_RESP,8,3    ## @NL80211_ATTR_PROBE_RESP
	.no_dead_strip	_nl80211_parse_beacon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_parse_beacon
_nl80211_parse_beacon:                  ; @nl80211_parse_beacon
	.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, x1
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x24, _NL80211_ATTR_BEACON_TAIL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _NL80211_ATTR_BEACON_TAIL@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	x0, [x8, x9, lsl #3]
	bl	_is_valid_ie_attr
	cbz	w0, LBB0_17
; %bb.1:
	ldr	x8, [x20]
Lloh2:
	adrp	x23, _NL80211_ATTR_IE@GOTPAGE
Lloh3:
	ldr	x23, [x23, _NL80211_ATTR_IE@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	x0, [x8, x9, lsl #3]
	bl	_is_valid_ie_attr
	cbz	w0, LBB0_17
; %bb.2:
	ldr	x8, [x20]
Lloh4:
	adrp	x22, _NL80211_ATTR_IE_PROBE_RESP@GOTPAGE
Lloh5:
	ldr	x22, [x22, _NL80211_ATTR_IE_PROBE_RESP@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	x0, [x8, x9, lsl #3]
	bl	_is_valid_ie_attr
	cbz	w0, LBB0_17
; %bb.3:
	ldr	x8, [x20]
Lloh6:
	adrp	x21, _NL80211_ATTR_IE_ASSOC_RESP@GOTPAGE
Lloh7:
	ldr	x21, [x21, _NL80211_ATTR_IE_ASSOC_RESP@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	x0, [x8, x9, lsl #3]
	bl	_is_valid_ie_attr
	cbz	w0, LBB0_17
; %bb.4:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #96
	bl	_memset
	ldr	x8, [x20]
Lloh8:
	adrp	x25, _NL80211_ATTR_BEACON_HEAD@GOTPAGE
Lloh9:
	ldr	x25, [x25, _NL80211_ATTR_BEACON_HEAD@GOTPAGEOFF]
	ldr	x9, [x25]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_7
; %bb.5:
	bl	_nla_data
	str	x0, [x19, #88]
	ldr	x8, [x20]
	ldr	x9, [x25]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_len
	str	x0, [x19, #80]
	cbz	x0, LBB0_17
; %bb.6:
	ldr	x8, [x20]
	ldr	x9, [x24]
	ldr	x0, [x8, x9, lsl #3]
	cbnz	x0, LBB0_8
	b	LBB0_9
LBB0_7:
	ldr	x9, [x24]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_17
LBB0_8:
	bl	_nla_data
	str	x0, [x19, #72]
	ldr	x8, [x20]
	ldr	x9, [x24]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_len
	str	x0, [x19, #64]
	ldr	x8, [x20]
LBB0_9:
	ldr	x9, [x23]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_nla_data
	str	x0, [x19, #56]
	ldr	x8, [x20]
	ldr	x9, [x23]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_len
	str	x0, [x19, #48]
	ldr	x8, [x20]
LBB0_11:
	ldr	x9, [x22]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_13
; %bb.12:
	bl	_nla_data
	str	x0, [x19, #40]
	ldr	x8, [x20]
	ldr	x9, [x22]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_len
	str	x0, [x19, #32]
	ldr	x8, [x20]
LBB0_13:
	ldr	x9, [x21]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_15
; %bb.14:
	bl	_nla_data
	str	x0, [x19, #24]
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_len
	str	x0, [x19, #16]
	ldr	x8, [x20]
LBB0_15:
Lloh10:
	adrp	x21, _NL80211_ATTR_PROBE_RESP@GOTPAGE
Lloh11:
	ldr	x21, [x21, _NL80211_ATTR_PROBE_RESP@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_18
; %bb.16:
	bl	_nla_data
	str	x0, [x19, #8]
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_len
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_18
LBB0_17:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_18:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_ATTR_BEACON_TAIL,8,3   ; @NL80211_ATTR_BEACON_TAIL
	.comm	_NL80211_ATTR_IE,8,3            ; @NL80211_ATTR_IE
	.comm	_NL80211_ATTR_IE_PROBE_RESP,8,3 ; @NL80211_ATTR_IE_PROBE_RESP
	.comm	_NL80211_ATTR_IE_ASSOC_RESP,8,3 ; @NL80211_ATTR_IE_ASSOC_RESP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NL80211_ATTR_BEACON_HEAD,8,3   ; @NL80211_ATTR_BEACON_HEAD
	.comm	_NL80211_ATTR_PROBE_RESP,8,3    ; @NL80211_ATTR_PROBE_RESP
	.no_dead_strip	_nl80211_parse_beacon
.subsections_via_symbols
