	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_external_auth
_nl80211_external_auth:                 ## @nl80211_external_auth
	.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	_NL80211_ATTR_AKM_SUITES@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	cmpq	$0, (%rsi,%rax,8)
	je	LBB0_10
## %bb.1:
	movq	%rsi, %rbx
	movq	_NL80211_ATTR_EXTERNAL_AUTH_ACTION@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpq	$0, (%rsi,%rax,8)
	je	LBB0_10
## %bb.2:
	movq	_NL80211_ATTR_BSSID@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_10
## %bb.3:
	movq	_NL80211_ATTR_SSID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_10
## %bb.4:
	movq	%rdi, %r14
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_os_memset
	movq	(%r12), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_get_u32
	cmpl	$128, %eax
	je	LBB0_5
## %bb.6:
	cmpl	$129, %eax
	jne	LBB0_10
## %bb.7:
	movq	_EXT_AUTH_ABORT@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_5:
	movq	_EXT_AUTH_START@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	(%r13), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_get_u32
	movq	%rax, -72(%rbp)
	movq	_NL80211_ATTR_SSID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_len
	movq	%rax, -80(%rbp)
	movq	_SSID_MAX_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_10
## %bb.9:
	movq	_NL80211_ATTR_SSID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_data
	movq	%rax, -48(%rbp)
	movq	(%r15), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_data
	movq	%rax, -56(%rbp)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-64(%rbp), %edx
	movq	-72(%rbp), %rcx
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	(%r14), %edi
	movq	_EVENT_EXTERNAL_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rdx
	callq	_wpa_supplicant_event
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_ATTR_AKM_SUITES,8,3    ## @NL80211_ATTR_AKM_SUITES
	.comm	_NL80211_ATTR_EXTERNAL_AUTH_ACTION,8,3 ## @NL80211_ATTR_EXTERNAL_AUTH_ACTION
	.comm	_NL80211_ATTR_BSSID,8,3         ## @NL80211_ATTR_BSSID
	.comm	_NL80211_ATTR_SSID,8,3          ## @NL80211_ATTR_SSID
	.comm	_EXT_AUTH_START,4,2             ## @EXT_AUTH_START
	.comm	_EXT_AUTH_ABORT,4,2             ## @EXT_AUTH_ABORT
	.comm	_SSID_MAX_LEN,8,3               ## @SSID_MAX_LEN
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nl80211: External auth action: %u, AKM: 0x%x"

	.comm	_EVENT_EXTERNAL_AUTH,4,2        ## @EVENT_EXTERNAL_AUTH
	.no_dead_strip	_nl80211_external_auth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_external_auth
_nl80211_external_auth:                 ; @nl80211_external_auth
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
Lloh0:
	adrp	x23, _NL80211_ATTR_AKM_SUITES@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NL80211_ATTR_AKM_SUITES@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x8, [x1, x8, lsl #3]
	cbz	x8, LBB0_10
; %bb.1:
	mov	x20, x1
Lloh2:
	adrp	x24, _NL80211_ATTR_EXTERNAL_AUTH_ACTION@GOTPAGE
Lloh3:
	ldr	x24, [x24, _NL80211_ATTR_EXTERNAL_AUTH_ACTION@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x8, [x1, x8, lsl #3]
	cbz	x8, LBB0_10
; %bb.2:
Lloh4:
	adrp	x21, _NL80211_ATTR_BSSID@GOTPAGE
Lloh5:
	ldr	x21, [x21, _NL80211_ATTR_BSSID@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x8, [x20, x8, lsl #3]
	cbz	x8, LBB0_10
; %bb.3:
Lloh6:
	adrp	x22, _NL80211_ATTR_SSID@GOTPAGE
Lloh7:
	ldr	x22, [x22, _NL80211_ATTR_SSID@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x8, [x20, x8, lsl #3]
	cbz	x8, LBB0_10
; %bb.4:
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_os_memset
	ldr	x8, [x24]
	ldr	x0, [x20, x8, lsl #3]
	bl	_nla_get_u32
	cmp	w0, #128
	b.eq	LBB0_7
; %bb.5:
	cmp	w0, #129
	b.ne	LBB0_10
; %bb.6:
Lloh8:
	adrp	x8, _EXT_AUTH_ABORT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EXT_AUTH_ABORT@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh10:
	adrp	x8, _EXT_AUTH_START@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EXT_AUTH_START@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldr	x8, [x23]
	ldr	x0, [x20, x8, lsl #3]
	bl	_nla_get_u32
	str	x0, [sp, #16]
	ldr	x8, [x22]
	ldr	x0, [x20, x8, lsl #3]
	bl	_nla_len
	str	x0, [sp, #8]
Lloh12:
	adrp	x8, _SSID_MAX_LEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SSID_MAX_LEN@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x0, x8
	b.gt	LBB0_10
; %bb.9:
	ldr	x8, [x22]
	ldr	x0, [x20, x8, lsl #3]
	bl	_nla_data
	str	x0, [sp, #40]
	ldr	x8, [x21]
	ldr	x0, [x20, x8, lsl #3]
	bl	_nla_data
	str	x0, [sp, #32]
Lloh15:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	w2, [sp, #24]
	ldr	x3, [sp, #16]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x19]
Lloh20:
	adrp	x8, _EVENT_EXTERNAL_AUTH@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EVENT_EXTERNAL_AUTH@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_wpa_supplicant_event
LBB0_10:
	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
	add	sp, sp, #112
	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
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_ATTR_AKM_SUITES,8,3    ; @NL80211_ATTR_AKM_SUITES
	.comm	_NL80211_ATTR_EXTERNAL_AUTH_ACTION,8,3 ; @NL80211_ATTR_EXTERNAL_AUTH_ACTION
	.comm	_NL80211_ATTR_BSSID,8,3         ; @NL80211_ATTR_BSSID
	.comm	_NL80211_ATTR_SSID,8,3          ; @NL80211_ATTR_SSID
	.comm	_EXT_AUTH_START,4,2             ; @EXT_AUTH_START
	.comm	_EXT_AUTH_ABORT,4,2             ; @EXT_AUTH_ABORT
	.comm	_SSID_MAX_LEN,8,3               ; @SSID_MAX_LEN
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nl80211: External auth action: %u, AKM: 0x%x"

	.comm	_EVENT_EXTERNAL_AUTH,4,2        ; @EVENT_EXTERNAL_AUTH
	.no_dead_strip	_nl80211_external_auth
.subsections_via_symbols
