	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_send_mgmt_stypes
_nl80211_send_mgmt_stypes:              ## @nl80211_send_mgmt_stypes
	.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
	xorl	%eax, %eax
	testq	%rsi, %rsi
	je	LBB0_23
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	_NL80211_ATTR_TX_FRAME_TYPES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_nla_nest_start
	testq	%rax, %rax
	je	LBB0_19
## %bb.2:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_NUM_NL80211_IFTYPES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_11
## %bb.3:
	xorl	%ebx, %ebx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_nla_nest_end
	incq	%rbx
	movq	_NUM_NL80211_IFTYPES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	%rax, %rbx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jae	LBB0_11
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_nla_nest_start
	testq	%rax, %rax
	je	LBB0_19
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r12
	movl	(%r14,%rbx,8), %r14d
	testl	%r14d, %r14d
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	movl	%r14d, %eax
	sarl	%eax
	addl	$16, %r15d
	cmpl	$1, %r14d
	movl	%eax, %r14d
	jbe	LBB0_10
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testb	$1, %r14b
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	_NL80211_ATTR_FRAME_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IEEE80211_FTYPE_MGMT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	%r15d, %edx
	movq	%r13, %rdi
	callq	_nla_put_u16
	testq	%rax, %rax
	je	LBB0_9
	jmp	LBB0_19
LBB0_11:
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_nla_nest_end
	movq	_NL80211_ATTR_RX_FRAME_TYPES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_nla_nest_start
	testq	%rax, %rax
	je	LBB0_19
## %bb.12:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_NUM_NL80211_IFTYPES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_22
## %bb.13:
	xorl	%ebx, %ebx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_14
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_nla_nest_end
	incq	%rbx
	movq	_NUM_NL80211_IFTYPES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	%rax, %rbx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jae	LBB0_22
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_nla_nest_start
	testq	%rax, %rax
	je	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rax, %r12
	movl	4(%r14,%rbx,8), %r14d
	testl	%r14d, %r14d
	je	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=2
	movl	%r14d, %eax
	sarl	%eax
	addl	$16, %r15d
	cmpl	$1, %r14d
	movl	%eax, %r14d
	jbe	LBB0_21
LBB0_17:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testb	$1, %r14b
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	_NL80211_ATTR_FRAME_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IEEE80211_FTYPE_MGMT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	%r15d, %edx
	movq	%r13, %rdi
	callq	_nla_put_u16
	testq	%rax, %rax
	je	LBB0_20
LBB0_19:
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_nla_nest_end
	xorl	%eax, %eax
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_ATTR_TX_FRAME_TYPES,4,2 ## @NL80211_ATTR_TX_FRAME_TYPES
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_NUM_NL80211_IFTYPES,4,2        ## @NUM_NL80211_IFTYPES
	.comm	_NL80211_ATTR_FRAME_TYPE,4,2    ## @NL80211_ATTR_FRAME_TYPE
	.comm	_IEEE80211_FTYPE_MGMT,4,2       ## @IEEE80211_FTYPE_MGMT
	.comm	_NL80211_ATTR_RX_FRAME_TYPES,4,2 ## @NL80211_ATTR_RX_FRAME_TYPES
	.no_dead_strip	_nl80211_send_mgmt_stypes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_send_mgmt_stypes
_nl80211_send_mgmt_stypes:              ; @nl80211_send_mgmt_stypes
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cbz	x1, LBB0_23
; %bb.1:
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _NL80211_ATTR_TX_FRAME_TYPES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_ATTR_TX_FRAME_TYPES@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_nla_nest_start
	cbz	x0, LBB0_21
; %bb.2:
	mov	x21, x0
Lloh3:
	adrp	x24, _NUM_NL80211_IFTYPES@GOTPAGE
Lloh4:
	ldr	x24, [x24, _NUM_NL80211_IFTYPES@GOTPAGEOFF]
	ldr	w8, [x24]
	cbz	w8, LBB0_11
