	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_get_key
_nl80211_get_key:                       ## @nl80211_get_key
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	16(%rsi), %rax
	movq	(%rax), %r14
	movq	8(%rax), %rbx
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -96(%rbp)
	movq	$0, -80(%rbp)
	movq	8(%rsi), %rax
	movq	_NL80211_ATTR_KEY_IDX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	callq	_nla_get_u8
	cmpl	$5, %eax
	jg	LBB0_6
## %bb.3:
	movl	%eax, %r12d
	movq	8(%r15), %rax
	jmp	LBB0_4
LBB0_1:
	xorl	%r12d, %r12d
LBB0_4:
	movq	_NL80211_ATTR_MAC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.8:
	callq	_nla_data
	movq	%rax, %r13
	movq	8(%r15), %rax
	jmp	LBB0_9
LBB0_5:
	xorl	%r13d, %r13d
LBB0_9:
	testq	%r13, %r13
	setne	%bl
	movq	_NL80211_ATTR_KEY_TYPE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.10:
	callq	_nla_get_u32
	movq	_NUM_NL80211_KEYTYPES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_6
## %bb.11:
	movq	_NL80211_KEYTYPE_GROUP@GOTPCREL(%rip), %rdx
	movq	_NL80211_KEYTYPE_PAIRWISE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	sete	%bl
	cmpq	(%rdx), %rax
	je	LBB0_13
## %bb.12:
	cmpq	%rcx, %rax
	je	LBB0_13
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_7:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_30:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	8(%r14), %rax
	cmpl	$0, (%rax)
	je	LBB0_14
## %bb.15:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	_NLMSG_DEFAULT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nlmsg_new
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movq	%rax, %r14
	movb	%bl, -41(%rbp)                  ## 1-byte Spill
	movq	%r13, %rbx
	movl	(%r15), %edx
	movl	4(%r15), %esi
	movq	_NL80211_CMD_NEW_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_nl80211hdr_put
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_18
## %bb.31:
	movq	%r13, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_14:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_16:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_18:
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%r14, -80(%rbp)
	movl	%r12d, -96(%rbp)
	movq	_NL80211_ATTR_IFINDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_28
## %bb.19:
	movq	_NL80211_ATTR_KEY_IDX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
	callq	_nla_put_u8
	testq	%rax, %rax
	je	LBB0_20
LBB0_28:
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_29:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_nlmsg_free
	jmp	LBB0_30
LBB0_20:
	movzbl	-41(%rbp), %r14d                ## 1-byte Folded Reload
	movq	%rbx, %r8
	testq	%rbx, %rbx
	je	LBB0_25
## %bb.21:
	movq	_NL80211_ATTR_MAC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r8, %rcx
	callq	_nla_put
	testq	%rax, %rax
	jne	LBB0_28
## %bb.22:
	testl	%r14d, %r14d
	movq	%rbx, %r8
	je	LBB0_25
## %bb.23:
	movq	_WIPHY_FLAG_IBSS_RSN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	je	LBB0_24
LBB0_25:
	movq	_get_key_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	-96(%rbp), %r9
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	movl	%r14d, %ecx
	callq	_rdev_get_key
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_29
## %bb.26:
	cmpq	$0, -88(%rbp)
	jne	LBB0_28
## %bb.27:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_genlmsg_end
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_genlmsg_reply
	movl	%eax, %ebx
	jmp	LBB0_30
