	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_vendor_event
_nl80211_vendor_event:                  ## @nl80211_vendor_event
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rcx
	movq	_NL80211_ATTR_VENDOR_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rsi,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rsi, %rbx
	movq	_NL80211_ATTR_VENDOR_SUBCMD@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	$0, (%rsi,%rax,8)
	je	LBB0_12
## %bb.2:
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	callq	_nla_get_u32
	movl	%eax, %r14d
	movq	(%r15), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_get_u32
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_NL80211_ATTR_WIPHY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	callq	_nla_get_u32
	movl	%eax, %r13d
	jmp	LBB0_5
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%r13d, %r13d
LBB0_5:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movl	%r13d, %edx
	movl	%r14d, %r12d
	movl	%r14d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_NL80211_ATTR_VENDOR_DATA@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	callq	_nla_data
	movq	%rax, %r15
	movq	(%r14), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_len
	movq	%rax, %r14
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_wpa_hexdump
	jmp	LBB0_8
LBB0_6:
	xorl	%r14d, %r14d
LBB0_8:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edi
	callq	_nl80211_get_wiphy_index
	testl	%eax, %eax
	js	LBB0_10
## %bb.9:
	cmpl	%r13d, %eax
	je	LBB0_10
## %bb.13:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
LBB0_10:
	cmpl	$128, %r12d
	jne	LBB0_11
## %bb.14:
	movq	%rbx, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r15, %rdx
	movq	%r14, %rcx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nl80211_vendor_event_qca       ## TAILCALL
LBB0_11:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_ATTR_VENDOR_ID,8,3     ## @NL80211_ATTR_VENDOR_ID
	.comm	_NL80211_ATTR_VENDOR_SUBCMD,8,3 ## @NL80211_ATTR_VENDOR_SUBCMD
	.comm	_NL80211_ATTR_WIPHY,8,3         ## @NL80211_ATTR_WIPHY
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nl80211: Vendor event: wiphy=%u vendor_id=0x%x subcmd=%u"

	.comm	_NL80211_ATTR_VENDOR_DATA,8,3   ## @NL80211_ATTR_VENDOR_DATA
	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.1:                               ## @.str.1
	.asciz	"nl80211: Vendor data"

L_.str.2:                               ## @.str.2
	.asciz	"nl80211: Ignore vendor event for foreign wiphy %u (own: %d)"

L_.str.3:                               ## @.str.3
	.asciz	"nl80211: Ignore unsupported vendor event"

	.no_dead_strip	_nl80211_vendor_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_vendor_event
_nl80211_vendor_event:                  ; @nl80211_vendor_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _NL80211_ATTR_VENDOR_ID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_ATTR_VENDOR_ID@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x0, [x1, x8, lsl #3]
	cbz	x0, LBB0_11
; %bb.1:
	mov	x23, x1
Lloh3:
	adrp	x21, _NL80211_ATTR_VENDOR_SUBCMD@GOTPAGE
Lloh4:
	ldr	x21, [x21, _NL80211_ATTR_VENDOR_SUBCMD@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x8, [x1, x8, lsl #3]
	cbz	x8, LBB0_11
; %bb.2:
	bl	_nla_get_u32
	mov	x20, x0
	ldr	x8, [x21]
	ldr	x0, [x23, x8, lsl #3]
	bl	_nla_get_u32
	mov	x21, x0
Lloh5:
	adrp	x8, _NL80211_ATTR_WIPHY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NL80211_ATTR_WIPHY@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x0, [x23, x8, lsl #3]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_nla_get_u32
	mov	x22, x0
	b	LBB0_5
LBB0_4:
	mov	w22, #0
LBB0_5:
Lloh8:
	adrp	x25, _MSG_DEBUG@GOTPAGE
Lloh9:
	ldr	x25, [x25, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x25]
	stp	x20, x21, [sp, #8]
	str	x22, [sp]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
Lloh12:
	adrp	x26, _NL80211_ATTR_VENDOR_DATA@GOTPAGE
Lloh13:
	ldr	x26, [x26, _NL80211_ATTR_VENDOR_DATA@GOTPAGEOFF]
	ldr	x8, [x26]
	ldr	x0, [x23, x8, lsl #3]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_nla_data
	mov	x24, x0
	ldr	x8, [x26]
	ldr	x0, [x23, x8, lsl #3]
	bl	_nla_len
	mov	x23, x0
Lloh14:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x24
	mov	x3, x23
	bl	_wpa_hexdump
	b	LBB0_8
LBB0_7:
	mov	x24, #0
	mov	x23, #0
LBB0_8:
	ldr	w0, [x19]
	bl	_nl80211_get_wiphy_index
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_12
; %bb.9:
	cmp	w0, w22
	b.eq	LBB0_12
; %bb.10:
	ldr	w8, [x25]
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	stp	x22, x0, [sp]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x8
	bl	_wpa_printf
LBB0_11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	cmp	w20, #128
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x24
	mov	x3, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_nl80211_vendor_event_qca
LBB0_14:
	ldr	w0, [x25]
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_wpa_printf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_ATTR_VENDOR_ID,8,3     ; @NL80211_ATTR_VENDOR_ID
	.comm	_NL80211_ATTR_VENDOR_SUBCMD,8,3 ; @NL80211_ATTR_VENDOR_SUBCMD
	.comm	_NL80211_ATTR_WIPHY,8,3         ; @NL80211_ATTR_WIPHY
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nl80211: Vendor event: wiphy=%u vendor_id=0x%x subcmd=%u"

	.comm	_NL80211_ATTR_VENDOR_DATA,8,3   ; @NL80211_ATTR_VENDOR_DATA
	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.1:                               ; @.str.1
	.asciz	"nl80211: Vendor data"

l_.str.2:                               ; @.str.2
	.asciz	"nl80211: Ignore vendor event for foreign wiphy %u (own: %d)"

l_.str.3:                               ; @.str.3
	.asciz	"nl80211: Ignore unsupported vendor event"

	.no_dead_strip	_nl80211_vendor_event
.subsections_via_symbols
