	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ibss_rsn_auth_init
_ibss_rsn_auth_init:                    ## @ibss_rsn_auth_init
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rdi), %edi
	movl	8(%rsi), %esi
	xorl	%edx, %edx
	callq	_wpa_auth_sta_init
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movl	(%r14), %edi
	subq	$8, %rsp
	leaq	l_.str.1(%rip), %rcx
	movq	%rax, %rsi
	xorl	%edx, %edx
	movl	$22, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_wpa_validate_wpa_ie
	addq	$32, %rsp
	movq	_WPA_IE_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movq	(%rbx), %rdi
	movq	_WPA_ASSOC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wpa_auth_sm_event
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_7
## %bb.6:
	movl	(%r14), %edi
	movq	(%rbx), %rsi
	callq	_wpa_auth_sta_associated
	movq	%rax, %rcx
	xorl	%eax, %eax
	negq	%rcx
	sbbl	%eax, %eax
	jmp	LBB0_7
LBB0_1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_2:
	callq	_wpa_printf
	movl	$-1, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AUTH: wpa_auth_sta_init() failed"

	.section	__TEXT,__const
l_.str.1:                               ## @.str.1
	.asciz	"0\024\001\000\000\017\254\004\001\000\000\017\254\004\001\000\000\017\254\002\000\000"

	.comm	_WPA_IE_OK,8,3                  ## @WPA_IE_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"AUTH: wpa_validate_wpa_ie() failed"

	.comm	_WPA_ASSOC,4,2                  ## @WPA_ASSOC
	.no_dead_strip	_ibss_rsn_auth_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ibss_rsn_auth_init
_ibss_rsn_auth_init:                    ; @ibss_rsn_auth_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	ldr	w1, [x1, #8]
	mov	x2, #0
	bl	_wpa_auth_sta_init
	str	x0, [x19]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x1, x0
	ldr	w0, [x20]
	str	wzr, [sp]
Lloh0:
	adrp	x3, l_.str.1@PAGE
Lloh1:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w2, #0
	mov	w4, #22
	mov	x5, #0
	mov	w6, #0
	mov	x7, #0
	bl	_wpa_validate_wpa_ie
Lloh2:
	adrp	x8, _WPA_IE_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WPA_IE_OK@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
	ldr	x0, [x19]
Lloh5:
	adrp	x8, _WPA_ASSOC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _WPA_ASSOC@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_wpa_auth_sm_event
	cbnz	x0, LBB0_7
; %bb.3:
	ldr	w0, [x20]
	ldr	x1, [x19]
	bl	_wpa_auth_sta_associated
	cmp	x0, #0
	csetm	w0, ne
	b	LBB0_8
LBB0_4:
Lloh8:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh13:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_6:
	bl	_wpa_printf
LBB0_7:
	mov	w0, #-1
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AUTH: wpa_auth_sta_init() failed"

	.section	__TEXT,__const
l_.str.1:                               ; @.str.1
	.asciz	"0\024\001\000\000\017\254\004\001\000\000\017\254\004\001\000\000\017\254\002\000\000"

	.comm	_WPA_IE_OK,8,3                  ; @WPA_IE_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"AUTH: wpa_validate_wpa_ie() failed"

	.comm	_WPA_ASSOC,4,2                  ; @WPA_ASSOC
	.no_dead_strip	_ibss_rsn_auth_init
.subsections_via_symbols
