	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_driver_nl80211_get_info
_wpa_driver_nl80211_get_info:           ## @wpa_driver_nl80211_get_info
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$88, %edx
	callq	_os_memset
	movq	%r15, 80(%r14)
	movq	%r15, 72(%r14)
	movq	%r15, %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:
	movl	48(%r15), %edi
	movq	_NL80211_CMD_GET_WIPHY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	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_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_nlmsg_free
	movl	$-1, %eax
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_wiphy_info_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rcx
	callq	_send_and_recv_msgs
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_26
## %bb.6:
	cmpq	$0, 64(%r14)
	je	LBB0_8
## %bb.7:
	movq	_WPA_DRIVER_FLAGS_SME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	jmp	LBB0_10
LBB0_8:
	cmpl	$0, 56(%r14)
	jne	LBB0_10
## %bb.9:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wpa_printf
	movl	$1, (%r14)
LBB0_10:
	cmpq	$0, 48(%r14)
	je	LBB0_13
## %bb.11:
	cmpq	$0, 40(%r14)
	je	LBB0_13
## %bb.12:
	movq	_WPA_DRIVER_FLAGS_P2P_CAPABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_13:
	cmpq	$0, 32(%r14)
	je	LBB0_15
## %bb.14:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_wpa_printf
	movq	_WPA_DRIVER_FLAGS_P2P_CONCURRENT@GOTPCREL(%rip), %rax
	movl	(%r15), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r15)
	movq	_WPA_DRIVER_FLAGS_P2P_MGMT_AND_NON_P2P@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%r15)
LBB0_15:
	cmpl	$2, 4(%r14)
	jl	LBB0_17
## %bb.16:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_wpa_printf
	movl	4(%r14), %eax
	movl	%eax, 4(%r15)
LBB0_17:
	movq	_WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_19
## %bb.18:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_wpa_printf
LBB0_19:
	cmpl	$0, 8(%r15)
	jne	LBB0_21
## %bb.20:
	movl	$5000, 8(%r15)                  ## imm = 0x1388
LBB0_21:
	movl	24(%r14), %eax
	movl	%eax, 44(%r15)
	movl	20(%r14), %eax
	movl	%eax, 40(%r15)
	movl	16(%r14), %eax
	movl	%eax, 36(%r15)
	cmpq	$0, 8(%r14)
	je	LBB0_24
## %bb.22:
	movq	_WPA_DRIVER_FLAGS_AP_CSA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	cmpl	$0, 12(%r15)
	jne	LBB0_24
## %bb.23:
	movl	$1, 12(%r15)
LBB0_24:
	xorl	%eax, %eax
	cmpl	$0, 16(%r15)
	jne	LBB0_26
## %bb.25:
	movl	$1, 16(%r15)
	movq	_UINT32_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%r15)
	movq	$0, 24(%r15)
	jmp	LBB0_26
	.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	_wiphy_info_handler,4,2         ## @wiphy_info_handler
	.comm	_WPA_DRIVER_FLAGS_SME,4,2       ## @WPA_DRIVER_FLAGS_SME
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nl80211: Driver does not support authentication/association or connect commands"

	.comm	_WPA_DRIVER_FLAGS_P2P_CAPABLE,4,2 ## @WPA_DRIVER_FLAGS_P2P_CAPABLE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"nl80211: Use separate P2P group interface (driver advertised support)"

	.comm	_WPA_DRIVER_FLAGS_P2P_CONCURRENT,4,2 ## @WPA_DRIVER_FLAGS_P2P_CONCURRENT
	.comm	_WPA_DRIVER_FLAGS_P2P_MGMT_AND_NON_P2P,4,2 ## @WPA_DRIVER_FLAGS_P2P_MGMT_AND_NON_P2P
L_.str.2:                               ## @.str.2
	.asciz	"nl80211: Enable multi-channel concurrent (driver advertised support)"

	.comm	_WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE,4,2 ## @WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE
L_.str.3:                               ## @.str.3
	.asciz	"nl80211: use P2P_DEVICE support"

	.comm	_WPA_DRIVER_FLAGS_AP_CSA,4,2    ## @WPA_DRIVER_FLAGS_AP_CSA
	.comm	_UINT32_MAX,4,2                 ## @UINT32_MAX
	.no_dead_strip	_wpa_driver_nl80211_get_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_driver_nl80211_get_info
