	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_crit_protocol_start
_nl80211_crit_protocol_start:           ## @nl80211_crit_protocol_start
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rsi), %rcx
	movq	(%rcx), %rbx
	movq	8(%rbx), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_1
## %bb.3:
	movq	%rsi, %r14
	movq	8(%rcx), %r15
	movq	_NL80211_CRIT_PROTO_UNSPEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	xorl	%edi, %edi
	cmpl	$0, (%rax)
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_5:
	cmpq	$0, (%rbx)
	je	LBB0_7
## %bb.6:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_15:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	8(%r14), %rax
	movq	_NL80211_ATTR_CRIT_PROT_ID@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_nla_get_u16
	movq	%rax, %r12
LBB0_9:
	movq	_NUM_NL80211_CRIT_PROTO@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jae	LBB0_4
## %bb.10:
	movq	8(%r14), %rax
	movq	_NL80211_ATTR_MAX_CRIT_PROT_DURATION@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.11:
	callq	_nla_get_u16
	movq	_NL80211_CRIT_PROTO_MAX_DURATION@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jge	LBB0_13
## %bb.12:
	movq	_ERANGE@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_13:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	movq	%rax, %rcx
	callq	_rdev_crit_proto_start
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:
	movq	(%r14), %rax
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_CRIT_PROTO_UNSPEC,4,2  ## @NL80211_CRIT_PROTO_UNSPEC
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_NL80211_ATTR_CRIT_PROT_ID,8,3  ## @NL80211_ATTR_CRIT_PROT_ID
	.comm	_NUM_NL80211_CRIT_PROTO,4,2     ## @NUM_NL80211_CRIT_PROTO
	.comm	_NL80211_ATTR_MAX_CRIT_PROT_DURATION,8,3 ## @NL80211_ATTR_MAX_CRIT_PROT_DURATION
	.comm	_NL80211_CRIT_PROTO_MAX_DURATION,8,3 ## @NL80211_CRIT_PROTO_MAX_DURATION
	.comm	_ERANGE,4,2                     ## @ERANGE
	.no_dead_strip	_nl80211_crit_protocol_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_crit_protocol_start
_nl80211_crit_protocol_start:           ; @nl80211_crit_protocol_start
	.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
	ldr	x9, [x1, #16]
	ldr	x20, [x9]
	ldr	x8, [x20, #8]
	ldr	w10, [x8, #4]
	cbz	w10, LBB0_3
; %bb.1:
	mov	x19, x1
	ldr	x21, [x9, #8]
Lloh0:
	adrp	x9, _NL80211_CRIT_PROTO_UNSPEC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NL80211_CRIT_PROTO_UNSPEC@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x9]
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.5:
Lloh7:
	adrp	x8, _EBUSY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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_8:
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x9, _NL80211_ATTR_CRIT_PROT_ID@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NL80211_ATTR_CRIT_PROT_ID@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_nla_get_u16
	mov	x22, x0
LBB0_10:
Lloh12:
	adrp	x8, _NUM_NL80211_CRIT_PROTO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NUM_NL80211_CRIT_PROTO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w22, w8
	b.hs	LBB0_2
; %bb.11:
	ldr	x8, [x19, #8]
Lloh15:
	adrp	x9, _NL80211_ATTR_MAX_CRIT_PROT_DURATION@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NL80211_ATTR_MAX_CRIT_PROT_DURATION@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_2
; %bb.12:
	bl	_nla_get_u16
Lloh18:
	adrp	x8, _NL80211_CRIT_PROTO_MAX_DURATION@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NL80211_CRIT_PROTO_MAX_DURATION@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ge	LBB0_14
; %bb.13:
Lloh21:
	adrp	x8, _ERANGE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
	b	LBB0_6
LBB0_14:
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_rdev_crit_proto_start
	cbnz	w0, LBB0_7
; %bb.15:
	ldr	x8, [x19]
	str	x8, [x20]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_CRIT_PROTO_UNSPEC,4,2  ; @NL80211_CRIT_PROTO_UNSPEC
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_NL80211_ATTR_CRIT_PROT_ID,8,3  ; @NL80211_ATTR_CRIT_PROT_ID
	.comm	_NUM_NL80211_CRIT_PROTO,4,2     ; @NUM_NL80211_CRIT_PROTO
	.comm	_NL80211_ATTR_MAX_CRIT_PROT_DURATION,8,3 ; @NL80211_ATTR_MAX_CRIT_PROT_DURATION
	.comm	_NL80211_CRIT_PROTO_MAX_DURATION,8,3 ; @NL80211_CRIT_PROTO_MAX_DURATION
	.comm	_ERANGE,4,2                     ; @ERANGE
	.no_dead_strip	_nl80211_crit_protocol_start
.subsections_via_symbols