LBB0_24:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_ATTR_KEY_IDX,8,3       ## @NL80211_ATTR_KEY_IDX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NL80211_ATTR_MAC,8,3           ## @NL80211_ATTR_MAC
	.comm	_NL80211_ATTR_KEY_TYPE,8,3      ## @NL80211_ATTR_KEY_TYPE
	.comm	_NUM_NL80211_KEYTYPES,8,3       ## @NUM_NL80211_KEYTYPES
	.comm	_NL80211_KEYTYPE_GROUP,8,3      ## @NL80211_KEYTYPE_GROUP
	.comm	_NL80211_KEYTYPE_PAIRWISE,8,3   ## @NL80211_KEYTYPE_PAIRWISE
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ## @NLMSG_DEFAULT_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NL80211_CMD_NEW_KEY,4,2        ## @NL80211_CMD_NEW_KEY
	.comm	_NL80211_ATTR_IFINDEX,4,2       ## @NL80211_ATTR_IFINDEX
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_WIPHY_FLAG_IBSS_RSN,4,2        ## @WIPHY_FLAG_IBSS_RSN
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_get_key_callback,4,2           ## @get_key_callback
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.no_dead_strip	_nl80211_get_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_get_key
_nl80211_get_key:                       ; @nl80211_get_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	ldp	x8, x9, [x1, #8]
	ldp	x20, x21, [x9]
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp, #24]
Lloh0:
	adrp	x27, _NL80211_ATTR_KEY_IDX@GOTPAGE
Lloh1:
	ldr	x27, [x27, _NL80211_ATTR_KEY_IDX@GOTPAGEOFF]
	ldr	x9, [x27]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_3
; %bb.1:
	bl	_nla_get_u8
	cmp	w0, #5
	b.gt	LBB0_14
; %bb.2:
	mov	x22, x0
	ldr	x8, [x19, #8]
	b	LBB0_4
LBB0_3:
	mov	w22, #0
LBB0_4:
Lloh2:
	adrp	x28, _NL80211_ATTR_MAC@GOTPAGE
Lloh3:
	ldr	x28, [x28, _NL80211_ATTR_MAC@GOTPAGEOFF]
	ldr	x9, [x28]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_nla_data
	mov	x23, x0
	ldr	x8, [x19, #8]
	b	LBB0_7
LBB0_6:
	mov	x23, #0
LBB0_7:
	cmp	x23, #0
	cset	w24, ne
Lloh4:
	adrp	x9, _NL80211_ATTR_KEY_TYPE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _NL80211_ATTR_KEY_TYPE@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_10
; %bb.8:
	bl	_nla_get_u32
Lloh7:
	adrp	x8, _NUM_NL80211_KEYTYPES@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NUM_NL80211_KEYTYPES@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_14
; %bb.9:
Lloh10:
	adrp	x8, _NL80211_KEYTYPE_GROUP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NL80211_KEYTYPE_GROUP@GOTPAGEOFF]
Lloh12:
	adrp	x9, _NL80211_KEYTYPE_PAIRWISE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NL80211_KEYTYPE_PAIRWISE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	ldr	x9, [x9]
	cmp	x0, x9
	cset	w24, eq
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_14
LBB0_10:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_17
; %bb.11:
Lloh16:
	adrp	x8, _NLMSG_DEFAULT_SIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _NLMSG_DEFAULT_SIZE@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_nlmsg_new
	cbz	x0, LBB0_18
; %bb.12:
	mov	x25, x0
	ldp	w2, w1, [x19]
Lloh22:
	adrp	x8, _NL80211_CMD_NEW_KEY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _NL80211_CMD_NEW_KEY@GOTPAGEOFF]
Lloh24:
	ldr	w4, [x8]
	mov	w3, #0
	bl	_nl80211hdr_put
	mov	x26, x0
	bl	_IS_ERR
	cbz	x0, LBB0_19
; %bb.13:
	mov	x0, x26
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_PTR_ERR
LBB0_14:
Lloh25:
	adrp	x8, _EINVAL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_16:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_17:
Lloh27:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_15
LBB0_18:
Lloh29:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_15
LBB0_19:
	str	x25, [sp, #24]
	str	w22, [sp, #8]
Lloh31:
	adrp	x8, _NL80211_ATTR_IFINDEX@GOTPAGE
Lloh32:
	ldr	x8, [x8, _NL80211_ATTR_IFINDEX@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	ldr	w2, [x21, #4]
	mov	x0, x25
	bl	_nla_put_u32
	cbnz	x0, LBB0_21
; %bb.20:
	ldr	x1, [x27]
	mov	x0, x25
	mov	x2, x22
	bl	_nla_put_u8
	cbz	x0, LBB0_23
LBB0_21:
Lloh34:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_22:
	mov	x0, x25
	bl	_nlmsg_free
	b	LBB0_16
LBB0_23:
	cbz	x23, LBB0_27
; %bb.24:
	ldr	x1, [x28]
Lloh37:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
	mov	x0, x25
	mov	x3, x23
	bl	_nla_put
	cbnz	x0, LBB0_21
; %bb.25:
	cbz	w24, LBB0_27
; %bb.26:
	ldr	w8, [x20]
Lloh40:
	adrp	x9, _WIPHY_FLAG_IBSS_RSN@GOTPAGE
Lloh41:
	ldr	x9, [x9, _WIPHY_FLAG_IBSS_RSN@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_30
LBB0_27:
Lloh43:
	adrp	x8, _get_key_callback@GOTPAGE
Lloh44:
	ldr	x8, [x8, _get_key_callback@GOTPAGEOFF]
Lloh45:
	ldr	w6, [x8]
	add	x5, sp, #8
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x24
	mov	x4, x23
	bl	_rdev_get_key
	mov	x20, x0
	cbnz	w0, LBB0_22
; %bb.28:
	ldr	x8, [sp, #16]
	cbnz	x8, LBB0_21
; %bb.29:
	mov	x0, x25
	mov	x1, x26
	bl	_genlmsg_end
	mov	x0, x25
	mov	x1, x19
	bl	_genlmsg_reply
	mov	x20, x0
	b	LBB0_16
LBB0_30:
Lloh46:
	adrp	x8, _ENOENT@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_15
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_ATTR_KEY_IDX,8,3       ; @NL80211_ATTR_KEY_IDX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NL80211_ATTR_MAC,8,3           ; @NL80211_ATTR_MAC
	.comm	_NL80211_ATTR_KEY_TYPE,8,3      ; @NL80211_ATTR_KEY_TYPE
	.comm	_NUM_NL80211_KEYTYPES,8,3       ; @NUM_NL80211_KEYTYPES
	.comm	_NL80211_KEYTYPE_GROUP,8,3      ; @NL80211_KEYTYPE_GROUP
	.comm	_NL80211_KEYTYPE_PAIRWISE,8,3   ; @NL80211_KEYTYPE_PAIRWISE
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ; @NLMSG_DEFAULT_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NL80211_CMD_NEW_KEY,4,2        ; @NL80211_CMD_NEW_KEY
	.comm	_NL80211_ATTR_IFINDEX,4,2       ; @NL80211_ATTR_IFINDEX
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_WIPHY_FLAG_IBSS_RSN,4,2        ; @WIPHY_FLAG_IBSS_RSN
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_get_key_callback,4,2           ; @get_key_callback
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.no_dead_strip	_nl80211_get_key
.subsections_via_symbols