; %bb.3:
	mov	x22, #0
Lloh5:
	adrp	x25, _NL80211_ATTR_FRAME_TYPE@GOTPAGE
Lloh6:
	ldr	x25, [x25, _NL80211_ATTR_FRAME_TYPE@GOTPAGEOFF]
Lloh7:
	adrp	x26, _IEEE80211_FTYPE_MGMT@GOTPAGE
Lloh8:
	ldr	x26, [x26, _IEEE80211_FTYPE_MGMT@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_nla_nest_end
	add	x22, x22, #1
	ldr	w8, [x24]
	cmp	x22, x8
	b.hs	LBB0_11
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x0, x19
	mov	x1, x22
	bl	_nla_nest_start
	cbz	x0, LBB0_21
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x0
	lsl	x8, x22, #3
	ldr	w27, [x20, x8]
	cbz	w27, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w28, #0
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	asr	w8, w27, #1
	add	w28, w28, #16
	cmp	w27, #1
	mov	x27, x8
	b.ls	LBB0_4
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	tbz	w27, #0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	w1, [x25]
	ldr	w8, [x26]
	orr	w2, w8, w28
	mov	x0, x19
	bl	_nla_put_u16
	cbz	x0, LBB0_8
	b	LBB0_21
LBB0_11:
	mov	x0, x19
	mov	x1, x21
	bl	_nla_nest_end
Lloh9:
	adrp	x8, _NL80211_ATTR_RX_FRAME_TYPES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NL80211_ATTR_RX_FRAME_TYPES@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nla_nest_start
	cbz	x0, LBB0_21
; %bb.12:
	mov	x21, x0
	ldr	w8, [x24]
	cbz	w8, LBB0_22
; %bb.13:
	mov	x22, #0
Lloh12:
	adrp	x25, _NL80211_ATTR_FRAME_TYPE@GOTPAGE
Lloh13:
	ldr	x25, [x25, _NL80211_ATTR_FRAME_TYPE@GOTPAGEOFF]
Lloh14:
	adrp	x26, _IEEE80211_FTYPE_MGMT@GOTPAGE
Lloh15:
	ldr	x26, [x26, _IEEE80211_FTYPE_MGMT@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_nla_nest_end
	add	x22, x22, #1
	ldr	w8, [x24]
	cmp	x22, x8
	b.hs	LBB0_22
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	mov	x0, x19
	mov	x1, x22
	bl	_nla_nest_start
	cbz	x0, LBB0_21
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x23, x0
	add	x8, x20, x22, lsl #3
	ldr	w27, [x8, #4]
	cbz	w27, LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w28, #0
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	asr	w8, w27, #1
	add	w28, w28, #16
	cmp	w27, #1
	mov	x27, x8
	b.ls	LBB0_14
LBB0_19:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	tbz	w27, #0, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	w1, [x25]
	ldr	w8, [x26]
	orr	w2, w8, w28
	mov	x0, x19
	bl	_nla_put_u16
	cbz	x0, LBB0_18
LBB0_21:
Lloh16:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_24
LBB0_22:
	mov	x0, x19
	mov	x1, x21
	bl	_nla_nest_end
LBB0_23:
	mov	w0, #0
LBB0_24:
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_ATTR_TX_FRAME_TYPES,4,2 ; @NL80211_ATTR_TX_FRAME_TYPES
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_NUM_NL80211_IFTYPES,4,2        ; @NUM_NL80211_IFTYPES
	.comm	_NL80211_ATTR_FRAME_TYPE,4,2    ; @NL80211_ATTR_FRAME_TYPE
	.comm	_IEEE80211_FTYPE_MGMT,4,2       ; @IEEE80211_FTYPE_MGMT
	.comm	_NL80211_ATTR_RX_FRAME_TYPES,4,2 ; @NL80211_ATTR_RX_FRAME_TYPES
	.no_dead_strip	_nl80211_send_mgmt_stypes
.subsections_via_symbols
