	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nl80211_get_hw_feature_data    ## -- Begin function nl80211_get_hw_feature_data
	.p2align	4, 0x90
_nl80211_get_hw_feature_data:           ## @nl80211_get_hw_feature_data
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movq	%rsi, -72(%rbp)
	movl	$-1, -64(%rbp)
	movq	$0, -56(%rbp)
	movl	$0, -48(%rbp)
	movq	$0, -40(%rbp)
	movl	$0, (%rsi)
	movl	$0, (%rdx)
	movl	$0, (%rcx)
	movq	%r12, %rdi
	callq	_get_nl80211_protocol_features
	movq	_NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_2
## %bb.1:
	movq	_NLM_F_DUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	movq	_NL80211_CMD_GET_WIPHY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_nl80211_cmd_msg
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_NL80211_ATTR_SPLIT_WIPHY_DUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nla_put_flag
	testq	%rax, %rax
	je	LBB0_7
LBB0_4:
	movq	%rbx, %rdi
	callq	_nlmsg_free
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_phy_info_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-72(%rbp), %rcx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_send_and_recv_msgs
	testq	%rax, %rax
	jne	LBB0_5
## %bb.9:
	leaq	-72(%rbp), %rsi
	movq	%r12, %rdi
	callq	_nl80211_set_regulatory_flags
	cmpq	$0, -40(%rbp)
	je	LBB0_16
## %bb.10:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.11:
	movq	$-1, %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%r15), %rax
	incq	%r14
	cmpq	%rax, %r14
	jge	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	leaq	16(%rbx), %r12
	movq	8(%rdi,%rbx), %rdi
	callq	_os_free
	movq	-56(%rbp), %rax
	movq	(%rax,%rbx), %rdi
	callq	_os_free
	movq	-56(%rbp), %rdi
	movq	%r12, %rbx
	testq	%rdi, %rdi
	jne	LBB0_12
LBB0_14:
	xorl	%edi, %edi
LBB0_15:
	callq	_os_free
	movl	$0, (%r15)
	jmp	LBB0_5
LBB0_16:
	movl	-48(%rbp), %eax
	movl	%eax, (%r14)
	movq	-56(%rbp), %rdi
	movq	%r15, %rsi
	callq	_wpa_driver_nl80211_postprocess_modes
	movq	%rax, %rbx
	movl	(%r15), %esi
	movq	%rax, %rdi
	callq	_nl80211_dump_chan_list
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP,4,2 ## @NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP
	.comm	_NLM_F_DUMP,4,2                 ## @NLM_F_DUMP
	.comm	_NL80211_CMD_GET_WIPHY,4,2      ## @NL80211_CMD_GET_WIPHY
	.comm	_NL80211_ATTR_SPLIT_WIPHY_DUMP,4,2 ## @NL80211_ATTR_SPLIT_WIPHY_DUMP
	.comm	_phy_info_handler,4,2           ## @phy_info_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nl80211_get_hw_feature_data    ; -- Begin function nl80211_get_hw_feature_data
	.p2align	2
_nl80211_get_hw_feature_data:           ; @nl80211_get_hw_feature_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x19, x1
	mov	x22, x0
	ldr	x21, [x0]
	str	x1, [sp, #8]
	mov	w8, #-1
	str	w8, [sp, #16]
	str	xzr, [sp, #24]
	str	wzr, [sp, #32]
	str	xzr, [sp, #40]
	str	wzr, [x1]
	str	wzr, [x2]
	str	wzr, [x3]
	mov	x0, x21
	bl	_get_nl80211_protocol_features
Lloh0:
	adrp	x8, _NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _NLM_F_DUMP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NLM_F_DUMP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w1, wzr, w9, eq
Lloh6:
	adrp	x8, _NL80211_CMD_GET_WIPHY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NL80211_CMD_GET_WIPHY@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_nl80211_cmd_msg
	mov	x22, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _NL80211_ATTR_SPLIT_WIPHY_DUMP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NL80211_ATTR_SPLIT_WIPHY_DUMP@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_nla_put_flag
	cbz	x0, LBB0_5
LBB0_2:
	mov	x0, x22
	bl	_nlmsg_free
LBB0_3:
	mov	x20, #0
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_5:
Lloh12:
	adrp	x8, _phy_info_handler@GOTPAGE
Lloh13:
	ldr	x8, [x8, _phy_info_handler@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x22
	bl	_send_and_recv_msgs
	cbnz	x0, LBB0_3
; %bb.6:
	add	x1, sp, #8
	mov	x0, x21
	bl	_nl80211_set_regulatory_flags
	ldr	x8, [sp, #40]
	cbz	x8, LBB0_12
; %bb.7:
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_11
; %bb.8:
	mov	x21, #0
	mov	x20, #-1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x19]
	add	x20, x20, #1
	cmp	x20, x8
	b.ge	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x21, #16
	add	x8, x0, x21
	ldr	x0, [x8, #8]
	bl	_os_free
	ldr	x8, [sp, #24]
	ldr	x0, [x8, x21]
	bl	_os_free
	ldr	x0, [sp, #24]
	mov	x21, x22
	cbnz	x0, LBB0_9
LBB0_11:
	bl	_os_free
	mov	x20, #0
	str	wzr, [x19]
	b	LBB0_4
LBB0_12:
	ldr	w8, [sp, #32]
	str	w8, [x20]
	ldr	x0, [sp, #24]
	mov	x1, x19
	bl	_wpa_driver_nl80211_postprocess_modes
	mov	x20, x0
	ldr	w1, [x19]
	bl	_nl80211_dump_chan_list
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP,4,2 ; @NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP
	.comm	_NLM_F_DUMP,4,2                 ; @NLM_F_DUMP
	.comm	_NL80211_CMD_GET_WIPHY,4,2      ; @NL80211_CMD_GET_WIPHY
	.comm	_NL80211_ATTR_SPLIT_WIPHY_DUMP,4,2 ; @NL80211_ATTR_SPLIT_WIPHY_DUMP
	.comm	_phy_info_handler,4,2           ; @phy_info_handler
.subsections_via_symbols
