	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_set_bss
_nl80211_set_bss:                       ## @nl80211_set_bss
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	8(%rsi), %rax
	movq	(%rax), %r14
	movq	8(%rax), %r15
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$36, %edx
	callq	_memset
	pcmpeqd	%xmm0, %xmm0
	movdqa	%xmm0, -80(%rbp)
	movdqu	%xmm0, -68(%rbp)
	movq	(%rbx), %rax
	movq	_NL80211_ATTR_BSS_CTS_PROT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_nla_get_u8
	movl	%eax, -80(%rbp)
	movq	(%rbx), %rax
LBB0_2:
	movq	_NL80211_ATTR_BSS_SHORT_PREAMBLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_nla_get_u8
	movl	%eax, -76(%rbp)
	movq	(%rbx), %rax
LBB0_4:
	movq	_NL80211_ATTR_BSS_SHORT_SLOT_TIME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_nla_get_u8
	movl	%eax, -72(%rbp)
	movq	(%rbx), %rax
LBB0_6:
	movq	_NL80211_ATTR_BSS_BASIC_RATES@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_nla_data
	movl	%eax, -48(%rbp)
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_len
	movl	%eax, -52(%rbp)
	movq	(%rbx), %rax
LBB0_8:
	movq	_NL80211_ATTR_AP_ISOLATE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_nla_get_u8
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, -68(%rbp)
	movq	(%rbx), %rax
LBB0_10:
	movq	_NL80211_ATTR_BSS_HT_OPMODE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	callq	_nla_get_u16
	movl	%eax, -64(%rbp)
	movq	(%rbx), %rax
LBB0_12:
	movq	_NL80211_ATTR_P2P_CTWINDOW@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.13:
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	_NL80211_IFTYPE_P2P_GO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.16:
	callq	_nla_get_s8
	movl	%eax, -60(%rbp)
	testl	%eax, %eax
	js	LBB0_14
## %bb.17:
	je	LBB0_19
## %bb.18:
	movq	_NL80211_FEATURE_P2P_GO_CTWIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r14)
	je	LBB0_14
LBB0_19:
	movq	(%rbx), %rax
	movq	_NL80211_ATTR_P2P_OPPPS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_24
## %bb.20:
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	_NL80211_IFTYPE_P2P_GO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.21:
	callq	_nla_get_u8
	cmpl	$2, %eax
	jge	LBB0_14
## %bb.22:
	movl	%eax, -56(%rbp)
	testl	%eax, %eax
	je	LBB0_24
## %bb.23:
	movq	_NL80211_FEATURE_P2P_GO_OPPPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r14)
	je	LBB0_14
LBB0_24:
	movq	8(%r14), %rax
	cmpl	$0, (%rax)
	je	LBB0_25
## %bb.26:
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	_NL80211_IFTYPE_AP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_28
## %bb.27:
	movq	_NL80211_IFTYPE_P2P_GO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_28
