	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_connect
_nl80211_connect:                       ## @nl80211_connect
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	8(%rsi), %rax
	movq	(%rax), %r15
	movq	8(%rax), %r14
	leaq	-160(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$112, %edx
	callq	_memset
	movq	(%r13), %rax
	movq	_NL80211_ATTR_IE@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_is_valid_ie_attr
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	(%r13), %rax
	movq	_NL80211_ATTR_SSID@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_49
## %bb.2:
	callq	_nla_len
	testq	%rax, %rax
	je	LBB0_49
## %bb.3:
	movq	(%r13), %rax
	movq	_NL80211_ATTR_AUTH_TYPE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.4:
	callq	_nla_get_u32
	movq	%rax, -56(%rbp)
	movq	_NL80211_CMD_CONNECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_nl80211_valid_auth_type
	testl	%eax, %eax
	je	LBB0_49
## %bb.5:
	movq	(%r13), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_51
LBB0_7:
	movq	_NL80211_AUTHTYPE_AUTOMATIC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -56(%rbp)
LBB0_8:
	movq	_NL80211_ATTR_PRIVACY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -120(%rbp)
	leaq	-64(%rbp), %rdx
	movq	_NL80211_MAX_NR_CIPHER_SUITES@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_nl80211_crypto_settings
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_52
## %bb.9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%rax), %rax
	movq	_NL80211_IFTYPE_STATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.10:
	movq	_NL80211_IFTYPE_P2P_CLIENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
## %bb.11:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_50
LBB0_12:
	movl	$-1, -160(%rbp)
	movq	(%r13), %rax
	movq	_NL80211_ATTR_BG_SCAN_PERIOD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.13:
	movq	_WIPHY_FLAG_SUPPORTS_FW_ROAM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r15)
	je	LBB0_15
## %bb.14:
	callq	_nla_get_u16
	movl	%eax, -160(%rbp)
	movq	(%r13), %rax
LBB0_15:
	movq	_NL80211_ATTR_MAC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	callq	_nla_data
	movq	%rax, -72(%rbp)
	movq	(%r13), %rax
LBB0_17:
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_data
	movq	%rax, -80(%rbp)
	movq	(%r13), %rax
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_len
	movq	%rax, -88(%rbp)
	movq	(%r13), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.18:
	callq	_nla_data
	movq	%rax, -96(%rbp)
	movq	(%r13), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_len
	movq	%rax, -104(%rbp)
	movq	(%r13), %rax
LBB0_19:
	movq	_NL80211_ATTR_USE_MFP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_23
## %bb.20:
	callq	_nla_get_u32
	movq	%rax, -152(%rbp)
	movq	_NL80211_MFP_REQUIRED@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	je	LBB0_22
## %bb.21:
	movq	_NL80211_MFP_NO@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_49
LBB0_22:
	movq	(%r13), %rax
	jmp	LBB0_24
LBB0_23:
	movq	_NL80211_MFP_NO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -152(%rbp)
LBB0_24:
	movq	_NL80211_ATTR_WIPHY_FREQ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.25:
	callq	_nla_get_u32
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_ieee80211_get_channel
	movq	%rax, -112(%rbp)
	testq	%rax, %rax
	je	LBB0_49
## %bb.26:
	movq	_IEEE80211_CHAN_DISABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_49
LBB0_27:
	cmpq	$0, -120(%rbp)
	je	LBB0_31
## %bb.28:
	movq	(%r13), %rax
	movq	_NL80211_ATTR_KEYS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_31
## %bb.29:
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_nl80211_parse_connkeys
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_32
## %bb.30:
	movq	%r12, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_52
LBB0_31:
	xorl	%r12d, %r12d
LBB0_32:
	movq	(%r13), %rax
	movq	_NL80211_ATTR_DISABLE_HT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_get_flag
	testq	%rax, %rax
	je	LBB0_34
