	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_radiotap_iterator_init ## -- Begin function ieee80211_radiotap_iterator_init
	.p2align	4, 0x90
_ieee80211_radiotap_iterator_init:      ## @ieee80211_radiotap_iterator_init
	.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
	cmpq	$0, 8(%rsi)
	jne	LBB0_1
## %bb.2:
	movq	%rcx, %r15
	movl	%edx, %r13d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	4(%rsi), %r12
	movq	%r12, %rdi
	callq	_get_unaligned_le16
	cmpl	%r13d, %eax
	jg	LBB0_1
## %bb.3:
	movq	%rbx, 32(%r14)
	movq	%r12, %rdi
	callq	_get_unaligned_le16
	movl	%eax, (%r14)
	movq	$0, 72(%r14)
	movq	%rbx, %rdi
	callq	_get_unaligned_le32
	movl	%eax, 4(%r14)
	addq	$64, %rbx
	movq	%rbx, 16(%r14)
	movq	$0, 64(%r14)
	movq	%r12, 56(%r14)
	movq	%r15, 48(%r14)
	movq	_radiotap_ns@GOTPCREL(%rip), %rcx
	movq	%rcx, 40(%r14)
	movl	$1, 8(%r14)
	movq	_IEEE80211_RADIOTAP_EXT@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	btl	%ecx, %eax
	jae	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_get_unaligned_le32
	movl	(%r15), %ecx
	movq	16(%r14), %rbx
	addq	$16, %rbx
	btl	%ecx, %eax
	movq	%rbx, 16(%r14)
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rax
	subq	32(%r14), %rax
	movslq	(%r14), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, 24(%r14)
	xorl	%eax, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_radiotap_ns,4,2                ## @radiotap_ns
	.comm	_IEEE80211_RADIOTAP_EXT,4,2     ## @IEEE80211_RADIOTAP_EXT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_radiotap_iterator_init ; -- Begin function ieee80211_radiotap_iterator_init
	.p2align	2
_ieee80211_radiotap_iterator_init:      ; @ieee80211_radiotap_iterator_init
	.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, #8]
	cbnz	x8, LBB0_5
; %bb.1:
	mov	x20, x3
	mov	x23, x2
	mov	x21, x1
	mov	x19, x0
	add	x22, x1, #4
	mov	x0, x22
	bl	_get_unaligned_le16
	cmp	w0, w23
	b.gt	LBB0_5
; %bb.2:
	str	x21, [x19, #32]
	mov	x0, x22
	bl	_get_unaligned_le16
	str	w0, [x19]
	str	xzr, [x19, #72]
	mov	x0, x21
	bl	_get_unaligned_le32
	mov	x8, x0
	add	x0, x21, #64
	str	x0, [x19, #16]
	stp	x22, xzr, [x19, #56]
Lloh0:
	adrp	x9, _radiotap_ns@GOTPAGE
Lloh1:
	ldr	x9, [x9, _radiotap_ns@GOTPAGEOFF]
	stp	x9, x20, [x19, #40]
	mov	w9, #1
	stp	w8, w9, [x19, #4]
Lloh2:
	adrp	x20, _IEEE80211_RADIOTAP_EXT@GOTPAGE
Lloh3:
	ldr	x20, [x20, _IEEE80211_RADIOTAP_EXT@GOTPAGEOFF]
	ldr	w9, [x20]
	lsr	w8, w8, w9
	tbz	w8, #0, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_get_unaligned_le32
	mov	x8, x0
	ldr	w9, [x20]
	ldr	x10, [x19, #16]
	add	x0, x10, #16
	str	x0, [x19, #16]
	lsr	w8, w8, w9
	tbz	w8, #0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19, #32]
	ldrsw	x9, [x19]
	sub	x8, x0, x8
	cmp	x8, x9
	b.ls	LBB0_3
LBB0_5:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w8, w8
LBB0_6:
	mov	x0, x8
	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
LBB0_7:
	mov	w8, #0
	str	x0, [x19, #24]
	b	LBB0_6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_radiotap_ns,4,2                ; @radiotap_ns
	.comm	_IEEE80211_RADIOTAP_EXT,4,2     ; @IEEE80211_RADIOTAP_EXT
.subsections_via_symbols
