	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_radiotap_iterator_next ## -- Begin function ieee80211_radiotap_iterator_next
	.p2align	4, 0x90
_ieee80211_radiotap_iterator_next:      ## @ieee80211_radiotap_iterator_next
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	4(%rdi), %eax
	movq	_radiotap_ns@GOTPCREL(%rip), %r8
	jmp	LBB0_1
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movslq	%r9d, %rdx
	movq	8(%rsi), %rcx
	movl	(%rcx,%rdx,8), %esi
	testl	%esi, %esi
	jne	LBB0_10
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%rdi), %rcx
	movq	%rcx, 8(%rdi)
	movq	$0, 56(%rdi)
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	sarl	%eax
	movl	%eax, 4(%rdi)
	incl	(%rdi)
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testb	$1, %al
	je	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	56(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rdi), %r9d
	cmpl	(%rsi), %r9d
	jl	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%r8, %rsi
	jne	LBB0_8
## %bb.5:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_10:
	movslq	4(%rcx,%rdx,8), %r10
	movq	8(%rdi), %r11
	movq	72(%rdi), %r8
	movl	%r11d, %ecx
	subl	%r8d, %ecx
	leal	-1(%rsi), %edx
	andl	%ecx, %edx
	subl	%edx, %esi
	testl	%edx, %edx
	cmovel	%edx, %esi
	movslq	%esi, %rcx
	leaq	(%r11,%rcx,4), %rcx
	movl	%r9d, 24(%rdi)
	movq	%rcx, 32(%rdi)
	movl	%r10d, 40(%rdi)
	leaq	(%rcx,%r10,4), %rcx
	movq	%rcx, 8(%rdi)
	subq	%r8, %rcx
	cmpq	64(%rdi), %rcx
	jbe	LBB0_12
## %bb.11:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_6:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_12:
	sarl	%eax
	movl	%eax, 4(%rdi)
	incl	%r9d
	movl	%r9d, (%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_radiotap_ns,16,3               ## @radiotap_ns
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_radiotap_iterator_next ; -- Begin function ieee80211_radiotap_iterator_next
	.p2align	2
_ieee80211_radiotap_iterator_next:      ; @ieee80211_radiotap_iterator_next
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0, #4]
Lloh0:
	adrp	x8, _radiotap_ns@GOTPAGE
Lloh1:
	ldr	x8, [x8, _radiotap_ns@GOTPAGEOFF]
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x11, w10
	ldr	x12, [x12, #8]
	lsl	x13, x11, #3
	ldr	w13, [x12, x13]
	cbnz	w13, LBB0_9
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x0, #16]
	str	x10, [x0, #8]
	str	xzr, [x0, #56]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	asr	w9, w9, #1
	ldr	w10, [x0]
	add	w10, w10, #1
	stp	w10, w9, [x0]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	tbz	w9, #0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x0, #56]
	cbz	x12, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x0]
	ldr	w11, [x12]
	cmp	w10, w11
	b.lt	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x12, x8
	b.ne	LBB0_2
; %bb.8:
Lloh2:
	adrp	x8, _ENOENT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
	ldr	x8, [x0, #8]
	ldp	x15, x14, [x0, #64]
	sub	w16, w8, w14
	sub	w17, w13, #1
	ands	w1, w17, w16
	sub	w13, w13, w1
	tst	w17, w16
	add	x11, x12, x11, lsl #3
	ldrsw	x11, [x11, #4]
	csel	w12, wzr, w13, eq
	add	x8, x8, w12, sxtw #2
	str	w10, [x0, #24]
	str	x8, [x0, #32]
	str	w11, [x0, #40]
	add	x8, x8, x11, lsl #2
	str	x8, [x0, #8]
	sub	x8, x8, x14
	cmp	x8, x15
	b.ls	LBB0_12
; %bb.10:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_12:
	asr	w9, w9, #1
	add	w10, w10, #1
	stp	w10, w9, [x0]
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_radiotap_ns,16,3               ; @radiotap_ns
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