LBB0_25:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_14:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_15:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_29:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	leaq	-80(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_rdev_change_bss
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_ATTR_BSS_CTS_PROT,8,3  ## @NL80211_ATTR_BSS_CTS_PROT
	.comm	_NL80211_ATTR_BSS_SHORT_PREAMBLE,8,3 ## @NL80211_ATTR_BSS_SHORT_PREAMBLE
	.comm	_NL80211_ATTR_BSS_SHORT_SLOT_TIME,8,3 ## @NL80211_ATTR_BSS_SHORT_SLOT_TIME
	.comm	_NL80211_ATTR_BSS_BASIC_RATES,8,3 ## @NL80211_ATTR_BSS_BASIC_RATES
	.comm	_NL80211_ATTR_AP_ISOLATE,8,3    ## @NL80211_ATTR_AP_ISOLATE
	.comm	_NL80211_ATTR_BSS_HT_OPMODE,8,3 ## @NL80211_ATTR_BSS_HT_OPMODE
	.comm	_NL80211_ATTR_P2P_CTWINDOW,8,3  ## @NL80211_ATTR_P2P_CTWINDOW
	.comm	_NL80211_IFTYPE_P2P_GO,8,3      ## @NL80211_IFTYPE_P2P_GO
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NL80211_FEATURE_P2P_GO_CTWIN,4,2 ## @NL80211_FEATURE_P2P_GO_CTWIN
	.comm	_NL80211_ATTR_P2P_OPPPS,8,3     ## @NL80211_ATTR_P2P_OPPPS
	.comm	_NL80211_FEATURE_P2P_GO_OPPPS,4,2 ## @NL80211_FEATURE_P2P_GO_OPPPS
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NL80211_IFTYPE_AP,8,3          ## @NL80211_IFTYPE_AP
	.no_dead_strip	_nl80211_set_bss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_set_bss
_nl80211_set_bss:                       ; @nl80211_set_bss
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x1
	ldr	x8, [x1, #8]
	ldp	x19, x20, [x8]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #36
	bl	_memset
	mov	x8, #-1
	stp	x8, x8, [sp, #8]
	str	x8, [sp, #24]
	str	w8, [sp, #32]
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _NL80211_ATTR_BSS_CTS_PROT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_ATTR_BSS_CTS_PROT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_nla_get_u8
	str	w0, [sp, #8]
	ldr	x8, [x21]
LBB0_2:
Lloh3:
	adrp	x9, _NL80211_ATTR_BSS_SHORT_PREAMBLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NL80211_ATTR_BSS_SHORT_PREAMBLE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_nla_get_u8
	str	w0, [sp, #12]
	ldr	x8, [x21]
LBB0_4:
Lloh6:
	adrp	x9, _NL80211_ATTR_BSS_SHORT_SLOT_TIME@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NL80211_ATTR_BSS_SHORT_SLOT_TIME@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_nla_get_u8
	str	w0, [sp, #16]
	ldr	x8, [x21]
LBB0_6:
Lloh9:
	adrp	x22, _NL80211_ATTR_BSS_BASIC_RATES@GOTPAGE
Lloh10:
	ldr	x22, [x22, _NL80211_ATTR_BSS_BASIC_RATES@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_8
; %bb.7:
	bl	_nla_data
	str	w0, [sp, #40]
	ldr	x8, [x21]
	ldr	x9, [x22]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_len
	str	w0, [sp, #36]
	ldr	x8, [x21]
LBB0_8:
Lloh11:
	adrp	x9, _NL80211_ATTR_AP_ISOLATE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NL80211_ATTR_AP_ISOLATE@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_nla_get_u8
	cmp	x0, #0
	cset	w8, ne
	str	w8, [sp, #20]
	ldr	x8, [x21]
LBB0_10:
Lloh14:
	adrp	x9, _NL80211_ATTR_BSS_HT_OPMODE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _NL80211_ATTR_BSS_HT_OPMODE@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_nla_get_u16
	str	w0, [sp, #24]
	ldr	x8, [x21]
LBB0_12:
Lloh17:
	adrp	x9, _NL80211_ATTR_P2P_CTWINDOW@GOTPAGE
Lloh18:
	ldr	x9, [x9, _NL80211_ATTR_P2P_CTWINDOW@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_17
; %bb.13:
	ldr	x8, [x20]
	ldr	x8, [x8]
Lloh20:
	adrp	x9, _NL80211_IFTYPE_P2P_GO@GOTPAGE
Lloh21:
	ldr	x9, [x9, _NL80211_IFTYPE_P2P_GO@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.14:
	bl	_nla_get_s8
	str	w0, [sp, #28]
	tbnz	w0, #31, LBB0_26
; %bb.15:
	cbz	w0, LBB0_17
; %bb.16:
	ldr	w8, [x19, #16]
Lloh23:
	adrp	x9, _NL80211_FEATURE_P2P_GO_CTWIN@GOTPAGE
Lloh24:
	ldr	x9, [x9, _NL80211_FEATURE_P2P_GO_CTWIN@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
LBB0_17:
	ldr	x8, [x21]
Lloh26:
	adrp	x9, _NL80211_ATTR_P2P_OPPPS@GOTPAGE
Lloh27:
	ldr	x9, [x9, _NL80211_ATTR_P2P_OPPPS@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_22
; %bb.18:
	ldr	x8, [x20]
	ldr	x8, [x8]
Lloh29:
	adrp	x9, _NL80211_IFTYPE_P2P_GO@GOTPAGE
Lloh30:
	ldr	x9, [x9, _NL80211_IFTYPE_P2P_GO@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.19:
	bl	_nla_get_u8
	cmp	w0, #2
	b.ge	LBB0_26
; %bb.20:
	str	w0, [sp, #32]
	cbz	w0, LBB0_22
; %bb.21:
	ldr	w8, [x19, #16]
Lloh32:
	adrp	x9, _NL80211_FEATURE_P2P_GO_OPPPS@GOTPAGE
Lloh33:
	ldr	x9, [x9, _NL80211_FEATURE_P2P_GO_OPPPS@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
LBB0_22:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_25
; %bb.23:
	ldr	x8, [x20]
	ldr	x8, [x8]
Lloh35:
	adrp	x9, _NL80211_IFTYPE_AP@GOTPAGE
Lloh36:
	ldr	x9, [x9, _NL80211_IFTYPE_AP@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_29
; %bb.24:
Lloh38:
	adrp	x9, _NL80211_IFTYPE_P2P_GO@GOTPAGE
Lloh39:
	ldr	x9, [x9, _NL80211_IFTYPE_P2P_GO@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_29
LBB0_25:
Lloh41:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh42:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_27
LBB0_26:
Lloh43:
	adrp	x8, _EINVAL@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_27:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_28:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_29:
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_rdev_change_bss
	b	LBB0_28
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_ATTR_BSS_CTS_PROT,8,3  ; @NL80211_ATTR_BSS_CTS_PROT
	.comm	_NL80211_ATTR_BSS_SHORT_PREAMBLE,8,3 ; @NL80211_ATTR_BSS_SHORT_PREAMBLE
	.comm	_NL80211_ATTR_BSS_SHORT_SLOT_TIME,8,3 ; @NL80211_ATTR_BSS_SHORT_SLOT_TIME
	.comm	_NL80211_ATTR_BSS_BASIC_RATES,8,3 ; @NL80211_ATTR_BSS_BASIC_RATES
	.comm	_NL80211_ATTR_AP_ISOLATE,8,3    ; @NL80211_ATTR_AP_ISOLATE
	.comm	_NL80211_ATTR_BSS_HT_OPMODE,8,3 ; @NL80211_ATTR_BSS_HT_OPMODE
	.comm	_NL80211_ATTR_P2P_CTWINDOW,8,3  ; @NL80211_ATTR_P2P_CTWINDOW
	.comm	_NL80211_IFTYPE_P2P_GO,8,3      ; @NL80211_IFTYPE_P2P_GO
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NL80211_FEATURE_P2P_GO_CTWIN,4,2 ; @NL80211_FEATURE_P2P_GO_CTWIN
	.comm	_NL80211_ATTR_P2P_OPPPS,8,3     ; @NL80211_ATTR_P2P_OPPPS
	.comm	_NL80211_FEATURE_P2P_GO_OPPPS,4,2 ; @NL80211_FEATURE_P2P_GO_OPPPS
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NL80211_IFTYPE_AP,8,3          ; @NL80211_IFTYPE_AP
	.no_dead_strip	_nl80211_set_bss
.subsections_via_symbols
