	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_get_protocol_features
_nl80211_get_protocol_features:         ## @nl80211_get_protocol_features
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	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_1
## %bb.2:
	movq	%rax, %rbx
	movl	(%r14), %edx
	movl	4(%r14), %esi
	movq	_NL80211_CMD_GET_PROTOCOL_FEATURES@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_nl80211hdr_put
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %r12
	movq	_NL80211_ATTR_PROTOCOL_FEATURES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	je	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_kfree_skb
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
LBB0_5:
	subl	(%rax), %r15d
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_genlmsg_end
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_genlmsg_reply                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ## @NLMSG_DEFAULT_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_NL80211_CMD_GET_PROTOCOL_FEATURES,4,2 ## @NL80211_CMD_GET_PROTOCOL_FEATURES
	.comm	_NL80211_ATTR_PROTOCOL_FEATURES,4,2 ## @NL80211_ATTR_PROTOCOL_FEATURES
	.comm	_NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP,4,2 ## @NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.no_dead_strip	_nl80211_get_protocol_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_get_protocol_features
_nl80211_get_protocol_features:         ; @nl80211_get_protocol_features
	.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	x19, x1
Lloh0:
	adrp	x8, _NLMSG_DEFAULT_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NLMSG_DEFAULT_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_nlmsg_new
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	ldp	w2, w1, [x19]
Lloh6:
	adrp	x8, _NL80211_CMD_GET_PROTOCOL_FEATURES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NL80211_CMD_GET_PROTOCOL_FEATURES@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	w3, #0
	bl	_nl80211hdr_put
	cbz	x0, LBB0_3
; %bb.2:
	mov	x21, x0
Lloh9:
	adrp	x8, _NL80211_ATTR_PROTOCOL_FEATURES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NL80211_ATTR_PROTOCOL_FEATURES@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_nla_put_u32
	cbz	x0, LBB0_6
LBB0_3:
	mov	x0, x20
	bl	_kfree_skb
Lloh15:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
	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
LBB0_6:
	mov	x0, x20
	mov	x1, x21
	bl	_genlmsg_end
	mov	x0, x20
	mov	x1, x19
	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
	b	_genlmsg_reply
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_NLMSG_DEFAULT_SIZE,4,2         ; @NLMSG_DEFAULT_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_NL80211_CMD_GET_PROTOCOL_FEATURES,4,2 ; @NL80211_CMD_GET_PROTOCOL_FEATURES
	.comm	_NL80211_ATTR_PROTOCOL_FEATURES,4,2 ; @NL80211_ATTR_PROTOCOL_FEATURES
	.comm	_NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP,4,2 ; @NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.no_dead_strip	_nl80211_get_protocol_features
.subsections_via_symbols