_wpa_driver_nl80211_get_info:           ; @wpa_driver_nl80211_get_info
	.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, x1
	mov	x19, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #88
	bl	_os_memset
	stp	x19, x19, [x20, #72]
	mov	x0, x19
	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
	ldr	w0, [x19, #48]
Lloh6:
	adrp	x8, _NL80211_CMD_GET_WIPHY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NL80211_CMD_GET_WIPHY@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_nl80211_cmd_msg
	mov	x21, 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, x21
	bl	_nla_put_flag
	cbz	x0, LBB0_5
LBB0_2:
	mov	x0, x21
	bl	_nlmsg_free
LBB0_3:
	mov	w0, #-1
LBB0_4:
	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_5:
Lloh12:
	adrp	x8, _wiphy_info_handler@GOTPAGE
Lloh13:
	ldr	x8, [x8, _wiphy_info_handler@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x3, x20
	bl	_send_and_recv_msgs
	cbnz	x0, LBB0_3
; %bb.6:
	ldr	x8, [x20, #64]
	cbz	x8, LBB0_8
; %bb.7:
Lloh15:
	adrp	x8, _WPA_DRIVER_FLAGS_SME@GOTPAGE
Lloh16:
	ldr	x8, [x8, _WPA_DRIVER_FLAGS_SME@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_10
LBB0_8:
	ldr	w8, [x20, #56]
	cbnz	w8, LBB0_10
; %bb.9:
Lloh18:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w8, #1
	str	w8, [x20]
LBB0_10:
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_13
; %bb.11:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_13
; %bb.12:
Lloh23:
	adrp	x8, _WPA_DRIVER_FLAGS_P2P_CAPABLE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _WPA_DRIVER_FLAGS_P2P_CAPABLE@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_13:
	ldr	x8, [x20, #32]
Lloh26:
	adrp	x21, _MSG_DEBUG@GOTPAGE
Lloh27:
	ldr	x21, [x21, _MSG_DEBUG@GOTPAGEOFF]
	cbz	x8, LBB0_15
; %bb.14:
	ldr	w0, [x21]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_wpa_printf
Lloh30:
	adrp	x8, _WPA_DRIVER_FLAGS_P2P_CONCURRENT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _WPA_DRIVER_FLAGS_P2P_CONCURRENT@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh33:
	adrp	x9, _WPA_DRIVER_FLAGS_P2P_MGMT_AND_NON_P2P@GOTPAGE
Lloh34:
	ldr	x9, [x9, _WPA_DRIVER_FLAGS_P2P_MGMT_AND_NON_P2P@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_15:
	ldr	w8, [x20, #4]
	cmp	w8, #2
	b.lt	LBB0_17
; %bb.16:
	ldr	w0, [x21]
Lloh36:
	adrp	x1, l_.str.2@PAGE
Lloh37:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_wpa_printf
	ldr	w8, [x20, #4]
	str	w8, [x19, #4]
LBB0_17:
	ldr	w8, [x19]
Lloh38:
	adrp	x9, _WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE@GOTPAGE
Lloh39:
	ldr	x9, [x9, _WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.18:
	ldr	w0, [x21]
Lloh41:
	adrp	x1, l_.str.3@PAGE
Lloh42:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
LBB0_19:
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_21
; %bb.20:
	mov	w8, #5000
	str	w8, [x19, #8]
LBB0_21:
	ldr	w8, [x20, #24]
	str	w8, [x19, #44]
	ldr	d0, [x20, #16]
	stur	d0, [x19, #36]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_24
; %bb.22:
Lloh43:
	adrp	x8, _WPA_DRIVER_FLAGS_AP_CSA@GOTPAGE
Lloh44:
	ldr	x8, [x8, _WPA_DRIVER_FLAGS_AP_CSA@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_24
; %bb.23:
	mov	w8, #1
	str	w8, [x19, #12]
LBB0_24:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_26
; %bb.25:
	mov	w0, #0
	b	LBB0_4
LBB0_26:
	mov	w0, #0
	mov	w8, #1
	str	w8, [x19, #16]
Lloh46:
	adrp	x8, _UINT32_MAX@GOTPAGE
Lloh47:
	ldr	x8, [x8, _UINT32_MAX@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	str	xzr, [x19, #24]
	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
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.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	_wiphy_info_handler,4,2         ; @wiphy_info_handler
	.comm	_WPA_DRIVER_FLAGS_SME,4,2       ; @WPA_DRIVER_FLAGS_SME
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nl80211: Driver does not support authentication/association or connect commands"

	.comm	_WPA_DRIVER_FLAGS_P2P_CAPABLE,4,2 ; @WPA_DRIVER_FLAGS_P2P_CAPABLE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"nl80211: Use separate P2P group interface (driver advertised support)"

	.comm	_WPA_DRIVER_FLAGS_P2P_CONCURRENT,4,2 ; @WPA_DRIVER_FLAGS_P2P_CONCURRENT
	.comm	_WPA_DRIVER_FLAGS_P2P_MGMT_AND_NON_P2P,4,2 ; @WPA_DRIVER_FLAGS_P2P_MGMT_AND_NON_P2P
l_.str.2:                               ; @.str.2
	.asciz	"nl80211: Enable multi-channel concurrent (driver advertised support)"

	.comm	_WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE,4,2 ; @WPA_DRIVER_FLAGS_DEDICATED_P2P_DEVICE
l_.str.3:                               ; @.str.3
	.asciz	"nl80211: use P2P_DEVICE support"

	.comm	_WPA_DRIVER_FLAGS_AP_CSA,4,2    ; @WPA_DRIVER_FLAGS_AP_CSA
	.comm	_UINT32_MAX,4,2                 ; @UINT32_MAX
	.no_dead_strip	_wpa_driver_nl80211_get_info
.subsections_via_symbols