## %bb.33:
	movq	_ASSOC_REQ_DISABLE_HT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -136(%rbp)
LBB0_34:
	movq	(%r13), %rax
	movq	_NL80211_ATTR_HT_CAPABILITY_MASK@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_36
## %bb.35:
	leaq	-128(%rbp), %r14
	callq	_nla_data
	movq	%r14, %rdi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	(%r13), %rax
LBB0_36:
	movq	_NL80211_ATTR_HT_CAPABILITY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_39
## %bb.37:
	movq	(%rbx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_48
## %bb.38:
	leaq	-132(%rbp), %rbx
	callq	_nla_data
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	(%r13), %rax
LBB0_39:
	movq	_NL80211_ATTR_DISABLE_VHT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_get_flag
	testq	%rax, %rax
	je	LBB0_41
## %bb.40:
	movq	_ASSOC_REQ_DISABLE_VHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -136(%rbp)
LBB0_41:
	movq	(%r13), %rax
	movq	_NL80211_ATTR_VHT_CAPABILITY_MASK@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_43
## %bb.42:
	leaq	-140(%rbp), %r14
	callq	_nla_data
	movq	%r14, %rdi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	(%r13), %rax
LBB0_43:
	movq	_NL80211_ATTR_VHT_CAPABILITY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_46
## %bb.44:
	movq	(%rbx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_48
## %bb.45:
	leaq	-144(%rbp), %rbx
	callq	_nla_data
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_memcpy
LBB0_46:
	leaq	-160(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rcx
	callq	_cfg80211_connect
	testl	%eax, %eax
	je	LBB0_53
## %bb.47:
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_kfree
	jmp	LBB0_52
LBB0_48:
	movq	%r12, %rdi
	callq	_kfree
LBB0_49:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_50:
	xorl	%ebx, %ebx
LBB0_51:
	subl	(%rax), %ebx
LBB0_52:
	movl	%ebx, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_53:
	xorl	%ebx, %ebx
	jmp	LBB0_52
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_ATTR_IE,8,3            ## @NL80211_ATTR_IE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NL80211_ATTR_SSID,8,3          ## @NL80211_ATTR_SSID
	.comm	_NL80211_ATTR_AUTH_TYPE,8,3     ## @NL80211_ATTR_AUTH_TYPE
	.comm	_NL80211_CMD_CONNECT,4,2        ## @NL80211_CMD_CONNECT
	.comm	_NL80211_AUTHTYPE_AUTOMATIC,8,3 ## @NL80211_AUTHTYPE_AUTOMATIC
	.comm	_NL80211_ATTR_PRIVACY,8,3       ## @NL80211_ATTR_PRIVACY
	.comm	_NL80211_MAX_NR_CIPHER_SUITES,4,2 ## @NL80211_MAX_NR_CIPHER_SUITES
	.comm	_NL80211_IFTYPE_STATION,8,3     ## @NL80211_IFTYPE_STATION
	.comm	_NL80211_IFTYPE_P2P_CLIENT,8,3  ## @NL80211_IFTYPE_P2P_CLIENT
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NL80211_ATTR_BG_SCAN_PERIOD,8,3 ## @NL80211_ATTR_BG_SCAN_PERIOD
	.comm	_WIPHY_FLAG_SUPPORTS_FW_ROAM,4,2 ## @WIPHY_FLAG_SUPPORTS_FW_ROAM
	.comm	_NL80211_ATTR_MAC,8,3           ## @NL80211_ATTR_MAC
	.comm	_NL80211_ATTR_USE_MFP,8,3       ## @NL80211_ATTR_USE_MFP
	.comm	_NL80211_MFP_REQUIRED,8,3       ## @NL80211_MFP_REQUIRED
	.comm	_NL80211_MFP_NO,8,3             ## @NL80211_MFP_NO
	.comm	_NL80211_ATTR_WIPHY_FREQ,8,3    ## @NL80211_ATTR_WIPHY_FREQ
	.comm	_IEEE80211_CHAN_DISABLED,4,2    ## @IEEE80211_CHAN_DISABLED
	.comm	_NL80211_ATTR_KEYS,8,3          ## @NL80211_ATTR_KEYS
	.comm	_NL80211_ATTR_DISABLE_HT,8,3    ## @NL80211_ATTR_DISABLE_HT
	.comm	_ASSOC_REQ_DISABLE_HT,4,2       ## @ASSOC_REQ_DISABLE_HT
	.comm	_NL80211_ATTR_HT_CAPABILITY_MASK,8,3 ## @NL80211_ATTR_HT_CAPABILITY_MASK
	.comm	_NL80211_ATTR_HT_CAPABILITY,8,3 ## @NL80211_ATTR_HT_CAPABILITY
	.comm	_NL80211_ATTR_DISABLE_VHT,8,3   ## @NL80211_ATTR_DISABLE_VHT
	.comm	_ASSOC_REQ_DISABLE_VHT,4,2      ## @ASSOC_REQ_DISABLE_VHT
	.comm	_NL80211_ATTR_VHT_CAPABILITY_MASK,8,3 ## @NL80211_ATTR_VHT_CAPABILITY_MASK
	.comm	_NL80211_ATTR_VHT_CAPABILITY,8,3 ## @NL80211_ATTR_VHT_CAPABILITY
	.no_dead_strip	_nl80211_connect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_connect
_nl80211_connect:                       ; @nl80211_connect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x21, x1
	ldr	x8, [x1, #8]
	ldp	x19, x20, [x8]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #112
	bl	_memset
	ldr	x8, [x21]
Lloh0:
	adrp	x22, _NL80211_ATTR_IE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _NL80211_ATTR_IE@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	x0, [x8, x9, lsl #3]
	bl	_is_valid_ie_attr
	cbz	w0, LBB0_47
; %bb.1:
	ldr	x8, [x21]
Lloh2:
	adrp	x24, _NL80211_ATTR_SSID@GOTPAGE
Lloh3:
	ldr	x24, [x24, _NL80211_ATTR_SSID@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_47
; %bb.2:
	bl	_nla_len
	cbz	x0, LBB0_47
; %bb.3:
	ldr	x8, [x21]
Lloh4:
	adrp	x9, _NL80211_ATTR_AUTH_TYPE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _NL80211_ATTR_AUTH_TYPE@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_6
; %bb.4:
	bl	_nla_get_u32
	mov	x1, x0
	str	x0, [sp, #104]
Lloh7:
	adrp	x8, _NL80211_CMD_CONNECT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NL80211_CMD_CONNECT@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_nl80211_valid_auth_type
	cbz	w0, LBB0_47
; %bb.5:
	ldr	x8, [x21]
	b	LBB0_7
LBB0_6:
Lloh10:
	adrp	x9, _NL80211_AUTHTYPE_AUTOMATIC@GOTPAGE
Lloh11:
	ldr	x9, [x9, _NL80211_AUTHTYPE_AUTOMATIC@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	str	x9, [sp, #104]
LBB0_7:
Lloh13:
	adrp	x9, _NL80211_ATTR_PRIVACY@GOTPAGE
Lloh14:
	ldr	x9, [x9, _NL80211_ATTR_PRIVACY@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	str	x8, [sp, #40]
	mov	x8, sp
	add	x2, x8, #96
Lloh16:
	adrp	x8, _NL80211_MAX_NR_CIPHER_SUITES@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NL80211_MAX_NR_CIPHER_SUITES@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_nl80211_crypto_settings
	mov	x23, x0
	cbnz	w0, LBB0_49
; %bb.8:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
Lloh19:
	adrp	x9, _NL80211_IFTYPE_STATION@GOTPAGE
Lloh20:
	ldr	x9, [x9, _NL80211_IFTYPE_STATION@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
Lloh22:
	adrp	x10, _NL80211_IFTYPE_P2P_CLIENT@GOTPAGE
Lloh23:
	ldr	x10, [x10, _NL80211_IFTYPE_P2P_CLIENT@GOTPAGEOFF]
Lloh24:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_20
; %bb.9:
	mov	w8, #-1
	str	w8, [sp]
	ldr	x8, [x21]
Lloh25:
	adrp	x9, _NL80211_ATTR_BG_SCAN_PERIOD@GOTPAGE
Lloh26:
	ldr	x9, [x9, _NL80211_ATTR_BG_SCAN_PERIOD@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_12
; %bb.10:
	ldr	w9, [x19]
Lloh28:
	adrp	x10, _WIPHY_FLAG_SUPPORTS_FW_ROAM@GOTPAGE
Lloh29:
	ldr	x10, [x10, _WIPHY_FLAG_SUPPORTS_FW_ROAM@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_12
; %bb.11:
	bl	_nla_get_u16
	str	w0, [sp]
	ldr	x8, [x21]
LBB0_12:
Lloh31:
	adrp	x9, _NL80211_ATTR_MAC@GOTPAGE
Lloh32:
	ldr	x9, [x9, _NL80211_ATTR_MAC@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_14
; %bb.13:
	bl	_nla_data
	str	x0, [sp, #88]
	ldr	x8, [x21]
LBB0_14:
	ldr	x9, [x24]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_data
	str	x0, [sp, #80]
	ldr	x8, [x21]
	ldr	x9, [x24]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_len
	str	x0, [sp, #72]
	ldr	x8, [x21]
	ldr	x9, [x22]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_16
; %bb.15:
	bl	_nla_data
	str	x0, [sp, #64]
	ldr	x8, [x21]
	ldr	x9, [x22]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_len
	str	x0, [sp, #56]
	ldr	x8, [x21]
LBB0_16:
Lloh34:
	adrp	x9, _NL80211_ATTR_USE_MFP@GOTPAGE
Lloh35:
	ldr	x9, [x9, _NL80211_ATTR_USE_MFP@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_21
; %bb.17:
	bl	_nla_get_u32
	str	x0, [sp, #8]
Lloh37:
	adrp	x8, _NL80211_MFP_REQUIRED@GOTPAGE
Lloh38:
	ldr	x8, [x8, _NL80211_MFP_REQUIRED@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	cmp	x8, x0
	b.eq	LBB0_19
; %bb.18:
Lloh40:
	adrp	x8, _NL80211_MFP_NO@GOTPAGE
Lloh41:
	ldr	x8, [x8, _NL80211_MFP_NO@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_47
LBB0_19:
	ldr	x8, [x21]
	b	LBB0_22
LBB0_20:
Lloh43:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh44:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_48
LBB0_21:
Lloh45:
	adrp	x9, _NL80211_MFP_NO@GOTPAGE
Lloh46:
	ldr	x9, [x9, _NL80211_MFP_NO@GOTPAGEOFF]
Lloh47:
	ldr	x9, [x9]
	str	x9, [sp, #8]
LBB0_22:
Lloh48:
	adrp	x9, _NL80211_ATTR_WIPHY_FREQ@GOTPAGE
Lloh49:
	ldr	x9, [x9, _NL80211_ATTR_WIPHY_FREQ@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_25
; %bb.23:
	bl	_nla_get_u32
	mov	x1, x0
	mov	x0, x19
	bl	_ieee80211_get_channel
	str	x0, [sp, #48]
	cbz	x0, LBB0_47
; %bb.24:
	ldr	w8, [x0]
Lloh51:
	adrp	x9, _IEEE80211_CHAN_DISABLED@GOTPAGE
Lloh52:
	ldr	x9, [x9, _IEEE80211_CHAN_DISABLED@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_47
LBB0_25:
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_29
; %bb.26:
	ldr	x8, [x21]
Lloh54:
	adrp	x9, _NL80211_ATTR_KEYS@GOTPAGE
Lloh55:
	ldr	x9, [x9, _NL80211_ATTR_KEYS@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	ldr	x1, [x8, x9, lsl #3]
	cbz	x1, LBB0_29
; %bb.27:
	mov	x0, x19
	mov	x2, #0
	bl	_nl80211_parse_connkeys
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_30
; %bb.28:
	mov	x0, x22
	bl	_PTR_ERR
	mov	x23, x0
	b	LBB0_49
LBB0_29:
	mov	x22, #0
LBB0_30:
	ldr	x8, [x21]
Lloh57:
	adrp	x9, _NL80211_ATTR_DISABLE_HT@GOTPAGE
Lloh58:
	ldr	x9, [x9, _NL80211_ATTR_DISABLE_HT@GOTPAGEOFF]
Lloh59:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_get_flag
	cbz	x0, LBB0_32
; %bb.31:
Lloh60:
	adrp	x8, _ASSOC_REQ_DISABLE_HT@GOTPAGE
Lloh61:
	ldr	x8, [x8, _ASSOC_REQ_DISABLE_HT@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	ldr	w9, [sp, #24]
	orr	w8, w9, w8
	str	w8, [sp, #24]
LBB0_32:
	ldr	x8, [x21]
Lloh63:
	adrp	x24, _NL80211_ATTR_HT_CAPABILITY_MASK@GOTPAGE
Lloh64:
	ldr	x24, [x24, _NL80211_ATTR_HT_CAPABILITY_MASK@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_34
; %bb.33:
	mov	x8, sp
	add	x23, x8, #32
	bl	_nla_data
	mov	x1, x0
	mov	x0, x23
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x21]
LBB0_34:
Lloh65:
	adrp	x9, _NL80211_ATTR_HT_CAPABILITY@GOTPAGE
Lloh66:
	ldr	x9, [x9, _NL80211_ATTR_HT_CAPABILITY@GOTPAGEOFF]
Lloh67:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_37
; %bb.35:
	ldr	x9, [x24]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_46
; %bb.36:
	mov	x8, sp
	add	x23, x8, #28
	bl	_nla_data
	mov	x1, x0
	mov	x0, x23
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x21]
LBB0_37:
Lloh68:
	adrp	x9, _NL80211_ATTR_DISABLE_VHT@GOTPAGE
Lloh69:
	ldr	x9, [x9, _NL80211_ATTR_DISABLE_VHT@GOTPAGEOFF]
Lloh70:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_get_flag
	cbz	x0, LBB0_39
; %bb.38:
Lloh71:
	adrp	x8, _ASSOC_REQ_DISABLE_VHT@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ASSOC_REQ_DISABLE_VHT@GOTPAGEOFF]
Lloh73:
	ldr	w8, [x8]
	ldr	w9, [sp, #24]
	orr	w8, w9, w8
	str	w8, [sp, #24]
LBB0_39:
	ldr	x8, [x21]
Lloh74:
	adrp	x24, _NL80211_ATTR_VHT_CAPABILITY_MASK@GOTPAGE
Lloh75:
	ldr	x24, [x24, _NL80211_ATTR_VHT_CAPABILITY_MASK@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_41
; %bb.40:
	mov	x8, sp
	add	x23, x8, #20
	bl	_nla_data
	mov	x1, x0
	mov	x0, x23
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x21]
LBB0_41:
Lloh76:
	adrp	x9, _NL80211_ATTR_VHT_CAPABILITY@GOTPAGE
Lloh77:
	ldr	x9, [x9, _NL80211_ATTR_VHT_CAPABILITY@GOTPAGEOFF]
Lloh78:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_44
; %bb.42:
	ldr	x9, [x24]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_46
; %bb.43:
	mov	x8, sp
	add	x21, x8, #16
	bl	_nla_data
	mov	x1, x0
	mov	x0, x21
	mov	w2, #4
	bl	_memcpy
LBB0_44:
	mov	x2, sp
	mov	x0, x19
	mov	x1, x20
	mov	x3, x22
	bl	_cfg80211_connect
	mov	x23, x0
	cbz	w0, LBB0_49
; %bb.45:
	mov	x0, x22
	bl	_kfree
	b	LBB0_49
LBB0_46:
	mov	x0, x22
	bl	_kfree
LBB0_47:
Lloh79:
	adrp	x8, _EINVAL@GOTPAGE
Lloh80:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_48:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_49:
	mov	x0, x23
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh79, Lloh80
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_ATTR_IE,8,3            ; @NL80211_ATTR_IE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NL80211_ATTR_SSID,8,3          ; @NL80211_ATTR_SSID
	.comm	_NL80211_ATTR_AUTH_TYPE,8,3     ; @NL80211_ATTR_AUTH_TYPE
	.comm	_NL80211_CMD_CONNECT,4,2        ; @NL80211_CMD_CONNECT
	.comm	_NL80211_AUTHTYPE_AUTOMATIC,8,3 ; @NL80211_AUTHTYPE_AUTOMATIC
	.comm	_NL80211_ATTR_PRIVACY,8,3       ; @NL80211_ATTR_PRIVACY
	.comm	_NL80211_MAX_NR_CIPHER_SUITES,4,2 ; @NL80211_MAX_NR_CIPHER_SUITES
	.comm	_NL80211_IFTYPE_STATION,8,3     ; @NL80211_IFTYPE_STATION
	.comm	_NL80211_IFTYPE_P2P_CLIENT,8,3  ; @NL80211_IFTYPE_P2P_CLIENT
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NL80211_ATTR_BG_SCAN_PERIOD,8,3 ; @NL80211_ATTR_BG_SCAN_PERIOD
	.comm	_WIPHY_FLAG_SUPPORTS_FW_ROAM,4,2 ; @WIPHY_FLAG_SUPPORTS_FW_ROAM
	.comm	_NL80211_ATTR_MAC,8,3           ; @NL80211_ATTR_MAC
	.comm	_NL80211_ATTR_USE_MFP,8,3       ; @NL80211_ATTR_USE_MFP
	.comm	_NL80211_MFP_REQUIRED,8,3       ; @NL80211_MFP_REQUIRED
	.comm	_NL80211_MFP_NO,8,3             ; @NL80211_MFP_NO
	.comm	_NL80211_ATTR_WIPHY_FREQ,8,3    ; @NL80211_ATTR_WIPHY_FREQ
	.comm	_IEEE80211_CHAN_DISABLED,4,2    ; @IEEE80211_CHAN_DISABLED
	.comm	_NL80211_ATTR_KEYS,8,3          ; @NL80211_ATTR_KEYS
	.comm	_NL80211_ATTR_DISABLE_HT,8,3    ; @NL80211_ATTR_DISABLE_HT
	.comm	_ASSOC_REQ_DISABLE_HT,4,2       ; @ASSOC_REQ_DISABLE_HT
	.comm	_NL80211_ATTR_HT_CAPABILITY_MASK,8,3 ; @NL80211_ATTR_HT_CAPABILITY_MASK
	.comm	_NL80211_ATTR_HT_CAPABILITY,8,3 ; @NL80211_ATTR_HT_CAPABILITY
	.comm	_NL80211_ATTR_DISABLE_VHT,8,3   ; @NL80211_ATTR_DISABLE_VHT
	.comm	_ASSOC_REQ_DISABLE_VHT,4,2      ; @ASSOC_REQ_DISABLE_VHT
	.comm	_NL80211_ATTR_VHT_CAPABILITY_MASK,8,3 ; @NL80211_ATTR_VHT_CAPABILITY_MASK
	.comm	_NL80211_ATTR_VHT_CAPABILITY,8,3 ; @NL80211_ATTR_VHT_CAPABILITY
	.no_dead_strip	_nl80211_connect
.subsections_via_symbols
