	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_register_mgmt
_nl80211_register_mgmt:                 ## @nl80211_register_mgmt
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rax
	movq	_NL80211_ATTR_FRAME_MATCH@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_1
## %bb.3:
	movq	%rsi, %rbx
	movq	16(%rsi), %rcx
	movq	(%rcx), %r13
	movq	8(%rcx), %r14
	movq	_NL80211_ATTR_FRAME_TYPE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.5:
	callq	_nla_get_u16
	movl	%eax, %r15d
	jmp	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_IEEE80211_FTYPE_MGMT@GOTPCREL(%rip), %rax
	movq	_IEEE80211_STYPE_ACTION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	orl	(%rax), %r15d
LBB0_6:
	movl	(%r14), %eax
	andl	$-8, %eax
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.8:
	movq	8(%r13), %rax
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.9:
	movl	8(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_data
	movl	%eax, %r13d
	movq	(%rbx), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	callq	_nla_len
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cfg80211_mlme_register_mgmt    ## TAILCALL
LBB0_7:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_FTYPE_MGMT,4,2       ## @IEEE80211_FTYPE_MGMT
	.comm	_IEEE80211_STYPE_ACTION,4,2     ## @IEEE80211_STYPE_ACTION
	.comm	_NL80211_ATTR_FRAME_MATCH,8,3   ## @NL80211_ATTR_FRAME_MATCH
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NL80211_ATTR_FRAME_TYPE,8,3    ## @NL80211_ATTR_FRAME_TYPE
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_nl80211_register_mgmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_register_mgmt
_nl80211_register_mgmt:                 ; @nl80211_register_mgmt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x24, _NL80211_ATTR_FRAME_MATCH@GOTPAGE
Lloh1:
	ldr	x24, [x24, _NL80211_ATTR_FRAME_MATCH@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_3
; %bb.1:
	mov	x19, x1
	ldr	x9, [x1, #16]
	ldp	x22, x20, [x9]
Lloh2:
	adrp	x9, _NL80211_ATTR_FRAME_TYPE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NL80211_ATTR_FRAME_TYPE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_4
; %bb.2:
	bl	_nla_get_u16
	mov	x21, x0
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_4:
Lloh7:
	adrp	x8, _IEEE80211_FTYPE_MGMT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IEEE80211_FTYPE_MGMT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _IEEE80211_STYPE_ACTION@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IEEE80211_STYPE_ACTION@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w21, w9, w8
LBB0_5:
	ldr	w8, [x20]
	and	w8, w8, #0xfffffff8
	cmp	w8, #128
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_8
; %bb.7:
	ldr	w22, [x19, #8]
	ldr	x8, [x19]
	ldr	x9, [x24]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_data
	mov	x23, x0
	ldr	x8, [x19]
	ldr	x9, [x24]
	ldr	x0, [x8, x9, lsl #3]
	bl	_nla_len
	mov	x4, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_cfg80211_mlme_register_mgmt
LBB0_8:
Lloh13:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_FTYPE_MGMT,4,2       ; @IEEE80211_FTYPE_MGMT
	.comm	_IEEE80211_STYPE_ACTION,4,2     ; @IEEE80211_STYPE_ACTION
	.comm	_NL80211_ATTR_FRAME_MATCH,8,3   ; @NL80211_ATTR_FRAME_MATCH
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NL80211_ATTR_FRAME_TYPE,8,3    ; @NL80211_ATTR_FRAME_TYPE
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_nl80211_register_mgmt
.subsections_via_symbols
