	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sta_auth_open
_sta_auth_open:                         ## @sta_auth_open
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%r9, %r14
	movq	%rdi, %rdx
	movq	(%rdi), %r9
	movq	16(%rdi), %rbx
	movq	_IEEE80211_AUTH_SHARED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r9
	jne	LBB0_3
## %bb.1:
	movq	_IEEE80211_MSG_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rdx), %edx
	leaq	L_.str(%rip), %rcx
	leaq	L_.str.1(%rip), %r8
	movq	%rbx, %rdi
	callq	_IEEE80211_DISCARD_MAC
LBB0_2:
	incl	20(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_3:
	movq	(%rbx), %rax
	movq	_IEEE80211_S_AUTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.4:
	movq	_IEEE80211_AUTH_OPEN_RESPONSE@GOTPCREL(%rip), %rax
	cmpq	%r8, (%rax)
	jne	LBB0_2
## %bb.5:
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	movq	_IEEE80211_MSG_DEBUG@GOTPCREL(%rip), %rax
	movq	_IEEE80211_MSG_AUTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str.2(%rip), %rcx
	movq	%rbx, %rdi
	movq	%r14, %r8
	callq	_IEEE80211_NOTE
	incl	16(%rbx)
	movq	%r14, 8(%rbx)
	movq	_IEEE80211_S_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IEEE80211_SCAN_FAIL_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	jmp	LBB0_8
LBB0_7:
	movq	_IEEE80211_S_ASSOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ieee80211_new_state            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_AUTH_SHARED,8,3      ## @IEEE80211_AUTH_SHARED
	.comm	_IEEE80211_MSG_AUTH,4,2         ## @IEEE80211_MSG_AUTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"open auth"

L_.str.1:                               ## @.str.1
	.asciz	"bad sta auth mode %u"

	.comm	_IEEE80211_S_AUTH,8,3           ## @IEEE80211_S_AUTH
	.comm	_IEEE80211_AUTH_OPEN_RESPONSE,8,3 ## @IEEE80211_AUTH_OPEN_RESPONSE
	.comm	_IEEE80211_MSG_DEBUG,4,2        ## @IEEE80211_MSG_DEBUG
L_.str.2:                               ## @.str.2
	.asciz	"open auth failed (reason %d)"

	.comm	_IEEE80211_S_SCAN,4,2           ## @IEEE80211_S_SCAN
	.comm	_IEEE80211_SCAN_FAIL_STATUS,4,2 ## @IEEE80211_SCAN_FAIL_STATUS
	.comm	_IEEE80211_S_ASSOC,4,2          ## @IEEE80211_S_ASSOC
	.no_dead_strip	_sta_auth_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sta_auth_open
_sta_auth_open:                         ; @sta_auth_open
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x5
	mov	x2, x0
	ldr	x19, [x0, #16]
	ldr	x5, [x0]
Lloh0:
	adrp	x8, _IEEE80211_AUTH_SHARED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_AUTH_SHARED@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x5, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _IEEE80211_MSG_AUTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_MSG_AUTH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x2, #8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
Lloh8:
	adrp	x4, l_.str.1@PAGE
Lloh9:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_IEEE80211_DISCARD_MAC
	b	LBB0_3
LBB0_2:
	ldr	x8, [x19]
Lloh10:
	adrp	x9, _IEEE80211_S_AUTH@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IEEE80211_S_AUTH@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
Lloh13:
	adrp	x10, _IEEE80211_AUTH_OPEN_RESPONSE@GOTPAGE
Lloh14:
	ldr	x10, [x10, _IEEE80211_AUTH_OPEN_RESPONSE@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x10, x4, #0, eq
	b.eq	LBB0_4
LBB0_3:
	ldr	w8, [x19, #20]
	add	w8, w8, #1
	str	w8, [x19, #20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	cbz	x20, LBB0_6
; %bb.5:
Lloh16:
	adrp	x8, _IEEE80211_MSG_DEBUG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IEEE80211_MSG_DEBUG@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _IEEE80211_MSG_AUTH@GOTPAGE
Lloh20:
	ldr	x9, [x9, _IEEE80211_MSG_AUTH@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh22:
	adrp	x3, l_.str.2@PAGE
Lloh23:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x4, x20
	bl	_IEEE80211_NOTE
	ldr	w8, [x19, #16]
	add	w8, w8, #1
	str	w8, [x19, #16]
	str	x20, [x19, #8]
Lloh24:
	adrp	x8, _IEEE80211_S_SCAN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IEEE80211_S_SCAN@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
Lloh27:
	adrp	x8, _IEEE80211_SCAN_FAIL_STATUS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IEEE80211_SCAN_FAIL_STATUS@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x19
	b	LBB0_7
LBB0_6:
Lloh30:
	adrp	x8, _IEEE80211_S_ASSOC@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IEEE80211_S_ASSOC@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ieee80211_new_state
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_AUTH_SHARED,8,3      ; @IEEE80211_AUTH_SHARED
	.comm	_IEEE80211_MSG_AUTH,4,2         ; @IEEE80211_MSG_AUTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"open auth"

l_.str.1:                               ; @.str.1
	.asciz	"bad sta auth mode %u"

	.comm	_IEEE80211_S_AUTH,8,3           ; @IEEE80211_S_AUTH
	.comm	_IEEE80211_AUTH_OPEN_RESPONSE,8,3 ; @IEEE80211_AUTH_OPEN_RESPONSE
	.comm	_IEEE80211_MSG_DEBUG,4,2        ; @IEEE80211_MSG_DEBUG
l_.str.2:                               ; @.str.2
	.asciz	"open auth failed (reason %d)"

	.comm	_IEEE80211_S_SCAN,4,2           ; @IEEE80211_S_SCAN
	.comm	_IEEE80211_SCAN_FAIL_STATUS,4,2 ; @IEEE80211_SCAN_FAIL_STATUS
	.comm	_IEEE80211_S_ASSOC,4,2          ; @IEEE80211_S_ASSOC
	.no_dead_strip	_sta_auth_open
.subsections_via_symbols
