	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ibss_rsn_supp_init
_ibss_rsn_supp_init:                    ## @ibss_rsn_supp_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movl	$56, %edi
	callq	_os_zalloc
	movl	$-1, %r14d
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	%r13, 48(%rax)
	movq	24(%r13), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_supp_set_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_supp_get_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_supp_ether_send@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_supp_get_beacon_ie@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_supp_alloc_eapol@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_supp_set_key@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_supp_get_network_ctx@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_supp_mlme_setprotection@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_supp_cancel_auth_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_supp_deauthenticate@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	callq	_wpa_sm_init
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_wpa_sm_set_own_addr
	movq	8(%r13), %rdi
	movq	_WPA_PARAM_RSN_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_wpa_sm_set_param
	movq	8(%r13), %rdi
	movq	_WPA_PARAM_PROTO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WPA_PROTO_RSN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_wpa_sm_set_param
	movq	8(%r13), %rdi
	movq	_WPA_PARAM_PAIRWISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WPA_CIPHER_CCMP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_wpa_sm_set_param
	movq	8(%r13), %rdi
	movq	_WPA_PARAM_GROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	callq	_wpa_sm_set_param
	movq	8(%r13), %rdi
	movq	_WPA_PARAM_KEY_MGMT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_WPA_KEY_MGMT_PSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_wpa_sm_set_param
	movq	8(%r13), %rdi
	movq	_PMK_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_wpa_sm_set_pmk
	movl	$4, (%r13)
	movq	8(%r13), %rdi
	movl	16(%r13), %esi
	movq	%r13, %rdx
	callq	_wpa_sm_set_assoc_wpa_ie_default
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:
	movq	8(%r13), %rdi
	movl	4(%r13), %esi
	callq	_wpa_sm_notify_assoc
	xorl	%r14d, %r14d
	jmp	LBB0_6
LBB0_2:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movq	%rbx, %rdi
	callq	_os_free
	jmp	LBB0_6
LBB0_4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_supp_set_state,4,2             ## @supp_set_state
	.comm	_supp_get_state,4,2             ## @supp_get_state
	.comm	_supp_ether_send,4,2            ## @supp_ether_send
	.comm	_supp_get_beacon_ie,4,2         ## @supp_get_beacon_ie
	.comm	_supp_alloc_eapol,4,2           ## @supp_alloc_eapol
	.comm	_supp_set_key,4,2               ## @supp_set_key
	.comm	_supp_get_network_ctx,4,2       ## @supp_get_network_ctx
	.comm	_supp_mlme_setprotection,4,2    ## @supp_mlme_setprotection
	.comm	_supp_cancel_auth_timeout,4,2   ## @supp_cancel_auth_timeout
	.comm	_supp_deauthenticate,4,2        ## @supp_deauthenticate
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SUPP: wpa_sm_init() failed"

	.comm	_WPA_PARAM_RSN_ENABLED,4,2      ## @WPA_PARAM_RSN_ENABLED
	.comm	_WPA_PARAM_PROTO,4,2            ## @WPA_PARAM_PROTO
	.comm	_WPA_PROTO_RSN,4,2              ## @WPA_PROTO_RSN
	.comm	_WPA_PARAM_PAIRWISE,4,2         ## @WPA_PARAM_PAIRWISE
	.comm	_WPA_CIPHER_CCMP,4,2            ## @WPA_CIPHER_CCMP
	.comm	_WPA_PARAM_GROUP,4,2            ## @WPA_PARAM_GROUP
	.comm	_WPA_PARAM_KEY_MGMT,4,2         ## @WPA_PARAM_KEY_MGMT
	.comm	_WPA_KEY_MGMT_PSK,4,2           ## @WPA_KEY_MGMT_PSK
	.comm	_PMK_LEN,4,2                    ## @PMK_LEN
L_.str.1:                               ## @.str.1
	.asciz	"SUPP: wpa_sm_set_assoc_wpa_ie_default() failed"

	.no_dead_strip	_ibss_rsn_supp_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_supp_init
_ibss_rsn_supp_init:                    ; @ibss_rsn_supp_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	w0, #56
	bl	_os_zalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x22, x0
	str	x19, [x0, #48]
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
	str	w8, [x0, #40]
Lloh0:
	adrp	x8, _supp_set_state@GOTPAGE
Lloh1:
	ldr	x8, [x8, _supp_set_state@GOTPAGEOFF]
Lloh2:
	adrp	x9, _supp_get_state@GOTPAGE
Lloh3:
	ldr	x9, [x9, _supp_get_state@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #32]
Lloh6:
	adrp	x8, _supp_ether_send@GOTPAGE
Lloh7:
	ldr	x8, [x8, _supp_ether_send@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _supp_get_beacon_ie@GOTPAGE
Lloh10:
	ldr	x9, [x9, _supp_get_beacon_ie@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #24]
Lloh12:
	adrp	x8, _supp_alloc_eapol@GOTPAGE
Lloh13:
	ldr	x8, [x8, _supp_alloc_eapol@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _supp_set_key@GOTPAGE
Lloh16:
	ldr	x9, [x9, _supp_set_key@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
Lloh18:
	adrp	x8, _supp_get_network_ctx@GOTPAGE
Lloh19:
	ldr	x8, [x8, _supp_get_network_ctx@GOTPAGEOFF]
Lloh20:
	adrp	x9, _supp_mlme_setprotection@GOTPAGE
Lloh21:
	ldr	x9, [x9, _supp_mlme_setprotection@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
Lloh24:
	adrp	x8, _supp_cancel_auth_timeout@GOTPAGE
Lloh25:
	ldr	x8, [x8, _supp_cancel_auth_timeout@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _supp_deauthenticate@GOTPAGE
Lloh28:
	ldr	x9, [x9, _supp_deauthenticate@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	stp	w9, w8, [x0]
	bl	_wpa_sm_init
	str	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.2:
	mov	x1, x21
	bl	_wpa_sm_set_own_addr
	ldr	x0, [x19, #8]
Lloh30:
	adrp	x8, _WPA_PARAM_RSN_ENABLED@GOTPAGE
Lloh31:
	ldr	x8, [x8, _WPA_PARAM_RSN_ENABLED@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_wpa_sm_set_param
	ldr	x0, [x19, #8]
Lloh33:
	adrp	x8, _WPA_PARAM_PROTO@GOTPAGE
Lloh34:
	ldr	x8, [x8, _WPA_PARAM_PROTO@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x8, _WPA_PROTO_RSN@GOTPAGE
Lloh37:
	ldr	x8, [x8, _WPA_PROTO_RSN@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	bl	_wpa_sm_set_param
	ldr	x0, [x19, #8]
Lloh39:
	adrp	x8, _WPA_PARAM_PAIRWISE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _WPA_PARAM_PAIRWISE@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
Lloh42:
	adrp	x21, _WPA_CIPHER_CCMP@GOTPAGE
Lloh43:
	ldr	x21, [x21, _WPA_CIPHER_CCMP@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_wpa_sm_set_param
	ldr	x0, [x19, #8]
Lloh44:
	adrp	x8, _WPA_PARAM_GROUP@GOTPAGE
Lloh45:
	ldr	x8, [x8, _WPA_PARAM_GROUP@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	ldr	w2, [x21]
	bl	_wpa_sm_set_param
	ldr	x0, [x19, #8]
Lloh47:
	adrp	x8, _WPA_PARAM_KEY_MGMT@GOTPAGE
Lloh48:
	ldr	x8, [x8, _WPA_PARAM_KEY_MGMT@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
Lloh50:
	adrp	x8, _WPA_KEY_MGMT_PSK@GOTPAGE
Lloh51:
	ldr	x8, [x8, _WPA_KEY_MGMT_PSK@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
	bl	_wpa_sm_set_param
	ldr	x0, [x19, #8]
Lloh53:
	adrp	x8, _PMK_LEN@GOTPAGE
Lloh54:
	ldr	x8, [x8, _PMK_LEN@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x8]
	mov	x1, x20
	mov	x3, #0
	mov	x4, #0
	bl	_wpa_sm_set_pmk
	mov	w8, #4
	str	w8, [x19]
	ldr	x0, [x19, #8]
	ldr	w1, [x19, #16]
	mov	x2, x19
	bl	_wpa_sm_set_assoc_wpa_ie_default
	tbnz	x0, #63, LBB0_5
; %bb.3:
	ldr	x0, [x19, #8]
	ldr	w1, [x19, #4]
	bl	_wpa_sm_notify_assoc
	mov	w0, #0
	b	LBB0_7
LBB0_4:
Lloh56:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh57:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh58:
	ldr	w0, [x8]
Lloh59:
	adrp	x1, l_.str@PAGE
Lloh60:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	x0, x22
	bl	_os_free
	b	LBB0_6
LBB0_5:
Lloh61:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh62:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh63:
	ldr	w0, [x8]
Lloh64:
	adrp	x1, l_.str.1@PAGE
Lloh65:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_supp_set_state,4,2             ; @supp_set_state
	.comm	_supp_get_state,4,2             ; @supp_get_state
	.comm	_supp_ether_send,4,2            ; @supp_ether_send
	.comm	_supp_get_beacon_ie,4,2         ; @supp_get_beacon_ie
	.comm	_supp_alloc_eapol,4,2           ; @supp_alloc_eapol
	.comm	_supp_set_key,4,2               ; @supp_set_key
	.comm	_supp_get_network_ctx,4,2       ; @supp_get_network_ctx
	.comm	_supp_mlme_setprotection,4,2    ; @supp_mlme_setprotection
	.comm	_supp_cancel_auth_timeout,4,2   ; @supp_cancel_auth_timeout
	.comm	_supp_deauthenticate,4,2        ; @supp_deauthenticate
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SUPP: wpa_sm_init() failed"

	.comm	_WPA_PARAM_RSN_ENABLED,4,2      ; @WPA_PARAM_RSN_ENABLED
	.comm	_WPA_PARAM_PROTO,4,2            ; @WPA_PARAM_PROTO
	.comm	_WPA_PROTO_RSN,4,2              ; @WPA_PROTO_RSN
	.comm	_WPA_PARAM_PAIRWISE,4,2         ; @WPA_PARAM_PAIRWISE
	.comm	_WPA_CIPHER_CCMP,4,2            ; @WPA_CIPHER_CCMP
	.comm	_WPA_PARAM_GROUP,4,2            ; @WPA_PARAM_GROUP
	.comm	_WPA_PARAM_KEY_MGMT,4,2         ; @WPA_PARAM_KEY_MGMT
	.comm	_WPA_KEY_MGMT_PSK,4,2           ; @WPA_KEY_MGMT_PSK
	.comm	_PMK_LEN,4,2                    ; @PMK_LEN
l_.str.1:                               ; @.str.1
	.asciz	"SUPP: wpa_sm_set_assoc_wpa_ie_default() failed"

	.no_dead_strip	_ibss_rsn_supp_init
.subsections_via_symbols
